01JH9SGVVM3D3EAVRJMFB17GFS: 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: 01JH9SH4ND8EH98KZY7N3J7HQ6

Tags:

Output:

SEQ GLOBAL TIME DETAILS
12025-01-11T04:22:24.697Zjob assigned to worker 01JH9SHAG85D9Z4DD1NPPT6QGN [factory aws, i-061e6914a62267661] (queued for 49 s)
 
22025-01-11T04:22:32.776Zstarting task 0: "setup"
32025-01-11T04:22:32.786Z++ uname -s
42025-01-11T04:22:32.789Z+ kern=SunOS
52025-01-11T04:22:32.789Z+ case "$kern" in
62025-01-11T04:22:32.789Z+ groupadd -g 12345 build
72025-01-11T04:22:32.792Z+ useradd -u 12345 -g build -d /home/build -s /bin/bash -c build -P 'Primary Administrator' build
82025-01-11T04:22:34.800Z+ zfs create -o mountpoint=/work rpool/work
92025-01-11T04:22:34.950Z++ awk '$2 == "/home" { print $3 }' /etc/mnttab
102025-01-11T04:22:34.952Z+ home_fs=zfs
112025-01-11T04:22:34.953Z+ [[ zfs == autofs ]]
122025-01-11T04:22:34.953Z+ mkdir -p /home/build
132025-01-11T04:22:34.955Z+ chown build:build /home/build /work
142025-01-11T04:22:35.956Z+ chmod 0700 /home/build /work
152025-01-11T04:22:35.960Zprocess exited: duration 3184 ms, exit code 0
 
162025-01-11T04:22:35.965Zstarting task 1: "rust-toolchain"
172025-01-11T04:22:35.971Z+ printf ' * toolchain channel = "%s"
182025-01-11T04:22:35.971Z' nightly-2024-11-18
192025-01-11T04:22:35.972Z+ printf ' * toolchain profile = "%s"
202025-01-11T04:22:35.972Z' default
212025-01-11T04:22:35.972Z * toolchain channel = "nightly-2024-11-18"
222025-01-11T04:22:35.972Z * toolchain profile = "default"
232025-01-11T04:22:35.975Z+ curl --proto =https --tlsv1.2 -sSf https://sh.rustup.rs
242025-01-11T04:22:35.975Z+ /bin/bash -s - -y --no-modify-path --default-toolchain nightly-2024-11-18 --profile default
252025-01-11T04:22:36.082Zinfo: downloading installer
262025-01-11T04:22:37.272Zinfo: profile set to 'default'
272025-01-11T04:22:37.272Zinfo: default host triple is x86_64-unknown-illumos
282025-01-11T04:22:37.275Zinfo: syncing channel updates for 'nightly-2024-11-18-x86_64-unknown-illumos'
292025-01-11T04:22:37.422Zinfo: latest update on 2024-11-18, rust version 1.84.0-nightly (5ec7d6eee 2024-11-17)
302025-01-11T04:22:37.422Zinfo: downloading component 'cargo'
312025-01-11T04:22:38.175Zinfo: downloading component 'clippy'
322025-01-11T04:22:38.462Zinfo: downloading component 'rust-docs'
332025-01-11T04:22:39.489Zinfo: downloading component 'rust-std'
342025-01-11T04:22:41.335Zinfo: downloading component 'rustc'
352025-01-11T04:22:48.583Zinfo: downloading component 'rustfmt'
362025-01-11T04:22:49.047Zinfo: installing component 'cargo'
372025-01-11T04:22:49.873Zinfo: installing component 'clippy'
382025-01-11T04:22:50.260Zinfo: installing component 'rust-docs'
392025-01-11T04:22:51.950Zinfo: installing component 'rust-std'
402025-01-11T04:22:53.838Zinfo: installing component 'rustc'
412025-01-11T04:22:59.790Zinfo: installing component 'rustfmt'
422025-01-11T04:23:00.118Zinfo: default toolchain set to 'nightly-2024-11-18-x86_64-unknown-illumos'
432025-01-11T04:23:00.118Z
442025-01-11T04:23:00.506Z nightly-2024-11-18-x86_64-unknown-illumos installed - rustc 1.84.0-nightly (5ec7d6eee 2024-11-17)
452025-01-11T04:23:00.506Z
462025-01-11T04:23:00.509Z
472025-01-11T04:23:00.509ZRust is installed now. Great!
482025-01-11T04:23:00.509Z
492025-01-11T04:23:00.509ZTo get started you need Cargo's bin directory ($HOME/.cargo/bin) in your PATH
502025-01-11T04:23:00.509Zenvironment variable. This has not been done automatically.
512025-01-11T04:23:00.509Z
522025-01-11T04:23:00.509ZTo configure your current shell, you need to source
532025-01-11T04:23:00.509Zthe corresponding env file under $HOME/.cargo.
542025-01-11T04:23:00.509Z
552025-01-11T04:23:00.509ZThis is usually done by running one of the following (note the leading DOT):
562025-01-11T04:23:00.509Z. "$HOME/.cargo/env" # For sh/bash/zsh/ash/dash/pdksh
572025-01-11T04:23:00.509Zsource "$HOME/.cargo/env.fish" # For fish
582025-01-11T04:23:00.586Z+ rustc --version
592025-01-11T04:23:00.653Zrustc 1.84.0-nightly (5ec7d6eee 2024-11-17)
602025-01-11T04:23:00.656Zprocess exited: duration 24686 ms, exit code 0
 
612025-01-11T04:23:00.661Zstarting task 2: "authentication"
622025-01-11T04:23:00.683Zprocess exited: duration 21 ms, exit code 0
 
632025-01-11T04:23:00.688Zstarting task 3: "clone repository"
642025-01-11T04:23:00.693Z+ mkdir -p /work/oxidecomputer/opte
652025-01-11T04:23:00.695Z+ git clone https://github.com/oxidecomputer/opte /work/oxidecomputer/opte
662025-01-11T04:23:00.745ZCloning into '/work/oxidecomputer/opte'...
672025-01-11T04:23:01.745Z+ cd /work/oxidecomputer/opte
682025-01-11T04:23:01.745Z+ git fetch origin d97d263172d3d533140eacfcf90210a31b6fc253
692025-01-11T04:23:01.990ZFrom https://github.com/oxidecomputer/opte
702025-01-11T04:23:01.990Z * branch d97d263172d3d533140eacfcf90210a31b6fc253 -> FETCH_HEAD
712025-01-11T04:23:01.999Z+ [[ -n renovate/thiserror-2.x-lockfile ]]
722025-01-11T04:23:02.001Z++ git branch --show-current
732025-01-11T04:23:02.004Z+ current=master
742025-01-11T04:23:02.004Z+ [[ master != renovate/thiserror-2.x-lockfile ]]
752025-01-11T04:23:02.004Z+ git branch -f renovate/thiserror-2.x-lockfile d97d263172d3d533140eacfcf90210a31b6fc253
762025-01-11T04:23:02.008Z+ git checkout -f renovate/thiserror-2.x-lockfile
772025-01-11T04:23:02.028ZSwitched to branch 'renovate/thiserror-2.x-lockfile'
782025-01-11T04:23:02.030Z+ git reset --hard d97d263172d3d533140eacfcf90210a31b6fc253
792025-01-11T04:23:02.034ZHEAD is now at d97d263 Update Rust crate thiserror to v2.0.11
802025-01-11T04:23:02.036Zprocess exited: duration 1346 ms, exit code 0
 
