01JFY0M180NFXK7NX14GGM9GZP: opte

BasicConfig {
    output_rules: [],
    rust_toolchain: Some(
        String(
            "nightly-2024-11-18",
        ),
    ),
    target: Some(
        "helios-2.0",
    ),
    access_repos: [],
    publish: [],
    skip_clone: false,
}

Buildomat Job: 01JFY0M9BGD37X8Q4DD1YXKZ25

Tags:

Output:

SEQ GLOBAL TIME DETAILS
12024-12-25T04:19:59.622Zjob assigned to worker 01JFY0MMX9VA93AR9B6DB3EARY [factory aws, i-07375c79cddd39fba] (queued for 55 s)
 
22024-12-25T04:20:07.345Zstarting task 0: "setup"
32024-12-25T04:20:07.355Z++ uname -s
42024-12-25T04:20:07.358Z+ kern=SunOS
52024-12-25T04:20:07.358Z+ case "$kern" in
62024-12-25T04:20:07.358Z+ groupadd -g 12345 build
72024-12-25T04:20:07.360Z+ useradd -u 12345 -g build -d /home/build -s /bin/bash -c build -P 'Primary Administrator' build
82024-12-25T04:20:09.368Z+ zfs create -o mountpoint=/work rpool/work
92024-12-25T04:20:09.488Z++ awk '$2 == "/home" { print $3 }' /etc/mnttab
102024-12-25T04:20:09.491Z+ home_fs=zfs
112024-12-25T04:20:09.491Z+ [[ zfs == autofs ]]
122024-12-25T04:20:09.491Z+ mkdir -p /home/build
132024-12-25T04:20:09.494Z+ chown build:build /home/build /work
142024-12-25T04:20:11.495Z+ chmod 0700 /home/build /work
152024-12-25T04:20:11.498Zprocess exited: duration 4154 ms, exit code 0
 
162024-12-25T04:20:11.504Zstarting task 1: "rust-toolchain"
172024-12-25T04:20:11.510Z+ printf ' * toolchain channel = "%s"
182024-12-25T04:20:11.510Z' nightly-2024-11-18
192024-12-25T04:20:11.510Z * toolchain channel = "nightly-2024-11-18"
202024-12-25T04:20:11.510Z * toolchain profile = "default"
212024-12-25T04:20:11.510Z+ printf ' * toolchain profile = "%s"
222024-12-25T04:20:11.510Z' default
232024-12-25T04:20:11.513Z+ curl --proto =https --tlsv1.2 -sSf https://sh.rustup.rs
242024-12-25T04:20:11.513Z+ /bin/bash -s - -y --no-modify-path --default-toolchain nightly-2024-11-18 --profile default
252024-12-25T04:20:11.635Zinfo: downloading installer
262024-12-25T04:20:13.011Zinfo: profile set to 'default'
272024-12-25T04:20:13.011Zinfo: default host triple is x86_64-unknown-illumos
282024-12-25T04:20:13.014Zinfo: syncing channel updates for 'nightly-2024-11-18-x86_64-unknown-illumos'
292024-12-25T04:20:13.153Zinfo: latest update on 2024-11-18, rust version 1.84.0-nightly (5ec7d6eee 2024-11-17)
302024-12-25T04:20:13.153Zinfo: downloading component 'cargo'
312024-12-25T04:20:13.877Zinfo: downloading component 'clippy'
322024-12-25T04:20:14.156Zinfo: downloading component 'rust-docs'
332024-12-25T04:20:15.143Zinfo: downloading component 'rust-std'
342024-12-25T04:20:16.735Zinfo: downloading component 'rustc'
352024-12-25T04:20:22.349Zinfo: downloading component 'rustfmt'
362024-12-25T04:20:22.559Zinfo: installing component 'cargo'
372024-12-25T04:20:23.379Zinfo: installing component 'clippy'
382024-12-25T04:20:23.760Zinfo: installing component 'rust-docs'
392024-12-25T04:20:25.410Zinfo: installing component 'rust-std'
402024-12-25T04:20:27.259Zinfo: installing component 'rustc'
412024-12-25T04:20:33.258Zinfo: installing component 'rustfmt'
422024-12-25T04:20:33.596Zinfo: default toolchain set to 'nightly-2024-11-18-x86_64-unknown-illumos'
432024-12-25T04:20:33.596Z
442024-12-25T04:20:33.998Z nightly-2024-11-18-x86_64-unknown-illumos installed - rustc 1.84.0-nightly (5ec7d6eee 2024-11-17)
452024-12-25T04:20:33.998Z
462024-12-25T04:20:34.001Z
472024-12-25T04:20:34.001ZRust is installed now. Great!
482024-12-25T04:20:34.001Z
492024-12-25T04:20:34.001ZTo get started you need Cargo's bin directory ($HOME/.cargo/bin) in your PATH
502024-12-25T04:20:34.001Zenvironment variable. This has not been done automatically.
512024-12-25T04:20:34.001Z
522024-12-25T04:20:34.001ZTo configure your current shell, you need to source
532024-12-25T04:20:34.001Zthe corresponding env file under $HOME/.cargo.
542024-12-25T04:20:34.001Z
552024-12-25T04:20:34.001ZThis is usually done by running one of the following (note the leading DOT):
562024-12-25T04:20:34.001Z. "$HOME/.cargo/env" # For sh/bash/zsh/ash/dash/pdksh
572024-12-25T04:20:34.001Zsource "$HOME/.cargo/env.fish" # For fish
582024-12-25T04:20:34.079Z+ rustc --version
592024-12-25T04:20:34.148Zrustc 1.84.0-nightly (5ec7d6eee 2024-11-17)
602024-12-25T04:20:34.151Zprocess exited: duration 22646 ms, exit code 0
 
612024-12-25T04:20:34.156Zstarting task 2: "authentication"
622024-12-25T04:20:34.178Zprocess exited: duration 21 ms, exit code 0
 
632024-12-25T04:20:34.184Zstarting task 3: "clone repository"
642024-12-25T04:20:34.189Z+ mkdir -p /work/oxidecomputer/opte
652024-12-25T04:20:34.193Z+ git clone https://github.com/oxidecomputer/opte /work/oxidecomputer/opte
662024-12-25T04:20:34.235ZCloning into '/work/oxidecomputer/opte'...
672024-12-25T04:20:34.950Z+ cd /work/oxidecomputer/opte
682024-12-25T04:20:34.960Z+ git fetch origin c16669c85cd3aa6b7736840a8af1fdfe9e43aa3e
692024-12-25T04:20:35.191ZFrom https://github.com/oxidecomputer/opte
702024-12-25T04:20:35.191Z * branch c16669c85cd3aa6b7736840a8af1fdfe9e43aa3e -> FETCH_HEAD
712024-12-25T04:20:35.199Z+ [[ -n renovate/zerocopy-0.x-lockfile ]]
722024-12-25T04:20:35.202Z++ git branch --show-current
732024-12-25T04:20:35.205Z+ current=master
742024-12-25T04:20:35.205Z+ [[ master != renovate/zerocopy-0.x-lockfile ]]
752024-12-25T04:20:35.205Z+ git branch -f renovate/zerocopy-0.x-lockfile c16669c85cd3aa6b7736840a8af1fdfe9e43aa3e
762024-12-25T04:20:35.208Z+ git checkout -f renovate/zerocopy-0.x-lockfile
772024-12-25T04:20:35.229ZSwitched to branch 'renovate/zerocopy-0.x-lockfile'
782024-12-25T04:20:35.231Z+ git reset --hard c16669c85cd3aa6b7736840a8af1fdfe9e43aa3e
792024-12-25T04:20:35.251ZHEAD is now at c16669c Update Rust crate zerocopy to v0.8.14
802024-12-25T04:20:35.253Zprocess exited: duration 1067 ms, exit code 0
 
