01JD80G5QGC8C15D3BRRY69SEA: 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: 01JD80GHW22JWC8K7G7T6PD8A3

Tags:

Output:

SEQ GLOBAL TIME DETAILS
12024-11-21T18:43:15.752Zjob assigned to worker 01JD80GXTB99Z6C5H9GQ6FE1VD [factory aws, i-0aaee64aaf9ded71d] (queued for 55 s)
 
22024-11-21T18:43:23.166Zstarting task 0: "setup"
32024-11-21T18:43:23.174Z++ uname -s
42024-11-21T18:43:23.177Z+ kern=SunOS
52024-11-21T18:43:23.177Z+ case "$kern" in
62024-11-21T18:43:23.177Z+ groupadd -g 12345 build
72024-11-21T18:43:23.180Z+ useradd -u 12345 -g build -d /home/build -s /bin/bash -c build -P 'Primary Administrator' build
82024-11-21T18:43:25.185Z+ zfs create -o mountpoint=/work rpool/work
92024-11-21T18:43:25.284Z++ awk '$2 == "/home" { print $3 }' /etc/mnttab
102024-11-21T18:43:25.287Z+ home_fs=zfs
112024-11-21T18:43:25.287Z+ [[ zfs == autofs ]]
122024-11-21T18:43:25.287Z+ mkdir -p /home/build
132024-11-21T18:43:25.289Z+ chown build:build /home/build /work
142024-11-21T18:43:27.290Z+ chmod 0700 /home/build /work
152024-11-21T18:43:27.292Zprocess exited: duration 4130 ms, exit code 0
 
162024-11-21T18:43:27.297Zstarting task 1: "rust-toolchain"
172024-11-21T18:43:27.302Z+ printf ' * toolchain channel = "%s"
182024-11-21T18:43:27.302Z' nightly-2024-11-18
192024-11-21T18:43:27.302Z * toolchain channel = "nightly-2024-11-18"
202024-11-21T18:43:27.303Z+ printf ' * toolchain profile = "%s"
212024-11-21T18:43:27.303Z' default
222024-11-21T18:43:27.303Z * toolchain profile = "default"
232024-11-21T18:43:27.305Z+ curl --proto =https --tlsv1.2 -sSf https://sh.rustup.rs
242024-11-21T18:43:27.305Z+ /bin/bash -s - -y --no-modify-path --default-toolchain nightly-2024-11-18 --profile default
252024-11-21T18:43:27.419Zinfo: downloading installer
262024-11-21T18:43:28.807Zinfo: profile set to 'default'
272024-11-21T18:43:28.807Zinfo: default host triple is x86_64-unknown-illumos
282024-11-21T18:43:28.810Zinfo: syncing channel updates for 'nightly-2024-11-18-x86_64-unknown-illumos'
292024-11-21T18:43:28.967Zinfo: latest update on 2024-11-18, rust version 1.84.0-nightly (5ec7d6eee 2024-11-17)
302024-11-21T18:43:28.967Zinfo: downloading component 'cargo'
312024-11-21T18:43:29.887Zinfo: downloading component 'clippy'
322024-11-21T18:43:30.237Zinfo: downloading component 'rust-docs'
332024-11-21T18:43:31.495Zinfo: downloading component 'rust-std'
342024-11-21T18:43:33.514Zinfo: downloading component 'rustc'
352024-11-21T18:43:40.667Zinfo: downloading component 'rustfmt'
362024-11-21T18:43:40.931Zinfo: installing component 'cargo'
372024-11-21T18:43:41.753Zinfo: installing component 'clippy'
382024-11-21T18:43:42.132Zinfo: installing component 'rust-docs'
392024-11-21T18:43:43.837Zinfo: installing component 'rust-std'
402024-11-21T18:43:45.681Zinfo: installing component 'rustc'
412024-11-21T18:43:51.573Zinfo: installing component 'rustfmt'
422024-11-21T18:43:51.898Zinfo: default toolchain set to 'nightly-2024-11-18-x86_64-unknown-illumos'
432024-11-21T18:43:51.898Z
442024-11-21T18:43:52.285Z nightly-2024-11-18-x86_64-unknown-illumos installed - rustc 1.84.0-nightly (5ec7d6eee 2024-11-17)
452024-11-21T18:43:52.285Z
462024-11-21T18:43:52.287Z
472024-11-21T18:43:52.287ZRust is installed now. Great!
482024-11-21T18:43:52.287Z
492024-11-21T18:43:52.287ZTo get started you need Cargo's bin directory ($HOME/.cargo/bin) in your PATH
502024-11-21T18:43:52.287Zenvironment variable. This has not been done automatically.
512024-11-21T18:43:52.287Z
522024-11-21T18:43:52.287ZTo configure your current shell, you need to source
532024-11-21T18:43:52.287Zthe corresponding env file under $HOME/.cargo.
542024-11-21T18:43:52.287Z
552024-11-21T18:43:52.288ZThis is usually done by running one of the following (note the leading DOT):
562024-11-21T18:43:52.288Z. "$HOME/.cargo/env" # For sh/bash/zsh/ash/dash/pdksh
572024-11-21T18:43:52.288Zsource "$HOME/.cargo/env.fish" # For fish
582024-11-21T18:43:52.361Z+ rustc --version
592024-11-21T18:43:52.429Zrustc 1.84.0-nightly (5ec7d6eee 2024-11-17)
602024-11-21T18:43:52.432Zprocess exited: duration 25148 ms, exit code 0
 
612024-11-21T18:43:52.437Zstarting task 2: "authentication"
622024-11-21T18:43:52.457Zprocess exited: duration 20 ms, exit code 0
 
632024-11-21T18:43:52.463Zstarting task 3: "clone repository"
642024-11-21T18:43:52.468Z+ mkdir -p /work/oxidecomputer/opte
652024-11-21T18:43:52.470Z+ git clone https://github.com/oxidecomputer/opte /work/oxidecomputer/opte
662024-11-21T18:43:52.503ZCloning into '/work/oxidecomputer/opte'...
672024-11-21T18:43:53.816Z+ cd /work/oxidecomputer/opte
682024-11-21T18:43:53.817Z+ git fetch origin 9e44656233379b2f32ae946883d8d41bf079edfb
692024-11-21T18:43:54.178ZFrom https://github.com/oxidecomputer/opte
702024-11-21T18:43:54.178Z * branch 9e44656233379b2f32ae946883d8d41bf079edfb -> FETCH_HEAD
712024-11-21T18:43:54.186Z+ [[ -n ingot-and-offload ]]
722024-11-21T18:43:54.188Z++ git branch --show-current
732024-11-21T18:43:54.192Z+ current=master
742024-11-21T18:43:54.192Z+ [[ master != ingot-and-offload ]]
752024-11-21T18:43:54.192Z+ git branch -f ingot-and-offload 9e44656233379b2f32ae946883d8d41bf079edfb
762024-11-21T18:43:54.194Z+ git checkout -f ingot-and-offload
772024-11-21T18:43:54.215ZSwitched to branch 'ingot-and-offload'
782024-11-21T18:43:54.218Z+ git reset --hard 9e44656233379b2f32ae946883d8d41bf079edfb
792024-11-21T18:43:54.222ZHEAD is now at 9e44656 Conditionally expose LSO/CSO capabs based on underlay
802024-11-21T18:43:54.224Zprocess exited: duration 1760 ms, exit code 0
 
