01JDW75CCNVYCV3GEH9Y3S6YA1: 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: 01JDW762T1WT6F2ARNC9M489QJ

Tags:

Output:

SEQ GLOBAL TIME DETAILS
12024-11-29T15:04:34.725Zjob assigned to worker 01JDW763HWDXZATV58MSN8F46F [factory aws, i-04ffa66d140341c49] (queued for 48 s)
 
22024-11-29T15:04:42.836Zstarting task 0: "setup"
32024-11-29T15:04:42.844Z++ uname -s
42024-11-29T15:04:42.846Z+ kern=SunOS
52024-11-29T15:04:42.846Z+ case "$kern" in
62024-11-29T15:04:42.846Z+ groupadd -g 12345 build
72024-11-29T15:04:42.849Z+ useradd -u 12345 -g build -d /home/build -s /bin/bash -c build -P 'Primary Administrator' build
82024-11-29T15:04:43.855Z+ zfs create -o mountpoint=/work rpool/work
92024-11-29T15:04:43.958Z++ awk '$2 == "/home" { print $3 }' /etc/mnttab
102024-11-29T15:04:43.961Z+ home_fs=zfs
112024-11-29T15:04:43.961Z+ [[ zfs == autofs ]]
122024-11-29T15:04:43.961Z+ mkdir -p /home/build
132024-11-29T15:04:43.963Z+ chown build:build /home/build /work
142024-11-29T15:04:45.964Z+ chmod 0700 /home/build /work
152024-11-29T15:04:45.967Zprocess exited: duration 3132 ms, exit code 0
 
162024-11-29T15:04:45.972Zstarting task 1: "rust-toolchain"
172024-11-29T15:04:45.977Z+ printf ' * toolchain channel = "%s"
182024-11-29T15:04:45.977Z' nightly-2024-11-18
192024-11-29T15:04:45.977Z * toolchain channel = "nightly-2024-11-18"
202024-11-29T15:04:45.977Z * toolchain profile = "default"
212024-11-29T15:04:45.977Z+ printf ' * toolchain profile = "%s"
222024-11-29T15:04:45.977Z' default
232024-11-29T15:04:45.980Z+ curl --proto =https --tlsv1.2 -sSf https://sh.rustup.rs
242024-11-29T15:04:45.980Z+ /bin/bash -s - -y --no-modify-path --default-toolchain nightly-2024-11-18 --profile default
252024-11-29T15:04:46.139Zinfo: downloading installer
262024-11-29T15:04:47.312Zinfo: profile set to 'default'
272024-11-29T15:04:47.312Zinfo: default host triple is x86_64-unknown-illumos
282024-11-29T15:04:47.315Zinfo: syncing channel updates for 'nightly-2024-11-18-x86_64-unknown-illumos'
292024-11-29T15:04:47.570Zinfo: latest update on 2024-11-18, rust version 1.84.0-nightly (5ec7d6eee 2024-11-17)
302024-11-29T15:04:47.570Zinfo: downloading component 'cargo'
312024-11-29T15:04:48.490Zinfo: downloading component 'clippy'
322024-11-29T15:04:48.845Zinfo: downloading component 'rust-docs'
332024-11-29T15:04:50.094Zinfo: downloading component 'rust-std'
342024-11-29T15:04:52.121Zinfo: downloading component 'rustc'
352024-11-29T15:04:59.248Zinfo: downloading component 'rustfmt'
362024-11-29T15:04:59.514Zinfo: installing component 'cargo'
372024-11-29T15:05:00.346Zinfo: installing component 'clippy'
382024-11-29T15:05:00.726Zinfo: installing component 'rust-docs'
392024-11-29T15:05:02.373Zinfo: installing component 'rust-std'
402024-11-29T15:05:04.177Zinfo: installing component 'rustc'
412024-11-29T15:05:10.132Zinfo: installing component 'rustfmt'
422024-11-29T15:05:10.458Zinfo: default toolchain set to 'nightly-2024-11-18-x86_64-unknown-illumos'
432024-11-29T15:05:10.458Z
442024-11-29T15:05:10.845Z nightly-2024-11-18-x86_64-unknown-illumos installed - rustc 1.84.0-nightly (5ec7d6eee 2024-11-17)
452024-11-29T15:05:10.845Z
462024-11-29T15:05:10.848Z
472024-11-29T15:05:10.848ZRust is installed now. Great!
482024-11-29T15:05:10.848Z
492024-11-29T15:05:10.848ZTo get started you need Cargo's bin directory ($HOME/.cargo/bin) in your PATH
502024-11-29T15:05:10.848Zenvironment variable. This has not been done automatically.
512024-11-29T15:05:10.848Z
522024-11-29T15:05:10.849ZTo configure your current shell, you need to source
532024-11-29T15:05:10.849Zthe corresponding env file under $HOME/.cargo.
542024-11-29T15:05:10.849Z
552024-11-29T15:05:10.849ZThis is usually done by running one of the following (note the leading DOT):
562024-11-29T15:05:10.849Z. "$HOME/.cargo/env" # For sh/bash/zsh/ash/dash/pdksh
572024-11-29T15:05:10.849Zsource "$HOME/.cargo/env.fish" # For fish
582024-11-29T15:05:10.920Z+ rustc --version
592024-11-29T15:05:10.988Zrustc 1.84.0-nightly (5ec7d6eee 2024-11-17)
602024-11-29T15:05:10.992Zprocess exited: duration 25017 ms, exit code 0
 
612024-11-29T15:05:10.997Zstarting task 2: "authentication"
622024-11-29T15:05:11.017Zprocess exited: duration 20 ms, exit code 0
 
632024-11-29T15:05:11.022Zstarting task 3: "clone repository"
642024-11-29T15:05:11.027Z+ mkdir -p /work/oxidecomputer/opte
652024-11-29T15:05:11.029Z+ git clone https://github.com/oxidecomputer/opte /work/oxidecomputer/opte
662024-11-29T15:05:11.063ZCloning into '/work/oxidecomputer/opte'...
672024-11-29T15:05:12.368Z+ cd /work/oxidecomputer/opte
682024-11-29T15:05:12.368Z+ git fetch origin 178a1785f264fcf965e5edbfc20af86a3d5801c6
692024-11-29T15:05:12.605ZFrom https://github.com/oxidecomputer/opte
702024-11-29T15:05:12.605Z * branch 178a1785f264fcf965e5edbfc20af86a3d5801c6 -> FETCH_HEAD
712024-11-29T15:05:12.613Z+ [[ -n fix-618 ]]
722024-11-29T15:05:12.615Z++ git branch --show-current
732024-11-29T15:05:12.617Z+ current=master
742024-11-29T15:05:12.618Z+ [[ master != fix-618 ]]
752024-11-29T15:05:12.618Z+ git branch -f fix-618 178a1785f264fcf965e5edbfc20af86a3d5801c6
762024-11-29T15:05:12.621Z+ git checkout -f fix-618
772024-11-29T15:05:12.642ZSwitched to branch 'fix-618'
782024-11-29T15:05:12.645Z+ git reset --hard 178a1785f264fcf965e5edbfc20af86a3d5801c6
792024-11-29T15:05:12.664ZHEAD is now at 178a178 Correctly set ioctl resp_buf capacity on ENOBUFS
802024-11-29T15:05:12.667Zprocess exited: duration 1642 ms, exit code 0
 