812024-12-25T04:20:35.261Zstarting task 4: "build"
822024-12-25T04:20:35.264Z+ cargo --version
832024-12-25T04:20:35.269Zinfo: syncing channel updates for '1.83.0-x86_64-unknown-illumos'
842024-12-25T04:20:35.427Zinfo: latest update on 2024-11-28, rust version 1.83.0 (90b35a623 2024-11-26)
852024-12-25T04:20:35.427Zinfo: downloading component 'cargo'
862024-12-25T04:20:36.280Zinfo: downloading component 'clippy'
872024-12-25T04:20:36.605Zinfo: downloading component 'rust-docs'
882024-12-25T04:20:37.801Zinfo: downloading component 'rust-std'
892024-12-25T04:20:39.525Zinfo: downloading component 'rustc'
902024-12-25T04:20:46.057Zinfo: downloading component 'rustfmt'
912024-12-25T04:20:46.308Zinfo: installing component 'cargo'
922024-12-25T04:20:47.123Zinfo: installing component 'clippy'
932024-12-25T04:20:47.496Zinfo: installing component 'rust-docs'
942024-12-25T04:20:49.188Zinfo: installing component 'rust-std'
952024-12-25T04:20:50.837Zinfo: installing component 'rustc'
962024-12-25T04:20:56.551Zinfo: installing component 'rustfmt'
972024-12-25T04:20:56.965Zcargo 1.83.0 (5ffbef321 2024-10-29)
982024-12-25T04:20:56.968Z+ rustc --version
992024-12-25T04:20:57.047Zrustc 1.83.0 (90b35a623 2024-11-26)
1002024-12-25T04:20:57.053Z+ cd lib/opte
1012024-12-25T04:20:57.055Z+ header 'check style'
1022024-12-25T04:20:57.055Z+ echo '# ==== check style ==== #'
1032024-12-25T04:20:57.055Z# ==== check style ==== #
1042024-12-25T04:20:57.055Z+ ptime -m cargo +nightly-2024-11-18 fmt -- --check
1052024-12-25T04:20:57.430Z
1062024-12-25T04:20:57.430Zreal 0.373242143
1072024-12-25T04:20:57.430Zuser 0.262813762
1082024-12-25T04:20:57.431Zsys 0.101314184
1092024-12-25T04:20:57.431Ztrap 0.000171934
1102024-12-25T04:20:57.431Ztflt 0.000000000
1112024-12-25T04:20:57.431Zdflt 0.000000000
1122024-12-25T04:20:57.431Zkflt 0.000000000
1132024-12-25T04:20:57.433Zlock 0.000000000
1142024-12-25T04:20:57.433Zslp 0.283507548
1152024-12-25T04:20:57.433Zlat 0.000933963
1162024-12-25T04:20:57.433Zstop 0.000134545
1172024-12-25T04:20:57.433Z+ header 'check docs'
1182024-12-25T04:20:57.433Z+ echo '# ==== check docs ==== #'
1192024-12-25T04:20:57.433Z# ==== check docs ==== #
1202024-12-25T04:20:57.434Z+ RUSTDOCFLAGS='-D warnings'
1212024-12-25T04:20:57.434Z+ ptime -m cargo +nightly-2024-11-18 doc --no-default-features --features=api,std,engine,kernel
1222024-12-25T04:20:57.543Z Updating crates.io index
1232024-12-25T04:20:57.607Z Updating git repository `https://github.com/oxidecomputer/falcon`
1242024-12-25T04:20:58.268Z Updating git repository `https://github.com/oxidecomputer/ingot.git`
1252024-12-25T04:20:58.517Z Updating git repository `https://github.com/oxidecomputer/poptrie`
1262024-12-25T04:20:58.757Z Updating git repository `https://github.com/oxidecomputer/netadm-sys`
1272024-12-25T04:20:59.087Z Updating git repository `https://github.com/oxidecomputer/zone`
1282024-12-25T04:20:59.313Z Updating git repository `https://github.com/oxidecomputer/oxnet`
1292024-12-25T04:20:59.644Z Updating git repository `https://github.com/oxidecomputer/dlpi-sys`
1302024-12-25T04:20:59.867Z Updating git repository `https://github.com/jmesmon/rust-libzfs`
1312024-12-25T04:21:00.190Z Updating git repository `https://github.com/oxidecomputer/rusty-doors`
1322024-12-25T04:21:01.053Z Downloading crates ...
1332024-12-25T04:21:01.146Z Downloaded byteorder v1.5.0
1342024-12-25T04:21:01.149Z Downloaded usdt-attr-macro v0.5.0
1352024-12-25T04:21:01.163Z Downloaded proc-macro-error-attr2 v2.0.0
1362024-12-25T04:21:01.166Z Downloaded darling_macro v0.20.10
1372024-12-25T04:21:01.168Z Downloaded fnv v1.0.7
1382024-12-25T04:21:01.168Z Downloaded cfg-if v1.0.0
1392024-12-25T04:21:01.171Z Downloaded cpufeatures v0.2.16
1402024-12-25T04:21:01.173Z Downloaded dyn-clone v1.0.17
1412024-12-25T04:21:01.177Z Downloaded block-buffer v0.10.4
1422024-12-25T04:21:01.177Z Downloaded ident_case v1.0.1
1432024-12-25T04:21:01.177Z Downloaded bitflags v1.3.2
1442024-12-25T04:21:01.180Z Downloaded stable_deref_trait v1.2.0
1452024-12-25T04:21:01.182Z Downloaded pest_generator v2.7.15
1462024-12-25T04:21:01.183Z Downloaded defmt-parser v0.4.1
1472024-12-25T04:21:01.183Z Downloaded generic-array v0.14.7
1482024-12-25T04:21:01.185Z Downloaded either v1.13.0
1492024-12-25T04:21:01.189Z Downloaded hash32 v0.3.1
1502024-12-25T04:21:01.194Z Downloaded cobs v0.2.3
1512024-12-25T04:21:01.197Z Downloaded strsim v0.11.1
1522024-12-25T04:21:01.200Z Downloaded itoa v1.0.14
1532024-12-25T04:21:01.200Z Downloaded ipnetwork v0.20.0
1542024-12-25T04:21:01.202Z Downloaded scroll_derive v0.12.0
1552024-12-25T04:21:01.205Z Downloaded dtrace-parser v0.2.0
1562024-12-25T04:21:01.208Z Downloaded thiserror-impl v1.0.69
1572024-12-25T04:21:01.210Z Downloaded embedded-io v0.6.1
1582024-12-25T04:21:01.210Z Downloaded dof v0.3.0
1592024-12-25T04:21:01.213Z Downloaded defmt-macros v0.4.0
1602024-12-25T04:21:01.215Z Downloaded usdt-macro v0.5.0
1612024-12-25T04:21:01.218Z Downloaded pretty-hex v0.4.1
1622024-12-25T04:21:01.221Z Downloaded zerocopy-derive v0.7.35
1632024-12-25T04:21:01.223Z Downloaded embedded-io v0.4.0
1642024-12-25T04:21:01.226Z Downloaded digest v0.10.7
1652024-12-25T04:21:01.230Z Downloaded darling v0.20.10
1662024-12-25T04:21:01.232Z Downloaded postcard v1.1.1
1672024-12-25T04:21:01.235Z Downloaded usdt-impl v0.5.0
1682024-12-25T04:21:01.237Z Downloaded once_cell v1.20.2
1692024-12-25T04:21:01.239Z Downloaded sha2 v0.10.8
1702024-12-25T04:21:01.242Z Downloaded quote v1.0.37
1712024-12-25T04:21:01.244Z Downloaded pest_derive v2.7.15
1722024-12-25T04:21:01.247Z Downloaded tabwriter v1.4.0
1732024-12-25T04:21:01.249Z Downloaded serde_tokenstream v0.2.2
1742024-12-25T04:21:01.249Z Downloaded thiserror-impl v2.0.9
1752024-12-25T04:21:01.252Z Downloaded usdt v0.5.0
1762024-12-25T04:21:01.252Z Downloaded thiserror v1.0.69
1772024-12-25T04:21:01.255Z Downloaded thiserror v2.0.9
1782024-12-25T04:21:01.260Z Downloaded version_check v0.9.5
1792024-12-25T04:21:01.263Z Downloaded defmt v0.3.10
1802024-12-25T04:21:01.265Z Downloaded unicode-ident v1.0.14
1812024-12-25T04:21:01.268Z Downloaded plain v0.2.3
1822024-12-25T04:21:01.268Z Downloaded typenum v1.17.0
1832024-12-25T04:21:01.270Z Downloaded ryu v1.0.18
1842024-12-25T04:21:01.273Z Downloaded memmap v0.7.0
1852024-12-25T04:21:01.276Z Downloaded crc32fast v1.4.2
1862024-12-25T04:21:01.276Z Downloaded scroll v0.12.0
1872024-12-25T04:21:01.278Z Downloaded proc-macro-error2 v2.0.1
1882024-12-25T04:21:01.281Z Downloaded pest_meta v2.7.15
1892024-12-25T04:21:01.283Z Downloaded thread-id v4.2.2
1902024-12-25T04:21:01.283Z Downloaded managed v0.8.0
1912024-12-25T04:21:01.283Z Downloaded macaddr v1.0.1
1922024-12-25T04:21:01.286Z Downloaded crypto-common v0.1.6
1932024-12-25T04:21:01.289Z Downloaded serde_derive v1.0.216
1942024-12-25T04:21:01.296Z Downloaded log v0.4.22
1952024-12-25T04:21:01.299Z Downloaded bitflags v2.6.0
1962024-12-25T04:21:01.302Z Downloaded ucd-trie v0.1.7
1972024-12-25T04:21:01.305Z Downloaded heapless v0.8.0
1982024-12-25T04:21:01.307Z Downloaded darling_core v0.20.10
1992024-12-25T04:21:01.315Z Downloaded zerocopy-derive v0.8.14
2002024-12-25T04:21:01.322Z Downloaded serde v1.0.216
2012024-12-25T04:21:01.325Z Downloaded proc-macro2 v1.0.92
2022024-12-25T04:21:01.328Z Downloaded memchr v2.7.4
2032024-12-25T04:21:01.348Z Downloaded zerocopy v0.7.35
2042024-12-25T04:21:01.372Z Downloaded pest v2.7.15
2052024-12-25T04:21:01.379Z Downloaded itertools v0.13.0
2062024-12-25T04:21:01.386Z Downloaded aho-corasick v1.1.3
2072024-12-25T04:21:01.392Z Downloaded serde_json v1.0.134
2082024-12-25T04:21:01.399Z Downloaded goblin v0.8.2
2092024-12-25T04:21:01.422Z Downloaded zerocopy v0.8.14
2102024-12-25T04:21:01.446Z Downloaded unicode-width v0.1.14
2112024-12-25T04:21:01.452Z Downloaded regex v1.11.1
2122024-12-25T04:21:01.463Z Downloaded syn v2.0.91
2132024-12-25T04:21:01.473Z Downloaded smoltcp v0.11.0
2142024-12-25T04:21:01.484Z Downloaded regex-syntax v0.8.5
2152024-12-25T04:21:01.522Z Downloaded regex-automata v0.4.9
2162024-12-25T04:21:01.538Z Downloaded libc v0.2.169
2172024-12-25T04:21:01.696Z Compiling proc-macro2 v1.0.92
2182024-12-25T04:21:01.699Z Compiling unicode-ident v1.0.14
2192024-12-25T04:21:01.699Z Documenting unicode-ident v1.0.14
2202024-12-25T04:21:01.699Z Compiling fnv v1.0.7
2212024-12-25T04:21:01.699Z Compiling ident_case v1.0.1
2222024-12-25T04:21:01.710Z Compiling strsim v0.11.1
2232024-12-25T04:21:01.713Z Checking memchr v2.7.4
2242024-12-25T04:21:02.030Z Compiling zerocopy v0.8.14
2252024-12-25T04:21:02.033Z Compiling regex-syntax v0.8.5
2262024-12-25T04:21:02.160Z Compiling serde v1.0.216
2272024-12-25T04:21:02.366Z Documenting ident_case v1.0.1
2282024-12-25T04:21:02.410Z Documenting strsim v0.11.1
2292024-12-25T04:21:02.549Z Checking aho-corasick v1.1.3
2302024-12-25T04:21:02.729Z Documenting proc-macro2 v1.0.92
2312024-12-25T04:21:03.313Z Compiling quote v1.0.37
2322024-12-25T04:21:03.389Z Checking byteorder v1.5.0
2332024-12-25T04:21:03.619Z Checking syn v2.0.91
2342024-12-25T04:21:03.810Z Documenting quote v1.0.37
2352024-12-25T04:21:03.865Z Documenting fnv v1.0.7
2362024-12-25T04:21:04.049Z Compiling either v1.13.0
2372024-12-25T04:21:04.391Z Compiling itertools v0.13.0
2382024-12-25T04:21:04.760Z Documenting syn v2.0.91
2392024-12-25T04:21:04.784Z Documenting memchr v2.7.4
2402024-12-25T04:21:06.175Z Compiling regex-automata v0.4.9
2412024-12-25T04:21:07.119Z Compiling heapless v0.8.0
2422024-12-25T04:21:07.269Z Documenting aho-corasick v1.1.3
2432024-12-25T04:21:07.551Z Checking hash32 v0.3.1
2442024-12-25T04:21:07.695Z Checking cfg-if v1.0.0
2452024-12-25T04:21:07.776Z Checking macaddr v1.0.1
2462024-12-25T04:21:07.952Z Checking stable_deref_trait v1.2.0
2472024-12-25T04:21:08.016Z Documenting regex-syntax v0.8.5
2482024-12-25T04:21:08.387Z Compiling smoltcp v0.11.0
2492024-12-25T04:21:08.683Z Checking darling_core v0.20.10
2502024-12-25T04:21:09.991Z Documenting darling_core v0.20.10
2512024-12-25T04:21:10.266Z Compiling regex v1.11.1
2522024-12-25T04:21:10.413Z Documenting regex-automata v0.4.9
2532024-12-25T04:21:11.167Z Documenting zerocopy-derive v0.8.14
2542024-12-25T04:21:11.284Z Documenting serde_derive v1.0.216
2552024-12-25T04:21:11.298Z Checking bitflags v1.3.2
2562024-12-25T04:21:11.386Z Checking managed v0.8.0
2572024-12-25T04:21:11.752Z Checking cobs v0.2.3
2582024-12-25T04:21:11.915Z Checking bitflags v2.6.0
2592024-12-25T04:21:12.153Z Documenting byteorder v1.5.0
2602024-12-25T04:21:12.234Z Documenting darling_macro v0.20.10
2612024-12-25T04:21:12.501Z Documenting macaddr v1.0.1
2622024-12-25T04:21:12.817Z Documenting hash32 v0.3.1
2632024-12-25T04:21:13.183Z Documenting cfg-if v1.0.0
2642024-12-25T04:21:13.224Z Documenting regex v1.11.1
2652024-12-25T04:21:13.234Z Documenting stable_deref_trait v1.2.0
2662024-12-25T04:21:13.404Z Documenting managed v0.8.0
2672024-12-25T04:21:13.451Z Documenting cobs v0.2.3
2682024-12-25T04:21:13.821Z Compiling version_check v0.9.5
2692024-12-25T04:21:13.846Z Documenting heapless v0.8.0
2702024-12-25T04:21:14.204Z Checking ipnetwork v0.20.0
2712024-12-25T04:21:14.298Z Compiling zerocopy-derive v0.8.14
2722024-12-25T04:21:14.398Z Compiling serde_derive v1.0.216
2732024-12-25T04:21:14.408Z Checking unicode-width v0.1.14
2742024-12-25T04:21:14.474Z Checking illumos-sys-hdrs v0.1.0 (/work/oxidecomputer/opte/crates/illumos-sys-hdrs)
2752024-12-25T04:21:14.607Z Documenting bitflags v2.6.0
2762024-12-25T04:21:14.674Z Compiling opte v0.1.0 (/work/oxidecomputer/opte/lib/opte)
2772024-12-25T04:21:14.871Z Documenting either v1.13.0
2782024-12-25T04:21:14.993Z Documenting smoltcp v0.11.0
2792024-12-25T04:21:15.034Z Documenting illumos-sys-hdrs v0.1.0 (/work/oxidecomputer/opte/crates/illumos-sys-hdrs)
2802024-12-25T04:21:15.104Z Compiling darling_macro v0.20.10
2812024-12-25T04:21:15.314Z Documenting ipnetwork v0.20.0
2822024-12-25T04:21:15.596Z Documenting unicode-width v0.1.14
2832024-12-25T04:21:15.727Z Documenting itertools v0.13.0
2842024-12-25T04:21:15.977Z Checking tabwriter v1.4.0
2852024-12-25T04:21:16.153Z Compiling darling v0.20.10
2862024-12-25T04:21:16.249Z Compiling ingot-macros v0.1.0 (https://github.com/oxidecomputer/ingot.git?rev=bff93247fe75ff889121e39d494cc3805fc01906#bff93247)
2872024-12-25T04:21:16.270Z Documenting darling v0.20.10
2882024-12-25T04:21:16.307Z Compiling derror-macro v0.1.0 (/work/oxidecomputer/opte/crates/derror-macro)
2892024-12-25T04:21:16.600Z Documenting tabwriter v1.4.0
2902024-12-25T04:21:17.464Z Documenting zerocopy v0.8.14
2912024-12-25T04:21:17.491Z Documenting ingot-macros v0.1.0 (https://github.com/oxidecomputer/ingot.git?rev=bff93247fe75ff889121e39d494cc3805fc01906#bff93247)
2922024-12-25T04:21:17.564Z Documenting derror-macro v0.1.0 (/work/oxidecomputer/opte/crates/derror-macro)
2932024-12-25T04:21:17.745Z Compiling kstat-macro v0.1.0 (/work/oxidecomputer/opte/crates/kstat-macro)
2942024-12-25T04:21:18.620Z Documenting crc32fast v1.4.2
2952024-12-25T04:21:18.750Z Documenting kstat-macro v0.1.0 (/work/oxidecomputer/opte/crates/kstat-macro)
2962024-12-25T04:21:18.833Z Checking crc32fast v1.4.2
2972024-12-25T04:21:19.033Z Documenting dyn-clone v1.0.17
2982024-12-25T04:21:19.301Z Checking dyn-clone v1.0.17
2992024-12-25T04:21:20.476Z Documenting serde v1.0.216
3002024-12-25T04:21:20.956Z Checking ingot-types v0.1.0 (https://github.com/oxidecomputer/ingot.git?rev=bff93247fe75ff889121e39d494cc3805fc01906#bff93247)
3012024-12-25T04:21:20.956Z Documenting ingot-types v0.1.0 (https://github.com/oxidecomputer/ingot.git?rev=bff93247fe75ff889121e39d494cc3805fc01906#bff93247)
3022024-12-25T04:21:23.290Z Checking postcard v1.1.1
3032024-12-25T04:21:23.290Z Checking ingot v0.1.0 (https://github.com/oxidecomputer/ingot.git?rev=bff93247fe75ff889121e39d494cc3805fc01906#bff93247)
3042024-12-25T04:21:23.292Z Documenting ingot v0.1.0 (https://github.com/oxidecomputer/ingot.git?rev=bff93247fe75ff889121e39d494cc3805fc01906#bff93247)
3052024-12-25T04:21:23.292Z Documenting postcard v1.1.1
3062024-12-25T04:21:24.552Z Documenting opte-api v0.1.0 (/work/oxidecomputer/opte/crates/opte-api)
3072024-12-25T04:21:24.552Z Checking opte-api v0.1.0 (/work/oxidecomputer/opte/crates/opte-api)
3082024-12-25T04:21:25.456Z Documenting opte v0.1.0 (/work/oxidecomputer/opte/lib/opte)
3092024-12-25T04:21:27.810Z Finished `dev` profile [unoptimized + debuginfo] target(s) in 30.36s
3102024-12-25T04:21:27.923Z Generated /work/oxidecomputer/opte/target/doc/opte/index.html
3112024-12-25T04:21:27.943Z
3122024-12-25T04:21:27.945Zreal 30.490837898
3132024-12-25T04:21:27.945Zuser 2:19.568872689
3142024-12-25T04:21:27.945Zsys 18.901523366
3152024-12-25T04:21:27.945Ztrap 0.102552589
3162024-12-25T04:21:27.945Ztflt 0.186041706
3172024-12-25T04:21:27.945Zdflt 0.101571934
3182024-12-25T04:21:27.945Zkflt 0.002019745
3192024-12-25T04:21:27.945Zlock 3:02.638997708
3202024-12-25T04:21:27.945Zslp 7:32.128738534
3212024-12-25T04:21:27.945Zlat 18.762935050
3222024-12-25T04:21:27.945Zstop 11.899882794
3232024-12-25T04:21:27.946Z+ header 'analyze std + api'
3242024-12-25T04:21:27.946Z+ echo '# ==== analyze std + api ==== #'
3252024-12-25T04:21:27.946Z# ==== analyze std + api ==== #
3262024-12-25T04:21:27.946Z+ ptime -m cargo clippy --all-targets
3272024-12-25T04:21:28.347Z Compiling proc-macro2 v1.0.92
3282024-12-25T04:21:28.347Z Compiling unicode-ident v1.0.14
3292024-12-25T04:21:28.350Z Compiling memchr v2.7.4
3302024-12-25T04:21:28.350Z Compiling thiserror v2.0.9
3312024-12-25T04:21:28.350Z Compiling thiserror v1.0.69
3322024-12-25T04:21:28.350Z Compiling version_check v0.9.5
3332024-12-25T04:21:28.350Z Compiling ucd-trie v0.1.7
3342024-12-25T04:21:28.356Z Compiling libc v0.2.169
3352024-12-25T04:21:28.574Z Compiling serde_json v1.0.134
3362024-12-25T04:21:28.799Z Compiling once_cell v1.20.2
3372024-12-25T04:21:28.922Z Compiling serde v1.0.216
3382024-12-25T04:21:29.058Z Compiling ident_case v1.0.1
3392024-12-25T04:21:29.131Z Compiling fnv v1.0.7
3402024-12-25T04:21:29.220Z Checking byteorder v1.5.0
3412024-12-25T04:21:29.233Z Compiling strsim v0.11.1
3422024-12-25T04:21:29.253Z Compiling aho-corasick v1.1.3
3432024-12-25T04:21:29.457Z Compiling regex-syntax v0.8.5
3442024-12-25T04:21:29.519Z Compiling ryu v1.0.18
3452024-12-25T04:21:29.581Z Compiling itoa v1.0.14
3462024-12-25T04:21:29.771Z Compiling usdt-impl v0.5.0
3472024-12-25T04:21:29.820Z Compiling zerocopy v0.8.14
3482024-12-25T04:21:29.832Z Compiling either v1.13.0
3492024-12-25T04:21:30.149Z Compiling quote v1.0.37
3502024-12-25T04:21:30.291Z Compiling thread-id v4.2.2
3512024-12-25T04:21:30.384Z Compiling itertools v0.13.0
3522024-12-25T04:21:30.466Z Compiling syn v2.0.91
3532024-12-25T04:21:30.667Z Checking log v0.4.22
3542024-12-25T04:21:30.893Z Compiling heapless v0.8.0
3552024-12-25T04:21:31.081Z Checking plain v0.2.3
3562024-12-25T04:21:31.165Z Checking hash32 v0.3.1
3572024-12-25T04:21:31.330Z Checking stable_deref_trait v1.2.0
3582024-12-25T04:21:31.414Z Checking pretty-hex v0.4.1
3592024-12-25T04:21:31.472Z Checking cfg-if v1.0.0
3602024-12-25T04:21:31.542Z Checking macaddr v1.0.1
3612024-12-25T04:21:31.565Z Compiling smoltcp v0.11.0
3622024-12-25T04:21:31.867Z Checking bitflags v2.6.0
3632024-12-25T04:21:32.093Z Checking bitflags v1.3.2
3642024-12-25T04:21:32.162Z Checking cobs v0.2.3
3652024-12-25T04:21:32.174Z Checking managed v0.8.0
3662024-12-25T04:21:32.326Z Checking memmap v0.7.0
3672024-12-25T04:21:32.467Z Compiling opte v0.1.0 (/work/oxidecomputer/opte/lib/opte)
3682024-12-25T04:21:32.514Z Checking illumos-sys-hdrs v0.1.0 (/work/oxidecomputer/opte/crates/illumos-sys-hdrs)
3692024-12-25T04:21:32.692Z Checking unicode-width v0.1.14
3702024-12-25T04:21:32.853Z Compiling regex-automata v0.4.9
3712024-12-25T04:21:33.130Z Checking ipnetwork v0.20.0
3722024-12-25T04:21:33.159Z Checking tabwriter v1.4.0
3732024-12-25T04:21:33.410Z Checking crc32fast v1.4.2
3742024-12-25T04:21:33.423Z Checking dyn-clone v1.0.17
3752024-12-25T04:21:35.643Z Compiling regex v1.11.1
3762024-12-25T04:21:35.685Z Compiling darling_core v0.20.10
3772024-12-25T04:21:37.185Z Compiling serde_derive v1.0.216
3782024-12-25T04:21:37.185Z Compiling thiserror-impl v2.0.9
3792024-12-25T04:21:37.188Z Compiling thiserror-impl v1.0.69
3802024-12-25T04:21:37.188Z Compiling zerocopy-derive v0.7.35
3812024-12-25T04:21:37.188Z Compiling scroll_derive v0.12.0
3822024-12-25T04:21:37.188Z Compiling zerocopy-derive v0.8.14
3832024-12-25T04:21:37.188Z Compiling kstat-macro v0.1.0 (/work/oxidecomputer/opte/crates/kstat-macro)
3842024-12-25T04:21:38.574Z Checking scroll v0.12.0
3852024-12-25T04:21:38.971Z Compiling zerocopy v0.7.35
3862024-12-25T04:21:38.990Z Checking goblin v0.8.2
3872024-12-25T04:21:39.742Z Compiling darling_macro v0.20.10
3882024-12-25T04:21:39.997Z Compiling pest v2.7.15
3892024-12-25T04:21:40.728Z Compiling darling v0.20.10
3902024-12-25T04:21:40.823Z Compiling ingot-macros v0.1.0 (https://github.com/oxidecomputer/ingot.git?rev=bff93247fe75ff889121e39d494cc3805fc01906#bff93247)
3912024-12-25T04:21:41.339Z Compiling derror-macro v0.1.0 (/work/oxidecomputer/opte/crates/derror-macro)
3922024-12-25T04:21:42.392Z Compiling pest_meta v2.7.15
3932024-12-25T04:21:43.556Z Compiling pest_generator v2.7.15
3942024-12-25T04:21:44.581Z Compiling pest_derive v2.7.15
3952024-12-25T04:21:44.842Z Checking ingot-types v0.1.0 (https://github.com/oxidecomputer/ingot.git?rev=bff93247fe75ff889121e39d494cc3805fc01906#bff93247)
3962024-12-25T04:21:45.209Z Compiling dtrace-parser v0.2.0
3972024-12-25T04:21:45.637Z Checking postcard v1.1.1
3982024-12-25T04:21:45.723Z Checking ingot v0.1.0 (https://github.com/oxidecomputer/ingot.git?rev=bff93247fe75ff889121e39d494cc3805fc01906#bff93247)
3992024-12-25T04:21:46.292Z Compiling serde_tokenstream v0.2.2
4002024-12-25T04:21:46.717Z Checking dof v0.3.0
4012024-12-25T04:21:47.138Z Checking opte-api v0.1.0 (/work/oxidecomputer/opte/crates/opte-api)
4022024-12-25T04:21:48.243Z Compiling usdt-attr-macro v0.5.0
4032024-12-25T04:21:48.244Z Compiling usdt-macro v0.5.0
4042024-12-25T04:21:49.049Z Checking usdt v0.5.0
4052024-12-25T04:22:00.548Zwarning: the borrowed expression implements the required traits
4062024-12-25T04:22:00.548Z --> lib/opte/src/ddi/mblk.rs:1138:33
4072024-12-25T04:22:00.548Z |
4082024-12-25T04:22:00.548Z1138 | let pkt2 = MsgBlk::copy(&[]);
4092024-12-25T04:22:00.548Z | ^^^ help: change this to: `[]`
4102024-12-25T04:22:00.548Z |
4112024-12-25T04:22:00.548Z = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrows_for_generic_args
4122024-12-25T04:22:00.548Z = note: `#[warn(clippy::needless_borrows_for_generic_args)]` on by default
4132024-12-25T04:22:00.548Z
4142024-12-25T04:22:00.560Zwarning: the borrowed expression implements the required traits
4152024-12-25T04:22:00.560Z --> lib/opte/src/ddi/mblk.rs:1195:35
4162024-12-25T04:22:00.561Z |
4172024-12-25T04:22:00.561Z1195 | let mut p1 = MsgBlk::copy(&[0, 1, 2, 3]);
4182024-12-25T04:22:00.561Z | ^^^^^^^^^^^^^ help: change this to: `[0, 1, 2, 3]`
4192024-12-25T04:22:00.561Z |
4202024-12-25T04:22:00.561Z = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrows_for_generic_args
4212024-12-25T04:22:00.561Z
4222024-12-25T04:22:00.564Zwarning: the borrowed expression implements the required traits
4232024-12-25T04:22:00.564Z --> lib/opte/src/ddi/mblk.rs:1196:32
4242024-12-25T04:22:00.564Z |
4252024-12-25T04:22:00.564Z1196 | p1.append(MsgBlk::copy(&[4, 5, 6, 7]));
4262024-12-25T04:22:00.564Z | ^^^^^^^^^^^^^ help: change this to: `[4, 5, 6, 7]`
4272024-12-25T04:22:00.564Z |
4282024-12-25T04:22:00.564Z = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrows_for_generic_args
4292024-12-25T04:22:00.564Z
4302024-12-25T04:22:00.564Zwarning: the borrowed expression implements the required traits
4312024-12-25T04:22:00.564Z --> lib/opte/src/ddi/mblk.rs:1197:32
4322024-12-25T04:22:00.564Z |
4332024-12-25T04:22:00.564Z1197 | p1.append(MsgBlk::copy(&[8, 9, 10, 11]));
4342024-12-25T04:22:00.564Z | ^^^^^^^^^^^^^^^ help: change this to: `[8, 9, 10, 11]`
4352024-12-25T04:22:00.564Z |
4362024-12-25T04:22:00.564Z = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrows_for_generic_args
4372024-12-25T04:22:00.564Z
4382024-12-25T04:22:00.591Zwarning: the loop variable `i` is only used to index `els`
4392024-12-25T04:22:00.591Z --> lib/opte/src/ddi/mblk.rs:1361:18
4402024-12-25T04:22:00.591Z |
4412024-12-25T04:22:00.591Z1361 | for i in 0..els.len() {
4422024-12-25T04:22:00.591Z | ^^^^^^^^^^^^
4432024-12-25T04:22:00.591Z |
4442024-12-25T04:22:00.591Z = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_range_loop
4452024-12-25T04:22:00.591Z = note: `#[warn(clippy::needless_range_loop)]` on by default
4462024-12-25T04:22:00.591Zhelp: consider using an iterator
4472024-12-25T04:22:00.591Z |
4482024-12-25T04:22:00.591Z1361 | for <item> in &els {
4492024-12-25T04:22:00.591Z | ~~~~~~ ~~~~
4502024-12-25T04:22:00.591Z
4512024-12-25T04:22:01.784Zwarning: casting to the same type is unnecessary (`usize` -> `usize`)
4522024-12-25T04:22:01.784Z --> lib/opte/src/engine/ip/v6.rs:461:13
4532024-12-25T04:22:01.785Z |
4542024-12-25T04:22:01.785Z461 | header.packet_length() as usize,
4552024-12-25T04:22:01.785Z | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try: `{ header.packet_length() }`
4562024-12-25T04:22:01.786Z |
4572024-12-25T04:22:01.786Z = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unnecessary_cast
4582024-12-25T04:22:01.786Z = note: `#[warn(clippy::unnecessary_cast)]` on by default
4592024-12-25T04:22:01.786Z
4602024-12-25T04:22:01.800Zwarning: redundant slicing of the whole range
4612024-12-25T04:22:01.800Z --> lib/opte/src/engine/ip/v6.rs:590:34
4622024-12-25T04:22:01.800Z |
4632024-12-25T04:22:01.800Z590 | assert!(ValidIpv6::parse(&buf[..]).is_err());
4642024-12-25T04:22:01.800Z | ^^^^^^^^ help: use the original value instead: `buf`
4652024-12-25T04:22:01.800Z |
4662024-12-25T04:22:01.800Z = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_slicing
4672024-12-25T04:22:01.800Z = note: `#[warn(clippy::redundant_slicing)]` on by default
4682024-12-25T04:22:01.800Z
4692024-12-25T04:22:01.803Zwarning: redundant slicing of the whole range
4702024-12-25T04:22:01.803Z --> lib/opte/src/engine/ip/v6.rs:593:53
4712024-12-25T04:22:01.803Z |
4722024-12-25T04:22:01.803Z593 | let (v6, _rem) = Accessor::read_from_prefix(&buf[..]).unwrap();
4732024-12-25T04:22:01.803Z | ^^^^^^^^ help: use the original value instead: `buf`
4742024-12-25T04:22:01.803Z |
4752024-12-25T04:22:01.803Z = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_slicing
4762024-12-25T04:22:01.803Z
4772024-12-25T04:22:01.966Zwarning: this expression creates a reference which is immediately dereferenced by the compiler
4782024-12-25T04:22:01.967Z --> lib/opte/src/engine/layer.rs:1880:46
4792024-12-25T04:22:01.967Z |
4802024-12-25T04:22:01.967Z1880 | assert!(rule_table.find_match(&ifid, &pmeta.meta(), &ameta).is_some());
4812024-12-25T04:22:01.967Z | ^^^^^^^^^^^^^ help: change this to: `pmeta.meta()`
4822024-12-25T04:22:01.967Z |
4832024-12-25T04:22:01.967Z = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrow
4842024-12-25T04:22:01.967Z = note: `#[warn(clippy::needless_borrow)]` on by default
4852024-12-25T04:22:01.967Z
4862024-12-25T04:22:02.832Zwarning: this expression creates a reference which is immediately dereferenced by the compiler
4872024-12-25T04:22:02.832Z --> lib/opte/src/engine/rule.rs:1162:25
4882024-12-25T04:22:02.832Z |
4892024-12-25T04:22:02.832Z1162 | assert!(r1.is_match(&meta, &ameta));
4902024-12-25T04:22:02.832Z | ^^^^^ help: change this to: `meta`
4912024-12-25T04:22:02.832Z |
4922024-12-25T04:22:02.832Z = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrow
4932024-12-25T04:22:02.832Z
4942024-12-25T04:22:02.835Zwarning: this expression creates a reference which is immediately dereferenced by the compiler
4952024-12-25T04:22:02.835Z --> lib/opte/src/engine/rule.rs:1171:26
4962024-12-25T04:22:02.835Z |
4972024-12-25T04:22:02.835Z1171 | assert!(!r1.is_match(&meta, &ameta));
4982024-12-25T04:22:02.835Z | ^^^^^ help: change this to: `meta`
4992024-12-25T04:22:02.835Z |
5002024-12-25T04:22:02.835Z = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrow
5012024-12-25T04:22:02.835Z
5022024-12-25T04:22:02.995Zwarning: useless use of `vec!`
5032024-12-25T04:22:02.995Z --> lib/opte/src/engine/geneve.rs:401:19
5042024-12-25T04:22:02.995Z |
5052024-12-25T04:22:02.995Z401 | let buf = vec![
5062024-12-25T04:22:02.995Z | ___________________^
5072024-12-25T04:22:02.995Z402 | | // source
5082024-12-25T04:22:02.995Z403 | | 0x1E, 0x61,
5092024-12-25T04:22:02.995Z404 | | // dest
5102024-12-25T04:22:02.995Z... |
5112024-12-25T04:22:02.995Z424 | | 0x00,
5122024-12-25T04:22:02.995Z425 | | ];
5132024-12-25T04:22:02.995Z | |_________^
5142024-12-25T04:22:02.996Z |
5152024-12-25T04:22:02.996Z = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#useless_vec
5162024-12-25T04:22:02.996Z = note: `#[warn(clippy::useless_vec)]` on by default
5172024-12-25T04:22:02.996Zhelp: you can use an array directly
5182024-12-25T04:22:02.996Z |
5192024-12-25T04:22:02.996Z401 ~ let buf = [0x1E, 0x61,
5202024-12-25T04:22:02.996Z402 + // dest
5212024-12-25T04:22:02.996Z403 + 0x17, 0xC1,
5222024-12-25T04:22:02.996Z404 + // length
5232024-12-25T04:22:02.996Z405 + 0x00, 0x14,
5242024-12-25T04:22:02.996Z406 + // csum
5252024-12-25T04:22:02.996Z407 + 0x00, 0x00,
5262024-12-25T04:22:02.996Z408 + // ver + opt len
5272024-12-25T04:22:02.996Z409 + 0x01,
5282024-12-25T04:22:02.996Z410 + // flags
5292024-12-25T04:22:02.996Z411 + 0x00,
5302024-12-25T04:22:02.996Z412 + // proto
5312024-12-25T04:22:02.996Z413 + 0x65, 0x58,
5322024-12-25T04:22:02.996Z414 + // vni + reserved
5332024-12-25T04:22:02.996Z415 + 0x00, 0x04, 0xD2, 0x00,
5342024-12-25T04:22:02.996Z416 +
5352024-12-25T04:22:02.996Z417 + // option class
5362024-12-25T04:22:02.996Z418 + 0x01, 0x29,
5372024-12-25T04:22:02.996Z419 + // crt + type
5382024-12-25T04:22:02.996Z420 + 0x00,
5392024-12-25T04:22:03.000Z421 + // rsvd + len
5402024-12-25T04:22:03.000Z422 ~ 0x00];
5412024-12-25T04:22:03.000Z |
5422024-12-25T04:22:03.000Z
5432024-12-25T04:22:03.000Zwarning: useless use of `vec!`
5442024-12-25T04:22:03.000Z --> lib/opte/src/engine/geneve.rs:441:19
5452024-12-25T04:22:03.000Z |
5462024-12-25T04:22:03.000Z441 | let buf = vec![
5472024-12-25T04:22:03.000Z | ___________________^
5482024-12-25T04:22:03.000Z442 | | // source
5492024-12-25T04:22:03.000Z443 | | 0x1E, 0x61,
5502024-12-25T04:22:03.000Z444 | | // dest
5512024-12-25T04:22:03.000Z... |
5522024-12-25T04:22:03.000Z464 | | 0x00,
5532024-12-25T04:22:03.000Z465 | | ];
5542024-12-25T04:22:03.001Z | |_________^
5552024-12-25T04:22:03.001Z |
5562024-12-25T04:22:03.001Z = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#useless_vec
5572024-12-25T04:22:03.001Zhelp: you can use an array directly
5582024-12-25T04:22:03.001Z |
5592024-12-25T04:22:03.001Z441 ~ let buf = [0x1E, 0x61,
5602024-12-25T04:22:03.001Z442 + // dest
5612024-12-25T04:22:03.001Z443 + 0x17, 0xC1,
5622024-12-25T04:22:03.001Z444 + // length
5632024-12-25T04:22:03.001Z445 + 0x00, 0x14,
5642024-12-25T04:22:03.001Z446 + // csum
5652024-12-25T04:22:03.001Z447 + 0x00, 0x00,
5662024-12-25T04:22:03.001Z448 + // ver + opt len
5672024-12-25T04:22:03.002Z449 + 0x01,
5682024-12-25T04:22:03.002Z450 + // flags
5692024-12-25T04:22:03.002Z451 + 0b0100_0000,
5702024-12-25T04:22:03.002Z452 + // proto
5712024-12-25T04:22:03.002Z453 + 0x65, 0x58,
5722024-12-25T04:22:03.002Z454 + // vni + reserved
5732024-12-25T04:22:03.002Z455 + 0x00, 0x04, 0xD2, 0x00,
5742024-12-25T04:22:03.002Z456 +
5752024-12-25T04:22:03.002Z457 + // experimenter option class
5762024-12-25T04:22:03.002Z458 + 0xff, 0xff,
5772024-12-25T04:22:03.002Z459 + // crt + type
5782024-12-25T04:22:03.002Z460 + 0x80,
5792024-12-25T04:22:03.002Z461 + // rsvd + len
5802024-12-25T04:22:03.002Z462 ~ 0x00];
5812024-12-25T04:22:03.002Z |
5822024-12-25T04:22:03.002Z
5832024-12-25T04:22:03.002Zwarning: useless use of `vec!`
5842024-12-25T04:22:03.002Z --> lib/opte/src/engine/geneve.rs:483:19
5852024-12-25T04:22:03.002Z |
5862024-12-25T04:22:03.002Z483 | let buf = vec![
5872024-12-25T04:22:03.002Z | ___________________^
5882024-12-25T04:22:03.002Z484 | | // source
5892024-12-25T04:22:03.002Z485 | | 0x1E, 0x61,
5902024-12-25T04:22:03.002Z486 | | // dest
5912024-12-25T04:22:03.002Z... |
5922024-12-25T04:22:03.002Z524 | | 0x00, 0x00, 0x00, 0x00,
5932024-12-25T04:22:03.002Z525 | | ];
5942024-12-25T04:22:03.002Z | |_________^
5952024-12-25T04:22:03.002Z |
5962024-12-25T04:22:03.002Z = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#useless_vec
5972024-12-25T04:22:03.002Zhelp: you can use an array directly
5982024-12-25T04:22:03.002Z |
5992024-12-25T04:22:03.002Z483 ~ let buf = [0x1E, 0x61,
6002024-12-25T04:22:03.002Z484 + // dest
6012024-12-25T04:22:03.002Z485 + 0x17, 0xC1,
6022024-12-25T04:22:03.002Z486 + // length
6032024-12-25T04:22:03.002Z487 + 0x00, 0x1c,
6042024-12-25T04:22:03.002Z488 + // csum
6052024-12-25T04:22:03.002Z489 + 0x00, 0x00,
6062024-12-25T04:22:03.003Z490 + // ver + opt len
6072024-12-25T04:22:03.003Z491 + 0x05,
6082024-12-25T04:22:03.003Z492 + // flags
6092024-12-25T04:22:03.003Z493 + 0x00,
6102024-12-25T04:22:03.003Z494 + // proto
6112024-12-25T04:22:03.003Z495 + 0x65, 0x58,
6122024-12-25T04:22:03.003Z496 + // vni + reserved
6132024-12-25T04:22:03.003Z497 + 0x00, 0x04, 0xD2, 0x00,
6142024-12-25T04:22:03.003Z498 +
6152024-12-25T04:22:03.003Z499 + // option class
6162024-12-25T04:22:03.003Z500 + 0x01, 0x29,
6172024-12-25T04:22:03.003Z501 + // crt + type
6182024-12-25T04:22:03.003Z502 + 0x00,
6192024-12-25T04:22:03.003Z503 + // rsvd + len
6202024-12-25T04:22:03.003Z504 + 0x00,
6212024-12-25T04:22:03.003Z505 +
6222024-12-25T04:22:03.003Z506 + // experimenter option class
6232024-12-25T04:22:03.003Z507 + 0xff, 0xff,
6242024-12-25T04:22:03.003Z508 + // crt + type
6252024-12-25T04:22:03.003Z509 + 0x05,
6262024-12-25T04:22:03.003Z510 + // rsvd + len
6272024-12-25T04:22:03.003Z511 + 0x01,
6282024-12-25T04:22:03.003Z512 + // body
6292024-12-25T04:22:03.003Z513 + 0x00, 0x00, 0x00, 0x00,
6302024-12-25T04:22:03.003Z514 +
6312024-12-25T04:22:03.003Z515 + // experimenter option class
6322024-12-25T04:22:03.003Z516 + 0xff, 0xff,
6332024-12-25T04:22:03.003Z517 + // crt + type
6342024-12-25T04:22:03.003Z518 + 0x06,
6352024-12-25T04:22:03.003Z519 + // rsvd + len
6362024-12-25T04:22:03.003Z520 + 0x01,
6372024-12-25T04:22:03.003Z521 + // body
6382024-12-25T04:22:03.003Z522 ~ 0x00, 0x00, 0x00, 0x00];
6392024-12-25T04:22:03.006Z |
6402024-12-25T04:22:03.006Z
6412024-12-25T04:22:03.301Zwarning: `opte` (lib test) generated 14 warnings (run `cargo clippy --fix --lib -p opte --tests` to apply 13 suggestions)
6422024-12-25T04:22:03.301Z Finished `dev` profile [unoptimized + debuginfo] target(s) in 35.21s
6432024-12-25T04:22:03.336Z
6442024-12-25T04:22:03.336Zreal 35.384877755
6452024-12-25T04:22:03.336Zuser 2:05.955605247
6462024-12-25T04:22:03.336Zsys 17.461521794
6472024-12-25T04:22:03.336Ztrap 0.068481209
6482024-12-25T04:22:03.336Ztflt 0.281665554
6492024-12-25T04:22:03.339Zdflt 0.659879470
6502024-12-25T04:22:03.339Zkflt 0.000018759
6512024-12-25T04:22:03.339Zlock 3:14.120937033
6522024-12-25T04:22:03.339Zslp 7:29.804901937
6532024-12-25T04:22:03.339Zlat 3.971845909
6542024-12-25T04:22:03.339Zstop 6.377959113
6552024-12-25T04:22:03.339Z+ header 'analyze no_std + engine + kernel'
6562024-12-25T04:22:03.339Z+ echo '# ==== analyze no_std + engine + kernel ==== #'
6572024-12-25T04:22:03.339Z# ==== analyze no_std + engine + kernel ==== #
6582024-12-25T04:22:03.339Z+ ptime -m cargo +nightly-2024-11-18 clippy --no-default-features --features engine,kernel
6592024-12-25T04:22:03.643Z Compiling opte v0.1.0 (/work/oxidecomputer/opte/lib/opte)
6602024-12-25T04:22:03.643Z Checking illumos-sys-hdrs v0.1.0 (/work/oxidecomputer/opte/crates/illumos-sys-hdrs)
6612024-12-25T04:22:03.645Z Compiling kstat-macro v0.1.0 (/work/oxidecomputer/opte/crates/kstat-macro)
6622024-12-25T04:22:03.645Z Compiling derror-macro v0.1.0 (/work/oxidecomputer/opte/crates/derror-macro)
6632024-12-25T04:22:03.802Z Checking opte-api v0.1.0 (/work/oxidecomputer/opte/crates/opte-api)
6642024-12-25T04:22:10.540Z Finished `dev` profile [unoptimized + debuginfo] target(s) in 7.11s
6652024-12-25T04:22:10.575Z
6662024-12-25T04:22:10.578Zreal 7.232722287
6672024-12-25T04:22:10.578Zuser 8.020213359
6682024-12-25T04:22:10.578Zsys 1.167277440
6692024-12-25T04:22:10.578Ztrap 0.001646373
6702024-12-25T04:22:10.578Ztflt 0.005946418
6712024-12-25T04:22:10.578Zdflt 0.002439868
6722024-12-25T04:22:10.578Zkflt 0.000000000
6732024-12-25T04:22:10.578Zlock 18.516944196
6742024-12-25T04:22:10.578Zslp 27.068606285
6752024-12-25T04:22:10.578Zlat 0.046420679
6762024-12-25T04:22:10.578Zstop 0.150811689
6772024-12-25T04:22:10.578Z+ header test
6782024-12-25T04:22:10.578Z+ echo '# ==== test ==== #'
6792024-12-25T04:22:10.578Z# ==== test ==== #
6802024-12-25T04:22:10.578Z+ ptime -m cargo test
6812024-12-25T04:22:10.847Z Compiling unicode-ident v1.0.14
6822024-12-25T04:22:10.847Z Compiling memchr v2.7.4
6832024-12-25T04:22:10.847Z Compiling byteorder v1.5.0
6842024-12-25T04:22:10.850Z Compiling ucd-trie v0.1.7
6852024-12-25T04:22:10.850Z Compiling itoa v1.0.14
6862024-12-25T04:22:10.855Z Compiling ryu v1.0.18
6872024-12-25T04:22:10.862Z Compiling libc v0.2.169
6882024-12-25T04:22:10.865Z Compiling either v1.13.0
6892024-12-25T04:22:11.009Z Compiling proc-macro2 v1.0.92
6902024-12-25T04:22:11.043Z Compiling log v0.4.22
6912024-12-25T04:22:11.193Z Compiling itertools v0.13.0
6922024-12-25T04:22:11.210Z Compiling plain v0.2.3
6932024-12-25T04:22:11.252Z Compiling hash32 v0.3.1
6942024-12-25T04:22:11.345Z Compiling cfg-if v1.0.0
6952024-12-25T04:22:11.375Z Compiling pretty-hex v0.4.1
6962024-12-25T04:22:11.416Z Compiling macaddr v1.0.1
6972024-12-25T04:22:11.424Z Compiling stable_deref_trait v1.2.0
6982024-12-25T04:22:11.466Z Compiling thread-id v4.2.2
6992024-12-25T04:22:11.503Z Compiling heapless v0.8.0
7002024-12-25T04:22:11.515Z Compiling cobs v0.2.3
7012024-12-25T04:22:11.553Z Compiling bitflags v2.6.0
7022024-12-25T04:22:11.555Z Compiling bitflags v1.3.2
7032024-12-25T04:22:11.637Z Compiling managed v0.8.0
7042024-12-25T04:22:11.738Z Compiling quote v1.0.37
7052024-12-25T04:22:11.775Z Compiling aho-corasick v1.1.3
7062024-12-25T04:22:11.821Z Compiling memmap v0.7.0
7072024-12-25T04:22:12.029Z Compiling opte v0.1.0 (/work/oxidecomputer/opte/lib/opte)
7082024-12-25T04:22:12.136Z Compiling syn v2.0.91
7092024-12-25T04:22:12.374Z Compiling smoltcp v0.11.0
7102024-12-25T04:22:12.378Z Compiling unicode-width v0.1.14
7112024-12-25T04:22:12.458Z Compiling illumos-sys-hdrs v0.1.0 (/work/oxidecomputer/opte/crates/illumos-sys-hdrs)
7122024-12-25T04:22:12.608Z Compiling ipnetwork v0.20.0
7132024-12-25T04:22:12.715Z Compiling crc32fast v1.4.2
7142024-12-25T04:22:12.870Z Compiling tabwriter v1.4.0
7152024-12-25T04:22:13.109Z Compiling dyn-clone v1.0.17
7162024-12-25T04:22:13.502Z Compiling regex-automata v0.4.9
7172024-12-25T04:22:16.341Z Compiling regex v1.11.1
7182024-12-25T04:22:17.003Z Compiling darling_core v0.20.10
7192024-12-25T04:22:18.339Z Compiling serde_derive v1.0.216
7202024-12-25T04:22:18.339Z Compiling thiserror-impl v2.0.9
7212024-12-25T04:22:18.402Z Compiling thiserror-impl v1.0.69
7222024-12-25T04:22:18.452Z Compiling zerocopy-derive v0.7.35
7232024-12-25T04:22:18.697Z Compiling scroll_derive v0.12.0
7242024-12-25T04:22:19.572Z Compiling zerocopy-derive v0.8.14
7252024-12-25T04:22:20.150Z Compiling scroll v0.12.0
7262024-12-25T04:22:20.320Z Compiling kstat-macro v0.1.0 (/work/oxidecomputer/opte/crates/kstat-macro)
7272024-12-25T04:22:20.336Z Compiling zerocopy v0.7.35
7282024-12-25T04:22:20.634Z Compiling goblin v0.8.2
7292024-12-25T04:22:21.047Z Compiling thiserror v1.0.69
7302024-12-25T04:22:21.130Z Compiling thiserror v2.0.9
7312024-12-25T04:22:21.255Z Compiling pest v2.7.15
7322024-12-25T04:22:21.765Z Compiling darling_macro v0.20.10
7332024-12-25T04:22:22.124Z Compiling zerocopy v0.8.14
7342024-12-25T04:22:22.742Z Compiling darling v0.20.10
7352024-12-25T04:22:22.831Z Compiling ingot-macros v0.1.0 (https://github.com/oxidecomputer/ingot.git?rev=bff93247fe75ff889121e39d494cc3805fc01906#bff93247)
7362024-12-25T04:22:22.834Z Compiling derror-macro v0.1.0 (/work/oxidecomputer/opte/crates/derror-macro)
7372024-12-25T04:22:23.041Z Compiling serde v1.0.216
7382024-12-25T04:22:23.365Z Compiling pest_meta v2.7.15
7392024-12-25T04:22:24.466Z Compiling pest_generator v2.7.15
7402024-12-25T04:22:25.760Z Compiling pest_derive v2.7.15
7412024-12-25T04:22:26.697Z Compiling dtrace-parser v0.2.0
7422024-12-25T04:22:27.478Z Compiling ingot-types v0.1.0 (https://github.com/oxidecomputer/ingot.git?rev=bff93247fe75ff889121e39d494cc3805fc01906#bff93247)
7432024-12-25T04:22:27.529Z Compiling serde_json v1.0.134
7442024-12-25T04:22:27.574Z Compiling postcard v1.1.1
7452024-12-25T04:22:27.670Z Compiling serde_tokenstream v0.2.2
7462024-12-25T04:22:27.991Z Compiling ingot v0.1.0 (https://github.com/oxidecomputer/ingot.git?rev=bff93247fe75ff889121e39d494cc3805fc01906#bff93247)
7472024-12-25T04:22:28.686Z Compiling dof v0.3.0
7482024-12-25T04:22:29.155Z Compiling usdt-impl v0.5.0
7492024-12-25T04:22:29.496Z Compiling opte-api v0.1.0 (/work/oxidecomputer/opte/crates/opte-api)
7502024-12-25T04:22:29.892Z Compiling usdt-attr-macro v0.5.0
7512024-12-25T04:22:29.892Z Compiling usdt-macro v0.5.0
7522024-12-25T04:22:30.971Z Compiling usdt v0.5.0
7532024-12-25T04:22:45.678Z Finished `test` profile [unoptimized + debuginfo] target(s) in 35.05s
7542024-12-25T04:22:45.698Z Running unittests src/lib.rs (/work/oxidecomputer/opte/target/debug/deps/opte-f970767159be25ea)
7552024-12-25T04:22:45.712Z
7562024-12-25T04:22:45.713Zrunning 72 tests
7572024-12-25T04:22:45.716Ztest d_error::tests::name_truncation ... ok
7582024-12-25T04:22:45.717Ztest d_error::tests::name_and_data_storage ... ok
7592024-12-25T04:22:45.717Ztest ddi::mblk::test::chain_breaks_links ... ok
7602024-12-25T04:22:45.717Ztest ddi::mblk::test::chain_append_links ... ok
7612024-12-25T04:22:45.717Ztest ddi::mblk::test::chain_drain_complete ... ok
7622024-12-25T04:22:45.717Ztest ddi::mblk::test::chain_has_correct_ends ... ok
7632024-12-25T04:22:45.717Ztest ddi::mblk::test::expand_and_shrink ... ok
7642024-12-25T04:22:45.717Ztest ddi::mblk::test::prefix_len ... ok
7652024-12-25T04:22:45.717Ztest ddi::mblk::test::test_long_packet_continuation ... ok
7662024-12-25T04:22:45.717Ztest ddi::mblk::test::uninitialized_packet ... ok
7672024-12-25T04:22:45.717Ztest ddi::mblk::test::truncate ... ok
7682024-12-25T04:22:45.717Ztest ddi::mblk::test::wrap ... ok
7692024-12-25T04:22:45.717Ztest ddi::mblk::test::read_seg ... ok
7702024-12-25T04:22:45.717Ztest ddi::time::test::good_interval ... ok
7712024-12-25T04:22:45.717Ztest ddi::mblk::test::zero_byte_packet ... ok
7722024-12-25T04:22:45.717Ztest engine::dhcpv6::options::test::test_dns_servers ... ok
7732024-12-25T04:22:45.717Ztest engine::dhcpv6::options::test::test_client_id ... ok
7742024-12-25T04:22:45.717Ztest engine::dhcp::test::domainname_encode ... ok
7752024-12-25T04:22:45.717Ztest engine::dhcp::test::hostname_encode ... ok
7762024-12-25T04:22:45.717Ztest engine::dhcp::test::offlink_encode ... ok
7772024-12-25T04:22:45.717Ztest engine::dhcp::test::domain_search_option_encode ... ok
7782024-12-25T04:22:45.717Ztest engine::dhcp::test::rfc3442_encode ... ok
7792024-12-25T04:22:45.717Ztest engine::dhcpv6::options::test::test_domain_list_from_slice ... ok
7802024-12-25T04:22:45.717Ztest engine::dhcpv6::options::test::test_elapsed_time ... ok
7812024-12-25T04:22:45.717Ztest engine::dhcpv6::options::test::test_ip_list_bad_length_fails ... ok
7822024-12-25T04:22:45.718Ztest ddi::time::test::bad_interval - should panic ... ok
7832024-12-25T04:22:45.718Ztest engine::dhcpv6::options::test::test_parse_snooped_client_id ... ok
7842024-12-25T04:22:45.718Ztest engine::dhcpv6::options::test::test_iana ... ok
7852024-12-25T04:22:45.718Ztest engine::dhcpv6::options::test::test_iata ... ok
7862024-12-25T04:22:45.718Ztest engine::dhcpv6::options::test::test_option_request ... ok
7872024-12-25T04:22:45.718Ztest engine::dhcpv6::options::test::test_parse_snooped_option_request ... ok
7882024-12-25T04:22:45.718Ztest engine::dhcpv6::options::test::test_parse_snooped_iana ... ok
7892024-12-25T04:22:45.718Ztest engine::dhcpv6::options::test::test_rapid_commit ... ok
7902024-12-25T04:22:45.718Ztest engine::dhcpv6::options::test::test_server_id ... ok
7912024-12-25T04:22:45.718Ztest engine::dhcpv6::options::test::test_raw_option_from_bytes ... ok
7922024-12-25T04:22:45.718Ztest engine::dhcpv6::options::test::test_status ... ok
7932024-12-25T04:22:45.718Ztest engine::dhcpv6::options::test::test_sntp_servers ... ok
7942024-12-25T04:22:45.718Ztest engine::dhcpv6::protocol::test::test_parse_snooped_solicit_message ... ok
7952024-12-25T04:22:45.718Ztest engine::ether::test::emit ... ok
7962024-12-25T04:22:45.718Ztest engine::geneve::test::emit_external_opt ... ok
7972024-12-25T04:22:45.718Ztest engine::geneve::test::emit_no_opts ... ok
7982024-12-25T04:22:45.718Ztest engine::dhcpv6::test::test_duid_from_mac ... ok
7992024-12-25T04:22:45.718Ztest engine::geneve::test::parse_multi_opt ... ok
8002024-12-25T04:22:45.718Ztest engine::dhcpv6::protocol::test::test_predicates_match_snooped_solicit_message ... ok
8012024-12-25T04:22:45.718Ztest engine::flow_table::test::flow_expired ... ok
8022024-12-25T04:22:45.718Ztest engine::flow_table::test::flow_clear ... ok
8032024-12-25T04:22:45.718Ztest engine::geneve::test::parse_single_opt ... ok
8042024-12-25T04:22:45.718Ztest engine::geneve::test::unknown_crit_option_fails ... ok
8052024-12-25T04:22:45.718Ztest engine::ip::v6::test::bad_ipv6_version_caught ... ok
8062024-12-25T04:22:45.719Ztest engine::ip::v6::test::from_pairs ... ok
8072024-12-25T04:22:45.719Ztest engine::ip::v4::test::emit ... ok
8082024-12-25T04:22:45.719Ztest engine::ip::v6::test::test_ipv6_addr_match_exact ... ok
8092024-12-25T04:22:45.719Ztest engine::ip::v4::test::match_check ... ok
8102024-12-25T04:22:45.719Ztest engine::ip::v6::test::test_set_total_len ... ok
8112024-12-25T04:22:45.719Ztest engine::ip::v6::test::emit ... ok
8122024-12-25T04:22:45.719Ztest engine::ip::v6::test::test_ipv6_cidr_match_prefix ... ok
8132024-12-25T04:22:45.722Ztest engine::ip::v4::test::cidr_match ... ok
8142024-12-25T04:22:45.722Ztest engine::packet::test::read_single_segment ... ok
8152024-12-25T04:22:45.722Ztest engine::nat::test::nat4_rewrite ... ok
8162024-12-25T04:22:45.722Ztest engine::packet::test::read_multi_segment ... ok
8172024-12-25T04:22:45.722Ztest engine::ip::v6::test::test_extension_header_lengths_ok ... ok
8182024-12-25T04:22:45.722Ztest engine::packet::test::small_packet_with_padding ... ok
8192024-12-25T04:22:45.722Ztest engine::layer::test::find_rule ... ok
8202024-12-25T04:22:45.722Ztest engine::packet::test::straddled_tcp ... ok
8212024-12-25T04:22:45.722Ztest engine::packet::test::udp6_packet_with_padding ... ok
8222024-12-25T04:22:45.722Ztest engine::predicate::tests::data_predicate_ranges_handle_unknown ... ok
8232024-12-25T04:22:45.722Ztest engine::parse::test::icmp4_body_csum_equals_body ... ok
8242024-12-25T04:22:45.722Ztest engine::rule::rule_matching ... ok
8252024-12-25T04:22:45.722Ztest engine::snat::test::snat4_desc_lifecycle ... ok
8262024-12-25T04:22:45.722Ztest engine::snat::test::nat_mappings ... ok
8272024-12-25T04:22:45.722Ztest engine::snat::test::test_nat_pool_different_ip_types ... ok
8282024-12-25T04:22:45.722Ztest engine::packet::test::parse_ipv6_extension_headers_ok ... ok
8292024-12-25T04:22:45.722Z
8302024-12-25T04:22:45.722Ztest result: ok. 72 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.01s
8312024-12-25T04:22:45.722Z
8322024-12-25T04:22:45.723Z Doc-tests opte
8332024-12-25T04:22:46.503Z
8342024-12-25T04:22:46.503Zrunning 3 tests
8352024-12-25T04:22:46.505Ztest lib/opte/src/ddi/kstat.rs - ddi::kstat::KStatProvider (line 57) ... ignored
8362024-12-25T04:22:47.759Ztest lib/opte/src/ddi/kstat.rs - ddi::kstat::KStatProvider (line 43) ... ok
8372024-12-25T04:22:48.207Ztest lib/opte/src/ddi/kstat.rs - ddi::kstat::KStatNamed (line 86) ... ok
8382024-12-25T04:22:48.207Z
8392024-12-25T04:22:48.210Ztest result: ok. 2 passed; 0 failed; 1 ignored; 0 measured; 0 filtered out; finished in 1.70s
8402024-12-25T04:22:48.210Z
8412024-12-25T04:22:48.243Z
8422024-12-25T04:22:48.246Zreal 37.655899357
8432024-12-25T04:22:48.247Zuser 2:24.497676263
8442024-12-25T04:22:48.247Zsys 15.906330473
8452024-12-25T04:22:48.247Ztrap 0.064116161
8462024-12-25T04:22:48.247Ztflt 0.207794120
8472024-12-25T04:22:48.247Zdflt 0.517660170
8482024-12-25T04:22:48.247Zkflt 0.000005089
8492024-12-25T04:22:48.247Zlock 3:45.878711977
8502024-12-25T04:22:48.247Zslp 7:18.710890962
8512024-12-25T04:22:48.247Zlat 4.772842481
8522024-12-25T04:22:48.247Zstop 6.798122087
8532024-12-25T04:22:48.247Zprocess exited: duration 132979 ms, exit code 0
 
8542024-12-25T04:22:48.253Zfound 0 output files