812024-11-21T18:43:54.229Zstarting task 4: "build"
822024-11-21T18:43:54.234Z+ cargo --version
832024-11-21T18:43:54.238Zinfo: syncing channel updates for '1.82.0-x86_64-unknown-illumos'
842024-11-21T18:43:54.382Zinfo: latest update on 2024-10-17, rust version 1.82.0 (f6e511eec 2024-10-15)
852024-11-21T18:43:54.382Zinfo: downloading component 'cargo'
862024-11-21T18:43:55.106Zinfo: downloading component 'clippy'
872024-11-21T18:43:55.379Zinfo: downloading component 'rust-docs'
882024-11-21T18:43:56.402Zinfo: downloading component 'rust-std'
892024-11-21T18:43:58.016Zinfo: downloading component 'rustc'
902024-11-21T18:44:03.828Zinfo: downloading component 'rustfmt'
912024-11-21T18:44:04.043Zinfo: installing component 'cargo'
922024-11-21T18:44:04.828Zinfo: installing component 'clippy'
932024-11-21T18:44:05.191Zinfo: installing component 'rust-docs'
942024-11-21T18:44:06.895Zinfo: installing component 'rust-std'
952024-11-21T18:44:08.674Zinfo: installing component 'rustc'
962024-11-21T18:44:14.497Zinfo: installing component 'rustfmt'
972024-11-21T18:44:14.894Zcargo 1.82.0 (8f40fc59f 2024-08-21)
982024-11-21T18:44:14.896Z+ rustc --version
992024-11-21T18:44:14.967Zrustc 1.82.0 (f6e511eec 2024-10-15)
1002024-11-21T18:44:14.971Z+ cd lib/opte
1012024-11-21T18:44:14.976Z+ header 'check style'
1022024-11-21T18:44:14.976Z+ echo '# ==== check style ==== #'
1032024-11-21T18:44:14.976Z# ==== check style ==== #
1042024-11-21T18:44:14.976Z+ ptime -m cargo +nightly-2024-11-18 fmt -- --check
1052024-11-21T18:44:15.330Z
1062024-11-21T18:44:15.330Zreal 0.355032272
1072024-11-21T18:44:15.330Zuser 0.251599820
1082024-11-21T18:44:15.330Zsys 0.096114369
1092024-11-21T18:44:15.330Ztrap 0.000020360
1102024-11-21T18:44:15.330Ztflt 0.000000000
1112024-11-21T18:44:15.330Zdflt 0.000000000
1122024-11-21T18:44:15.330Zkflt 0.000000000
1132024-11-21T18:44:15.330Zlock 0.000000000
1142024-11-21T18:44:15.331Zslp 0.270535574
1152024-11-21T18:44:15.331Zlat 0.000273897
1162024-11-21T18:44:15.331Zstop 0.000130053
1172024-11-21T18:44:15.333Z+ header 'check docs'
1182024-11-21T18:44:15.333Z+ echo '# ==== check docs ==== #'
1192024-11-21T18:44:15.333Z# ==== check docs ==== #
1202024-11-21T18:44:15.333Z+ RUSTDOCFLAGS='-D warnings'
1212024-11-21T18:44:15.333Z+ ptime -m cargo +nightly-2024-11-18 doc --no-default-features --features=api,std,engine,kernel
1222024-11-21T18:44:15.438Z Updating crates.io index
1232024-11-21T18:44:15.493Z Updating git repository `https://github.com/oxidecomputer/falcon`
1242024-11-21T18:44:16.153Z Updating git repository `https://github.com/oxidecomputer/ingot.git`
1252024-11-21T18:44:16.417Z Updating git repository `https://github.com/oxidecomputer/poptrie`
1262024-11-21T18:44:16.695Z Updating git repository `https://github.com/oxidecomputer/netadm-sys`
1272024-11-21T18:44:17.006Z Updating git repository `https://github.com/oxidecomputer/zone`
1282024-11-21T18:44:17.307Z Updating git repository `https://github.com/oxidecomputer/oxnet`
1292024-11-21T18:44:17.547Z Updating git repository `https://github.com/oxidecomputer/dlpi-sys`
1302024-11-21T18:44:17.990Z Updating git repository `https://github.com/jmesmon/rust-libzfs`
1312024-11-21T18:44:18.077Z Updating git repository `https://github.com/oxidecomputer/rusty-doors`
1322024-11-21T18:44:18.799Z Downloading crates ...
1332024-11-21T18:44:18.860Z Downloaded byteorder v1.5.0
1342024-11-21T18:44:18.878Z Downloaded pest v2.7.14
1352024-11-21T18:44:18.883Z Downloaded digest v0.10.7
1362024-11-21T18:44:18.886Z Downloaded scroll v0.12.0
1372024-11-21T18:44:18.889Z Downloaded unicode-ident v1.0.13
1382024-11-21T18:44:18.907Z Downloaded smoltcp v0.11.0
1392024-11-21T18:44:18.919Z Downloaded cpufeatures v0.2.15
1402024-11-21T18:44:18.923Z Downloaded crc32fast v1.4.2
1412024-11-21T18:44:18.923Z Downloaded bitflags v1.3.2
1422024-11-21T18:44:18.925Z Downloaded darling_macro v0.20.10
1432024-11-21T18:44:18.925Z Downloaded crypto-common v0.1.6
1442024-11-21T18:44:18.927Z Downloaded cobs v0.2.3
1452024-11-21T18:44:18.927Z Downloaded darling v0.20.10
1462024-11-21T18:44:18.930Z Downloaded cfg-if v1.0.0
1472024-11-21T18:44:18.932Z Downloaded block-buffer v0.10.4
1482024-11-21T18:44:18.932Z Downloaded bitflags v2.6.0
1492024-11-21T18:44:18.936Z Downloaded darling_core v0.20.10
1502024-11-21T18:44:18.942Z Downloaded aho-corasick v1.1.3
1512024-11-21T18:44:18.948Z Downloaded generic-array v0.14.7
1522024-11-21T18:44:18.950Z Downloaded dyn-clone v1.0.17
1532024-11-21T18:44:18.951Z Downloaded dtrace-parser v0.2.0
1542024-11-21T18:44:18.953Z Downloaded ident_case v1.0.1
1552024-11-21T18:44:18.961Z Downloaded scroll_derive v0.12.0
1562024-11-21T18:44:18.967Z Downloaded proc-macro-error-attr v1.0.4
1572024-11-21T18:44:18.969Z Downloaded pretty-hex v0.4.1
1582024-11-21T18:44:18.972Z Downloaded fnv v1.0.7
1592024-11-21T18:44:18.972Z Downloaded embedded-io v0.6.1
1602024-11-21T18:44:18.973Z Downloaded defmt v0.3.8
1612024-11-21T18:44:18.975Z Downloaded itoa v1.0.11
1622024-11-21T18:44:18.978Z Downloaded either v1.13.0
1632024-11-21T18:44:18.978Z Downloaded dof v0.3.0
1642024-11-21T18:44:18.981Z Downloaded defmt-parser v0.3.4
1652024-11-21T18:44:18.981Z Downloaded usdt-macro v0.5.0
1662024-11-21T18:44:18.981Z Downloaded usdt-attr-macro v0.5.0
1672024-11-21T18:44:18.983Z Downloaded defmt-macros v0.3.9
1682024-11-21T18:44:18.983Z Downloaded hash32 v0.3.1
1692024-11-21T18:44:18.989Z Downloaded embedded-io v0.4.0
1702024-11-21T18:44:18.999Z Downloaded managed v0.8.0
1712024-11-21T18:44:18.999Z Downloaded pest_generator v2.7.14
1722024-11-21T18:44:18.999Z Downloaded ipnetwork v0.20.0
1732024-11-21T18:44:19.003Z Downloaded plain v0.2.3
1742024-11-21T18:44:19.003Z Downloaded memmap v0.7.0
1752024-11-21T18:44:19.003Z Downloaded macaddr v1.0.1
1762024-11-21T18:44:19.003Z Downloaded strsim v0.11.1
1772024-11-21T18:44:19.003Z Downloaded stable_deref_trait v1.2.0
1782024-11-21T18:44:19.006Z Downloaded version_check v0.9.5
1792024-11-21T18:44:19.008Z Downloaded thiserror-impl v1.0.69
1802024-11-21T18:44:19.012Z Downloaded once_cell v1.20.2
1812024-11-21T18:44:19.015Z Downloaded usdt v0.5.0
1822024-11-21T18:44:19.018Z Downloaded thread-id v4.2.2
1832024-11-21T18:44:19.020Z Downloaded serde_tokenstream v0.2.2
1842024-11-21T18:44:19.023Z Downloaded tabwriter v1.4.0
1852024-11-21T18:44:19.032Z Downloaded pest_derive v2.7.14
1862024-11-21T18:44:19.035Z Downloaded quote v1.0.37
1872024-11-21T18:44:19.041Z Downloaded thiserror v1.0.69
1882024-11-21T18:44:19.049Z Downloaded proc-macro-error v1.0.4
1892024-11-21T18:44:19.052Z Downloaded zerocopy-derive v0.7.35
1902024-11-21T18:44:19.055Z Downloaded usdt-impl v0.5.0
1912024-11-21T18:44:19.058Z Downloaded sha2 v0.10.8
1922024-11-21T18:44:19.060Z Downloaded log v0.4.22
1932024-11-21T18:44:19.063Z Downloaded typenum v1.17.0
1942024-11-21T18:44:19.066Z Downloaded ryu v1.0.18
1952024-11-21T18:44:19.068Z Downloaded proc-macro2 v1.0.91
1962024-11-21T18:44:19.070Z Downloaded postcard v1.0.10
1972024-11-21T18:44:19.077Z Downloaded ucd-trie v0.1.7
1982024-11-21T18:44:19.079Z Downloaded serde_derive v1.0.215
1992024-11-21T18:44:19.082Z Downloaded pest_meta v2.7.14
2002024-11-21T18:44:19.096Z Downloaded heapless v0.8.0
2012024-11-21T18:44:19.100Z Downloaded serde v1.0.215
2022024-11-21T18:44:19.107Z Downloaded zerocopy-derive v0.8.10
2032024-11-21T18:44:19.115Z Downloaded memchr v2.7.4
2042024-11-21T18:44:19.150Z Downloaded itertools v0.13.0
2052024-11-21T18:44:19.159Z Downloaded zerocopy v0.7.35
2062024-11-21T18:44:19.174Z Downloaded serde_json v1.0.133
2072024-11-21T18:44:19.186Z Downloaded goblin v0.8.2
2082024-11-21T18:44:19.214Z Downloaded zerocopy v0.8.10
2092024-11-21T18:44:19.236Z Downloaded unicode-width v0.1.14
2102024-11-21T18:44:19.241Z Downloaded syn v1.0.109
2112024-11-21T18:44:19.250Z Downloaded regex v1.11.1
2122024-11-21T18:44:19.263Z Downloaded syn v2.0.89
2132024-11-21T18:44:19.273Z Downloaded regex-syntax v0.8.5
2142024-11-21T18:44:19.316Z Downloaded regex-automata v0.4.9
2152024-11-21T18:44:19.332Z Downloaded libc v0.2.164
2162024-11-21T18:44:19.486Z Compiling proc-macro2 v1.0.91
2172024-11-21T18:44:19.486Z Compiling unicode-ident v1.0.13
2182024-11-21T18:44:19.489Z Documenting unicode-ident v1.0.13
2192024-11-21T18:44:19.489Z Compiling strsim v0.11.1
2202024-11-21T18:44:19.489Z Compiling ident_case v1.0.1
2212024-11-21T18:44:19.489Z Compiling fnv v1.0.7
2222024-11-21T18:44:19.675Z Compiling memchr v2.7.4
2232024-11-21T18:44:19.722Z Compiling regex-syntax v0.8.5
2242024-11-21T18:44:19.794Z Compiling zerocopy v0.8.10
2252024-11-21T18:44:19.924Z Compiling serde v1.0.215
2262024-11-21T18:44:20.146Z Compiling either v1.13.0
2272024-11-21T18:44:20.509Z Documenting proc-macro2 v1.0.91
2282024-11-21T18:44:20.527Z Compiling aho-corasick v1.1.3
2292024-11-21T18:44:21.096Z Documenting strsim v0.11.1
2302024-11-21T18:44:21.110Z Checking quote v1.0.37
2312024-11-21T18:44:21.676Z Checking syn v2.0.89
2322024-11-21T18:44:21.696Z Documenting quote v1.0.37
2332024-11-21T18:44:22.004Z Documenting fnv v1.0.7
2342024-11-21T18:44:22.167Z Documenting ident_case v1.0.1
2352024-11-21T18:44:22.669Z Documenting syn v2.0.89
2362024-11-21T18:44:22.825Z Checking byteorder v1.5.0
2372024-11-21T18:44:22.980Z Compiling itertools v0.13.0
2382024-11-21T18:44:23.103Z Compiling heapless v0.8.0
2392024-11-21T18:44:23.395Z Compiling regex-automata v0.4.9
2402024-11-21T18:44:23.605Z Documenting memchr v2.7.4
2412024-11-21T18:44:24.978Z Documenting aho-corasick v1.1.3
2422024-11-21T18:44:25.367Z Checking hash32 v0.3.1
2432024-11-21T18:44:25.516Z Documenting regex-syntax v0.8.5
2442024-11-21T18:44:25.755Z Checking macaddr v1.0.1
2452024-11-21T18:44:26.003Z Checking cfg-if v1.0.0
2462024-11-21T18:44:26.084Z Checking stable_deref_trait v1.2.0
2472024-11-21T18:44:26.168Z Compiling smoltcp v0.11.0
2482024-11-21T18:44:26.969Z Checking darling_core v0.20.10
2492024-11-21T18:44:27.539Z Compiling regex v1.11.1
2502024-11-21T18:44:27.788Z Documenting regex-automata v0.4.9
2512024-11-21T18:44:27.805Z Documenting darling_core v0.20.10
2522024-11-21T18:44:28.951Z Documenting serde_derive v1.0.215
2532024-11-21T18:44:28.985Z Documenting zerocopy-derive v0.8.10
2542024-11-21T18:44:29.412Z Checking bitflags v1.3.2
2552024-11-21T18:44:29.502Z Checking cobs v0.2.3
2562024-11-21T18:44:29.666Z Checking managed v0.8.0
2572024-11-21T18:44:30.004Z Documenting darling_macro v0.20.10
2582024-11-21T18:44:30.013Z Checking bitflags v2.6.0
2592024-11-21T18:44:30.231Z Documenting byteorder v1.5.0
2602024-11-21T18:44:30.233Z Documenting cfg-if v1.0.0
2612024-11-21T18:44:30.249Z Documenting stable_deref_trait v1.2.0
2622024-11-21T18:44:30.456Z Documenting regex v1.11.1
2632024-11-21T18:44:30.864Z Documenting macaddr v1.0.1
2642024-11-21T18:44:30.933Z Documenting hash32 v0.3.1
2652024-11-21T18:44:31.071Z Documenting cobs v0.2.3
2662024-11-21T18:44:31.313Z Checking unicode-width v0.1.14
2672024-11-21T18:44:31.550Z Checking illumos-sys-hdrs v0.1.0 (/work/oxidecomputer/opte/crates/illumos-sys-hdrs)
2682024-11-21T18:44:31.567Z Documenting heapless v0.8.0
2692024-11-21T18:44:31.713Z Documenting bitflags v2.6.0
2702024-11-21T18:44:31.753Z Documenting managed v0.8.0
2712024-11-21T18:44:31.789Z Compiling version_check v0.9.5
2722024-11-21T18:44:31.998Z Checking ipnetwork v0.20.0
2732024-11-21T18:44:32.329Z Documenting illumos-sys-hdrs v0.1.0 (/work/oxidecomputer/opte/crates/illumos-sys-hdrs)
2742024-11-21T18:44:32.381Z Compiling opte v0.1.0 (/work/oxidecomputer/opte/lib/opte)
2752024-11-21T18:44:32.501Z Documenting ipnetwork v0.20.0
2762024-11-21T18:44:32.512Z Compiling serde_derive v1.0.215
2772024-11-21T18:44:32.626Z Compiling zerocopy-derive v0.8.10
2782024-11-21T18:44:32.702Z Documenting smoltcp v0.11.0
2792024-11-21T18:44:32.743Z Documenting unicode-width v0.1.14
2802024-11-21T18:44:32.985Z Documenting either v1.13.0
2812024-11-21T18:44:33.454Z Compiling kstat-macro v0.1.0 (/work/oxidecomputer/opte/crates/kstat-macro)
2822024-11-21T18:44:33.550Z Compiling darling_macro v0.20.10
2832024-11-21T18:44:33.722Z Documenting itertools v0.13.0
2842024-11-21T18:44:33.731Z Documenting tabwriter v1.4.0
2852024-11-21T18:44:33.740Z Checking tabwriter v1.4.0
2862024-11-21T18:44:34.505Z Compiling darling v0.20.10
2872024-11-21T18:44:34.508Z Documenting darling v0.20.10
2882024-11-21T18:44:34.605Z Compiling ingot-macros v0.1.0 (https://github.com/oxidecomputer/ingot.git?rev=bff93247fe75ff889121e39d494cc3805fc01906#bff93247)
2892024-11-21T18:44:34.642Z Compiling derror-macro v0.1.0 (/work/oxidecomputer/opte/crates/derror-macro)
2902024-11-21T18:44:34.691Z Documenting crc32fast v1.4.2
2912024-11-21T18:44:35.331Z Documenting zerocopy v0.8.10
2922024-11-21T18:44:35.712Z Documenting kstat-macro v0.1.0 (/work/oxidecomputer/opte/crates/kstat-macro)
2932024-11-21T18:44:35.739Z Checking crc32fast v1.4.2
2942024-11-21T18:44:35.759Z Documenting ingot-macros v0.1.0 (https://github.com/oxidecomputer/ingot.git?rev=bff93247fe75ff889121e39d494cc3805fc01906#bff93247)
2952024-11-21T18:44:35.954Z Documenting derror-macro v0.1.0 (/work/oxidecomputer/opte/crates/derror-macro)
2962024-11-21T18:44:35.976Z Checking dyn-clone v1.0.17
2972024-11-21T18:44:36.113Z Documenting dyn-clone v1.0.17
2982024-11-21T18:44:38.164Z Documenting serde v1.0.215
2992024-11-21T18:44:38.869Z Checking ingot-types v0.1.0 (https://github.com/oxidecomputer/ingot.git?rev=bff93247fe75ff889121e39d494cc3805fc01906#bff93247)
3002024-11-21T18:44:38.869Z Documenting ingot-types v0.1.0 (https://github.com/oxidecomputer/ingot.git?rev=bff93247fe75ff889121e39d494cc3805fc01906#bff93247)
3012024-11-21T18:44:40.849Z Checking postcard v1.0.10
3022024-11-21T18:44:40.849Z Checking ingot v0.1.0 (https://github.com/oxidecomputer/ingot.git?rev=bff93247fe75ff889121e39d494cc3805fc01906#bff93247)
3032024-11-21T18:44:40.852Z Documenting ingot v0.1.0 (https://github.com/oxidecomputer/ingot.git?rev=bff93247fe75ff889121e39d494cc3805fc01906#bff93247)
3042024-11-21T18:44:40.852Z Documenting postcard v1.0.10
3052024-11-21T18:44:42.093Z Documenting opte-api v0.1.0 (/work/oxidecomputer/opte/crates/opte-api)
3062024-11-21T18:44:42.093Z Checking opte-api v0.1.0 (/work/oxidecomputer/opte/crates/opte-api)
3072024-11-21T18:44:42.978Z Documenting opte v0.1.0 (/work/oxidecomputer/opte/lib/opte)
3082024-11-21T18:44:45.318Z Finished `dev` profile [unoptimized + debuginfo] target(s) in 29.99s
3092024-11-21T18:44:45.429Z Generated /work/oxidecomputer/opte/target/doc/opte/index.html
3102024-11-21T18:44:45.448Z
3112024-11-21T18:44:45.450Zreal 30.115787567
3122024-11-21T18:44:45.450Zuser 2:19.137583361
3132024-11-21T18:44:45.450Zsys 18.912530175
3142024-11-21T18:44:45.450Ztrap 0.107875810
3152024-11-21T18:44:45.450Ztflt 0.148612380
3162024-11-21T18:44:45.450Zdflt 0.129393677
3172024-11-21T18:44:45.450Zkflt 0.016456277
3182024-11-21T18:44:45.450Zlock 3:01.875631024
3192024-11-21T18:44:45.450Zslp 7:26.941281011
3202024-11-21T18:44:45.450Zlat 17.737826847
3212024-11-21T18:44:45.450Zstop 11.259345930
3222024-11-21T18:44:45.450Z+ header 'analyze std + api'
3232024-11-21T18:44:45.450Z+ echo '# ==== analyze std + api ==== #'
3242024-11-21T18:44:45.450Z# ==== analyze std + api ==== #
3252024-11-21T18:44:45.450Z+ ptime -m cargo clippy --all-targets
3262024-11-21T18:44:45.851Z Compiling proc-macro2 v1.0.91
3272024-11-21T18:44:45.851Z Compiling unicode-ident v1.0.13
3282024-11-21T18:44:45.854Z Compiling memchr v2.7.4
3292024-11-21T18:44:45.854Z Compiling thiserror v1.0.69
3302024-11-21T18:44:45.854Z Compiling ucd-trie v0.1.7
3312024-11-21T18:44:45.854Z Compiling libc v0.2.164
3322024-11-21T18:44:45.855Z Compiling version_check v0.9.5
3332024-11-21T18:44:45.859Z Compiling once_cell v1.20.2
3342024-11-21T18:44:46.088Z Compiling serde_json v1.0.133
3352024-11-21T18:44:46.265Z Compiling serde v1.0.215
3362024-11-21T18:44:46.494Z Checking byteorder v1.5.0
3372024-11-21T18:44:46.510Z Compiling ident_case v1.0.1
3382024-11-21T18:44:46.621Z Compiling strsim v0.11.1
3392024-11-21T18:44:46.667Z Compiling fnv v1.0.7
3402024-11-21T18:44:46.777Z Compiling aho-corasick v1.1.3
3412024-11-21T18:44:46.812Z Compiling regex-syntax v0.8.5
3422024-11-21T18:44:46.858Z Compiling ryu v1.0.18
3432024-11-21T18:44:46.895Z Compiling itoa v1.0.11
3442024-11-21T18:44:47.232Z Compiling usdt-impl v0.5.0
3452024-11-21T18:44:47.299Z Compiling zerocopy v0.8.10
3462024-11-21T18:44:47.440Z Compiling either v1.13.0
3472024-11-21T18:44:47.604Z Compiling quote v1.0.37
3482024-11-21T18:44:47.864Z Compiling thread-id v4.2.2
3492024-11-21T18:44:47.952Z Compiling itertools v0.13.0
3502024-11-21T18:44:47.974Z Compiling syn v2.0.89
3512024-11-21T18:44:48.429Z Compiling heapless v0.8.0
3522024-11-21T18:44:48.665Z Checking plain v0.2.3
3532024-11-21T18:44:48.764Z Checking log v0.4.22
3542024-11-21T18:44:48.815Z Checking hash32 v0.3.1
3552024-11-21T18:44:49.013Z Compiling smoltcp v0.11.0
3562024-11-21T18:44:49.139Z Checking pretty-hex v0.4.1
3572024-11-21T18:44:49.268Z Checking macaddr v1.0.1
3582024-11-21T18:44:49.298Z Checking cfg-if v1.0.0
3592024-11-21T18:44:49.360Z Checking stable_deref_trait v1.2.0
3602024-11-21T18:44:49.599Z Checking managed v0.8.0
3612024-11-21T18:44:49.660Z Checking cobs v0.2.3
3622024-11-21T18:44:49.830Z Checking bitflags v2.6.0
3632024-11-21T18:44:49.953Z Checking bitflags v1.3.2
3642024-11-21T18:44:50.037Z Checking memmap v0.7.0
3652024-11-21T18:44:50.066Z Compiling opte v0.1.0 (/work/oxidecomputer/opte/lib/opte)
3662024-11-21T18:44:50.234Z Checking ipnetwork v0.20.0
3672024-11-21T18:44:50.413Z Compiling regex-automata v0.4.9
3682024-11-21T18:44:50.918Z Checking illumos-sys-hdrs v0.1.0 (/work/oxidecomputer/opte/crates/illumos-sys-hdrs)
3692024-11-21T18:44:51.016Z Checking unicode-width v0.1.14
3702024-11-21T18:44:51.185Z Checking crc32fast v1.4.2
3712024-11-21T18:44:51.394Z Checking dyn-clone v1.0.17
3722024-11-21T18:44:51.496Z Checking tabwriter v1.4.0
3732024-11-21T18:44:53.491Z Compiling darling_core v0.20.10
3742024-11-21T18:44:53.932Z Compiling regex v1.11.1
3752024-11-21T18:44:55.265Z Compiling thiserror-impl v1.0.69
3762024-11-21T18:44:55.265Z Compiling serde_derive v1.0.215
3772024-11-21T18:44:55.267Z Compiling zerocopy-derive v0.7.35
3782024-11-21T18:44:55.350Z Compiling scroll_derive v0.12.0
3792024-11-21T18:44:55.361Z Compiling zerocopy-derive v0.8.10
3802024-11-21T18:44:55.468Z Compiling kstat-macro v0.1.0 (/work/oxidecomputer/opte/crates/kstat-macro)
3812024-11-21T18:44:56.722Z Checking scroll v0.12.0
3822024-11-21T18:44:57.077Z Compiling zerocopy v0.7.35
3832024-11-21T18:44:57.194Z Checking goblin v0.8.2
3842024-11-21T18:44:57.571Z Compiling darling_macro v0.20.10
3852024-11-21T18:44:58.150Z Compiling pest v2.7.14
3862024-11-21T18:44:58.527Z Compiling darling v0.20.10
3872024-11-21T18:44:58.629Z Compiling ingot-macros v0.1.0 (https://github.com/oxidecomputer/ingot.git?rev=bff93247fe75ff889121e39d494cc3805fc01906#bff93247)
3882024-11-21T18:44:58.653Z Compiling derror-macro v0.1.0 (/work/oxidecomputer/opte/crates/derror-macro)
3892024-11-21T18:45:00.497Z Compiling pest_meta v2.7.14
3902024-11-21T18:45:01.567Z Compiling pest_generator v2.7.14
3912024-11-21T18:45:02.865Z Compiling pest_derive v2.7.14
3922024-11-21T18:45:03.358Z Checking ingot-types v0.1.0 (https://github.com/oxidecomputer/ingot.git?rev=bff93247fe75ff889121e39d494cc3805fc01906#bff93247)
3932024-11-21T18:45:03.523Z Compiling dtrace-parser v0.2.0
3942024-11-21T18:45:05.172Z Checking postcard v1.0.10
3952024-11-21T18:45:05.176Z Checking ingot v0.1.0 (https://github.com/oxidecomputer/ingot.git?rev=bff93247fe75ff889121e39d494cc3805fc01906#bff93247)
3962024-11-21T18:45:05.303Z Compiling serde_tokenstream v0.2.2
3972024-11-21T18:45:06.230Z Checking dof v0.3.0
3982024-11-21T18:45:06.609Z Checking opte-api v0.1.0 (/work/oxidecomputer/opte/crates/opte-api)
3992024-11-21T18:45:07.682Z Compiling usdt-attr-macro v0.5.0
4002024-11-21T18:45:07.682Z Compiling usdt-macro v0.5.0
4012024-11-21T18:45:08.553Z Checking usdt v0.5.0
4022024-11-21T18:45:20.446Zwarning: the borrowed expression implements the required traits
4032024-11-21T18:45:20.446Z --> lib/opte/src/ddi/mblk.rs:1213:33
4042024-11-21T18:45:20.446Z |
4052024-11-21T18:45:20.446Z1213 | let pkt2 = MsgBlk::copy(&[]);
4062024-11-21T18:45:20.446Z | ^^^ help: change this to: `[]`
4072024-11-21T18:45:20.446Z |
4082024-11-21T18:45:20.446Z = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrows_for_generic_args
4092024-11-21T18:45:20.446Z = note: `#[warn(clippy::needless_borrows_for_generic_args)]` on by default
4102024-11-21T18:45:20.446Z
4112024-11-21T18:45:20.459Zwarning: the borrowed expression implements the required traits
4122024-11-21T18:45:20.459Z --> lib/opte/src/ddi/mblk.rs:1270:35
4132024-11-21T18:45:20.459Z |
4142024-11-21T18:45:20.459Z1270 | let mut p1 = MsgBlk::copy(&[0, 1, 2, 3]);
4152024-11-21T18:45:20.459Z | ^^^^^^^^^^^^^ help: change this to: `[0, 1, 2, 3]`
4162024-11-21T18:45:20.459Z |
4172024-11-21T18:45:20.459Z = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrows_for_generic_args
4182024-11-21T18:45:20.459Z
4192024-11-21T18:45:20.462Zwarning: the borrowed expression implements the required traits
4202024-11-21T18:45:20.462Z --> lib/opte/src/ddi/mblk.rs:1271:32
4212024-11-21T18:45:20.462Z |
4222024-11-21T18:45:20.462Z1271 | p1.append(MsgBlk::copy(&[4, 5, 6, 7]));
4232024-11-21T18:45:20.462Z | ^^^^^^^^^^^^^ help: change this to: `[4, 5, 6, 7]`
4242024-11-21T18:45:20.462Z |
4252024-11-21T18:45:20.462Z = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrows_for_generic_args
4262024-11-21T18:45:20.462Z
4272024-11-21T18:45:20.462Zwarning: the borrowed expression implements the required traits
4282024-11-21T18:45:20.462Z --> lib/opte/src/ddi/mblk.rs:1272:32
4292024-11-21T18:45:20.462Z |
4302024-11-21T18:45:20.462Z1272 | p1.append(MsgBlk::copy(&[8, 9, 10, 11]));
4312024-11-21T18:45:20.462Z | ^^^^^^^^^^^^^^^ help: change this to: `[8, 9, 10, 11]`
4322024-11-21T18:45:20.462Z |
4332024-11-21T18:45:20.462Z = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrows_for_generic_args
4342024-11-21T18:45:20.462Z
4352024-11-21T18:45:20.490Zwarning: the loop variable `i` is only used to index `els`
4362024-11-21T18:45:20.490Z --> lib/opte/src/ddi/mblk.rs:1436:18
4372024-11-21T18:45:20.490Z |
4382024-11-21T18:45:20.490Z1436 | for i in 0..els.len() {
4392024-11-21T18:45:20.490Z | ^^^^^^^^^^^^
4402024-11-21T18:45:20.490Z |
4412024-11-21T18:45:20.490Z = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_range_loop
4422024-11-21T18:45:20.490Z = note: `#[warn(clippy::needless_range_loop)]` on by default
4432024-11-21T18:45:20.490Zhelp: consider using an iterator
4442024-11-21T18:45:20.490Z |
4452024-11-21T18:45:20.490Z1436 | for <item> in &els {
4462024-11-21T18:45:20.490Z | ~~~~~~ ~~~~
4472024-11-21T18:45:20.490Z
4482024-11-21T18:45:21.672Zwarning: casting to the same type is unnecessary (`usize` -> `usize`)
4492024-11-21T18:45:21.673Z --> lib/opte/src/engine/ip/v6.rs:461:13
4502024-11-21T18:45:21.673Z |
4512024-11-21T18:45:21.673Z461 | header.packet_length() as usize,
4522024-11-21T18:45:21.673Z | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try: `{ header.packet_length() }`
4532024-11-21T18:45:21.673Z |
4542024-11-21T18:45:21.673Z = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unnecessary_cast
4552024-11-21T18:45:21.673Z = note: `#[warn(clippy::unnecessary_cast)]` on by default
4562024-11-21T18:45:21.673Z
4572024-11-21T18:45:21.692Zwarning: redundant slicing of the whole range
4582024-11-21T18:45:21.692Z --> lib/opte/src/engine/ip/v6.rs:590:34
4592024-11-21T18:45:21.692Z |
4602024-11-21T18:45:21.692Z590 | assert!(ValidIpv6::parse(&buf[..]).is_err());
4612024-11-21T18:45:21.692Z | ^^^^^^^^ help: use the original value instead: `buf`
4622024-11-21T18:45:21.692Z |
4632024-11-21T18:45:21.692Z = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_slicing
4642024-11-21T18:45:21.692Z = note: `#[warn(clippy::redundant_slicing)]` on by default
4652024-11-21T18:45:21.692Z
4662024-11-21T18:45:21.701Zwarning: redundant slicing of the whole range
4672024-11-21T18:45:21.701Z --> lib/opte/src/engine/ip/v6.rs:593:53
4682024-11-21T18:45:21.701Z |
4692024-11-21T18:45:21.701Z593 | let (v6, _rem) = Accessor::read_from_prefix(&buf[..]).unwrap();
4702024-11-21T18:45:21.701Z | ^^^^^^^^ help: use the original value instead: `buf`
4712024-11-21T18:45:21.701Z |
4722024-11-21T18:45:21.701Z = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_slicing
4732024-11-21T18:45:21.701Z
4742024-11-21T18:45:21.857Zwarning: this expression creates a reference which is immediately dereferenced by the compiler
4752024-11-21T18:45:21.858Z --> lib/opte/src/engine/layer.rs:1880:46
4762024-11-21T18:45:21.858Z |
4772024-11-21T18:45:21.858Z1880 | assert!(rule_table.find_match(&ifid, &pmeta.meta(), &ameta).is_some());
4782024-11-21T18:45:21.859Z | ^^^^^^^^^^^^^ help: change this to: `pmeta.meta()`
4792024-11-21T18:45:21.859Z |
4802024-11-21T18:45:21.859Z = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrow
4812024-11-21T18:45:21.859Z = note: `#[warn(clippy::needless_borrow)]` on by default
4822024-11-21T18:45:21.859Z
4832024-11-21T18:45:22.731Zwarning: this expression creates a reference which is immediately dereferenced by the compiler
4842024-11-21T18:45:22.731Z --> lib/opte/src/engine/rule.rs:1162:25
4852024-11-21T18:45:22.731Z |
4862024-11-21T18:45:22.731Z1162 | assert!(r1.is_match(&meta, &ameta));
4872024-11-21T18:45:22.731Z | ^^^^^ help: change this to: `meta`
4882024-11-21T18:45:22.731Z |
4892024-11-21T18:45:22.731Z = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrow
4902024-11-21T18:45:22.731Z
4912024-11-21T18:45:22.734Zwarning: this expression creates a reference which is immediately dereferenced by the compiler
4922024-11-21T18:45:22.734Z --> lib/opte/src/engine/rule.rs:1171:26
4932024-11-21T18:45:22.734Z |
4942024-11-21T18:45:22.734Z1171 | assert!(!r1.is_match(&meta, &ameta));
4952024-11-21T18:45:22.734Z | ^^^^^ help: change this to: `meta`
4962024-11-21T18:45:22.734Z |
4972024-11-21T18:45:22.734Z = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrow
4982024-11-21T18:45:22.734Z
4992024-11-21T18:45:22.894Zwarning: useless use of `vec!`
5002024-11-21T18:45:22.894Z --> lib/opte/src/engine/geneve.rs:401:19
5012024-11-21T18:45:22.894Z |
5022024-11-21T18:45:22.894Z401 | let buf = vec![
5032024-11-21T18:45:22.894Z | ___________________^
5042024-11-21T18:45:22.894Z402 | | // source
5052024-11-21T18:45:22.894Z403 | | 0x1E, 0x61,
5062024-11-21T18:45:22.894Z404 | | // dest
5072024-11-21T18:45:22.894Z... |
5082024-11-21T18:45:22.894Z424 | | 0x00,
5092024-11-21T18:45:22.894Z425 | | ];
5102024-11-21T18:45:22.894Z | |_________^
5112024-11-21T18:45:22.895Z |
5122024-11-21T18:45:22.895Z = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#useless_vec
5132024-11-21T18:45:22.895Z = note: `#[warn(clippy::useless_vec)]` on by default
5142024-11-21T18:45:22.895Zhelp: you can use an array directly
5152024-11-21T18:45:22.895Z |
5162024-11-21T18:45:22.895Z401 ~ let buf = [0x1E, 0x61,
5172024-11-21T18:45:22.896Z402 + // dest
5182024-11-21T18:45:22.896Z403 + 0x17, 0xC1,
5192024-11-21T18:45:22.896Z404 + // length
5202024-11-21T18:45:22.896Z405 + 0x00, 0x14,
5212024-11-21T18:45:22.896Z406 + // csum
5222024-11-21T18:45:22.896Z407 + 0x00, 0x00,
5232024-11-21T18:45:22.896Z408 + // ver + opt len
5242024-11-21T18:45:22.896Z409 + 0x01,
5252024-11-21T18:45:22.896Z410 + // flags
5262024-11-21T18:45:22.896Z411 + 0x00,
5272024-11-21T18:45:22.896Z412 + // proto
5282024-11-21T18:45:22.896Z413 + 0x65, 0x58,
5292024-11-21T18:45:22.896Z414 + // vni + reserved
5302024-11-21T18:45:22.896Z415 + 0x00, 0x04, 0xD2, 0x00,
5312024-11-21T18:45:22.896Z416 +
5322024-11-21T18:45:22.896Z417 + // option class
5332024-11-21T18:45:22.896Z418 + 0x01, 0x29,
5342024-11-21T18:45:22.896Z419 + // crt + type
5352024-11-21T18:45:22.896Z420 + 0x00,
5362024-11-21T18:45:22.896Z421 + // rsvd + len
5372024-11-21T18:45:22.896Z422 ~ 0x00];
5382024-11-21T18:45:22.896Z |
5392024-11-21T18:45:22.900Z
5402024-11-21T18:45:22.900Zwarning: useless use of `vec!`
5412024-11-21T18:45:22.900Z --> lib/opte/src/engine/geneve.rs:441:19
5422024-11-21T18:45:22.900Z |
5432024-11-21T18:45:22.900Z441 | let buf = vec![
5442024-11-21T18:45:22.900Z | ___________________^
5452024-11-21T18:45:22.900Z442 | | // source
5462024-11-21T18:45:22.900Z443 | | 0x1E, 0x61,
5472024-11-21T18:45:22.900Z444 | | // dest
5482024-11-21T18:45:22.900Z... |
5492024-11-21T18:45:22.900Z464 | | 0x00,
5502024-11-21T18:45:22.900Z465 | | ];
5512024-11-21T18:45:22.900Z | |_________^
5522024-11-21T18:45:22.900Z |
5532024-11-21T18:45:22.900Z = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#useless_vec
5542024-11-21T18:45:22.900Zhelp: you can use an array directly
5552024-11-21T18:45:22.900Z |
5562024-11-21T18:45:22.900Z441 ~ let buf = [0x1E, 0x61,
5572024-11-21T18:45:22.900Z442 + // dest
5582024-11-21T18:45:22.900Z443 + 0x17, 0xC1,
5592024-11-21T18:45:22.900Z444 + // length
5602024-11-21T18:45:22.901Z445 + 0x00, 0x14,
5612024-11-21T18:45:22.901Z446 + // csum
5622024-11-21T18:45:22.901Z447 + 0x00, 0x00,
5632024-11-21T18:45:22.901Z448 + // ver + opt len
5642024-11-21T18:45:22.901Z449 + 0x01,
5652024-11-21T18:45:22.901Z450 + // flags
5662024-11-21T18:45:22.901Z451 + 0b0100_0000,
5672024-11-21T18:45:22.901Z452 + // proto
5682024-11-21T18:45:22.901Z453 + 0x65, 0x58,
5692024-11-21T18:45:22.901Z454 + // vni + reserved
5702024-11-21T18:45:22.901Z455 + 0x00, 0x04, 0xD2, 0x00,
5712024-11-21T18:45:22.901Z456 +
5722024-11-21T18:45:22.901Z457 + // experimenter option class
5732024-11-21T18:45:22.901Z458 + 0xff, 0xff,
5742024-11-21T18:45:22.901Z459 + // crt + type
5752024-11-21T18:45:22.901Z460 + 0x80,
5762024-11-21T18:45:22.901Z461 + // rsvd + len
5772024-11-21T18:45:22.901Z462 ~ 0x00];
5782024-11-21T18:45:22.901Z |
5792024-11-21T18:45:22.901Z
5802024-11-21T18:45:22.901Zwarning: useless use of `vec!`
5812024-11-21T18:45:22.901Z --> lib/opte/src/engine/geneve.rs:483:19
5822024-11-21T18:45:22.901Z |
5832024-11-21T18:45:22.901Z483 | let buf = vec![
5842024-11-21T18:45:22.901Z | ___________________^
5852024-11-21T18:45:22.901Z484 | | // source
5862024-11-21T18:45:22.901Z485 | | 0x1E, 0x61,
5872024-11-21T18:45:22.901Z486 | | // dest
5882024-11-21T18:45:22.901Z... |
5892024-11-21T18:45:22.901Z524 | | 0x00, 0x00, 0x00, 0x00,
5902024-11-21T18:45:22.901Z525 | | ];
5912024-11-21T18:45:22.901Z | |_________^
5922024-11-21T18:45:22.901Z |
5932024-11-21T18:45:22.901Z = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#useless_vec
5942024-11-21T18:45:22.901Zhelp: you can use an array directly
5952024-11-21T18:45:22.901Z |
5962024-11-21T18:45:22.901Z483 ~ let buf = [0x1E, 0x61,
5972024-11-21T18:45:22.901Z484 + // dest
5982024-11-21T18:45:22.902Z485 + 0x17, 0xC1,
5992024-11-21T18:45:22.902Z486 + // length
6002024-11-21T18:45:22.902Z487 + 0x00, 0x1c,
6012024-11-21T18:45:22.902Z488 + // csum
6022024-11-21T18:45:22.902Z489 + 0x00, 0x00,
6032024-11-21T18:45:22.902Z490 + // ver + opt len
6042024-11-21T18:45:22.902Z491 + 0x05,
6052024-11-21T18:45:22.902Z492 + // flags
6062024-11-21T18:45:22.902Z493 + 0x00,
6072024-11-21T18:45:22.902Z494 + // proto
6082024-11-21T18:45:22.902Z495 + 0x65, 0x58,
6092024-11-21T18:45:22.902Z496 + // vni + reserved
6102024-11-21T18:45:22.903Z497 + 0x00, 0x04, 0xD2, 0x00,
6112024-11-21T18:45:22.903Z498 +
6122024-11-21T18:45:22.903Z499 + // option class
6132024-11-21T18:45:22.903Z500 + 0x01, 0x29,
6142024-11-21T18:45:22.903Z501 + // crt + type
6152024-11-21T18:45:22.903Z502 + 0x00,
6162024-11-21T18:45:22.903Z503 + // rsvd + len
6172024-11-21T18:45:22.903Z504 + 0x00,
6182024-11-21T18:45:22.903Z505 +
6192024-11-21T18:45:22.903Z506 + // experimenter option class
6202024-11-21T18:45:22.903Z507 + 0xff, 0xff,
6212024-11-21T18:45:22.903Z508 + // crt + type
6222024-11-21T18:45:22.903Z509 + 0x05,
6232024-11-21T18:45:22.903Z510 + // rsvd + len
6242024-11-21T18:45:22.903Z511 + 0x01,
6252024-11-21T18:45:22.903Z512 + // body
6262024-11-21T18:45:22.903Z513 + 0x00, 0x00, 0x00, 0x00,
6272024-11-21T18:45:22.903Z514 +
6282024-11-21T18:45:22.903Z515 + // experimenter option class
6292024-11-21T18:45:22.903Z516 + 0xff, 0xff,
6302024-11-21T18:45:22.903Z517 + // crt + type
6312024-11-21T18:45:22.903Z518 + 0x06,
6322024-11-21T18:45:22.903Z519 + // rsvd + len
6332024-11-21T18:45:22.903Z520 + 0x01,
6342024-11-21T18:45:22.904Z521 + // body
6352024-11-21T18:45:22.904Z522 ~ 0x00, 0x00, 0x00, 0x00];
6362024-11-21T18:45:22.904Z |
6372024-11-21T18:45:22.904Z
6382024-11-21T18:45:23.205Zwarning: `opte` (lib test) generated 14 warnings (run `cargo clippy --fix --lib -p opte --tests` to apply 13 suggestions)
6392024-11-21T18:45:23.205Z Finished `dev` profile [unoptimized + debuginfo] target(s) in 37.64s
6402024-11-21T18:45:23.240Z
6412024-11-21T18:45:23.242Zreal 37.806798288
6422024-11-21T18:45:23.242Zuser 2:09.492561410
6432024-11-21T18:45:23.242Zsys 26.440774095
6442024-11-21T18:45:23.242Ztrap 0.061423688
6452024-11-21T18:45:23.242Ztflt 0.389152298
6462024-11-21T18:45:23.242Zdflt 0.691646172
6472024-11-21T18:45:23.242Zkflt 0.000041813
6482024-11-21T18:45:23.242Zlock 3:37.154220494
6492024-11-21T18:45:23.243Zslp 7:59.777537658
6502024-11-21T18:45:23.243Zlat 3.682629661
6512024-11-21T18:45:23.243Zstop 6.048452939
6522024-11-21T18:45:23.243Z+ header 'analyze no_std + engine + kernel'
6532024-11-21T18:45:23.243Z+ echo '# ==== analyze no_std + engine + kernel ==== #'
6542024-11-21T18:45:23.243Z# ==== analyze no_std + engine + kernel ==== #
6552024-11-21T18:45:23.243Z+ ptime -m cargo +nightly-2024-11-18 clippy --no-default-features --features engine,kernel
6562024-11-21T18:45:23.540Z Checking illumos-sys-hdrs v0.1.0 (/work/oxidecomputer/opte/crates/illumos-sys-hdrs)
6572024-11-21T18:45:23.540Z Compiling kstat-macro v0.1.0 (/work/oxidecomputer/opte/crates/kstat-macro)
6582024-11-21T18:45:23.543Z Compiling opte v0.1.0 (/work/oxidecomputer/opte/lib/opte)
6592024-11-21T18:45:23.543Z Compiling derror-macro v0.1.0 (/work/oxidecomputer/opte/crates/derror-macro)
6602024-11-21T18:45:23.715Z Checking opte-api v0.1.0 (/work/oxidecomputer/opte/crates/opte-api)
6612024-11-21T18:45:30.448Z Finished `dev` profile [unoptimized + debuginfo] target(s) in 7.12s
6622024-11-21T18:45:30.486Z
6632024-11-21T18:45:30.486Zreal 7.242770352
6642024-11-21T18:45:30.486Zuser 8.004426416
6652024-11-21T18:45:30.486Zsys 1.161876264
6662024-11-21T18:45:30.486Ztrap 0.001499348
6672024-11-21T18:45:30.486Ztflt 0.005412962
6682024-11-21T18:45:30.486Zdflt 0.001671802
6692024-11-21T18:45:30.486Zkflt 0.000000000
6702024-11-21T18:45:30.487Zlock 18.545160292
6712024-11-21T18:45:30.487Zslp 26.914144510
6722024-11-21T18:45:30.487Zlat 0.059278124
6732024-11-21T18:45:30.487Zstop 0.157625426
6742024-11-21T18:45:30.489Z+ header test
6752024-11-21T18:45:30.489Z+ echo '# ==== test ==== #'
6762024-11-21T18:45:30.489Z# ==== test ==== #
6772024-11-21T18:45:30.489Z+ ptime -m cargo test
6782024-11-21T18:45:30.775Z Compiling unicode-ident v1.0.13
6792024-11-21T18:45:30.775Z Compiling memchr v2.7.4
6802024-11-21T18:45:30.778Z Compiling byteorder v1.5.0
6812024-11-21T18:45:30.778Z Compiling ucd-trie v0.1.7
6822024-11-21T18:45:30.778Z Compiling ryu v1.0.18
6832024-11-21T18:45:30.784Z Compiling itoa v1.0.11
6842024-11-21T18:45:30.798Z Compiling libc v0.2.164
6852024-11-21T18:45:30.801Z Compiling either v1.13.0
6862024-11-21T18:45:30.950Z Compiling proc-macro2 v1.0.91
6872024-11-21T18:45:30.998Z Compiling plain v0.2.3
6882024-11-21T18:45:31.125Z Compiling log v0.4.22
6892024-11-21T18:45:31.155Z Compiling itertools v0.13.0
6902024-11-21T18:45:31.199Z Compiling hash32 v0.3.1
6912024-11-21T18:45:31.248Z Compiling stable_deref_trait v1.2.0
6922024-11-21T18:45:31.339Z Compiling macaddr v1.0.1
6932024-11-21T18:45:31.417Z Compiling cfg-if v1.0.0
6942024-11-21T18:45:31.492Z Compiling thread-id v4.2.2
6952024-11-21T18:45:31.498Z Compiling pretty-hex v0.4.1
6962024-11-21T18:45:31.524Z Compiling heapless v0.8.0
6972024-11-21T18:45:31.587Z Compiling bitflags v2.6.0
6982024-11-21T18:45:31.595Z Compiling cobs v0.2.3
6992024-11-21T18:45:31.691Z Compiling managed v0.8.0
7002024-11-21T18:45:31.699Z Compiling bitflags v1.3.2
7012024-11-21T18:45:31.781Z Compiling quote v1.0.37
7022024-11-21T18:45:31.873Z Compiling aho-corasick v1.1.3
7032024-11-21T18:45:31.887Z Compiling memmap v0.7.0
7042024-11-21T18:45:32.118Z Compiling opte v0.1.0 (/work/oxidecomputer/opte/lib/opte)
7052024-11-21T18:45:32.262Z Compiling syn v2.0.89
7062024-11-21T18:45:32.525Z Compiling ipnetwork v0.20.0
7072024-11-21T18:45:32.550Z Compiling smoltcp v0.11.0
7082024-11-21T18:45:32.602Z Compiling illumos-sys-hdrs v0.1.0 (/work/oxidecomputer/opte/crates/illumos-sys-hdrs)
7092024-11-21T18:45:32.781Z Compiling unicode-width v0.1.14
7102024-11-21T18:45:32.882Z Compiling crc32fast v1.4.2
7112024-11-21T18:45:33.157Z Compiling dyn-clone v1.0.17
7122024-11-21T18:45:33.297Z Compiling tabwriter v1.4.0
7132024-11-21T18:45:33.734Z Compiling regex-automata v0.4.9
7142024-11-21T18:45:36.943Z Compiling regex v1.11.1
7152024-11-21T18:45:37.911Z Compiling darling_core v0.20.10
7162024-11-21T18:45:40.089Z Compiling serde_derive v1.0.215
7172024-11-21T18:45:40.089Z Compiling thiserror-impl v1.0.69
7182024-11-21T18:45:40.089Z Compiling zerocopy-derive v0.7.35
7192024-11-21T18:45:40.164Z Compiling scroll_derive v0.12.0
7202024-11-21T18:45:40.249Z Compiling zerocopy-derive v0.8.10
7212024-11-21T18:45:40.334Z Compiling kstat-macro v0.1.0 (/work/oxidecomputer/opte/crates/kstat-macro)
7222024-11-21T18:45:41.564Z Compiling scroll v0.12.0
7232024-11-21T18:45:42.023Z Compiling goblin v0.8.2
7242024-11-21T18:45:42.115Z Compiling zerocopy v0.7.35
7252024-11-21T18:45:42.241Z Compiling darling_macro v0.20.10
7262024-11-21T18:45:42.542Z Compiling zerocopy v0.8.10
7272024-11-21T18:45:42.596Z Compiling thiserror v1.0.69
7282024-11-21T18:45:42.685Z Compiling pest v2.7.14
7292024-11-21T18:45:43.150Z Compiling darling v0.20.10
7302024-11-21T18:45:43.243Z Compiling ingot-macros v0.1.0 (https://github.com/oxidecomputer/ingot.git?rev=bff93247fe75ff889121e39d494cc3805fc01906#bff93247)
7312024-11-21T18:45:43.275Z Compiling derror-macro v0.1.0 (/work/oxidecomputer/opte/crates/derror-macro)
7322024-11-21T18:45:44.820Z Compiling pest_meta v2.7.14
7332024-11-21T18:45:45.267Z Compiling serde v1.0.215
7342024-11-21T18:45:45.964Z Compiling pest_generator v2.7.14
7352024-11-21T18:45:47.450Z Compiling pest_derive v2.7.14
7362024-11-21T18:45:47.817Z Compiling ingot-types v0.1.0 (https://github.com/oxidecomputer/ingot.git?rev=bff93247fe75ff889121e39d494cc3805fc01906#bff93247)
7372024-11-21T18:45:48.260Z Compiling dtrace-parser v0.2.0
7382024-11-21T18:45:50.265Z Compiling serde_json v1.0.133
7392024-11-21T18:45:50.265Z Compiling serde_tokenstream v0.2.2
7402024-11-21T18:45:50.294Z Compiling ingot v0.1.0 (https://github.com/oxidecomputer/ingot.git?rev=bff93247fe75ff889121e39d494cc3805fc01906#bff93247)
7412024-11-21T18:45:50.294Z Compiling postcard v1.0.10
7422024-11-21T18:45:51.535Z Compiling dof v0.3.0
7432024-11-21T18:45:51.940Z Compiling usdt-impl v0.5.0
7442024-11-21T18:45:52.129Z Compiling opte-api v0.1.0 (/work/oxidecomputer/opte/crates/opte-api)
7452024-11-21T18:45:52.848Z Compiling usdt-attr-macro v0.5.0
7462024-11-21T18:45:52.851Z Compiling usdt-macro v0.5.0
7472024-11-21T18:45:54.101Z Compiling usdt v0.5.0
7482024-11-21T18:46:10.723Z Finished `test` profile [unoptimized + debuginfo] target(s) in 40.20s
7492024-11-21T18:46:10.745Z Running unittests src/lib.rs (/work/oxidecomputer/opte/target/debug/deps/opte-536b02b37663d779)
7502024-11-21T18:46:10.759Z
7512024-11-21T18:46:10.759Zrunning 72 tests
7522024-11-21T18:46:10.767Ztest d_error::tests::name_truncation ... ok
7532024-11-21T18:46:10.767Ztest d_error::tests::name_and_data_storage ... ok
7542024-11-21T18:46:10.768Ztest ddi::mblk::test::chain_breaks_links ... ok
7552024-11-21T18:46:10.768Ztest ddi::mblk::test::chain_append_links ... ok
7562024-11-21T18:46:10.768Ztest ddi::mblk::test::chain_drain_complete ... ok
7572024-11-21T18:46:10.768Ztest ddi::mblk::test::chain_has_correct_ends ... ok
7582024-11-21T18:46:10.768Ztest ddi::mblk::test::expand_and_shrink ... ok
7592024-11-21T18:46:10.768Ztest ddi::mblk::test::prefix_len ... ok
7602024-11-21T18:46:10.768Ztest ddi::mblk::test::read_seg ... ok
7612024-11-21T18:46:10.768Ztest ddi::mblk::test::test_long_packet_continuation ... ok
7622024-11-21T18:46:10.768Ztest ddi::mblk::test::uninitialized_packet ... ok
7632024-11-21T18:46:10.768Ztest ddi::mblk::test::truncate ... ok
7642024-11-21T18:46:10.768Ztest ddi::mblk::test::wrap ... ok
7652024-11-21T18:46:10.768Ztest ddi::mblk::test::zero_byte_packet ... ok
7662024-11-21T18:46:10.768Ztest ddi::time::test::good_interval ... ok
7672024-11-21T18:46:10.768Ztest engine::dhcp::test::hostname_encode ... ok
7682024-11-21T18:46:10.768Ztest engine::dhcp::test::domainname_encode ... ok
7692024-11-21T18:46:10.768Ztest engine::dhcp::test::offlink_encode ... ok
7702024-11-21T18:46:10.768Ztest engine::dhcpv6::options::test::test_dns_servers ... ok
7712024-11-21T18:46:10.768Ztest engine::dhcp::test::domain_search_option_encode ... ok
7722024-11-21T18:46:10.768Ztest engine::dhcpv6::options::test::test_client_id ... ok
7732024-11-21T18:46:10.768Ztest engine::dhcp::test::rfc3442_encode ... ok
7742024-11-21T18:46:10.768Ztest ddi::time::test::bad_interval - should panic ... ok
7752024-11-21T18:46:10.768Ztest engine::dhcpv6::options::test::test_domain_list_from_slice ... ok
7762024-11-21T18:46:10.768Ztest engine::dhcpv6::options::test::test_elapsed_time ... ok
7772024-11-21T18:46:10.768Ztest engine::dhcpv6::options::test::test_iana ... ok
7782024-11-21T18:46:10.768Ztest engine::dhcpv6::options::test::test_ip_list_bad_length_fails ... ok
7792024-11-21T18:46:10.768Ztest engine::dhcpv6::options::test::test_iata ... ok
7802024-11-21T18:46:10.768Ztest engine::dhcpv6::options::test::test_option_request ... ok
7812024-11-21T18:46:10.768Ztest engine::dhcpv6::options::test::test_parse_snooped_client_id ... ok
7822024-11-21T18:46:10.768Ztest engine::dhcpv6::options::test::test_parse_snooped_iana ... ok
7832024-11-21T18:46:10.769Ztest engine::dhcpv6::options::test::test_parse_snooped_option_request ... ok
7842024-11-21T18:46:10.769Ztest engine::dhcpv6::options::test::test_rapid_commit ... ok
7852024-11-21T18:46:10.769Ztest engine::dhcpv6::options::test::test_raw_option_from_bytes ... ok
7862024-11-21T18:46:10.769Ztest engine::dhcpv6::options::test::test_server_id ... ok
7872024-11-21T18:46:10.769Ztest engine::dhcpv6::options::test::test_sntp_servers ... ok
7882024-11-21T18:46:10.769Ztest engine::dhcpv6::options::test::test_status ... ok
7892024-11-21T18:46:10.769Ztest engine::dhcpv6::test::test_duid_from_mac ... ok
7902024-11-21T18:46:10.769Ztest engine::dhcpv6::protocol::test::test_parse_snooped_solicit_message ... ok
7912024-11-21T18:46:10.769Ztest engine::ether::test::emit ... ok
7922024-11-21T18:46:10.769Ztest engine::dhcpv6::protocol::test::test_predicates_match_snooped_solicit_message ... ok
7932024-11-21T18:46:10.769Ztest engine::geneve::test::emit_external_opt ... ok
7942024-11-21T18:46:10.769Ztest engine::flow_table::test::flow_clear ... ok
7952024-11-21T18:46:10.769Ztest engine::flow_table::test::flow_expired ... ok
7962024-11-21T18:46:10.770Ztest engine::geneve::test::emit_no_opts ... ok
7972024-11-21T18:46:10.770Ztest engine::geneve::test::parse_multi_opt ... ok
7982024-11-21T18:46:10.770Ztest engine::geneve::test::parse_single_opt ... ok
7992024-11-21T18:46:10.770Ztest engine::geneve::test::unknown_crit_option_fails ... ok
8002024-11-21T18:46:10.770Ztest engine::ip::v4::test::cidr_match ... ok
8012024-11-21T18:46:10.770Ztest engine::ip::v4::test::emit ... ok
8022024-11-21T18:46:10.770Ztest engine::ip::v4::test::match_check ... ok
8032024-11-21T18:46:10.770Ztest engine::ip::v6::test::bad_ipv6_version_caught ... ok
8042024-11-21T18:46:10.771Ztest engine::ip::v6::test::emit ... ok
8052024-11-21T18:46:10.771Ztest engine::ip::v6::test::from_pairs ... ok
8062024-11-21T18:46:10.771Ztest engine::ip::v6::test::test_ipv6_addr_match_exact ... ok
8072024-11-21T18:46:10.771Ztest engine::ip::v6::test::test_ipv6_cidr_match_prefix ... ok
8082024-11-21T18:46:10.771Ztest engine::ip::v6::test::test_set_total_len ... ok
8092024-11-21T18:46:10.771Ztest engine::layer::test::find_rule ... ok
8102024-11-21T18:46:10.771Ztest engine::nat::test::nat4_rewrite ... ok
8112024-11-21T18:46:10.771Ztest engine::packet::test::read_single_segment ... ok
8122024-11-21T18:46:10.771Ztest engine::packet::test::read_multi_segment ... ok
8132024-11-21T18:46:10.771Ztest engine::packet::test::small_packet_with_padding ... ok
8142024-11-21T18:46:10.771Ztest engine::ip::v6::test::test_extension_header_lengths_ok ... ok
8152024-11-21T18:46:10.771Ztest engine::packet::test::straddled_tcp ... ok
8162024-11-21T18:46:10.771Ztest engine::packet::test::udp6_packet_with_padding ... ok
8172024-11-21T18:46:10.771Ztest engine::parse::test::icmp4_body_csum_equals_body ... ok
8182024-11-21T18:46:10.771Ztest engine::predicate::tests::data_predicate_ranges_handle_unknown ... ok
8192024-11-21T18:46:10.771Ztest engine::rule::rule_matching ... ok
8202024-11-21T18:46:10.771Ztest engine::snat::test::snat4_desc_lifecycle ... ok
8212024-11-21T18:46:10.771Ztest engine::snat::test::nat_mappings ... ok
8222024-11-21T18:46:10.772Ztest engine::snat::test::test_nat_pool_different_ip_types ... ok
8232024-11-21T18:46:10.772Ztest engine::packet::test::parse_ipv6_extension_headers_ok ... ok
8242024-11-21T18:46:10.772Z
8252024-11-21T18:46:10.772Ztest result: ok. 72 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s
8262024-11-21T18:46:10.772Z
8272024-11-21T18:46:10.772Z Doc-tests opte
8282024-11-21T18:46:11.703Z
8292024-11-21T18:46:11.703Zrunning 3 tests
8302024-11-21T18:46:11.706Ztest lib/opte/src/ddi/kstat.rs - ddi::kstat::KStatProvider (line 57) ... ignored
8312024-11-21T18:46:12.958Ztest lib/opte/src/ddi/kstat.rs - ddi::kstat::KStatProvider (line 43) ... ok
8322024-11-21T18:46:13.414Ztest lib/opte/src/ddi/kstat.rs - ddi::kstat::KStatNamed (line 86) ... ok
8332024-11-21T18:46:13.414Z
8342024-11-21T18:46:13.417Ztest result: ok. 2 passed; 0 failed; 1 ignored; 0 measured; 0 filtered out; finished in 1.71s
8352024-11-21T18:46:13.417Z
8362024-11-21T18:46:13.449Z
8372024-11-21T18:46:13.452Zreal 42.977197019
8382024-11-21T18:46:13.452Zuser 2:29.902707703
8392024-11-21T18:46:13.452Zsys 30.004868543
8402024-11-21T18:46:13.452Ztrap 0.063867006
8412024-11-21T18:46:13.452Ztflt 0.273800733
8422024-11-21T18:46:13.452Zdflt 0.631440270
8432024-11-21T18:46:13.452Zkflt 0.000005452
8442024-11-21T18:46:13.452Zlock 4:28.507528147
8452024-11-21T18:46:13.452Zslp 7:51.512309487
8462024-11-21T18:46:13.452Zlat 3.583171727
8472024-11-21T18:46:13.452Zstop 5.054536075
8482024-11-21T18:46:13.452Zprocess exited: duration 139299 ms, exit code 0
 
8492024-11-21T18:46:13.458Zfound 0 output files