812024-11-29T15:05:12.672Zstarting task 4: "build"
822024-11-29T15:05:12.677Z+ cargo --version
832024-11-29T15:05:12.681Zinfo: syncing channel updates for '1.82.0-x86_64-unknown-illumos'
842024-11-29T15:05:12.842Zinfo: latest update on 2024-10-17, rust version 1.82.0 (f6e511eec 2024-10-15)
852024-11-29T15:05:12.842Zinfo: downloading component 'cargo'
862024-11-29T15:05:13.708Zinfo: downloading component 'clippy'
872024-11-29T15:05:14.036Zinfo: downloading component 'rust-docs'
882024-11-29T15:05:15.253Zinfo: downloading component 'rust-std'
892024-11-29T15:05:17.296Zinfo: downloading component 'rustc'
902024-11-29T15:05:24.343Zinfo: downloading component 'rustfmt'
912024-11-29T15:05:24.592Zinfo: installing component 'cargo'
922024-11-29T15:05:25.384Zinfo: installing component 'clippy'
932024-11-29T15:05:25.750Zinfo: installing component 'rust-docs'
942024-11-29T15:05:27.402Zinfo: installing component 'rust-std'
952024-11-29T15:05:29.158Zinfo: installing component 'rustc'
962024-11-29T15:05:35.041Zinfo: installing component 'rustfmt'
972024-11-29T15:05:35.433Zcargo 1.82.0 (8f40fc59f 2024-08-21)
982024-11-29T15:05:35.436Z+ rustc --version
992024-11-29T15:05:35.506Zrustc 1.82.0 (f6e511eec 2024-10-15)
1002024-11-29T15:05:35.511Z+ cd lib/opte
1012024-11-29T15:05:35.514Z+ header 'check style'
1022024-11-29T15:05:35.514Z+ echo '# ==== check style ==== #'
1032024-11-29T15:05:35.514Z# ==== check style ==== #
1042024-11-29T15:05:35.514Z+ ptime -m cargo +nightly-2024-11-18 fmt -- --check
1052024-11-29T15:05:35.870Z
1062024-11-29T15:05:35.870Zreal 0.355055220
1072024-11-29T15:05:35.870Zuser 0.251503230
1082024-11-29T15:05:35.870Zsys 0.095987483
1092024-11-29T15:05:35.870Ztrap 0.000022647
1102024-11-29T15:05:35.870Ztflt 0.000000000
1112024-11-29T15:05:35.870Zdflt 0.000000000
1122024-11-29T15:05:35.870Zkflt 0.000000000
1132024-11-29T15:05:35.870Zlock 0.000000000
1142024-11-29T15:05:35.874Zslp 0.270417734
1152024-11-29T15:05:35.874Zlat 0.000257638
1162024-11-29T15:05:35.874Zstop 0.000129163
1172024-11-29T15:05:35.874Z+ header 'check docs'
1182024-11-29T15:05:35.874Z+ echo '# ==== check docs ==== #'
1192024-11-29T15:05:35.874Z# ==== check docs ==== #
1202024-11-29T15:05:35.874Z+ RUSTDOCFLAGS='-D warnings'
1212024-11-29T15:05:35.874Z+ ptime -m cargo +nightly-2024-11-18 doc --no-default-features --features=api,std,engine,kernel
1222024-11-29T15:05:35.977Z Updating crates.io index
1232024-11-29T15:05:35.980Z Updating git repository `https://github.com/oxidecomputer/falcon`
1242024-11-29T15:05:36.737Z Updating git repository `https://github.com/oxidecomputer/ingot.git`
1252024-11-29T15:05:37.067Z Updating git repository `https://github.com/oxidecomputer/poptrie`
1262024-11-29T15:05:37.421Z Updating git repository `https://github.com/oxidecomputer/netadm-sys`
1272024-11-29T15:05:37.794Z Updating git repository `https://github.com/oxidecomputer/zone`
1282024-11-29T15:05:38.069Z Updating git repository `https://github.com/oxidecomputer/oxnet`
1292024-11-29T15:05:38.306Z Updating git repository `https://github.com/oxidecomputer/dlpi-sys`
1302024-11-29T15:05:38.571Z Updating git repository `https://github.com/jmesmon/rust-libzfs`
1312024-11-29T15:05:38.823Z Updating git repository `https://github.com/oxidecomputer/rusty-doors`
1322024-11-29T15:05:39.835Z Downloading crates ...
1332024-11-29T15:05:39.897Z Downloaded dtrace-parser v0.2.0
1342024-11-29T15:05:39.907Z Downloaded scroll v0.12.0
1352024-11-29T15:05:39.910Z Downloaded generic-array v0.14.7
1362024-11-29T15:05:39.914Z Downloaded proc-macro-error-attr v1.0.4
1372024-11-29T15:05:39.918Z Downloaded typenum v1.17.0
1382024-11-29T15:05:39.937Z Downloaded itertools v0.13.0
1392024-11-29T15:05:39.943Z Downloaded heapless v0.8.0
1402024-11-29T15:05:39.953Z Downloaded regex-syntax v0.8.5
1412024-11-29T15:05:39.972Z Downloaded darling v0.20.10
1422024-11-29T15:05:39.976Z Downloaded darling_macro v0.20.10
1432024-11-29T15:05:39.979Z Downloaded crc32fast v1.4.2
1442024-11-29T15:05:39.979Z Downloaded bitflags v1.3.2
1452024-11-29T15:05:39.981Z Downloaded byteorder v1.5.0
1462024-11-29T15:05:39.983Z Downloaded digest v0.10.7
1472024-11-29T15:05:39.985Z Downloaded bitflags v2.6.0
1482024-11-29T15:05:39.988Z Downloaded crypto-common v0.1.6
1492024-11-29T15:05:39.991Z Downloaded cfg-if v1.0.0
1502024-11-29T15:05:39.991Z Downloaded either v1.13.0
1512024-11-29T15:05:39.994Z Downloaded dyn-clone v1.0.17
1522024-11-29T15:05:39.994Z Downloaded block-buffer v0.10.4
1532024-11-29T15:05:39.994Z Downloaded defmt-parser v0.3.4
1542024-11-29T15:05:39.997Z Downloaded defmt-macros v0.3.9
1552024-11-29T15:05:39.997Z Downloaded cpufeatures v0.2.16
1562024-11-29T15:05:40.000Z Downloaded cobs v0.2.3
1572024-11-29T15:05:40.000Z Downloaded dof v0.3.0
1582024-11-29T15:05:40.003Z Downloaded hash32 v0.3.1
1592024-11-29T15:05:40.003Z Downloaded fnv v1.0.7
1602024-11-29T15:05:40.003Z Downloaded defmt v0.3.8
1612024-11-29T15:05:40.007Z Downloaded darling_core v0.20.10
1622024-11-29T15:05:40.010Z Downloaded ryu v1.0.18
1632024-11-29T15:05:40.013Z Downloaded ipnetwork v0.20.0
1642024-11-29T15:05:40.018Z Downloaded ident_case v1.0.1
1652024-11-29T15:05:40.027Z Downloaded pretty-hex v0.4.1
1662024-11-29T15:05:40.036Z Downloaded managed v0.8.0
1672024-11-29T15:05:40.039Z Downloaded log v0.4.22
1682024-11-29T15:05:40.042Z Downloaded macaddr v1.0.1
1692024-11-29T15:05:40.045Z Downloaded usdt-macro v0.5.0
1702024-11-29T15:05:40.047Z Downloaded stable_deref_trait v1.2.0
1712024-11-29T15:05:40.053Z Downloaded usdt-attr-macro v0.5.0
1722024-11-29T15:05:40.056Z Downloaded scroll_derive v0.12.0
1732024-11-29T15:05:40.058Z Downloaded itoa v1.0.13
1742024-11-29T15:05:40.061Z Downloaded embedded-io v0.6.1
1752024-11-29T15:05:40.067Z Downloaded pest_generator v2.7.14
1762024-11-29T15:05:40.072Z Downloaded thread-id v4.2.2
1772024-11-29T15:05:40.074Z Downloaded tabwriter v1.4.0
1782024-11-29T15:05:40.080Z Downloaded thiserror-impl v1.0.69
1792024-11-29T15:05:40.083Z Downloaded postcard v1.0.10
1802024-11-29T15:05:40.083Z Downloaded memchr v2.7.4
1812024-11-29T15:05:40.088Z Downloaded embedded-io v0.4.0
1822024-11-29T15:05:40.090Z Downloaded version_check v0.9.5
1832024-11-29T15:05:40.094Z Downloaded serde_tokenstream v0.2.2
1842024-11-29T15:05:40.094Z Downloaded usdt v0.5.0
1852024-11-29T15:05:40.094Z Downloaded once_cell v1.20.2
1862024-11-29T15:05:40.097Z Downloaded plain v0.2.3
1872024-11-29T15:05:40.097Z Downloaded memmap v0.7.0
1882024-11-29T15:05:40.100Z Downloaded sha2 v0.10.8
1892024-11-29T15:05:40.103Z Downloaded strsim v0.11.1
1902024-11-29T15:05:40.103Z Downloaded pest_derive v2.7.14
1912024-11-29T15:05:40.105Z Downloaded proc-macro-error v1.0.4
1922024-11-29T15:05:40.108Z Downloaded quote v1.0.37
1932024-11-29T15:05:40.117Z Downloaded thiserror v1.0.69
1942024-11-29T15:05:40.121Z Downloaded usdt-impl v0.5.0
1952024-11-29T15:05:40.125Z Downloaded ucd-trie v0.1.7
1962024-11-29T15:05:40.129Z Downloaded pest_meta v2.7.14
1972024-11-29T15:05:40.134Z Downloaded zerocopy-derive v0.7.35
1982024-11-29T15:05:40.144Z Downloaded proc-macro2 v1.0.92
1992024-11-29T15:05:40.147Z Downloaded unicode-ident v1.0.14
2002024-11-29T15:05:40.150Z Downloaded serde_derive v1.0.215
2012024-11-29T15:05:40.161Z Downloaded serde v1.0.215
2022024-11-29T15:05:40.171Z Downloaded zerocopy-derive v0.8.11
2032024-11-29T15:05:40.191Z Downloaded aho-corasick v1.1.3
2042024-11-29T15:05:40.199Z Downloaded goblin v0.8.2
2052024-11-29T15:05:40.204Z Downloaded pest v2.7.14
2062024-11-29T15:05:40.225Z Downloaded zerocopy v0.7.35
2072024-11-29T15:05:40.240Z Downloaded serde_json v1.0.133
2082024-11-29T15:05:40.278Z Downloaded syn v1.0.109
2092024-11-29T15:05:40.288Z Downloaded zerocopy v0.8.11
2102024-11-29T15:05:40.311Z Downloaded regex v1.11.1
2112024-11-29T15:05:40.322Z Downloaded unicode-width v0.1.14
2122024-11-29T15:05:40.327Z Downloaded smoltcp v0.11.0
2132024-11-29T15:05:40.338Z Downloaded syn v2.0.89
2142024-11-29T15:05:40.393Z Downloaded regex-automata v0.4.9
2152024-11-29T15:05:40.409Z Downloaded libc v0.2.164
2162024-11-29T15:05:40.564Z Compiling proc-macro2 v1.0.92
2172024-11-29T15:05:40.566Z Compiling unicode-ident v1.0.14
2182024-11-29T15:05:40.566Z Documenting unicode-ident v1.0.14
2192024-11-29T15:05:40.566Z Compiling strsim v0.11.1
2202024-11-29T15:05:40.566Z Compiling ident_case v1.0.1
2212024-11-29T15:05:40.577Z Compiling fnv v1.0.7
2222024-11-29T15:05:40.747Z Compiling memchr v2.7.4
2232024-11-29T15:05:40.778Z Compiling serde v1.0.215
2242024-11-29T15:05:40.829Z Compiling zerocopy v0.8.11
2252024-11-29T15:05:40.969Z Compiling regex-syntax v0.8.5
2262024-11-29T15:05:41.225Z Documenting strsim v0.11.1
2272024-11-29T15:05:41.261Z Documenting ident_case v1.0.1
2282024-11-29T15:05:41.600Z Documenting proc-macro2 v1.0.92
2292024-11-29T15:05:42.154Z Compiling aho-corasick v1.1.3
2302024-11-29T15:05:42.232Z Compiling quote v1.0.37
2312024-11-29T15:05:42.522Z Checking syn v2.0.89
2322024-11-29T15:05:42.732Z Documenting quote v1.0.37
2332024-11-29T15:05:42.779Z Compiling either v1.13.0
2342024-11-29T15:05:43.150Z Documenting fnv v1.0.7
2352024-11-29T15:05:43.658Z Checking byteorder v1.5.0
2362024-11-29T15:05:43.698Z Documenting syn v2.0.89
2372024-11-29T15:05:43.949Z Compiling itertools v0.13.0
2382024-11-29T15:05:44.067Z Documenting memchr v2.7.4
2392024-11-29T15:05:44.432Z Compiling heapless v0.8.0
2402024-11-29T15:05:44.959Z Compiling regex-automata v0.4.9
2412024-11-29T15:05:45.366Z Documenting aho-corasick v1.1.3
2422024-11-29T15:05:46.455Z Checking hash32 v0.3.1
2432024-11-29T15:05:46.615Z Checking cfg-if v1.0.0
2442024-11-29T15:05:46.690Z Documenting regex-syntax v0.8.5
2452024-11-29T15:05:46.850Z Checking macaddr v1.0.1
2462024-11-29T15:05:47.001Z Checking stable_deref_trait v1.2.0
2472024-11-29T15:05:47.085Z Compiling smoltcp v0.11.0
2482024-11-29T15:05:47.572Z Checking darling_core v0.20.10
2492024-11-29T15:05:48.484Z Checking bitflags v2.6.0
2502024-11-29T15:05:48.941Z Compiling regex v1.11.1
2512024-11-29T15:05:48.953Z Documenting darling_core v0.20.10
2522024-11-29T15:05:49.502Z Documenting regex-automata v0.4.9
2532024-11-29T15:05:49.786Z Documenting zerocopy-derive v0.8.11
2542024-11-29T15:05:49.836Z Documenting serde_derive v1.0.215
2552024-11-29T15:05:50.137Z Documenting byteorder v1.5.0
2562024-11-29T15:05:50.823Z Checking managed v0.8.0
2572024-11-29T15:05:51.013Z Checking cobs v0.2.3
2582024-11-29T15:05:51.118Z Documenting darling_macro v0.20.10
2592024-11-29T15:05:51.166Z Checking bitflags v1.3.2
2602024-11-29T15:05:51.176Z Documenting hash32 v0.3.1
2612024-11-29T15:05:51.276Z Documenting macaddr v1.0.1
2622024-11-29T15:05:51.835Z Documenting stable_deref_trait v1.2.0
2632024-11-29T15:05:51.857Z Documenting cfg-if v1.0.0
2642024-11-29T15:05:51.963Z Documenting managed v0.8.0
2652024-11-29T15:05:52.121Z Documenting bitflags v2.6.0
2662024-11-29T15:05:52.203Z Documenting regex v1.11.1
2672024-11-29T15:05:52.424Z Checking illumos-sys-hdrs v0.1.0 (/work/oxidecomputer/opte/crates/illumos-sys-hdrs)
2682024-11-29T15:05:52.483Z Documenting heapless v0.8.0
2692024-11-29T15:05:52.669Z Documenting cobs v0.2.3
2702024-11-29T15:05:52.796Z Compiling version_check v0.9.5
2712024-11-29T15:05:53.064Z Compiling serde_derive v1.0.215
2722024-11-29T15:05:53.137Z Compiling zerocopy-derive v0.8.11
2732024-11-29T15:05:53.293Z Checking unicode-width v0.1.14
2742024-11-29T15:05:53.388Z Checking ipnetwork v0.20.0
2752024-11-29T15:05:53.599Z Documenting smoltcp v0.11.0
2762024-11-29T15:05:53.601Z Compiling opte v0.1.0 (/work/oxidecomputer/opte/lib/opte)
2772024-11-29T15:05:53.672Z Documenting ipnetwork v0.20.0
2782024-11-29T15:05:53.742Z Documenting either v1.13.0
2792024-11-29T15:05:53.973Z Documenting unicode-width v0.1.14
2802024-11-29T15:05:54.028Z Compiling darling_macro v0.20.10
2812024-11-29T15:05:54.411Z Documenting illumos-sys-hdrs v0.1.0 (/work/oxidecomputer/opte/crates/illumos-sys-hdrs)
2822024-11-29T15:05:54.647Z Documenting itertools v0.13.0
2832024-11-29T15:05:54.730Z Checking tabwriter v1.4.0
2842024-11-29T15:05:55.033Z Documenting tabwriter v1.4.0
2852024-11-29T15:05:55.075Z Compiling darling v0.20.10
2862024-11-29T15:05:55.167Z Compiling ingot-macros v0.1.0 (https://github.com/oxidecomputer/ingot.git?rev=bff93247fe75ff889121e39d494cc3805fc01906#bff93247)
2872024-11-29T15:05:55.185Z Documenting darling v0.20.10
2882024-11-29T15:05:55.624Z Compiling derror-macro v0.1.0 (/work/oxidecomputer/opte/crates/derror-macro)
2892024-11-29T15:05:55.844Z Documenting zerocopy v0.8.11
2902024-11-29T15:05:56.363Z Documenting ingot-macros v0.1.0 (https://github.com/oxidecomputer/ingot.git?rev=bff93247fe75ff889121e39d494cc3805fc01906#bff93247)
2912024-11-29T15:05:56.576Z Documenting derror-macro v0.1.0 (/work/oxidecomputer/opte/crates/derror-macro)
2922024-11-29T15:05:56.738Z Compiling kstat-macro v0.1.0 (/work/oxidecomputer/opte/crates/kstat-macro)
2932024-11-29T15:05:56.982Z Documenting crc32fast v1.4.2
2942024-11-29T15:05:57.561Z Documenting kstat-macro v0.1.0 (/work/oxidecomputer/opte/crates/kstat-macro)
2952024-11-29T15:05:57.603Z Checking crc32fast v1.4.2
2962024-11-29T15:05:57.802Z Documenting dyn-clone v1.0.17
2972024-11-29T15:05:57.805Z Checking dyn-clone v1.0.17
2982024-11-29T15:05:59.158Z Documenting serde v1.0.215
2992024-11-29T15:05:59.723Z Checking ingot-types v0.1.0 (https://github.com/oxidecomputer/ingot.git?rev=bff93247fe75ff889121e39d494cc3805fc01906#bff93247)
3002024-11-29T15:05:59.723Z Documenting ingot-types v0.1.0 (https://github.com/oxidecomputer/ingot.git?rev=bff93247fe75ff889121e39d494cc3805fc01906#bff93247)
3012024-11-29T15:06:01.864Z Checking ingot v0.1.0 (https://github.com/oxidecomputer/ingot.git?rev=bff93247fe75ff889121e39d494cc3805fc01906#bff93247)
3022024-11-29T15:06:01.864Z Checking postcard v1.0.10
3032024-11-29T15:06:01.867Z Documenting ingot v0.1.0 (https://github.com/oxidecomputer/ingot.git?rev=bff93247fe75ff889121e39d494cc3805fc01906#bff93247)
3042024-11-29T15:06:01.867Z Documenting postcard v1.0.10
3052024-11-29T15:06:03.095Z Checking opte-api v0.1.0 (/work/oxidecomputer/opte/crates/opte-api)
3062024-11-29T15:06:03.095Z Documenting opte-api v0.1.0 (/work/oxidecomputer/opte/crates/opte-api)
3072024-11-29T15:06:03.998Z Documenting opte v0.1.0 (/work/oxidecomputer/opte/lib/opte)
3082024-11-29T15:06:06.343Z Finished `dev` profile [unoptimized + debuginfo] target(s) in 30.46s
3092024-11-29T15:06:06.457Z Generated /work/oxidecomputer/opte/target/doc/opte/index.html
3102024-11-29T15:06:06.477Z
3112024-11-29T15:06:06.479Zreal 30.585123760
3122024-11-29T15:06:06.480Zuser 2:17.810803499
3132024-11-29T15:06:06.480Zsys 18.706597602
3142024-11-29T15:06:06.480Ztrap 0.095609456
3152024-11-29T15:06:06.480Ztflt 0.165318918
3162024-11-29T15:06:06.480Zdflt 0.180930323
3172024-11-29T15:06:06.480Zkflt 0.001593177
3182024-11-29T15:06:06.480Zlock 2:58.408420095
3192024-11-29T15:06:06.480Zslp 7:29.863067151
3202024-11-29T15:06:06.480Zlat 18.438825778
3212024-11-29T15:06:06.480Zstop 10.948583476
3222024-11-29T15:06:06.480Z+ header 'analyze std + api'
3232024-11-29T15:06:06.480Z+ echo '# ==== analyze std + api ==== #'
3242024-11-29T15:06:06.480Z# ==== analyze std + api ==== #
3252024-11-29T15:06:06.480Z+ ptime -m cargo clippy --all-targets
3262024-11-29T15:06:06.876Z Compiling proc-macro2 v1.0.92
3272024-11-29T15:06:06.876Z Compiling unicode-ident v1.0.14
3282024-11-29T15:06:06.879Z Compiling memchr v2.7.4
3292024-11-29T15:06:06.879Z Compiling thiserror v1.0.69
3302024-11-29T15:06:06.879Z Compiling libc v0.2.164
3312024-11-29T15:06:06.879Z Compiling version_check v0.9.5
3322024-11-29T15:06:06.879Z Compiling ucd-trie v0.1.7
3332024-11-29T15:06:06.879Z Compiling serde_json v1.0.133
3342024-11-29T15:06:07.083Z Compiling once_cell v1.20.2
3352024-11-29T15:06:07.332Z Compiling serde v1.0.215
3362024-11-29T15:06:07.462Z Checking byteorder v1.5.0
3372024-11-29T15:06:07.533Z Compiling ident_case v1.0.1
3382024-11-29T15:06:07.630Z Compiling strsim v0.11.1
3392024-11-29T15:06:07.680Z Compiling fnv v1.0.7
3402024-11-29T15:06:07.756Z Compiling regex-syntax v0.8.5
3412024-11-29T15:06:07.800Z Compiling aho-corasick v1.1.3
3422024-11-29T15:06:07.836Z Compiling itoa v1.0.13
3432024-11-29T15:06:07.937Z Compiling ryu v1.0.18
3442024-11-29T15:06:08.289Z Compiling usdt-impl v0.5.0
3452024-11-29T15:06:08.320Z Compiling either v1.13.0
3462024-11-29T15:06:08.492Z Compiling zerocopy v0.8.11
3472024-11-29T15:06:08.663Z Compiling quote v1.0.37
3482024-11-29T15:06:08.731Z Compiling itertools v0.13.0
3492024-11-29T15:06:09.030Z Compiling syn v2.0.89
3502024-11-29T15:06:09.248Z Compiling thread-id v4.2.2
3512024-11-29T15:06:09.397Z Checking log v0.4.22
3522024-11-29T15:06:09.539Z Checking plain v0.2.3
3532024-11-29T15:06:09.643Z Compiling heapless v0.8.0
3542024-11-29T15:06:09.875Z Checking hash32 v0.3.1
3552024-11-29T15:06:10.042Z Checking stable_deref_trait v1.2.0
3562024-11-29T15:06:10.079Z Checking pretty-hex v0.4.1
3572024-11-29T15:06:10.127Z Checking macaddr v1.0.1
3582024-11-29T15:06:10.233Z Compiling smoltcp v0.11.0
3592024-11-29T15:06:10.347Z Checking cfg-if v1.0.0
3602024-11-29T15:06:10.594Z Checking bitflags v2.6.0
3612024-11-29T15:06:10.830Z Checking cobs v0.2.3
3622024-11-29T15:06:10.865Z Checking managed v0.8.0
3632024-11-29T15:06:11.001Z Checking bitflags v1.3.2
3642024-11-29T15:06:11.086Z Checking memmap v0.7.0
3652024-11-29T15:06:11.262Z Compiling opte v0.1.0 (/work/oxidecomputer/opte/lib/opte)
3662024-11-29T15:06:11.311Z Compiling regex-automata v0.4.9
3672024-11-29T15:06:11.658Z Checking illumos-sys-hdrs v0.1.0 (/work/oxidecomputer/opte/crates/illumos-sys-hdrs)
3682024-11-29T15:06:11.852Z Checking unicode-width v0.1.14
3692024-11-29T15:06:11.921Z Checking ipnetwork v0.20.0
3702024-11-29T15:06:12.264Z Checking crc32fast v1.4.2
3712024-11-29T15:06:12.313Z Checking tabwriter v1.4.0
3722024-11-29T15:06:12.454Z Checking dyn-clone v1.0.17
3732024-11-29T15:06:14.426Z Compiling darling_core v0.20.10
3742024-11-29T15:06:14.449Z Compiling regex v1.11.1
3752024-11-29T15:06:16.288Z Compiling thiserror-impl v1.0.69
3762024-11-29T15:06:16.291Z Compiling serde_derive v1.0.215
3772024-11-29T15:06:16.291Z Compiling zerocopy-derive v0.7.35
3782024-11-29T15:06:16.291Z Compiling scroll_derive v0.12.0
3792024-11-29T15:06:16.291Z Compiling zerocopy-derive v0.8.11
3802024-11-29T15:06:16.291Z Compiling kstat-macro v0.1.0 (/work/oxidecomputer/opte/crates/kstat-macro)
3812024-11-29T15:06:17.626Z Checking scroll v0.12.0
3822024-11-29T15:06:18.081Z Checking goblin v0.8.2
3832024-11-29T15:06:18.529Z Compiling darling_macro v0.20.10
3842024-11-29T15:06:18.601Z Compiling pest v2.7.14
3852024-11-29T15:06:19.400Z Compiling darling v0.20.10
3862024-11-29T15:06:19.501Z Compiling ingot-macros v0.1.0 (https://github.com/oxidecomputer/ingot.git?rev=bff93247fe75ff889121e39d494cc3805fc01906#bff93247)
3872024-11-29T15:06:20.030Z Compiling derror-macro v0.1.0 (/work/oxidecomputer/opte/crates/derror-macro)
3882024-11-29T15:06:20.849Z Compiling pest_meta v2.7.14
3892024-11-29T15:06:21.843Z Compiling pest_generator v2.7.14
3902024-11-29T15:06:22.072Z Compiling zerocopy v0.7.35
3912024-11-29T15:06:23.424Z Compiling pest_derive v2.7.14
3922024-11-29T15:06:24.097Z Compiling dtrace-parser v0.2.0
3932024-11-29T15:06:24.382Z Checking ingot-types v0.1.0 (https://github.com/oxidecomputer/ingot.git?rev=bff93247fe75ff889121e39d494cc3805fc01906#bff93247)
3942024-11-29T15:06:25.930Z Checking postcard v1.0.10
3952024-11-29T15:06:25.933Z Checking ingot v0.1.0 (https://github.com/oxidecomputer/ingot.git?rev=bff93247fe75ff889121e39d494cc3805fc01906#bff93247)
3962024-11-29T15:06:26.625Z Compiling serde_tokenstream v0.2.2
3972024-11-29T15:06:27.030Z Checking dof v0.3.0
3982024-11-29T15:06:27.456Z Checking opte-api v0.1.0 (/work/oxidecomputer/opte/crates/opte-api)
3992024-11-29T15:06:28.850Z Compiling usdt-attr-macro v0.5.0
4002024-11-29T15:06:28.850Z Compiling usdt-macro v0.5.0
4012024-11-29T15:06:29.683Z Checking usdt v0.5.0
4022024-11-29T15:06:41.481Zwarning: the borrowed expression implements the required traits
4032024-11-29T15:06:41.482Z --> lib/opte/src/ddi/mblk.rs:1138:33
4042024-11-29T15:06:41.482Z |
4052024-11-29T15:06:41.482Z1138 | let pkt2 = MsgBlk::copy(&[]);
4062024-11-29T15:06:41.482Z | ^^^ help: change this to: `[]`
4072024-11-29T15:06:41.482Z |
4082024-11-29T15:06:41.482Z = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrows_for_generic_args
4092024-11-29T15:06:41.482Z = note: `#[warn(clippy::needless_borrows_for_generic_args)]` on by default
4102024-11-29T15:06:41.482Z
4112024-11-29T15:06:41.494Zwarning: the borrowed expression implements the required traits
4122024-11-29T15:06:41.494Z --> lib/opte/src/ddi/mblk.rs:1195:35
4132024-11-29T15:06:41.494Z |
4142024-11-29T15:06:41.494Z1195 | let mut p1 = MsgBlk::copy(&[0, 1, 2, 3]);
4152024-11-29T15:06:41.494Z | ^^^^^^^^^^^^^ help: change this to: `[0, 1, 2, 3]`
4162024-11-29T15:06:41.494Z |
4172024-11-29T15:06:41.494Z = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrows_for_generic_args
4182024-11-29T15:06:41.494Z
4192024-11-29T15:06:41.497Zwarning: the borrowed expression implements the required traits
4202024-11-29T15:06:41.497Z --> lib/opte/src/ddi/mblk.rs:1196:32
4212024-11-29T15:06:41.497Z |
4222024-11-29T15:06:41.497Z1196 | p1.append(MsgBlk::copy(&[4, 5, 6, 7]));
4232024-11-29T15:06:41.497Z | ^^^^^^^^^^^^^ help: change this to: `[4, 5, 6, 7]`
4242024-11-29T15:06:41.497Z |
4252024-11-29T15:06:41.497Z = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrows_for_generic_args
4262024-11-29T15:06:41.497Z
4272024-11-29T15:06:41.497Zwarning: the borrowed expression implements the required traits
4282024-11-29T15:06:41.497Z --> lib/opte/src/ddi/mblk.rs:1197:32
4292024-11-29T15:06:41.497Z |
4302024-11-29T15:06:41.497Z1197 | p1.append(MsgBlk::copy(&[8, 9, 10, 11]));
4312024-11-29T15:06:41.497Z | ^^^^^^^^^^^^^^^ help: change this to: `[8, 9, 10, 11]`
4322024-11-29T15:06:41.497Z |
4332024-11-29T15:06:41.497Z = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrows_for_generic_args
4342024-11-29T15:06:41.497Z
4352024-11-29T15:06:41.525Zwarning: the loop variable `i` is only used to index `els`
4362024-11-29T15:06:41.525Z --> lib/opte/src/ddi/mblk.rs:1361:18
4372024-11-29T15:06:41.525Z |
4382024-11-29T15:06:41.525Z1361 | for i in 0..els.len() {
4392024-11-29T15:06:41.525Z | ^^^^^^^^^^^^
4402024-11-29T15:06:41.525Z |
4412024-11-29T15:06:41.525Z = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_range_loop
4422024-11-29T15:06:41.525Z = note: `#[warn(clippy::needless_range_loop)]` on by default
4432024-11-29T15:06:41.525Zhelp: consider using an iterator
4442024-11-29T15:06:41.525Z |
4452024-11-29T15:06:41.525Z1361 | for <item> in &els {
4462024-11-29T15:06:41.525Z | ~~~~~~ ~~~~
4472024-11-29T15:06:41.525Z
4482024-11-29T15:06:42.701Zwarning: casting to the same type is unnecessary (`usize` -> `usize`)
4492024-11-29T15:06:42.701Z --> lib/opte/src/engine/ip/v6.rs:461:13
4502024-11-29T15:06:42.701Z |
4512024-11-29T15:06:42.702Z461 | header.packet_length() as usize,
4522024-11-29T15:06:42.702Z | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try: `{ header.packet_length() }`
4532024-11-29T15:06:42.702Z |
4542024-11-29T15:06:42.702Z = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unnecessary_cast
4552024-11-29T15:06:42.702Z = note: `#[warn(clippy::unnecessary_cast)]` on by default
4562024-11-29T15:06:42.702Z
4572024-11-29T15:06:42.717Zwarning: redundant slicing of the whole range
4582024-11-29T15:06:42.717Z --> lib/opte/src/engine/ip/v6.rs:590:34
4592024-11-29T15:06:42.717Z |
4602024-11-29T15:06:42.717Z590 | assert!(ValidIpv6::parse(&buf[..]).is_err());
4612024-11-29T15:06:42.717Z | ^^^^^^^^ help: use the original value instead: `buf`
4622024-11-29T15:06:42.717Z |
4632024-11-29T15:06:42.717Z = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_slicing
4642024-11-29T15:06:42.717Z = note: `#[warn(clippy::redundant_slicing)]` on by default
4652024-11-29T15:06:42.717Z
4662024-11-29T15:06:42.721Zwarning: redundant slicing of the whole range
4672024-11-29T15:06:42.721Z --> lib/opte/src/engine/ip/v6.rs:593:53
4682024-11-29T15:06:42.721Z |
4692024-11-29T15:06:42.721Z593 | let (v6, _rem) = Accessor::read_from_prefix(&buf[..]).unwrap();
4702024-11-29T15:06:42.721Z | ^^^^^^^^ help: use the original value instead: `buf`
4712024-11-29T15:06:42.721Z |
4722024-11-29T15:06:42.721Z = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_slicing
4732024-11-29T15:06:42.721Z
4742024-11-29T15:06:42.883Zwarning: this expression creates a reference which is immediately dereferenced by the compiler
4752024-11-29T15:06:42.883Z --> lib/opte/src/engine/layer.rs:1880:46
4762024-11-29T15:06:42.883Z |
4772024-11-29T15:06:42.883Z1880 | assert!(rule_table.find_match(&ifid, &pmeta.meta(), &ameta).is_some());
4782024-11-29T15:06:42.883Z | ^^^^^^^^^^^^^ help: change this to: `pmeta.meta()`
4792024-11-29T15:06:42.883Z |
4802024-11-29T15:06:42.883Z = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrow
4812024-11-29T15:06:42.883Z = note: `#[warn(clippy::needless_borrow)]` on by default
4822024-11-29T15:06:42.883Z
4832024-11-29T15:06:43.747Zwarning: this expression creates a reference which is immediately dereferenced by the compiler
4842024-11-29T15:06:43.748Z --> lib/opte/src/engine/rule.rs:1162:25
4852024-11-29T15:06:43.748Z |
4862024-11-29T15:06:43.748Z1162 | assert!(r1.is_match(&meta, &ameta));
4872024-11-29T15:06:43.748Z | ^^^^^ help: change this to: `meta`
4882024-11-29T15:06:43.748Z |
4892024-11-29T15:06:43.748Z = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrow
4902024-11-29T15:06:43.748Z
4912024-11-29T15:06:43.751Zwarning: this expression creates a reference which is immediately dereferenced by the compiler
4922024-11-29T15:06:43.751Z --> lib/opte/src/engine/rule.rs:1171:26
4932024-11-29T15:06:43.751Z |
4942024-11-29T15:06:43.751Z1171 | assert!(!r1.is_match(&meta, &ameta));
4952024-11-29T15:06:43.751Z | ^^^^^ help: change this to: `meta`
4962024-11-29T15:06:43.751Z |
4972024-11-29T15:06:43.751Z = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrow
4982024-11-29T15:06:43.751Z
4992024-11-29T15:06:43.910Zwarning: useless use of `vec!`
5002024-11-29T15:06:43.910Z --> lib/opte/src/engine/geneve.rs:401:19
5012024-11-29T15:06:43.910Z |
5022024-11-29T15:06:43.910Z401 | let buf = vec![
5032024-11-29T15:06:43.910Z | ___________________^
5042024-11-29T15:06:43.910Z402 | | // source
5052024-11-29T15:06:43.910Z403 | | 0x1E, 0x61,
5062024-11-29T15:06:43.910Z404 | | // dest
5072024-11-29T15:06:43.910Z... |
5082024-11-29T15:06:43.910Z424 | | 0x00,
5092024-11-29T15:06:43.910Z425 | | ];
5102024-11-29T15:06:43.910Z | |_________^
5112024-11-29T15:06:43.910Z |
5122024-11-29T15:06:43.910Z = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#useless_vec
5132024-11-29T15:06:43.910Z = note: `#[warn(clippy::useless_vec)]` on by default
5142024-11-29T15:06:43.910Zhelp: you can use an array directly
5152024-11-29T15:06:43.910Z |
5162024-11-29T15:06:43.910Z401 ~ let buf = [0x1E, 0x61,
5172024-11-29T15:06:43.910Z402 + // dest
5182024-11-29T15:06:43.910Z403 + 0x17, 0xC1,
5192024-11-29T15:06:43.910Z404 + // length
5202024-11-29T15:06:43.910Z405 + 0x00, 0x14,
5212024-11-29T15:06:43.915Z406 + // csum
5222024-11-29T15:06:43.915Z407 + 0x00, 0x00,
5232024-11-29T15:06:43.915Z408 + // ver + opt len
5242024-11-29T15:06:43.915Z409 + 0x01,
5252024-11-29T15:06:43.915Z410 + // flags
5262024-11-29T15:06:43.915Z411 + 0x00,
5272024-11-29T15:06:43.915Z412 + // proto
5282024-11-29T15:06:43.915Z413 + 0x65, 0x58,
5292024-11-29T15:06:43.915Z414 + // vni + reserved
5302024-11-29T15:06:43.915Z415 + 0x00, 0x04, 0xD2, 0x00,
5312024-11-29T15:06:43.915Z416 +
5322024-11-29T15:06:43.915Z417 + // option class
5332024-11-29T15:06:43.915Z418 + 0x01, 0x29,
5342024-11-29T15:06:43.915Z419 + // crt + type
5352024-11-29T15:06:43.916Z420 + 0x00,
5362024-11-29T15:06:43.916Z421 + // rsvd + len
5372024-11-29T15:06:43.916Z422 ~ 0x00];
5382024-11-29T15:06:43.916Z |
5392024-11-29T15:06:43.916Z
5402024-11-29T15:06:43.916Zwarning: useless use of `vec!`
5412024-11-29T15:06:43.916Z --> lib/opte/src/engine/geneve.rs:441:19
5422024-11-29T15:06:43.916Z |
5432024-11-29T15:06:43.916Z441 | let buf = vec![
5442024-11-29T15:06:43.916Z | ___________________^
5452024-11-29T15:06:43.916Z442 | | // source
5462024-11-29T15:06:43.916Z443 | | 0x1E, 0x61,
5472024-11-29T15:06:43.916Z444 | | // dest
5482024-11-29T15:06:43.916Z... |
5492024-11-29T15:06:43.916Z464 | | 0x00,
5502024-11-29T15:06:43.916Z465 | | ];
5512024-11-29T15:06:43.916Z | |_________^
5522024-11-29T15:06:43.916Z |
5532024-11-29T15:06:43.916Z = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#useless_vec
5542024-11-29T15:06:43.916Zhelp: you can use an array directly
5552024-11-29T15:06:43.916Z |
5562024-11-29T15:06:43.916Z441 ~ let buf = [0x1E, 0x61,
5572024-11-29T15:06:43.916Z442 + // dest
5582024-11-29T15:06:43.916Z443 + 0x17, 0xC1,
5592024-11-29T15:06:43.916Z444 + // length
5602024-11-29T15:06:43.916Z445 + 0x00, 0x14,
5612024-11-29T15:06:43.916Z446 + // csum
5622024-11-29T15:06:43.916Z447 + 0x00, 0x00,
5632024-11-29T15:06:43.916Z448 + // ver + opt len
5642024-11-29T15:06:43.916Z449 + 0x01,
5652024-11-29T15:06:43.916Z450 + // flags
5662024-11-29T15:06:43.916Z451 + 0b0100_0000,
5672024-11-29T15:06:43.916Z452 + // proto
5682024-11-29T15:06:43.916Z453 + 0x65, 0x58,
5692024-11-29T15:06:43.916Z454 + // vni + reserved
5702024-11-29T15:06:43.916Z455 + 0x00, 0x04, 0xD2, 0x00,
5712024-11-29T15:06:43.916Z456 +
5722024-11-29T15:06:43.916Z457 + // experimenter option class
5732024-11-29T15:06:43.916Z458 + 0xff, 0xff,
5742024-11-29T15:06:43.917Z459 + // crt + type
5752024-11-29T15:06:43.917Z460 + 0x80,
5762024-11-29T15:06:43.917Z461 + // rsvd + len
5772024-11-29T15:06:43.917Z462 ~ 0x00];
5782024-11-29T15:06:43.917Z |
5792024-11-29T15:06:43.917Z
5802024-11-29T15:06:43.917Zwarning: useless use of `vec!`
5812024-11-29T15:06:43.917Z --> lib/opte/src/engine/geneve.rs:483:19
5822024-11-29T15:06:43.917Z |
5832024-11-29T15:06:43.917Z483 | let buf = vec![
5842024-11-29T15:06:43.917Z | ___________________^
5852024-11-29T15:06:43.917Z484 | | // source
5862024-11-29T15:06:43.917Z485 | | 0x1E, 0x61,
5872024-11-29T15:06:43.917Z486 | | // dest
5882024-11-29T15:06:43.917Z... |
5892024-11-29T15:06:43.917Z524 | | 0x00, 0x00, 0x00, 0x00,
5902024-11-29T15:06:43.917Z525 | | ];
5912024-11-29T15:06:43.917Z | |_________^
5922024-11-29T15:06:43.917Z |
5932024-11-29T15:06:43.917Z = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#useless_vec
5942024-11-29T15:06:43.917Zhelp: you can use an array directly
5952024-11-29T15:06:43.917Z |
5962024-11-29T15:06:43.917Z483 ~ let buf = [0x1E, 0x61,
5972024-11-29T15:06:43.917Z484 + // dest
5982024-11-29T15:06:43.917Z485 + 0x17, 0xC1,
5992024-11-29T15:06:43.917Z486 + // length
6002024-11-29T15:06:43.917Z487 + 0x00, 0x1c,
6012024-11-29T15:06:43.917Z488 + // csum
6022024-11-29T15:06:43.917Z489 + 0x00, 0x00,
6032024-11-29T15:06:43.917Z490 + // ver + opt len
6042024-11-29T15:06:43.917Z491 + 0x05,
6052024-11-29T15:06:43.917Z492 + // flags
6062024-11-29T15:06:43.917Z493 + 0x00,
6072024-11-29T15:06:43.917Z494 + // proto
6082024-11-29T15:06:43.917Z495 + 0x65, 0x58,
6092024-11-29T15:06:43.917Z496 + // vni + reserved
6102024-11-29T15:06:43.917Z497 + 0x00, 0x04, 0xD2, 0x00,
6112024-11-29T15:06:43.917Z498 +
6122024-11-29T15:06:43.917Z499 + // option class
6132024-11-29T15:06:43.917Z500 + 0x01, 0x29,
6142024-11-29T15:06:43.918Z501 + // crt + type
6152024-11-29T15:06:43.918Z502 + 0x00,
6162024-11-29T15:06:43.918Z503 + // rsvd + len
6172024-11-29T15:06:43.918Z504 + 0x00,
6182024-11-29T15:06:43.918Z505 +
6192024-11-29T15:06:43.918Z506 + // experimenter option class
6202024-11-29T15:06:43.918Z507 + 0xff, 0xff,
6212024-11-29T15:06:43.921Z508 + // crt + type
6222024-11-29T15:06:43.921Z509 + 0x05,
6232024-11-29T15:06:43.921Z510 + // rsvd + len
6242024-11-29T15:06:43.921Z511 + 0x01,
6252024-11-29T15:06:43.921Z512 + // body
6262024-11-29T15:06:43.921Z513 + 0x00, 0x00, 0x00, 0x00,
6272024-11-29T15:06:43.921Z514 +
6282024-11-29T15:06:43.921Z515 + // experimenter option class
6292024-11-29T15:06:43.921Z516 + 0xff, 0xff,
6302024-11-29T15:06:43.921Z517 + // crt + type
6312024-11-29T15:06:43.921Z518 + 0x06,
6322024-11-29T15:06:43.921Z519 + // rsvd + len
6332024-11-29T15:06:43.921Z520 + 0x01,
6342024-11-29T15:06:43.921Z521 + // body
6352024-11-29T15:06:43.921Z522 ~ 0x00, 0x00, 0x00, 0x00];
6362024-11-29T15:06:43.921Z |
6372024-11-29T15:06:43.921Z
6382024-11-29T15:06:44.218Zwarning: `opte` (lib test) generated 14 warnings (run `cargo clippy --fix --lib -p opte --tests` to apply 13 suggestions)
6392024-11-29T15:06:44.218Z Finished `dev` profile [unoptimized + debuginfo] target(s) in 37.60s
6402024-11-29T15:06:44.252Z
6412024-11-29T15:06:44.253Zreal 37.767309031
6422024-11-29T15:06:44.253Zuser 2:05.438332818
6432024-11-29T15:06:44.253Zsys 25.928762522
6442024-11-29T15:06:44.253Ztrap 0.054415338
6452024-11-29T15:06:44.256Ztflt 0.372809491
6462024-11-29T15:06:44.256Zdflt 0.529186522
6472024-11-29T15:06:44.256Zkflt 0.000248179
6482024-11-29T15:06:44.256Zlock 3:37.523742575
6492024-11-29T15:06:44.256Zslp 7:55.681820501
6502024-11-29T15:06:44.256Zlat 3.299057425
6512024-11-29T15:06:44.256Zstop 5.581401571
6522024-11-29T15:06:44.256Z+ header 'analyze no_std + engine + kernel'
6532024-11-29T15:06:44.256Z+ echo '# ==== analyze no_std + engine + kernel ==== #'
6542024-11-29T15:06:44.256Z# ==== analyze no_std + engine + kernel ==== #
6552024-11-29T15:06:44.256Z+ ptime -m cargo +nightly-2024-11-18 clippy --no-default-features --features engine,kernel
6562024-11-29T15:06:44.552Z Compiling opte v0.1.0 (/work/oxidecomputer/opte/lib/opte)
6572024-11-29T15:06:44.552Z Checking illumos-sys-hdrs v0.1.0 (/work/oxidecomputer/opte/crates/illumos-sys-hdrs)
6582024-11-29T15:06:44.556Z Compiling kstat-macro v0.1.0 (/work/oxidecomputer/opte/crates/kstat-macro)
6592024-11-29T15:06:44.556Z Compiling derror-macro v0.1.0 (/work/oxidecomputer/opte/crates/derror-macro)
6602024-11-29T15:06:44.723Z Checking opte-api v0.1.0 (/work/oxidecomputer/opte/crates/opte-api)
6612024-11-29T15:06:51.406Z Finished `dev` profile [unoptimized + debuginfo] target(s) in 7.06s
6622024-11-29T15:06:51.440Z
6632024-11-29T15:06:51.440Zreal 7.180838117
6642024-11-29T15:06:51.440Zuser 7.962403138
6652024-11-29T15:06:51.440Zsys 1.148746823
6662024-11-29T15:06:51.440Ztrap 0.001417073
6672024-11-29T15:06:51.440Ztflt 0.011127305
6682024-11-29T15:06:51.440Zdflt 0.008222225
6692024-11-29T15:06:51.440Zkflt 0.000000000
6702024-11-29T15:06:51.440Zlock 18.397871218
6712024-11-29T15:06:51.440Zslp 26.747848695
6722024-11-29T15:06:51.440Zlat 0.047866343
6732024-11-29T15:06:51.440Zstop 0.140407956
6742024-11-29T15:06:51.443Z+ header test
6752024-11-29T15:06:51.443Z+ echo '# ==== test ==== #'
6762024-11-29T15:06:51.443Z# ==== test ==== #
6772024-11-29T15:06:51.443Z+ ptime -m cargo test
6782024-11-29T15:06:51.712Z Compiling unicode-ident v1.0.14
6792024-11-29T15:06:51.712Z Compiling memchr v2.7.4
6802024-11-29T15:06:51.712Z Compiling byteorder v1.5.0
6812024-11-29T15:06:51.715Z Compiling ucd-trie v0.1.7
6822024-11-29T15:06:51.716Z Compiling itoa v1.0.13
6832024-11-29T15:06:51.716Z Compiling ryu v1.0.18
6842024-11-29T15:06:51.716Z Compiling libc v0.2.164
6852024-11-29T15:06:51.720Z Compiling either v1.13.0
6862024-11-29T15:06:51.875Z Compiling proc-macro2 v1.0.92
6872024-11-29T15:06:51.913Z Compiling plain v0.2.3
6882024-11-29T15:06:52.045Z Compiling log v0.4.22
6892024-11-29T15:06:52.051Z Compiling macaddr v1.0.1
6902024-11-29T15:06:52.095Z Compiling itertools v0.13.0
6912024-11-29T15:06:52.150Z Compiling hash32 v0.3.1
6922024-11-29T15:06:52.376Z Compiling pretty-hex v0.4.1
6932024-11-29T15:06:52.391Z Compiling thread-id v4.2.2
6942024-11-29T15:06:52.406Z Compiling cfg-if v1.0.0
6952024-11-29T15:06:52.419Z Compiling stable_deref_trait v1.2.0
6962024-11-29T15:06:52.478Z Compiling heapless v0.8.0
6972024-11-29T15:06:52.480Z Compiling cobs v0.2.3
6982024-11-29T15:06:52.498Z Compiling bitflags v2.6.0
6992024-11-29T15:06:52.504Z Compiling managed v0.8.0
7002024-11-29T15:06:52.556Z Compiling bitflags v1.3.2
7012024-11-29T15:06:52.640Z Compiling quote v1.0.37
7022024-11-29T15:06:52.754Z Compiling aho-corasick v1.1.3
7032024-11-29T15:06:52.786Z Compiling memmap v0.7.0
7042024-11-29T15:06:52.932Z Compiling opte v0.1.0 (/work/oxidecomputer/opte/lib/opte)
7052024-11-29T15:06:53.163Z Compiling syn v2.0.89
7062024-11-29T15:06:53.362Z Compiling ipnetwork v0.20.0
7072024-11-29T15:06:53.462Z Compiling illumos-sys-hdrs v0.1.0 (/work/oxidecomputer/opte/crates/illumos-sys-hdrs)
7082024-11-29T15:06:53.541Z Compiling smoltcp v0.11.0
7092024-11-29T15:06:53.626Z Compiling unicode-width v0.1.14
7102024-11-29T15:06:53.782Z Compiling crc32fast v1.4.2
7112024-11-29T15:06:54.072Z Compiling tabwriter v1.4.0
7122024-11-29T15:06:54.117Z Compiling dyn-clone v1.0.17
7132024-11-29T15:06:54.629Z Compiling regex-automata v0.4.9
7142024-11-29T15:06:57.808Z Compiling regex v1.11.1
7152024-11-29T15:06:58.749Z Compiling darling_core v0.20.10
7162024-11-29T15:07:00.667Z Compiling serde_derive v1.0.215
7172024-11-29T15:07:00.670Z Compiling thiserror-impl v1.0.69
7182024-11-29T15:07:00.727Z Compiling zerocopy-derive v0.7.35
7192024-11-29T15:07:00.766Z Compiling scroll_derive v0.12.0
7202024-11-29T15:07:01.032Z Compiling zerocopy-derive v0.8.11
7212024-11-29T15:07:01.050Z Compiling kstat-macro v0.1.0 (/work/oxidecomputer/opte/crates/kstat-macro)
7222024-11-29T15:07:02.211Z Compiling scroll v0.12.0
7232024-11-29T15:07:02.665Z Compiling goblin v0.8.2
7242024-11-29T15:07:02.734Z Compiling zerocopy v0.7.35
7252024-11-29T15:07:03.142Z Compiling darling_macro v0.20.10
7262024-11-29T15:07:03.283Z Compiling thiserror v1.0.69
7272024-11-29T15:07:03.307Z Compiling zerocopy v0.8.11
7282024-11-29T15:07:03.369Z Compiling pest v2.7.14
7292024-11-29T15:07:03.902Z Compiling darling v0.20.10
7302024-11-29T15:07:03.991Z Compiling ingot-macros v0.1.0 (https://github.com/oxidecomputer/ingot.git?rev=bff93247fe75ff889121e39d494cc3805fc01906#bff93247)
7312024-11-29T15:07:04.059Z Compiling derror-macro v0.1.0 (/work/oxidecomputer/opte/crates/derror-macro)
7322024-11-29T15:07:05.714Z Compiling pest_meta v2.7.14
7332024-11-29T15:07:05.901Z Compiling serde v1.0.215
7342024-11-29T15:07:06.953Z Compiling pest_generator v2.7.14
7352024-11-29T15:07:08.315Z Compiling pest_derive v2.7.14
7362024-11-29T15:07:08.552Z Compiling ingot-types v0.1.0 (https://github.com/oxidecomputer/ingot.git?rev=bff93247fe75ff889121e39d494cc3805fc01906#bff93247)
7372024-11-29T15:07:09.235Z Compiling dtrace-parser v0.2.0
7382024-11-29T15:07:10.773Z Compiling serde_json v1.0.133
7392024-11-29T15:07:10.773Z Compiling ingot v0.1.0 (https://github.com/oxidecomputer/ingot.git?rev=bff93247fe75ff889121e39d494cc3805fc01906#bff93247)
7402024-11-29T15:07:10.775Z Compiling postcard v1.0.10
7412024-11-29T15:07:11.013Z Compiling serde_tokenstream v0.2.2
7422024-11-29T15:07:12.026Z Compiling dof v0.3.0
7432024-11-29T15:07:12.561Z Compiling usdt-impl v0.5.0
7442024-11-29T15:07:12.614Z Compiling opte-api v0.1.0 (/work/oxidecomputer/opte/crates/opte-api)
7452024-11-29T15:07:13.692Z Compiling usdt-attr-macro v0.5.0
7462024-11-29T15:07:13.692Z Compiling usdt-macro v0.5.0
7472024-11-29T15:07:14.774Z Compiling usdt v0.5.0
7482024-11-29T15:07:31.435Z Finished `test` profile [unoptimized + debuginfo] target(s) in 39.94s
7492024-11-29T15:07:31.455Z Running unittests src/lib.rs (/work/oxidecomputer/opte/target/debug/deps/opte-9a24b69a60eca9c4)
7502024-11-29T15:07:31.469Z
7512024-11-29T15:07:31.469Zrunning 72 tests
7522024-11-29T15:07:31.472Ztest d_error::tests::name_truncation ... ok
7532024-11-29T15:07:31.472Ztest d_error::tests::name_and_data_storage ... ok
7542024-11-29T15:07:31.472Ztest ddi::mblk::test::chain_append_links ... ok
7552024-11-29T15:07:31.472Ztest ddi::mblk::test::chain_breaks_links ... ok
7562024-11-29T15:07:31.472Ztest ddi::mblk::test::chain_has_correct_ends ... ok
7572024-11-29T15:07:31.473Ztest ddi::mblk::test::chain_drain_complete ... ok
7582024-11-29T15:07:31.473Ztest ddi::mblk::test::prefix_len ... ok
7592024-11-29T15:07:31.473Ztest ddi::mblk::test::expand_and_shrink ... ok
7602024-11-29T15:07:31.473Ztest ddi::mblk::test::uninitialized_packet ... ok
7612024-11-29T15:07:31.473Ztest ddi::mblk::test::read_seg ... ok
7622024-11-29T15:07:31.473Ztest ddi::mblk::test::truncate ... ok
7632024-11-29T15:07:31.473Ztest ddi::mblk::test::test_long_packet_continuation ... ok
7642024-11-29T15:07:31.473Ztest ddi::mblk::test::wrap ... ok
7652024-11-29T15:07:31.473Ztest ddi::time::test::good_interval ... ok
7662024-11-29T15:07:31.473Ztest ddi::mblk::test::zero_byte_packet ... ok
7672024-11-29T15:07:31.473Ztest engine::dhcp::test::offlink_encode ... ok
7682024-11-29T15:07:31.473Ztest engine::dhcp::test::hostname_encode ... ok
7692024-11-29T15:07:31.473Ztest engine::dhcp::test::domainname_encode ... ok
7702024-11-29T15:07:31.473Ztest engine::dhcpv6::options::test::test_client_id ... ok
7712024-11-29T15:07:31.473Ztest engine::dhcp::test::domain_search_option_encode ... ok
7722024-11-29T15:07:31.473Ztest engine::dhcpv6::options::test::test_dns_servers ... ok
7732024-11-29T15:07:31.473Ztest ddi::time::test::bad_interval - should panic ... ok
7742024-11-29T15:07:31.473Ztest engine::dhcp::test::rfc3442_encode ... ok
7752024-11-29T15:07:31.473Ztest engine::dhcpv6::options::test::test_domain_list_from_slice ... ok
7762024-11-29T15:07:31.473Ztest engine::dhcpv6::options::test::test_elapsed_time ... ok
7772024-11-29T15:07:31.473Ztest engine::dhcpv6::options::test::test_iana ... ok
7782024-11-29T15:07:31.473Ztest engine::dhcpv6::options::test::test_iata ... ok
7792024-11-29T15:07:31.473Ztest engine::dhcpv6::options::test::test_ip_list_bad_length_fails ... ok
7802024-11-29T15:07:31.473Ztest engine::dhcpv6::options::test::test_option_request ... ok
7812024-11-29T15:07:31.473Ztest engine::dhcpv6::options::test::test_parse_snooped_client_id ... ok
7822024-11-29T15:07:31.473Ztest engine::dhcpv6::options::test::test_parse_snooped_iana ... ok
7832024-11-29T15:07:31.473Ztest engine::dhcpv6::options::test::test_parse_snooped_option_request ... ok
7842024-11-29T15:07:31.473Ztest engine::dhcpv6::options::test::test_rapid_commit ... ok
7852024-11-29T15:07:31.473Ztest engine::dhcpv6::options::test::test_raw_option_from_bytes ... ok
7862024-11-29T15:07:31.473Ztest engine::dhcpv6::options::test::test_server_id ... ok
7872024-11-29T15:07:31.473Ztest engine::dhcpv6::options::test::test_sntp_servers ... ok
7882024-11-29T15:07:31.473Ztest engine::dhcpv6::options::test::test_status ... ok
7892024-11-29T15:07:31.473Ztest engine::dhcpv6::protocol::test::test_parse_snooped_solicit_message ... ok
7902024-11-29T15:07:31.473Ztest engine::dhcpv6::test::test_duid_from_mac ... ok
7912024-11-29T15:07:31.473Ztest engine::dhcpv6::protocol::test::test_predicates_match_snooped_solicit_message ... ok
7922024-11-29T15:07:31.473Ztest engine::ether::test::emit ... ok
7932024-11-29T15:07:31.473Ztest engine::geneve::test::emit_external_opt ... ok
7942024-11-29T15:07:31.473Ztest engine::flow_table::test::flow_clear ... ok
7952024-11-29T15:07:31.473Ztest engine::flow_table::test::flow_expired ... ok
7962024-11-29T15:07:31.474Ztest engine::geneve::test::emit_no_opts ... ok
7972024-11-29T15:07:31.474Ztest engine::geneve::test::parse_multi_opt ... ok
7982024-11-29T15:07:31.474Ztest engine::geneve::test::parse_single_opt ... ok
7992024-11-29T15:07:31.474Ztest engine::geneve::test::unknown_crit_option_fails ... ok
8002024-11-29T15:07:31.474Ztest engine::ip::v4::test::cidr_match ... ok
8012024-11-29T15:07:31.474Ztest engine::ip::v4::test::match_check ... ok
8022024-11-29T15:07:31.474Ztest engine::ip::v4::test::emit ... ok
8032024-11-29T15:07:31.474Ztest engine::ip::v6::test::emit ... ok
8042024-11-29T15:07:31.474Ztest engine::ip::v6::test::bad_ipv6_version_caught ... ok
8052024-11-29T15:07:31.474Ztest engine::ip::v6::test::from_pairs ... ok
8062024-11-29T15:07:31.474Ztest engine::ip::v6::test::test_ipv6_addr_match_exact ... ok
8072024-11-29T15:07:31.474Ztest engine::ip::v6::test::test_ipv6_cidr_match_prefix ... ok
8082024-11-29T15:07:31.474Ztest engine::ip::v6::test::test_set_total_len ... ok
8092024-11-29T15:07:31.474Ztest engine::layer::test::find_rule ... ok
8102024-11-29T15:07:31.474Ztest engine::nat::test::nat4_rewrite ... ok
8112024-11-29T15:07:31.474Ztest engine::packet::test::read_multi_segment ... ok
8122024-11-29T15:07:31.474Ztest engine::packet::test::read_single_segment ... ok
8132024-11-29T15:07:31.474Ztest engine::packet::test::small_packet_with_padding ... ok
8142024-11-29T15:07:31.474Ztest engine::ip::v6::test::test_extension_header_lengths_ok ... ok
8152024-11-29T15:07:31.477Ztest engine::packet::test::straddled_tcp ... ok
8162024-11-29T15:07:31.477Ztest engine::packet::test::udp6_packet_with_padding ... ok
8172024-11-29T15:07:31.477Ztest engine::parse::test::icmp4_body_csum_equals_body ... ok
8182024-11-29T15:07:31.477Ztest engine::predicate::tests::data_predicate_ranges_handle_unknown ... ok
8192024-11-29T15:07:31.477Ztest engine::rule::rule_matching ... ok
8202024-11-29T15:07:31.477Ztest engine::snat::test::snat4_desc_lifecycle ... ok
8212024-11-29T15:07:31.477Ztest engine::snat::test::nat_mappings ... ok
8222024-11-29T15:07:31.477Ztest engine::snat::test::test_nat_pool_different_ip_types ... ok
8232024-11-29T15:07:31.477Ztest engine::packet::test::parse_ipv6_extension_headers_ok ... ok
8242024-11-29T15:07:31.478Z
8252024-11-29T15:07:31.478Ztest result: ok. 72 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s
8262024-11-29T15:07:31.478Z
8272024-11-29T15:07:31.478Z Doc-tests opte
8282024-11-29T15:07:32.411Z
8292024-11-29T15:07:32.411Zrunning 3 tests
8302024-11-29T15:07:32.415Ztest lib/opte/src/ddi/kstat.rs - ddi::kstat::KStatProvider (line 57) ... ignored
8312024-11-29T15:07:33.659Ztest lib/opte/src/ddi/kstat.rs - ddi::kstat::KStatProvider (line 43) ... ok
8322024-11-29T15:07:34.121Ztest lib/opte/src/ddi/kstat.rs - ddi::kstat::KStatNamed (line 86) ... ok
8332024-11-29T15:07:34.121Z
8342024-11-29T15:07:34.124Ztest result: ok. 2 passed; 0 failed; 1 ignored; 0 measured; 0 filtered out; finished in 1.71s
8352024-11-29T15:07:34.124Z
8362024-11-29T15:07:34.157Z
8372024-11-29T15:07:34.159Zreal 42.704568589
8382024-11-29T15:07:34.159Zuser 2:28.851768176
8392024-11-29T15:07:34.159Zsys 29.488105255
8402024-11-29T15:07:34.159Ztrap 0.061440172
8412024-11-29T15:07:34.159Ztflt 0.278550938
8422024-11-29T15:07:34.159Zdflt 0.776998347
8432024-11-29T15:07:34.159Zkflt 0.000001559
8442024-11-29T15:07:34.159Zlock 4:25.046155087
8452024-11-29T15:07:34.160Zslp 7:46.243422436
8462024-11-29T15:07:34.160Zlat 3.461193466
8472024-11-29T15:07:34.160Zstop 5.472983648
8482024-11-29T15:07:34.160Zprocess exited: duration 141478 ms, exit code 0
 
8492024-11-29T15:07:34.165Zfound 0 output files