812025-01-11T04:23:02.043Zstarting task 4: "build"
822025-01-11T04:23:02.049Z+ cargo --version
832025-01-11T04:23:02.053Zinfo: syncing channel updates for '1.83.0-x86_64-unknown-illumos'
842025-01-11T04:23:02.220Zinfo: latest update on 2024-11-28, rust version 1.83.0 (90b35a623 2024-11-26)
852025-01-11T04:23:02.220Zinfo: downloading component 'cargo'
862025-01-11T04:23:03.326Zinfo: downloading component 'clippy'
872025-01-11T04:23:03.867Zinfo: downloading component 'rust-docs'
882025-01-11T04:23:05.101Zinfo: downloading component 'rust-std'
892025-01-11T04:23:06.881Zinfo: downloading component 'rustc'
902025-01-11T04:23:13.801Zinfo: downloading component 'rustfmt'
912025-01-11T04:23:14.095Zinfo: installing component 'cargo'
922025-01-11T04:23:14.910Zinfo: installing component 'clippy'
932025-01-11T04:23:15.285Zinfo: installing component 'rust-docs'
942025-01-11T04:23:17.082Zinfo: installing component 'rust-std'
952025-01-11T04:23:18.734Zinfo: installing component 'rustc'
962025-01-11T04:23:24.556Zinfo: installing component 'rustfmt'
972025-01-11T04:23:24.971Zcargo 1.83.0 (5ffbef321 2024-10-29)
982025-01-11T04:23:24.978Z+ rustc --version
992025-01-11T04:23:25.045Zrustc 1.83.0 (90b35a623 2024-11-26)
1002025-01-11T04:23:25.049Z+ cd lib/opte
1012025-01-11T04:23:25.051Z+ header 'check style'
1022025-01-11T04:23:25.052Z+ echo '# ==== check style ==== #'
1032025-01-11T04:23:25.052Z# ==== check style ==== #
1042025-01-11T04:23:25.052Z+ ptime -m cargo +nightly-2024-11-18 fmt -- --check
1052025-01-11T04:23:25.414Z
1062025-01-11T04:23:25.414Zreal 0.359750886
1072025-01-11T04:23:25.414Zuser 0.254807596
1082025-01-11T04:23:25.414Zsys 0.096864416
1092025-01-11T04:23:25.415Ztrap 0.000011788
1102025-01-11T04:23:25.415Ztflt 0.000000000
1112025-01-11T04:23:25.415Zdflt 0.000000000
1122025-01-11T04:23:25.415Zkflt 0.000000000
1132025-01-11T04:23:25.415Zlock 0.000000000
1142025-01-11T04:23:25.415Zslp 0.274695164
1152025-01-11T04:23:25.415Zlat 0.000296358
1162025-01-11T04:23:25.415Zstop 0.000132391
1172025-01-11T04:23:25.417Z+ header 'check docs'
1182025-01-11T04:23:25.417Z+ echo '# ==== check docs ==== #'
1192025-01-11T04:23:25.418Z# ==== check docs ==== #
1202025-01-11T04:23:25.418Z+ RUSTDOCFLAGS='-D warnings'
1212025-01-11T04:23:25.418Z+ ptime -m cargo +nightly-2024-11-18 doc --no-default-features --features=api,std,engine,kernel
1222025-01-11T04:23:25.523Z Updating crates.io index
1232025-01-11T04:23:25.525Z Updating git repository `https://github.com/oxidecomputer/falcon`
1242025-01-11T04:23:26.394Z Updating git repository `https://github.com/oxidecomputer/ingot.git`
1252025-01-11T04:23:26.630Z Updating git repository `https://github.com/oxidecomputer/poptrie`
1262025-01-11T04:23:26.893Z Updating git repository `https://github.com/oxidecomputer/netadm-sys`
1272025-01-11T04:23:27.180Z Updating git repository `https://github.com/oxidecomputer/zone`
1282025-01-11T04:23:27.475Z Updating git repository `https://github.com/oxidecomputer/oxnet`
1292025-01-11T04:23:27.690Z Updating git repository `https://github.com/oxidecomputer/dlpi-sys`
1302025-01-11T04:23:27.978Z Updating git repository `https://github.com/jmesmon/rust-libzfs`
1312025-01-11T04:23:28.253Z Updating git repository `https://github.com/oxidecomputer/rusty-doors`
1322025-01-11T04:23:29.045Z Downloading crates ...
1332025-01-11T04:23:29.357Z Downloaded macaddr v1.0.1
1342025-01-11T04:23:29.370Z Downloaded scroll_derive v0.12.0
1352025-01-11T04:23:29.373Z Downloaded byteorder v1.5.0
1362025-01-11T04:23:29.375Z Downloaded proc-macro-error2 v2.0.1
1372025-01-11T04:23:29.380Z Downloaded log v0.4.22
1382025-01-11T04:23:29.399Z Downloaded ident_case v1.0.1
1392025-01-11T04:23:29.401Z Downloaded darling_macro v0.20.10
1402025-01-11T04:23:29.407Z Downloaded managed v0.8.0
1412025-01-11T04:23:29.410Z Downloaded itoa v1.0.14
1422025-01-11T04:23:29.413Z Downloaded memmap v0.7.0
1432025-01-11T04:23:29.415Z Downloaded bitflags v1.3.2
1442025-01-11T04:23:29.420Z Downloaded pest_generator v2.7.15
1452025-01-11T04:23:29.425Z Downloaded thiserror-impl v1.0.69
1462025-01-11T04:23:29.429Z Downloaded once_cell v1.20.2
1472025-01-11T04:23:29.433Z Downloaded block-buffer v0.10.4
1482025-01-11T04:23:29.437Z Downloaded version_check v0.9.5
1492025-01-11T04:23:29.441Z Downloaded hash32 v0.3.1
1502025-01-11T04:23:29.443Z Downloaded digest v0.10.7
1512025-01-11T04:23:29.443Z Downloaded stable_deref_trait v1.2.0
1522025-01-11T04:23:29.445Z Downloaded either v1.13.0
1532025-01-11T04:23:29.446Z Downloaded crypto-common v0.1.6
1542025-01-11T04:23:29.448Z Downloaded thiserror v1.0.69
1552025-01-11T04:23:29.453Z Downloaded usdt-attr-macro v0.5.0
1562025-01-11T04:23:29.455Z Downloaded strsim v0.11.1
1572025-01-11T04:23:29.455Z Downloaded ipnetwork v0.20.0
1582025-01-11T04:23:29.455Z Downloaded dyn-clone v1.0.17
1592025-01-11T04:23:29.458Z Downloaded scroll v0.12.0
1602025-01-11T04:23:29.458Z Downloaded proc-macro-error-attr2 v2.0.0
1612025-01-11T04:23:29.458Z Downloaded cpufeatures v0.2.16
1622025-01-11T04:23:29.463Z Downloaded generic-array v0.14.7
1632025-01-11T04:23:29.465Z Downloaded quote v1.0.38
1642025-01-11T04:23:29.468Z Downloaded pretty-hex v0.4.1
1652025-01-11T04:23:29.471Z Downloaded dtrace-parser v0.2.0
1662025-01-11T04:23:29.473Z Downloaded usdt-macro v0.5.0
1672025-01-11T04:23:29.476Z Downloaded sha2 v0.10.8
1682025-01-11T04:23:29.478Z Downloaded fnv v1.0.7
1692025-01-11T04:23:29.481Z Downloaded crc32fast v1.4.2
1702025-01-11T04:23:29.484Z Downloaded thiserror v2.0.11
1712025-01-11T04:23:29.488Z Downloaded thiserror-impl v2.0.11
1722025-01-11T04:23:29.491Z Downloaded zerocopy-derive v0.7.35
1732025-01-11T04:23:29.493Z Downloaded plain v0.2.3
1742025-01-11T04:23:29.496Z Downloaded proc-macro2 v1.0.92
1752025-01-11T04:23:29.498Z Downloaded defmt-macros v0.4.0
1762025-01-11T04:23:29.500Z Downloaded usdt v0.5.0
1772025-01-11T04:23:29.501Z Downloaded thread-id v4.2.2
1782025-01-11T04:23:29.503Z Downloaded tabwriter v1.4.1
1792025-01-11T04:23:29.503Z Downloaded pest_meta v2.7.15
1802025-01-11T04:23:29.506Z Downloaded serde_derive v1.0.217
1812025-01-11T04:23:29.509Z Downloaded ryu v1.0.18
1822025-01-11T04:23:29.509Z Downloaded unicode-ident v1.0.14
1832025-01-11T04:23:29.511Z Downloaded usdt-impl v0.5.0
1842025-01-11T04:23:29.514Z Downloaded cfg-if v1.0.0
1852025-01-11T04:23:29.514Z Downloaded postcard v1.1.1
1862025-01-11T04:23:29.516Z Downloaded embedded-io v0.4.0
1872025-01-11T04:23:29.518Z Downloaded ucd-trie v0.1.7
1882025-01-11T04:23:29.518Z Downloaded typenum v1.17.0
1892025-01-11T04:23:29.521Z Downloaded bitflags v2.6.0
1902025-01-11T04:23:29.524Z Downloaded serde_tokenstream v0.2.2
1912025-01-11T04:23:29.526Z Downloaded dof v0.3.0
1922025-01-11T04:23:29.526Z Downloaded defmt-parser v0.4.1
1932025-01-11T04:23:29.529Z Downloaded cobs v0.2.3
1942025-01-11T04:23:29.529Z Downloaded darling v0.20.10
1952025-01-11T04:23:29.531Z Downloaded embedded-io v0.6.1
1962025-01-11T04:23:29.537Z Downloaded defmt v0.3.10
1972025-01-11T04:23:29.551Z Downloaded pest_derive v2.7.15
1982025-01-11T04:23:29.555Z Downloaded darling_core v0.20.10
1992025-01-11T04:23:29.559Z Downloaded serde v1.0.217
2002025-01-11T04:23:29.564Z Downloaded memchr v2.7.4
2012025-01-11T04:23:29.586Z Downloaded zerocopy-derive v0.8.14
2022025-01-11T04:23:29.594Z Downloaded heapless v0.8.0
2032025-01-11T04:23:29.603Z Downloaded pest v2.7.15
2042025-01-11T04:23:29.633Z Downloaded itertools v0.13.0
2052025-01-11T04:23:29.648Z Downloaded zerocopy v0.7.35
2062025-01-11T04:23:29.661Z Downloaded serde_json v1.0.134
2072025-01-11T04:23:29.668Z Downloaded aho-corasick v1.1.3
2082025-01-11T04:23:29.673Z Downloaded goblin v0.8.2
2092025-01-11T04:23:29.687Z Downloaded regex v1.11.1
2102025-01-11T04:23:29.699Z Downloaded unicode-width v0.2.0
2112025-01-11T04:23:29.705Z Downloaded zerocopy v0.8.14
2122025-01-11T04:23:29.726Z Downloaded syn v2.0.95
2132025-01-11T04:23:29.736Z Downloaded smoltcp v0.11.0
2142025-01-11T04:23:29.756Z Downloaded regex-syntax v0.8.5
2152025-01-11T04:23:29.792Z Downloaded regex-automata v0.4.9
2162025-01-11T04:23:29.808Z Downloaded libc v0.2.169
2172025-01-11T04:23:29.965Z Compiling proc-macro2 v1.0.92
2182025-01-11T04:23:29.967Z Compiling unicode-ident v1.0.14
2192025-01-11T04:23:29.967Z Documenting unicode-ident v1.0.14
2202025-01-11T04:23:29.967Z Compiling ident_case v1.0.1
2212025-01-11T04:23:29.967Z Compiling strsim v0.11.1
2222025-01-11T04:23:29.979Z Compiling fnv v1.0.7
2232025-01-11T04:23:30.136Z Compiling memchr v2.7.4
2242025-01-11T04:23:30.177Z Compiling zerocopy v0.8.14
2252025-01-11T04:23:30.255Z Compiling regex-syntax v0.8.5
2262025-01-11T04:23:30.395Z Compiling serde v1.0.217
2272025-01-11T04:23:30.628Z Compiling either v1.13.0
2282025-01-11T04:23:30.675Z Documenting fnv v1.0.7
2292025-01-11T04:23:30.959Z Documenting proc-macro2 v1.0.92
2302025-01-11T04:23:31.049Z Compiling aho-corasick v1.1.3
2312025-01-11T04:23:31.587Z Compiling quote v1.0.38
2322025-01-11T04:23:31.650Z Checking byteorder v1.5.0
2332025-01-11T04:23:31.919Z Checking syn v2.0.95
2342025-01-11T04:23:31.929Z Documenting ident_case v1.0.1
2352025-01-11T04:23:32.149Z Documenting quote v1.0.38
2362025-01-11T04:23:32.724Z Documenting strsim v0.11.1
2372025-01-11T04:23:32.741Z Compiling itertools v0.13.0
2382025-01-11T04:23:33.156Z Documenting syn v2.0.95
2392025-01-11T04:23:33.605Z Compiling heapless v0.8.0
2402025-01-11T04:23:34.142Z Compiling regex-automata v0.4.9
2412025-01-11T04:23:35.051Z Documenting memchr v2.7.4
2422025-01-11T04:23:35.795Z Checking hash32 v0.3.1
2432025-01-11T04:23:35.890Z Checking cfg-if v1.0.0
2442025-01-11T04:23:35.973Z Checking macaddr v1.0.1
2452025-01-11T04:23:35.981Z Documenting regex-syntax v0.8.5
2462025-01-11T04:23:36.214Z Checking stable_deref_trait v1.2.0
2472025-01-11T04:23:36.304Z Compiling smoltcp v0.11.0
2482025-01-11T04:23:36.396Z Documenting aho-corasick v1.1.3
2492025-01-11T04:23:37.073Z Checking darling_core v0.20.10
2502025-01-11T04:23:38.278Z Compiling regex v1.11.1
2512025-01-11T04:23:38.520Z Documenting darling_core v0.20.10
2522025-01-11T04:23:38.691Z Documenting regex-automata v0.4.9
2532025-01-11T04:23:39.202Z Documenting zerocopy-derive v0.8.14
2542025-01-11T04:23:39.603Z Documenting serde_derive v1.0.217
2552025-01-11T04:23:40.481Z Checking bitflags v2.6.0
2562025-01-11T04:23:40.498Z Checking managed v0.8.0
2572025-01-11T04:23:40.716Z Documenting byteorder v1.5.0
2582025-01-11T04:23:40.772Z Documenting darling_macro v0.20.10
2592025-01-11T04:23:40.876Z Checking bitflags v1.3.2
2602025-01-11T04:23:40.967Z Checking cobs v0.2.3
2612025-01-11T04:23:41.017Z Documenting stable_deref_trait v1.2.0
2622025-01-11T04:23:41.150Z Documenting macaddr v1.0.1
2632025-01-11T04:23:41.362Z Documenting regex v1.11.1
2642025-01-11T04:23:41.493Z Documenting hash32 v0.3.1
2652025-01-11T04:23:41.678Z Documenting cfg-if v1.0.0
2662025-01-11T04:23:41.786Z Compiling version_check v0.9.5
2672025-01-11T04:23:41.834Z Checking unicode-width v0.2.0
2682025-01-11T04:23:42.155Z Documenting heapless v0.8.0
2692025-01-11T04:23:42.304Z Documenting managed v0.8.0
2702025-01-11T04:23:42.407Z Documenting bitflags v2.6.0
2712025-01-11T04:23:42.507Z Compiling serde_derive v1.0.217
2722025-01-11T04:23:42.598Z Compiling zerocopy-derive v0.8.14
2732025-01-11T04:23:42.778Z Checking ipnetwork v0.20.0
2742025-01-11T04:23:43.074Z Documenting cobs v0.2.3
2752025-01-11T04:23:43.128Z Checking illumos-sys-hdrs v0.1.0 (/work/oxidecomputer/opte/crates/illumos-sys-hdrs)
2762025-01-11T04:23:43.210Z Compiling opte v0.1.0 (/work/oxidecomputer/opte/lib/opte)
2772025-01-11T04:23:43.265Z Documenting smoltcp v0.11.0
2782025-01-11T04:23:43.317Z Documenting ipnetwork v0.20.0
2792025-01-11T04:23:43.538Z Compiling darling_macro v0.20.10
2802025-01-11T04:23:43.584Z Documenting illumos-sys-hdrs v0.1.0 (/work/oxidecomputer/opte/crates/illumos-sys-hdrs)
2812025-01-11T04:23:43.745Z Documenting either v1.13.0
2822025-01-11T04:23:44.287Z Documenting unicode-width v0.2.0
2832025-01-11T04:23:44.459Z Documenting itertools v0.13.0
2842025-01-11T04:23:44.552Z Compiling kstat-macro v0.1.0 (/work/oxidecomputer/opte/crates/kstat-macro)
2852025-01-11T04:23:44.567Z Compiling darling v0.20.10
2862025-01-11T04:23:44.667Z Compiling ingot-macros v0.1.0 (https://github.com/oxidecomputer/ingot.git?rev=bff93247fe75ff889121e39d494cc3805fc01906#bff93247)
2872025-01-11T04:23:45.268Z Documenting darling v0.20.10
2882025-01-11T04:23:45.308Z Documenting tabwriter v1.4.1
2892025-01-11T04:23:45.564Z Documenting zerocopy v0.8.14
2902025-01-11T04:23:46.225Z Compiling derror-macro v0.1.0 (/work/oxidecomputer/opte/crates/derror-macro)
2912025-01-11T04:23:46.280Z Checking tabwriter v1.4.1
2922025-01-11T04:23:46.458Z Documenting crc32fast v1.4.2
2932025-01-11T04:23:46.497Z Documenting kstat-macro v0.1.0 (/work/oxidecomputer/opte/crates/kstat-macro)
2942025-01-11T04:23:46.567Z Documenting ingot-macros v0.1.0 (https://github.com/oxidecomputer/ingot.git?rev=bff93247fe75ff889121e39d494cc3805fc01906#bff93247)
2952025-01-11T04:23:47.220Z Documenting derror-macro v0.1.0 (/work/oxidecomputer/opte/crates/derror-macro)
2962025-01-11T04:23:47.511Z Checking crc32fast v1.4.2
2972025-01-11T04:23:47.540Z Checking dyn-clone v1.0.17
2982025-01-11T04:23:47.664Z Documenting dyn-clone v1.0.17
2992025-01-11T04:23:49.028Z Documenting serde v1.0.217
3002025-01-11T04:23:49.400Z Checking ingot-types v0.1.0 (https://github.com/oxidecomputer/ingot.git?rev=bff93247fe75ff889121e39d494cc3805fc01906#bff93247)
3012025-01-11T04:23:49.400Z Documenting ingot-types v0.1.0 (https://github.com/oxidecomputer/ingot.git?rev=bff93247fe75ff889121e39d494cc3805fc01906#bff93247)
3022025-01-11T04:23:51.757Z Checking ingot v0.1.0 (https://github.com/oxidecomputer/ingot.git?rev=bff93247fe75ff889121e39d494cc3805fc01906#bff93247)
3032025-01-11T04:23:51.757Z Checking postcard v1.1.1
3042025-01-11T04:23:51.757Z Documenting ingot v0.1.0 (https://github.com/oxidecomputer/ingot.git?rev=bff93247fe75ff889121e39d494cc3805fc01906#bff93247)
3052025-01-11T04:23:51.760Z Documenting postcard v1.1.1
3062025-01-11T04:23:53.003Z Documenting opte-api v0.1.0 (/work/oxidecomputer/opte/crates/opte-api)
3072025-01-11T04:23:53.003Z Checking opte-api v0.1.0 (/work/oxidecomputer/opte/crates/opte-api)
3082025-01-11T04:23:53.906Z Documenting opte v0.1.0 (/work/oxidecomputer/opte/lib/opte)
3092025-01-11T04:23:56.254Z Finished `dev` profile [unoptimized + debuginfo] target(s) in 30.82s
3102025-01-11T04:23:56.368Z Generated /work/oxidecomputer/opte/target/doc/opte/index.html
3112025-01-11T04:23:56.392Z
3122025-01-11T04:23:56.394Zreal 30.949060784
3132025-01-11T04:23:56.394Zuser 2:20.396208428
3142025-01-11T04:23:56.394Zsys 19.119702550
3152025-01-11T04:23:56.394Ztrap 0.109978913
3162025-01-11T04:23:56.395Ztflt 0.203995736
3172025-01-11T04:23:56.395Zdflt 0.085152588
3182025-01-11T04:23:56.395Zkflt 0.001874262
3192025-01-11T04:23:56.395Zlock 3:06.251557473
3202025-01-11T04:23:56.395Zslp 7:35.668962346
3212025-01-11T04:23:56.395Zlat 17.698337178
3222025-01-11T04:23:56.395Zstop 12.150836193
3232025-01-11T04:23:56.395Z+ header 'analyze std + api'
3242025-01-11T04:23:56.395Z+ echo '# ==== analyze std + api ==== #'
3252025-01-11T04:23:56.395Z# ==== analyze std + api ==== #
3262025-01-11T04:23:56.395Z+ ptime -m cargo clippy --all-targets
3272025-01-11T04:23:56.797Z Compiling proc-macro2 v1.0.92
3282025-01-11T04:23:56.797Z Compiling unicode-ident v1.0.14
3292025-01-11T04:23:56.800Z Compiling memchr v2.7.4
3302025-01-11T04:23:56.800Z Compiling thiserror v2.0.11
3312025-01-11T04:23:56.800Z Compiling thiserror v1.0.69
3322025-01-11T04:23:56.800Z Compiling libc v0.2.169
3332025-01-11T04:23:56.800Z Compiling ucd-trie v0.1.7
3342025-01-11T04:23:56.800Z Compiling version_check v0.9.5
3352025-01-11T04:23:57.026Z Compiling serde_json v1.0.134
3362025-01-11T04:23:57.254Z Compiling once_cell v1.20.2
3372025-01-11T04:23:57.386Z Compiling serde v1.0.217
3382025-01-11T04:23:57.525Z Compiling strsim v0.11.1
3392025-01-11T04:23:57.572Z Compiling ident_case v1.0.1
3402025-01-11T04:23:57.713Z Compiling fnv v1.0.7
3412025-01-11T04:23:57.719Z Checking byteorder v1.5.0
3422025-01-11T04:23:57.745Z Compiling aho-corasick v1.1.3
3432025-01-11T04:23:57.929Z Compiling ryu v1.0.18
3442025-01-11T04:23:57.966Z Compiling itoa v1.0.14
3452025-01-11T04:23:58.078Z Compiling regex-syntax v0.8.5
3462025-01-11T04:23:58.172Z Compiling usdt-impl v0.5.0
3472025-01-11T04:23:58.224Z Compiling zerocopy v0.8.14
3482025-01-11T04:23:58.518Z Compiling quote v1.0.38
3492025-01-11T04:23:58.596Z Compiling either v1.13.0
3502025-01-11T04:23:58.695Z Compiling thread-id v4.2.2
3512025-01-11T04:23:58.923Z Compiling syn v2.0.95
3522025-01-11T04:23:58.942Z Compiling itertools v0.13.0
3532025-01-11T04:23:59.003Z Compiling heapless v0.8.0
3542025-01-11T04:23:59.475Z Checking log v0.4.22
3552025-01-11T04:23:59.477Z Checking plain v0.2.3
3562025-01-11T04:23:59.595Z Checking hash32 v0.3.1
3572025-01-11T04:23:59.746Z Checking macaddr v1.0.1
3582025-01-11T04:23:59.778Z Checking pretty-hex v0.4.1
3592025-01-11T04:23:59.803Z Compiling smoltcp v0.11.0
3602025-01-11T04:23:59.938Z Checking stable_deref_trait v1.2.0
3612025-01-11T04:23:59.974Z Checking cfg-if v1.0.0
3622025-01-11T04:24:00.311Z Checking cobs v0.2.3
3632025-01-11T04:24:00.403Z Checking bitflags v1.3.2
3642025-01-11T04:24:00.479Z Checking managed v0.8.0
3652025-01-11T04:24:00.484Z Checking bitflags v2.6.0
3662025-01-11T04:24:00.701Z Checking memmap v0.7.0
3672025-01-11T04:24:00.790Z Compiling opte v0.1.0 (/work/oxidecomputer/opte/lib/opte)
3682025-01-11T04:24:00.909Z Checking illumos-sys-hdrs v0.1.0 (/work/oxidecomputer/opte/crates/illumos-sys-hdrs)
3692025-01-11T04:24:01.109Z Checking ipnetwork v0.20.0
3702025-01-11T04:24:01.215Z Checking unicode-width v0.2.0
3712025-01-11T04:24:01.608Z Compiling regex-automata v0.4.9
3722025-01-11T04:24:01.670Z Checking tabwriter v1.4.1
3732025-01-11T04:24:01.768Z Checking crc32fast v1.4.2
3742025-01-11T04:24:01.878Z Checking dyn-clone v1.0.17
3752025-01-11T04:24:03.982Z Compiling darling_core v0.20.10
3762025-01-11T04:24:04.433Z Compiling regex v1.11.1
3772025-01-11T04:24:05.157Z Compiling serde_derive v1.0.217
3782025-01-11T04:24:05.157Z Compiling thiserror-impl v2.0.11
3792025-01-11T04:24:05.271Z Compiling thiserror-impl v1.0.69
3802025-01-11T04:24:05.285Z Compiling zerocopy-derive v0.7.35
3812025-01-11T04:24:05.303Z Compiling scroll_derive v0.12.0
3822025-01-11T04:24:05.557Z Compiling zerocopy-derive v0.8.14
3832025-01-11T04:24:05.990Z Compiling kstat-macro v0.1.0 (/work/oxidecomputer/opte/crates/kstat-macro)
3842025-01-11T04:24:06.745Z Checking scroll v0.12.0
3852025-01-11T04:24:07.189Z Compiling zerocopy v0.7.35
3862025-01-11T04:24:07.196Z Checking goblin v0.8.2
3872025-01-11T04:24:08.065Z Compiling pest v2.7.15
3882025-01-11T04:24:08.863Z Compiling darling_macro v0.20.10
3892025-01-11T04:24:09.766Z Compiling darling v0.20.10
3902025-01-11T04:24:09.864Z Compiling ingot-macros v0.1.0 (https://github.com/oxidecomputer/ingot.git?rev=bff93247fe75ff889121e39d494cc3805fc01906#bff93247)
3912025-01-11T04:24:09.864Z Compiling derror-macro v0.1.0 (/work/oxidecomputer/opte/crates/derror-macro)
3922025-01-11T04:24:10.494Z Compiling pest_meta v2.7.15
3932025-01-11T04:24:11.560Z Compiling pest_generator v2.7.15
3942025-01-11T04:24:12.743Z Compiling pest_derive v2.7.15
3952025-01-11T04:24:13.405Z Compiling dtrace-parser v0.2.0
3962025-01-11T04:24:13.798Z Checking postcard v1.1.1
3972025-01-11T04:24:13.883Z Checking ingot-types v0.1.0 (https://github.com/oxidecomputer/ingot.git?rev=bff93247fe75ff889121e39d494cc3805fc01906#bff93247)
3982025-01-11T04:24:14.349Z Checking ingot v0.1.0 (https://github.com/oxidecomputer/ingot.git?rev=bff93247fe75ff889121e39d494cc3805fc01906#bff93247)
3992025-01-11T04:24:14.382Z Compiling serde_tokenstream v0.2.2
4002025-01-11T04:24:14.840Z Checking dof v0.3.0
4012025-01-11T04:24:15.662Z Checking opte-api v0.1.0 (/work/oxidecomputer/opte/crates/opte-api)
4022025-01-11T04:24:16.330Z Compiling usdt-attr-macro v0.5.0
4032025-01-11T04:24:16.330Z Compiling usdt-macro v0.5.0
4042025-01-11T04:24:17.165Z Checking usdt v0.5.0
4052025-01-11T04:24:28.593Zwarning: the borrowed expression implements the required traits
4062025-01-11T04:24:28.593Z --> lib/opte/src/ddi/mblk.rs:1138:33
4072025-01-11T04:24:28.593Z |
4082025-01-11T04:24:28.593Z1138 | let pkt2 = MsgBlk::copy(&[]);
4092025-01-11T04:24:28.593Z | ^^^ help: change this to: `[]`
4102025-01-11T04:24:28.594Z |
4112025-01-11T04:24:28.594Z = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrows_for_generic_args
4122025-01-11T04:24:28.594Z = note: `#[warn(clippy::needless_borrows_for_generic_args)]` on by default
4132025-01-11T04:24:28.594Z
4142025-01-11T04:24:28.606Zwarning: the borrowed expression implements the required traits
4152025-01-11T04:24:28.606Z --> lib/opte/src/ddi/mblk.rs:1195:35
4162025-01-11T04:24:28.606Z |
4172025-01-11T04:24:28.606Z1195 | let mut p1 = MsgBlk::copy(&[0, 1, 2, 3]);
4182025-01-11T04:24:28.606Z | ^^^^^^^^^^^^^ help: change this to: `[0, 1, 2, 3]`
4192025-01-11T04:24:28.606Z |
4202025-01-11T04:24:28.606Z = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrows_for_generic_args
4212025-01-11T04:24:28.607Z
4222025-01-11T04:24:28.609Zwarning: the borrowed expression implements the required traits
4232025-01-11T04:24:28.609Z --> lib/opte/src/ddi/mblk.rs:1196:32
4242025-01-11T04:24:28.609Z |
4252025-01-11T04:24:28.609Z1196 | p1.append(MsgBlk::copy(&[4, 5, 6, 7]));
4262025-01-11T04:24:28.609Z | ^^^^^^^^^^^^^ help: change this to: `[4, 5, 6, 7]`
4272025-01-11T04:24:28.609Z |
4282025-01-11T04:24:28.609Z = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrows_for_generic_args
4292025-01-11T04:24:28.609Z
4302025-01-11T04:24:28.609Zwarning: the borrowed expression implements the required traits
4312025-01-11T04:24:28.609Z --> lib/opte/src/ddi/mblk.rs:1197:32
4322025-01-11T04:24:28.609Z |
4332025-01-11T04:24:28.609Z1197 | p1.append(MsgBlk::copy(&[8, 9, 10, 11]));
4342025-01-11T04:24:28.609Z | ^^^^^^^^^^^^^^^ help: change this to: `[8, 9, 10, 11]`
4352025-01-11T04:24:28.609Z |
4362025-01-11T04:24:28.609Z = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrows_for_generic_args
4372025-01-11T04:24:28.609Z
4382025-01-11T04:24:28.636Zwarning: the loop variable `i` is only used to index `els`
4392025-01-11T04:24:28.636Z --> lib/opte/src/ddi/mblk.rs:1361:18
4402025-01-11T04:24:28.636Z |
4412025-01-11T04:24:28.636Z1361 | for i in 0..els.len() {
4422025-01-11T04:24:28.636Z | ^^^^^^^^^^^^
4432025-01-11T04:24:28.636Z |
4442025-01-11T04:24:28.637Z = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_range_loop
4452025-01-11T04:24:28.637Z = note: `#[warn(clippy::needless_range_loop)]` on by default
4462025-01-11T04:24:28.637Zhelp: consider using an iterator
4472025-01-11T04:24:28.637Z |
4482025-01-11T04:24:28.637Z1361 | for <item> in &els {
4492025-01-11T04:24:28.637Z | ~~~~~~ ~~~~
4502025-01-11T04:24:28.637Z
4512025-01-11T04:24:29.811Zwarning: casting to the same type is unnecessary (`usize` -> `usize`)
4522025-01-11T04:24:29.811Z --> lib/opte/src/engine/ip/v6.rs:461:13
4532025-01-11T04:24:29.811Z |
4542025-01-11T04:24:29.811Z461 | header.packet_length() as usize,
4552025-01-11T04:24:29.811Z | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try: `{ header.packet_length() }`
4562025-01-11T04:24:29.811Z |
4572025-01-11T04:24:29.811Z = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unnecessary_cast
4582025-01-11T04:24:29.811Z = note: `#[warn(clippy::unnecessary_cast)]` on by default
4592025-01-11T04:24:29.811Z
4602025-01-11T04:24:29.826Zwarning: redundant slicing of the whole range
4612025-01-11T04:24:29.826Z --> lib/opte/src/engine/ip/v6.rs:590:34
4622025-01-11T04:24:29.826Z |
4632025-01-11T04:24:29.826Z590 | assert!(ValidIpv6::parse(&buf[..]).is_err());
4642025-01-11T04:24:29.826Z | ^^^^^^^^ help: use the original value instead: `buf`
4652025-01-11T04:24:29.826Z |
4662025-01-11T04:24:29.826Z = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_slicing
4672025-01-11T04:24:29.826Z = note: `#[warn(clippy::redundant_slicing)]` on by default
4682025-01-11T04:24:29.826Z
4692025-01-11T04:24:29.829Zwarning: redundant slicing of the whole range
4702025-01-11T04:24:29.829Z --> lib/opte/src/engine/ip/v6.rs:593:53
4712025-01-11T04:24:29.829Z |
4722025-01-11T04:24:29.829Z593 | let (v6, _rem) = Accessor::read_from_prefix(&buf[..]).unwrap();
4732025-01-11T04:24:29.829Z | ^^^^^^^^ help: use the original value instead: `buf`
4742025-01-11T04:24:29.829Z |
4752025-01-11T04:24:29.829Z = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_slicing
4762025-01-11T04:24:29.829Z
4772025-01-11T04:24:29.992Zwarning: this expression creates a reference which is immediately dereferenced by the compiler
4782025-01-11T04:24:29.992Z --> lib/opte/src/engine/layer.rs:1880:46
4792025-01-11T04:24:29.992Z |
4802025-01-11T04:24:29.992Z1880 | assert!(rule_table.find_match(&ifid, &pmeta.meta(), &ameta).is_some());
4812025-01-11T04:24:29.992Z | ^^^^^^^^^^^^^ help: change this to: `pmeta.meta()`
4822025-01-11T04:24:29.992Z |
4832025-01-11T04:24:29.992Z = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrow
4842025-01-11T04:24:29.992Z = note: `#[warn(clippy::needless_borrow)]` on by default
4852025-01-11T04:24:29.992Z
4862025-01-11T04:24:30.850Zwarning: this expression creates a reference which is immediately dereferenced by the compiler
4872025-01-11T04:24:30.850Z --> lib/opte/src/engine/rule.rs:1162:25
4882025-01-11T04:24:30.850Z |
4892025-01-11T04:24:30.850Z1162 | assert!(r1.is_match(&meta, &ameta));
4902025-01-11T04:24:30.850Z | ^^^^^ help: change this to: `meta`
4912025-01-11T04:24:30.850Z |
4922025-01-11T04:24:30.850Z = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrow
4932025-01-11T04:24:30.851Z
4942025-01-11T04:24:30.854Zwarning: this expression creates a reference which is immediately dereferenced by the compiler
4952025-01-11T04:24:30.854Z --> lib/opte/src/engine/rule.rs:1171:26
4962025-01-11T04:24:30.854Z |
4972025-01-11T04:24:30.854Z1171 | assert!(!r1.is_match(&meta, &ameta));
4982025-01-11T04:24:30.854Z | ^^^^^ help: change this to: `meta`
4992025-01-11T04:24:30.854Z |
5002025-01-11T04:24:30.854Z = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrow
5012025-01-11T04:24:30.854Z
5022025-01-11T04:24:31.015Zwarning: useless use of `vec!`
5032025-01-11T04:24:31.015Z --> lib/opte/src/engine/geneve.rs:401:19
5042025-01-11T04:24:31.015Z |
5052025-01-11T04:24:31.015Z401 | let buf = vec![
5062025-01-11T04:24:31.015Z | ___________________^
5072025-01-11T04:24:31.015Z402 | | // source
5082025-01-11T04:24:31.015Z403 | | 0x1E, 0x61,
5092025-01-11T04:24:31.015Z404 | | // dest
5102025-01-11T04:24:31.015Z... |
5112025-01-11T04:24:31.016Z424 | | 0x00,
5122025-01-11T04:24:31.016Z425 | | ];
5132025-01-11T04:24:31.016Z | |_________^
5142025-01-11T04:24:31.016Z |
5152025-01-11T04:24:31.016Z = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#useless_vec
5162025-01-11T04:24:31.016Z = note: `#[warn(clippy::useless_vec)]` on by default
5172025-01-11T04:24:31.016Zhelp: you can use an array directly
5182025-01-11T04:24:31.016Z |
5192025-01-11T04:24:31.017Z401 ~ let buf = [0x1E, 0x61,
5202025-01-11T04:24:31.017Z402 + // dest
5212025-01-11T04:24:31.017Z403 + 0x17, 0xC1,
5222025-01-11T04:24:31.017Z404 + // length
5232025-01-11T04:24:31.017Z405 + 0x00, 0x14,
5242025-01-11T04:24:31.017Z406 + // csum
5252025-01-11T04:24:31.017Z407 + 0x00, 0x00,
5262025-01-11T04:24:31.017Z408 + // ver + opt len
5272025-01-11T04:24:31.017Z409 + 0x01,
5282025-01-11T04:24:31.017Z410 + // flags
5292025-01-11T04:24:31.017Z411 + 0x00,
5302025-01-11T04:24:31.017Z412 + // proto
5312025-01-11T04:24:31.017Z413 + 0x65, 0x58,
5322025-01-11T04:24:31.017Z414 + // vni + reserved
5332025-01-11T04:24:31.017Z415 + 0x00, 0x04, 0xD2, 0x00,
5342025-01-11T04:24:31.017Z416 +
5352025-01-11T04:24:31.017Z417 + // option class
5362025-01-11T04:24:31.017Z418 + 0x01, 0x29,
5372025-01-11T04:24:31.021Z419 + // crt + type
5382025-01-11T04:24:31.021Z420 + 0x00,
5392025-01-11T04:24:31.021Z421 + // rsvd + len
5402025-01-11T04:24:31.021Z422 ~ 0x00];
5412025-01-11T04:24:31.021Z |
5422025-01-11T04:24:31.021Z
5432025-01-11T04:24:31.021Zwarning: useless use of `vec!`
5442025-01-11T04:24:31.022Z --> lib/opte/src/engine/geneve.rs:441:19
5452025-01-11T04:24:31.022Z |
5462025-01-11T04:24:31.022Z441 | let buf = vec![
5472025-01-11T04:24:31.022Z | ___________________^
5482025-01-11T04:24:31.022Z442 | | // source
5492025-01-11T04:24:31.022Z443 | | 0x1E, 0x61,
5502025-01-11T04:24:31.022Z444 | | // dest
5512025-01-11T04:24:31.022Z... |
5522025-01-11T04:24:31.022Z464 | | 0x00,
5532025-01-11T04:24:31.022Z465 | | ];
5542025-01-11T04:24:31.022Z | |_________^
5552025-01-11T04:24:31.022Z |
5562025-01-11T04:24:31.022Z = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#useless_vec
5572025-01-11T04:24:31.022Zhelp: you can use an array directly
5582025-01-11T04:24:31.022Z |
5592025-01-11T04:24:31.022Z441 ~ let buf = [0x1E, 0x61,
5602025-01-11T04:24:31.022Z442 + // dest
5612025-01-11T04:24:31.022Z443 + 0x17, 0xC1,
5622025-01-11T04:24:31.022Z444 + // length
5632025-01-11T04:24:31.022Z445 + 0x00, 0x14,
5642025-01-11T04:24:31.022Z446 + // csum
5652025-01-11T04:24:31.022Z447 + 0x00, 0x00,
5662025-01-11T04:24:31.022Z448 + // ver + opt len
5672025-01-11T04:24:31.022Z449 + 0x01,
5682025-01-11T04:24:31.022Z450 + // flags
5692025-01-11T04:24:31.022Z451 + 0b0100_0000,
5702025-01-11T04:24:31.022Z452 + // proto
5712025-01-11T04:24:31.022Z453 + 0x65, 0x58,
5722025-01-11T04:24:31.022Z454 + // vni + reserved
5732025-01-11T04:24:31.022Z455 + 0x00, 0x04, 0xD2, 0x00,
5742025-01-11T04:24:31.022Z456 +
5752025-01-11T04:24:31.022Z457 + // experimenter option class
5762025-01-11T04:24:31.022Z458 + 0xff, 0xff,
5772025-01-11T04:24:31.022Z459 + // crt + type
5782025-01-11T04:24:31.022Z460 + 0x80,
5792025-01-11T04:24:31.022Z461 + // rsvd + len
5802025-01-11T04:24:31.022Z462 ~ 0x00];
5812025-01-11T04:24:31.022Z |
5822025-01-11T04:24:31.022Z
5832025-01-11T04:24:31.023Zwarning: useless use of `vec!`
5842025-01-11T04:24:31.023Z --> lib/opte/src/engine/geneve.rs:483:19
5852025-01-11T04:24:31.023Z |
5862025-01-11T04:24:31.023Z483 | let buf = vec![
5872025-01-11T04:24:31.023Z | ___________________^
5882025-01-11T04:24:31.023Z484 | | // source
5892025-01-11T04:24:31.023Z485 | | 0x1E, 0x61,
5902025-01-11T04:24:31.023Z486 | | // dest
5912025-01-11T04:24:31.023Z... |
5922025-01-11T04:24:31.023Z524 | | 0x00, 0x00, 0x00, 0x00,
5932025-01-11T04:24:31.023Z525 | | ];
5942025-01-11T04:24:31.023Z | |_________^
5952025-01-11T04:24:31.023Z |
5962025-01-11T04:24:31.023Z = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#useless_vec
5972025-01-11T04:24:31.023Zhelp: you can use an array directly
5982025-01-11T04:24:31.023Z |
5992025-01-11T04:24:31.023Z483 ~ let buf = [0x1E, 0x61,
6002025-01-11T04:24:31.023Z484 + // dest
6012025-01-11T04:24:31.023Z485 + 0x17, 0xC1,
6022025-01-11T04:24:31.023Z486 + // length
6032025-01-11T04:24:31.023Z487 + 0x00, 0x1c,
6042025-01-11T04:24:31.023Z488 + // csum
6052025-01-11T04:24:31.023Z489 + 0x00, 0x00,
6062025-01-11T04:24:31.023Z490 + // ver + opt len
6072025-01-11T04:24:31.023Z491 + 0x05,
6082025-01-11T04:24:31.023Z492 + // flags
6092025-01-11T04:24:31.023Z493 + 0x00,
6102025-01-11T04:24:31.023Z494 + // proto
6112025-01-11T04:24:31.023Z495 + 0x65, 0x58,
6122025-01-11T04:24:31.023Z496 + // vni + reserved
6132025-01-11T04:24:31.023Z497 + 0x00, 0x04, 0xD2, 0x00,
6142025-01-11T04:24:31.023Z498 +
6152025-01-11T04:24:31.023Z499 + // option class
6162025-01-11T04:24:31.023Z500 + 0x01, 0x29,
6172025-01-11T04:24:31.023Z501 + // crt + type
6182025-01-11T04:24:31.023Z502 + 0x00,
6192025-01-11T04:24:31.023Z503 + // rsvd + len
6202025-01-11T04:24:31.023Z504 + 0x00,
6212025-01-11T04:24:31.023Z505 +
6222025-01-11T04:24:31.024Z506 + // experimenter option class
6232025-01-11T04:24:31.024Z507 + 0xff, 0xff,
6242025-01-11T04:24:31.024Z508 + // crt + type
6252025-01-11T04:24:31.024Z509 + 0x05,
6262025-01-11T04:24:31.024Z510 + // rsvd + len
6272025-01-11T04:24:31.024Z511 + 0x01,
6282025-01-11T04:24:31.024Z512 + // body
6292025-01-11T04:24:31.024Z513 + 0x00, 0x00, 0x00, 0x00,
6302025-01-11T04:24:31.024Z514 +
6312025-01-11T04:24:31.024Z515 + // experimenter option class
6322025-01-11T04:24:31.024Z516 + 0xff, 0xff,
6332025-01-11T04:24:31.024Z517 + // crt + type
6342025-01-11T04:24:31.024Z518 + 0x06,
6352025-01-11T04:24:31.024Z519 + // rsvd + len
6362025-01-11T04:24:31.024Z520 + 0x01,
6372025-01-11T04:24:31.027Z521 + // body
6382025-01-11T04:24:31.027Z522 ~ 0x00, 0x00, 0x00, 0x00];
6392025-01-11T04:24:31.027Z |
6402025-01-11T04:24:31.027Z
6412025-01-11T04:24:31.317Zwarning: `opte` (lib test) generated 14 warnings (run `cargo clippy --fix --lib -p opte --tests` to apply 13 suggestions)
6422025-01-11T04:24:31.317Z Finished `dev` profile [unoptimized + debuginfo] target(s) in 34.78s
6432025-01-11T04:24:31.351Z
6442025-01-11T04:24:31.354Zreal 34.947368636
6452025-01-11T04:24:31.354Zuser 2:07.977979700
6462025-01-11T04:24:31.354Zsys 17.692446331
6472025-01-11T04:24:31.354Ztrap 0.066688027
6482025-01-11T04:24:31.354Ztflt 0.295720632
6492025-01-11T04:24:31.354Zdflt 0.496654174
6502025-01-11T04:24:31.354Zkflt 0.000001859
6512025-01-11T04:24:31.355Zlock 3:16.079257059
6522025-01-11T04:24:31.355Zslp 7:39.985663831
6532025-01-11T04:24:31.355Zlat 3.979532700
6542025-01-11T04:24:31.355Zstop 6.506040511
6552025-01-11T04:24:31.355Z+ header 'analyze no_std + engine + kernel'
6562025-01-11T04:24:31.355Z+ echo '# ==== analyze no_std + engine + kernel ==== #'
6572025-01-11T04:24:31.355Z# ==== analyze no_std + engine + kernel ==== #
6582025-01-11T04:24:31.355Z+ ptime -m cargo +nightly-2024-11-18 clippy --no-default-features --features engine,kernel
6592025-01-11T04:24:31.656Z Checking illumos-sys-hdrs v0.1.0 (/work/oxidecomputer/opte/crates/illumos-sys-hdrs)
6602025-01-11T04:24:31.656Z Compiling opte v0.1.0 (/work/oxidecomputer/opte/lib/opte)
6612025-01-11T04:24:31.658Z Compiling kstat-macro v0.1.0 (/work/oxidecomputer/opte/crates/kstat-macro)
6622025-01-11T04:24:31.659Z Compiling derror-macro v0.1.0 (/work/oxidecomputer/opte/crates/derror-macro)
6632025-01-11T04:24:31.814Z Checking opte-api v0.1.0 (/work/oxidecomputer/opte/crates/opte-api)
6642025-01-11T04:24:38.667Z Finished `dev` profile [unoptimized + debuginfo] target(s) in 7.22s
6652025-01-11T04:24:38.702Z
6662025-01-11T04:24:38.706Zreal 7.342889652
6672025-01-11T04:24:38.706Zuser 8.144777975
6682025-01-11T04:24:38.706Zsys 1.185282223
6692025-01-11T04:24:38.706Ztrap 0.001535941
6702025-01-11T04:24:38.706Ztflt 0.005317515
6712025-01-11T04:24:38.706Zdflt 0.001144496
6722025-01-11T04:24:38.706Zkflt 0.000001189
6732025-01-11T04:24:38.706Zlock 18.845521538
6742025-01-11T04:24:38.706Zslp 27.395623389
6752025-01-11T04:24:38.706Zlat 0.065418851
6762025-01-11T04:24:38.706Zstop 0.150184590
6772025-01-11T04:24:38.706Z+ header test
6782025-01-11T04:24:38.706Z+ echo '# ==== test ==== #'
6792025-01-11T04:24:38.706Z# ==== test ==== #
6802025-01-11T04:24:38.706Z+ ptime -m cargo test
6812025-01-11T04:24:38.969Z Compiling unicode-ident v1.0.14
6822025-01-11T04:24:38.969Z Compiling memchr v2.7.4
6832025-01-11T04:24:38.969Z Compiling byteorder v1.5.0
6842025-01-11T04:24:38.972Z Compiling ucd-trie v0.1.7
6852025-01-11T04:24:38.972Z Compiling ryu v1.0.18
6862025-01-11T04:24:38.978Z Compiling itoa v1.0.14
6872025-01-11T04:24:38.989Z Compiling libc v0.2.169
6882025-01-11T04:24:38.993Z Compiling either v1.13.0
6892025-01-11T04:24:39.135Z Compiling proc-macro2 v1.0.92
6902025-01-11T04:24:39.168Z Compiling log v0.4.22
6912025-01-11T04:24:39.302Z Compiling itertools v0.13.0
6922025-01-11T04:24:39.334Z Compiling plain v0.2.3
6932025-01-11T04:24:39.377Z Compiling hash32 v0.3.1
6942025-01-11T04:24:39.468Z Compiling pretty-hex v0.4.1
6952025-01-11T04:24:39.500Z Compiling macaddr v1.0.1
6962025-01-11T04:24:39.527Z Compiling cfg-if v1.0.0
6972025-01-11T04:24:39.583Z Compiling thread-id v4.2.2
6982025-01-11T04:24:39.601Z Compiling stable_deref_trait v1.2.0
6992025-01-11T04:24:39.624Z Compiling bitflags v2.6.0
7002025-01-11T04:24:39.641Z Compiling bitflags v1.3.2
7012025-01-11T04:24:39.670Z Compiling heapless v0.8.0
7022025-01-11T04:24:39.680Z Compiling cobs v0.2.3
7032025-01-11T04:24:39.718Z Compiling managed v0.8.0
7042025-01-11T04:24:39.832Z Compiling quote v1.0.38
7052025-01-11T04:24:39.890Z Compiling aho-corasick v1.1.3
7062025-01-11T04:24:39.945Z Compiling memmap v0.7.0
7072025-01-11T04:24:40.104Z Compiling opte v0.1.0 (/work/oxidecomputer/opte/lib/opte)
7082025-01-11T04:24:40.260Z Compiling syn v2.0.95
7092025-01-11T04:24:40.494Z Compiling smoltcp v0.11.0
7102025-01-11T04:24:40.534Z Compiling unicode-width v0.2.0
7112025-01-11T04:24:40.591Z Compiling illumos-sys-hdrs v0.1.0 (/work/oxidecomputer/opte/crates/illumos-sys-hdrs)
7122025-01-11T04:24:40.737Z Compiling ipnetwork v0.20.0
7132025-01-11T04:24:40.815Z Compiling crc32fast v1.4.2
7142025-01-11T04:24:41.045Z Compiling tabwriter v1.4.1
7152025-01-11T04:24:41.292Z Compiling dyn-clone v1.0.17
7162025-01-11T04:24:41.643Z Compiling regex-automata v0.4.9
7172025-01-11T04:24:44.529Z Compiling regex v1.11.1
7182025-01-11T04:24:45.509Z Compiling darling_core v0.20.10
7192025-01-11T04:24:47.137Z Compiling serde_derive v1.0.217
7202025-01-11T04:24:47.138Z Compiling thiserror-impl v2.0.11
7212025-01-11T04:24:47.138Z Compiling thiserror-impl v1.0.69
7222025-01-11T04:24:47.140Z Compiling zerocopy-derive v0.7.35
7232025-01-11T04:24:47.140Z Compiling scroll_derive v0.12.0
7242025-01-11T04:24:47.140Z Compiling zerocopy-derive v0.8.14
7252025-01-11T04:24:47.161Z Compiling kstat-macro v0.1.0 (/work/oxidecomputer/opte/crates/kstat-macro)
7262025-01-11T04:24:48.582Z Compiling scroll v0.12.0
7272025-01-11T04:24:49.043Z Compiling zerocopy v0.7.35
7282025-01-11T04:24:49.063Z Compiling goblin v0.8.2
7292025-01-11T04:24:49.562Z Compiling darling_macro v0.20.10
7302025-01-11T04:24:49.746Z Compiling thiserror v1.0.69
7312025-01-11T04:24:49.779Z Compiling zerocopy v0.8.14
7322025-01-11T04:24:49.912Z Compiling thiserror v2.0.11
7332025-01-11T04:24:50.001Z Compiling pest v2.7.15
7342025-01-11T04:24:50.419Z Compiling darling v0.20.10
7352025-01-11T04:24:50.514Z Compiling ingot-macros v0.1.0 (https://github.com/oxidecomputer/ingot.git?rev=bff93247fe75ff889121e39d494cc3805fc01906#bff93247)
7362025-01-11T04:24:50.540Z Compiling derror-macro v0.1.0 (/work/oxidecomputer/opte/crates/derror-macro)
7372025-01-11T04:24:52.047Z Compiling pest_meta v2.7.15
7382025-01-11T04:24:52.083Z Compiling serde v1.0.217
7392025-01-11T04:24:53.281Z Compiling pest_generator v2.7.15
7402025-01-11T04:24:54.546Z Compiling pest_derive v2.7.15
7412025-01-11T04:24:54.743Z Compiling ingot-types v0.1.0 (https://github.com/oxidecomputer/ingot.git?rev=bff93247fe75ff889121e39d494cc3805fc01906#bff93247)
7422025-01-11T04:24:55.413Z Compiling dtrace-parser v0.2.0
7432025-01-11T04:24:56.467Z Compiling serde_json v1.0.134
7442025-01-11T04:24:56.467Z Compiling serde_tokenstream v0.2.2
7452025-01-11T04:24:56.544Z Compiling ingot v0.1.0 (https://github.com/oxidecomputer/ingot.git?rev=bff93247fe75ff889121e39d494cc3805fc01906#bff93247)
7462025-01-11T04:24:56.544Z Compiling postcard v1.1.1
7472025-01-11T04:24:57.580Z Compiling dof v0.3.0
7482025-01-11T04:24:58.074Z Compiling usdt-impl v0.5.0
7492025-01-11T04:24:58.122Z Compiling opte-api v0.1.0 (/work/oxidecomputer/opte/crates/opte-api)
7502025-01-11T04:24:58.805Z Compiling usdt-macro v0.5.0
7512025-01-11T04:24:58.805Z Compiling usdt-attr-macro v0.5.0
7522025-01-11T04:24:59.875Z Compiling usdt v0.5.0
7532025-01-11T04:25:14.756Z Finished `test` profile [unoptimized + debuginfo] target(s) in 35.99s
7542025-01-11T04:25:14.775Z Running unittests src/lib.rs (/work/oxidecomputer/opte/target/debug/deps/opte-7dcf5d890f0a4783)
7552025-01-11T04:25:14.789Z
7562025-01-11T04:25:14.789Zrunning 72 tests
7572025-01-11T04:25:14.792Ztest d_error::tests::name_truncation ... ok
7582025-01-11T04:25:14.792Ztest d_error::tests::name_and_data_storage ... ok
7592025-01-11T04:25:14.792Ztest ddi::mblk::test::chain_append_links ... ok
7602025-01-11T04:25:14.792Ztest ddi::mblk::test::chain_breaks_links ... ok
7612025-01-11T04:25:14.792Ztest ddi::mblk::test::chain_has_correct_ends ... ok
7622025-01-11T04:25:14.792Ztest ddi::mblk::test::chain_drain_complete ... ok
7632025-01-11T04:25:14.792Ztest ddi::mblk::test::prefix_len ... ok
7642025-01-11T04:25:14.793Ztest ddi::mblk::test::expand_and_shrink ... ok
7652025-01-11T04:25:14.793Ztest ddi::mblk::test::test_long_packet_continuation ... ok
7662025-01-11T04:25:14.793Ztest ddi::mblk::test::read_seg ... ok
7672025-01-11T04:25:14.793Ztest ddi::mblk::test::truncate ... ok
7682025-01-11T04:25:14.793Ztest ddi::mblk::test::uninitialized_packet ... ok
7692025-01-11T04:25:14.793Ztest ddi::mblk::test::wrap ... ok
7702025-01-11T04:25:14.793Ztest ddi::time::test::good_interval ... ok
7712025-01-11T04:25:14.793Ztest ddi::mblk::test::zero_byte_packet ... ok
7722025-01-11T04:25:14.793Ztest engine::dhcp::test::offlink_encode ... ok
7732025-01-11T04:25:14.793Ztest engine::dhcp::test::hostname_encode ... ok
7742025-01-11T04:25:14.793Ztest engine::dhcp::test::domain_search_option_encode ... ok
7752025-01-11T04:25:14.793Ztest engine::dhcp::test::domainname_encode ... ok
7762025-01-11T04:25:14.793Ztest engine::dhcp::test::rfc3442_encode ... ok
7772025-01-11T04:25:14.793Ztest ddi::time::test::bad_interval - should panic ... ok
7782025-01-11T04:25:14.793Ztest engine::dhcpv6::options::test::test_dns_servers ... ok
7792025-01-11T04:25:14.793Ztest engine::dhcpv6::options::test::test_client_id ... ok
7802025-01-11T04:25:14.796Ztest engine::dhcpv6::options::test::test_elapsed_time ... ok
7812025-01-11T04:25:14.796Ztest engine::dhcpv6::options::test::test_domain_list_from_slice ... ok
7822025-01-11T04:25:14.796Ztest engine::dhcpv6::options::test::test_ip_list_bad_length_fails ... ok
7832025-01-11T04:25:14.796Ztest engine::dhcpv6::options::test::test_option_request ... ok
7842025-01-11T04:25:14.796Ztest engine::dhcpv6::options::test::test_parse_snooped_option_request ... ok
7852025-01-11T04:25:14.796Ztest engine::dhcpv6::options::test::test_iana ... ok
7862025-01-11T04:25:14.796Ztest engine::dhcpv6::options::test::test_parse_snooped_iana ... ok
7872025-01-11T04:25:14.796Ztest engine::dhcpv6::options::test::test_rapid_commit ... ok
7882025-01-11T04:25:14.796Ztest engine::dhcpv6::options::test::test_parse_snooped_client_id ... ok
7892025-01-11T04:25:14.796Ztest engine::dhcpv6::options::test::test_iata ... ok
7902025-01-11T04:25:14.796Ztest engine::dhcpv6::options::test::test_raw_option_from_bytes ... ok
7912025-01-11T04:25:14.796Ztest engine::dhcpv6::options::test::test_server_id ... ok
7922025-01-11T04:25:14.796Ztest engine::dhcpv6::options::test::test_sntp_servers ... ok
7932025-01-11T04:25:14.796Ztest engine::dhcpv6::options::test::test_status ... ok
7942025-01-11T04:25:14.796Ztest engine::dhcpv6::protocol::test::test_parse_snooped_solicit_message ... ok
7952025-01-11T04:25:14.796Ztest engine::dhcpv6::test::test_duid_from_mac ... ok
7962025-01-11T04:25:14.796Ztest engine::ether::test::emit ... ok
7972025-01-11T04:25:14.796Ztest engine::geneve::test::emit_external_opt ... ok
7982025-01-11T04:25:14.796Ztest engine::geneve::test::emit_no_opts ... ok
7992025-01-11T04:25:14.797Ztest engine::geneve::test::parse_multi_opt ... ok
8002025-01-11T04:25:14.797Ztest engine::dhcpv6::protocol::test::test_predicates_match_snooped_solicit_message ... ok
8012025-01-11T04:25:14.797Ztest engine::geneve::test::parse_single_opt ... ok
8022025-01-11T04:25:14.797Ztest engine::flow_table::test::flow_expired ... ok
8032025-01-11T04:25:14.797Ztest engine::flow_table::test::flow_clear ... ok
8042025-01-11T04:25:14.797Ztest engine::geneve::test::unknown_crit_option_fails ... ok
8052025-01-11T04:25:14.797Ztest engine::ip::v4::test::cidr_match ... ok
8062025-01-11T04:25:14.797Ztest engine::ip::v4::test::emit ... ok
8072025-01-11T04:25:14.797Ztest engine::ip::v6::test::bad_ipv6_version_caught ... ok
8082025-01-11T04:25:14.797Ztest engine::ip::v6::test::emit ... ok
8092025-01-11T04:25:14.797Ztest engine::ip::v4::test::match_check ... ok
8102025-01-11T04:25:14.797Ztest engine::ip::v6::test::from_pairs ... ok
8112025-01-11T04:25:14.797Ztest engine::ip::v6::test::test_ipv6_addr_match_exact ... ok
8122025-01-11T04:25:14.797Ztest engine::ip::v6::test::test_ipv6_cidr_match_prefix ... ok
8132025-01-11T04:25:14.797Ztest engine::ip::v6::test::test_set_total_len ... ok
8142025-01-11T04:25:14.797Ztest engine::nat::test::nat4_rewrite ... ok
8152025-01-11T04:25:14.797Ztest engine::layer::test::find_rule ... ok
8162025-01-11T04:25:14.797Ztest engine::packet::test::read_multi_segment ... ok
8172025-01-11T04:25:14.797Ztest engine::packet::test::read_single_segment ... ok
8182025-01-11T04:25:14.797Ztest engine::packet::test::small_packet_with_padding ... ok
8192025-01-11T04:25:14.797Ztest engine::packet::test::straddled_tcp ... ok
8202025-01-11T04:25:14.797Ztest engine::predicate::tests::data_predicate_ranges_handle_unknown ... ok
8212025-01-11T04:25:14.797Ztest engine::rule::rule_matching ... ok
8222025-01-11T04:25:14.797Ztest engine::packet::test::udp6_packet_with_padding ... ok
8232025-01-11T04:25:14.797Ztest engine::ip::v6::test::test_extension_header_lengths_ok ... ok
8242025-01-11T04:25:14.797Ztest engine::parse::test::icmp4_body_csum_equals_body ... ok
8252025-01-11T04:25:14.797Ztest engine::snat::test::snat4_desc_lifecycle ... ok
8262025-01-11T04:25:14.797Ztest engine::snat::test::nat_mappings ... ok
8272025-01-11T04:25:14.797Ztest engine::snat::test::test_nat_pool_different_ip_types ... ok
8282025-01-11T04:25:14.797Ztest engine::packet::test::parse_ipv6_extension_headers_ok ... ok
8292025-01-11T04:25:14.797Z
8302025-01-11T04:25:14.797Ztest result: ok. 72 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.01s
8312025-01-11T04:25:14.797Z
8322025-01-11T04:25:14.797Z Doc-tests opte
8332025-01-11T04:25:15.584Z
8342025-01-11T04:25:15.584Zrunning 3 tests
8352025-01-11T04:25:15.587Ztest lib/opte/src/ddi/kstat.rs - ddi::kstat::KStatProvider (line 57) ... ignored
8362025-01-11T04:25:16.893Ztest lib/opte/src/ddi/kstat.rs - ddi::kstat::KStatProvider (line 43) ... ok
8372025-01-11T04:25:17.348Ztest lib/opte/src/ddi/kstat.rs - ddi::kstat::KStatNamed (line 86) ... ok
8382025-01-11T04:25:17.349Z
8392025-01-11T04:25:17.351Ztest result: ok. 2 passed; 0 failed; 1 ignored; 0 measured; 0 filtered out; finished in 1.76s
8402025-01-11T04:25:17.351Z
8412025-01-11T04:25:17.386Z
8422025-01-11T04:25:17.389Zreal 38.667945370
8432025-01-11T04:25:17.389Zuser 2:24.710443200
8442025-01-11T04:25:17.389Zsys 16.006357332
8452025-01-11T04:25:17.389Ztrap 0.067529089
8462025-01-11T04:25:17.389Ztflt 0.233440646
8472025-01-11T04:25:17.389Zdflt 0.583633773
8482025-01-11T04:25:17.389Zkflt 0.000029353
8492025-01-11T04:25:17.389Zlock 3:45.810751136
8502025-01-11T04:25:17.389Zslp 7:13.438652634
8512025-01-11T04:25:17.389Zlat 3.438614313
8522025-01-11T04:25:17.389Zstop 5.400628442
8532025-01-11T04:25:17.389Zprocess exited: duration 135323 ms, exit code 0
 
8542025-01-11T04:25:17.397Zfound 0 output files