01JG5QVC2W4T8VQ3CV9CA0EGNA: 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: 01JG5QVRHVWRGKZ4AE8KXR8NB0

Tags:

Output:

SEQ GLOBAL TIME DETAILS
12024-12-28T04:20:41.819Zjob assigned to worker 01JG5QVZ29G7PP4QH2QBWXJE9W [factory aws, i-02431bbba560224de] (queued for 54 s)
 
22024-12-28T04:20:50.059Zstarting task 0: "setup"
32024-12-28T04:20:50.067Z++ uname -s
42024-12-28T04:20:50.069Z+ kern=SunOS
52024-12-28T04:20:50.069Z+ case "$kern" in
62024-12-28T04:20:50.069Z+ groupadd -g 12345 build
72024-12-28T04:20:50.072Z+ useradd -u 12345 -g build -d /home/build -s /bin/bash -c build -P 'Primary Administrator' build
82024-12-28T04:20:52.079Z+ zfs create -o mountpoint=/work rpool/work
92024-12-28T04:20:52.185Z++ awk '$2 == "/home" { print $3 }' /etc/mnttab
102024-12-28T04:20:52.187Z+ home_fs=zfs
112024-12-28T04:20:52.187Z+ [[ zfs == autofs ]]
122024-12-28T04:20:52.187Z+ mkdir -p /home/build
132024-12-28T04:20:52.189Z+ chown build:build /home/build /work
142024-12-28T04:20:54.191Z+ chmod 0700 /home/build /work
152024-12-28T04:20:54.194Zprocess exited: duration 4136 ms, exit code 0
 
162024-12-28T04:20:54.199Zstarting task 1: "rust-toolchain"
172024-12-28T04:20:54.204Z+ printf ' * toolchain channel = "%s"
182024-12-28T04:20:54.204Z' nightly-2024-11-18
192024-12-28T04:20:54.204Z * toolchain channel = "nightly-2024-11-18"
202024-12-28T04:20:54.204Z+ printf ' * toolchain profile = "%s"
212024-12-28T04:20:54.204Z' default
222024-12-28T04:20:54.204Z * toolchain profile = "default"
232024-12-28T04:20:54.206Z+ curl --proto =https --tlsv1.2 -sSf https://sh.rustup.rs
242024-12-28T04:20:54.206Z+ /bin/bash -s - -y --no-modify-path --default-toolchain nightly-2024-11-18 --profile default
252024-12-28T04:20:54.325Zinfo: downloading installer
262024-12-28T04:20:55.688Zinfo: profile set to 'default'
272024-12-28T04:20:55.688Zinfo: default host triple is x86_64-unknown-illumos
282024-12-28T04:20:55.691Zinfo: syncing channel updates for 'nightly-2024-11-18-x86_64-unknown-illumos'
292024-12-28T04:20:55.830Zinfo: latest update on 2024-11-18, rust version 1.84.0-nightly (5ec7d6eee 2024-11-17)
302024-12-28T04:20:55.830Zinfo: downloading component 'cargo'
312024-12-28T04:20:56.581Zinfo: downloading component 'clippy'
322024-12-28T04:20:56.869Zinfo: downloading component 'rust-docs'
332024-12-28T04:20:58.287Zinfo: downloading component 'rust-std'
342024-12-28T04:21:00.435Zinfo: downloading component 'rustc'
352024-12-28T04:21:07.786Zinfo: downloading component 'rustfmt'
362024-12-28T04:21:08.208Zinfo: installing component 'cargo'
372024-12-28T04:21:09.038Zinfo: installing component 'clippy'
382024-12-28T04:21:09.418Zinfo: installing component 'rust-docs'
392024-12-28T04:21:11.077Zinfo: installing component 'rust-std'
402024-12-28T04:21:12.901Zinfo: installing component 'rustc'
412024-12-28T04:21:18.872Zinfo: installing component 'rustfmt'
422024-12-28T04:21:19.201Zinfo: default toolchain set to 'nightly-2024-11-18-x86_64-unknown-illumos'
432024-12-28T04:21:19.201Z
442024-12-28T04:21:19.591Z nightly-2024-11-18-x86_64-unknown-illumos installed - rustc 1.84.0-nightly (5ec7d6eee 2024-11-17)
452024-12-28T04:21:19.591Z
462024-12-28T04:21:19.591Z
472024-12-28T04:21:19.592ZRust is installed now. Great!
482024-12-28T04:21:19.592Z
492024-12-28T04:21:19.592ZTo get started you need Cargo's bin directory ($HOME/.cargo/bin) in your PATH
502024-12-28T04:21:19.592Zenvironment variable. This has not been done automatically.
512024-12-28T04:21:19.592Z
522024-12-28T04:21:19.592ZTo configure your current shell, you need to source
532024-12-28T04:21:19.592Zthe corresponding env file under $HOME/.cargo.
542024-12-28T04:21:19.592Z
552024-12-28T04:21:19.592ZThis is usually done by running one of the following (note the leading DOT):
562024-12-28T04:21:19.594Z. "$HOME/.cargo/env" # For sh/bash/zsh/ash/dash/pdksh
572024-12-28T04:21:19.594Zsource "$HOME/.cargo/env.fish" # For fish
582024-12-28T04:21:19.668Z+ rustc --version
592024-12-28T04:21:19.737Zrustc 1.84.0-nightly (5ec7d6eee 2024-11-17)
602024-12-28T04:21:19.740Zprocess exited: duration 25538 ms, exit code 0
 
612024-12-28T04:21:19.745Zstarting task 2: "authentication"
622024-12-28T04:21:19.765Zprocess exited: duration 19 ms, exit code 0
 
632024-12-28T04:21:19.770Zstarting task 3: "clone repository"
642024-12-28T04:21:19.775Z+ mkdir -p /work/oxidecomputer/opte
652024-12-28T04:21:19.778Z+ git clone https://github.com/oxidecomputer/opte /work/oxidecomputer/opte
662024-12-28T04:21:19.813ZCloning into '/work/oxidecomputer/opte'...
672024-12-28T04:21:20.553Z+ cd /work/oxidecomputer/opte
682024-12-28T04:21:20.555Z+ git fetch origin f13190044a6b9b6204668730f098078a8fd820c8
692024-12-28T04:21:20.825ZFrom https://github.com/oxidecomputer/opte
702024-12-28T04:21:20.825Z * branch f13190044a6b9b6204668730f098078a8fd820c8 -> FETCH_HEAD
712024-12-28T04:21:20.832Z+ [[ -n renovate/serde-monorepo ]]
722024-12-28T04:21:20.834Z++ git branch --show-current
732024-12-28T04:21:20.837Z+ current=master
742024-12-28T04:21:20.837Z+ [[ master != renovate/serde-monorepo ]]
752024-12-28T04:21:20.837Z+ git branch -f renovate/serde-monorepo f13190044a6b9b6204668730f098078a8fd820c8
762024-12-28T04:21:20.840Z+ git checkout -f renovate/serde-monorepo
772024-12-28T04:21:20.861ZSwitched to branch 'renovate/serde-monorepo'
782024-12-28T04:21:20.864Z+ git reset --hard f13190044a6b9b6204668730f098078a8fd820c8
792024-12-28T04:21:20.867ZHEAD is now at f131900 Update Rust crate serde to v1.0.217
802024-12-28T04:21:20.869Zprocess exited: duration 1097 ms, exit code 0
 
812024-12-28T04:21:20.874Zstarting task 4: "build"
822024-12-28T04:21:20.879Z+ cargo --version
832024-12-28T04:21:20.883Zinfo: syncing channel updates for '1.83.0-x86_64-unknown-illumos'
842024-12-28T04:21:21.044Zinfo: latest update on 2024-11-28, rust version 1.83.0 (90b35a623 2024-11-26)
852024-12-28T04:21:21.044Zinfo: downloading component 'cargo'
862024-12-28T04:21:21.936Zinfo: downloading component 'clippy'
872024-12-28T04:21:22.276Zinfo: downloading component 'rust-docs'
882024-12-28T04:21:23.518Zinfo: downloading component 'rust-std'
892024-12-28T04:21:25.317Zinfo: downloading component 'rustc'
902024-12-28T04:21:32.107Zinfo: downloading component 'rustfmt'
912024-12-28T04:21:32.366Zinfo: installing component 'cargo'
922024-12-28T04:21:33.177Zinfo: installing component 'clippy'
932024-12-28T04:21:33.551Zinfo: installing component 'rust-docs'
942024-12-28T04:21:35.254Zinfo: installing component 'rust-std'
952024-12-28T04:21:36.885Zinfo: installing component 'rustc'
962024-12-28T04:21:42.581Zinfo: installing component 'rustfmt'
972024-12-28T04:21:42.989Zcargo 1.83.0 (5ffbef321 2024-10-29)
982024-12-28T04:21:42.992Z+ rustc --version
992024-12-28T04:21:43.063Zrustc 1.83.0 (90b35a623 2024-11-26)
1002024-12-28T04:21:43.068Z+ cd lib/opte
1012024-12-28T04:21:43.070Z+ header 'check style'
1022024-12-28T04:21:43.070Z+ echo '# ==== check style ==== #'
1032024-12-28T04:21:43.070Z# ==== check style ==== #
1042024-12-28T04:21:43.070Z+ ptime -m cargo +nightly-2024-11-18 fmt -- --check
1052024-12-28T04:21:43.427Z
1062024-12-28T04:21:43.428Zreal 0.355311825
1072024-12-28T04:21:43.428Zuser 0.252461047
1082024-12-28T04:21:43.428Zsys 0.095341287
1092024-12-28T04:21:43.428Ztrap 0.000020887
1102024-12-28T04:21:43.428Ztflt 0.000000000
1112024-12-28T04:21:43.428Zdflt 0.000000000
1122024-12-28T04:21:43.428Zkflt 0.000000000
1132024-12-28T04:21:43.428Zlock 0.000000000
1142024-12-28T04:21:43.428Zslp 0.271170444
1152024-12-28T04:21:43.428Zlat 0.000277964
1162024-12-28T04:21:43.428Zstop 0.000137141
1172024-12-28T04:21:43.431Z+ header 'check docs'
1182024-12-28T04:21:43.431Z+ echo '# ==== check docs ==== #'
1192024-12-28T04:21:43.431Z# ==== check docs ==== #
1202024-12-28T04:21:43.431Z+ RUSTDOCFLAGS='-D warnings'
1212024-12-28T04:21:43.431Z+ ptime -m cargo +nightly-2024-11-18 doc --no-default-features --features=api,std,engine,kernel
1222024-12-28T04:21:43.534Z Updating crates.io index
1232024-12-28T04:21:43.612Z Updating git repository `https://github.com/oxidecomputer/falcon`
1242024-12-28T04:21:44.398Z Updating git repository `https://github.com/oxidecomputer/ingot.git`
1252024-12-28T04:21:44.830Z Updating git repository `https://github.com/oxidecomputer/poptrie`
1262024-12-28T04:21:45.068Z Updating git repository `https://github.com/oxidecomputer/netadm-sys`
1272024-12-28T04:21:45.401Z Updating git repository `https://github.com/oxidecomputer/zone`
1282024-12-28T04:21:45.698Z Updating git repository `https://github.com/oxidecomputer/oxnet`
1292024-12-28T04:21:46.047Z Updating git repository `https://github.com/oxidecomputer/dlpi-sys`
1302024-12-28T04:21:46.326Z Updating git repository `https://github.com/jmesmon/rust-libzfs`
1312024-12-28T04:21:46.586Z Updating git repository `https://github.com/oxidecomputer/rusty-doors`
1322024-12-28T04:21:47.445Z Downloading crates ...
1332024-12-28T04:21:47.521Z Downloaded bitflags v2.6.0
1342024-12-28T04:21:47.527Z Downloaded thiserror v1.0.69
1352024-12-28T04:21:47.531Z Downloaded usdt-attr-macro v0.5.0
1362024-12-28T04:21:47.534Z Downloaded dtrace-parser v0.2.0
1372024-12-28T04:21:47.536Z Downloaded darling_macro v0.20.10
1382024-12-28T04:21:47.546Z Downloaded pretty-hex v0.4.1
1392024-12-28T04:21:47.551Z Downloaded scroll_derive v0.12.0
1402024-12-28T04:21:47.553Z Downloaded ident_case v1.0.1
1412024-12-28T04:21:47.554Z Downloaded byteorder v1.5.0
1422024-12-28T04:21:47.561Z Downloaded usdt-macro v0.5.0
1432024-12-28T04:21:47.564Z Downloaded cfg-if v1.0.0
1442024-12-28T04:21:47.566Z Downloaded embedded-io v0.6.1
1452024-12-28T04:21:47.569Z Downloaded generic-array v0.14.7
1462024-12-28T04:21:47.572Z Downloaded usdt v0.5.0
1472024-12-28T04:21:47.572Z Downloaded dof v0.3.0
1482024-12-28T04:21:47.574Z Downloaded version_check v0.9.5
1492024-12-28T04:21:47.577Z Downloaded ipnetwork v0.20.0
1502024-12-28T04:21:47.577Z Downloaded digest v0.10.7
1512024-12-28T04:21:47.579Z Downloaded serde_tokenstream v0.2.2
1522024-12-28T04:21:47.583Z Downloaded thread-id v4.2.2
1532024-12-28T04:21:47.586Z Downloaded itoa v1.0.14
1542024-12-28T04:21:47.586Z Downloaded thiserror-impl v1.0.69
1552024-12-28T04:21:47.588Z Downloaded pest_generator v2.7.15
1562024-12-28T04:21:47.591Z Downloaded hash32 v0.3.1
1572024-12-28T04:21:47.591Z Downloaded defmt-macros v0.4.0
1582024-12-28T04:21:47.594Z Downloaded proc-macro-error-attr2 v2.0.0
1592024-12-28T04:21:47.597Z Downloaded plain v0.2.3
1602024-12-28T04:21:47.597Z Downloaded defmt-parser v0.4.1
1612024-12-28T04:21:47.597Z Downloaded embedded-io v0.4.0
1622024-12-28T04:21:47.599Z Downloaded cobs v0.2.3
1632024-12-28T04:21:47.600Z Downloaded fnv v1.0.7
1642024-12-28T04:21:47.603Z Downloaded either v1.13.0
1652024-12-28T04:21:47.603Z Downloaded darling v0.20.10
1662024-12-28T04:21:47.606Z Downloaded crc32fast v1.4.2
1672024-12-28T04:21:47.609Z Downloaded proc-macro-error2 v2.0.1
1682024-12-28T04:21:47.612Z Downloaded strsim v0.11.1
1692024-12-28T04:21:47.612Z Downloaded thiserror-impl v2.0.9
1702024-12-28T04:21:47.615Z Downloaded tabwriter v1.4.0
1712024-12-28T04:21:47.615Z Downloaded dyn-clone v1.0.17
1722024-12-28T04:21:47.615Z Downloaded sha2 v0.10.8
1732024-12-28T04:21:47.618Z Downloaded scroll v0.12.0
1742024-12-28T04:21:47.621Z Downloaded usdt-impl v0.5.0
1752024-12-28T04:21:47.624Z Downloaded once_cell v1.20.2
1762024-12-28T04:21:47.627Z Downloaded thiserror v2.0.9
1772024-12-28T04:21:47.631Z Downloaded cpufeatures v0.2.16
1782024-12-28T04:21:47.634Z Downloaded managed v0.8.0
1792024-12-28T04:21:47.636Z Downloaded zerocopy-derive v0.7.35
1802024-12-28T04:21:47.640Z Downloaded stable_deref_trait v1.2.0
1812024-12-28T04:21:47.643Z Downloaded crypto-common v0.1.6
1822024-12-28T04:21:47.643Z Downloaded block-buffer v0.10.4
1832024-12-28T04:21:47.643Z Downloaded memmap v0.7.0
1842024-12-28T04:21:47.643Z Downloaded proc-macro2 v1.0.92
1852024-12-28T04:21:47.646Z Downloaded quote v1.0.37
1862024-12-28T04:21:47.648Z Downloaded bitflags v1.3.2
1872024-12-28T04:21:47.651Z Downloaded typenum v1.17.0
1882024-12-28T04:21:47.653Z Downloaded unicode-ident v1.0.14
1892024-12-28T04:21:47.656Z Downloaded log v0.4.22
1902024-12-28T04:21:47.658Z Downloaded pest_derive v2.7.15
1912024-12-28T04:21:47.661Z Downloaded pest_meta v2.7.15
1922024-12-28T04:21:47.663Z Downloaded postcard v1.1.1
1932024-12-28T04:21:47.666Z Downloaded macaddr v1.0.1
1942024-12-28T04:21:47.666Z Downloaded defmt v0.3.10
1952024-12-28T04:21:47.674Z Downloaded serde_derive v1.0.217
1962024-12-28T04:21:47.682Z Downloaded ucd-trie v0.1.7
1972024-12-28T04:21:47.684Z Downloaded serde v1.0.217
1982024-12-28T04:21:47.689Z Downloaded heapless v0.8.0
1992024-12-28T04:21:47.693Z Downloaded zerocopy-derive v0.8.13
2002024-12-28T04:21:47.698Z Downloaded ryu v1.0.18
2012024-12-28T04:21:47.701Z Downloaded darling_core v0.20.10
2022024-12-28T04:21:47.709Z Downloaded memchr v2.7.4
2032024-12-28T04:21:47.747Z Downloaded pest v2.7.15
2042024-12-28T04:21:47.751Z Downloaded itertools v0.13.0
2052024-12-28T04:21:47.758Z Downloaded serde_json v1.0.134
2062024-12-28T04:21:47.764Z Downloaded goblin v0.8.2
2072024-12-28T04:21:47.770Z Downloaded zerocopy v0.7.35
2082024-12-28T04:21:47.786Z Downloaded aho-corasick v1.1.3
2092024-12-28T04:21:47.800Z Downloaded zerocopy v0.8.13
2102024-12-28T04:21:47.821Z Downloaded regex v1.11.1
2112024-12-28T04:21:47.833Z Downloaded unicode-width v0.1.14
2122024-12-28T04:21:47.838Z Downloaded syn v2.0.91
2132024-12-28T04:21:47.848Z Downloaded regex-syntax v0.8.5
2142024-12-28T04:21:47.856Z Downloaded smoltcp v0.11.0
2152024-12-28T04:21:47.890Z Downloaded regex-automata v0.4.9
2162024-12-28T04:21:47.906Z Downloaded libc v0.2.169
2172024-12-28T04:21:48.060Z Compiling proc-macro2 v1.0.92
2182024-12-28T04:21:48.060Z Compiling unicode-ident v1.0.14
2192024-12-28T04:21:48.063Z Documenting unicode-ident v1.0.14
2202024-12-28T04:21:48.063Z Compiling ident_case v1.0.1
2212024-12-28T04:21:48.063Z Compiling strsim v0.11.1
2222024-12-28T04:21:48.073Z Compiling fnv v1.0.7
2232024-12-28T04:21:48.077Z Compiling memchr v2.7.4
2242024-12-28T04:21:48.341Z Compiling zerocopy v0.8.13
2252024-12-28T04:21:48.398Z Compiling serde v1.0.217
2262024-12-28T04:21:48.491Z Compiling regex-syntax v0.8.5
2272024-12-28T04:21:48.754Z Documenting fnv v1.0.7
2282024-12-28T04:21:48.773Z Compiling either v1.13.0
2292024-12-28T04:21:49.050Z Documenting proc-macro2 v1.0.92
2302024-12-28T04:21:49.084Z Compiling aho-corasick v1.1.3
2312024-12-28T04:21:49.635Z Checking quote v1.0.37
2322024-12-28T04:21:49.964Z Checking syn v2.0.91
2332024-12-28T04:21:50.289Z Documenting quote v1.0.37
2342024-12-28T04:21:50.314Z Documenting ident_case v1.0.1
2352024-12-28T04:21:50.781Z Documenting strsim v0.11.1
2362024-12-28T04:21:51.151Z Checking byteorder v1.5.0
2372024-12-28T04:21:51.291Z Documenting syn v2.0.91
2382024-12-28T04:21:51.434Z Compiling itertools v0.13.0
2392024-12-28T04:21:51.609Z Documenting memchr v2.7.4
2402024-12-28T04:21:52.675Z Compiling regex-automata v0.4.9
2412024-12-28T04:21:52.897Z Compiling heapless v0.8.0
2422024-12-28T04:21:53.044Z Documenting aho-corasick v1.1.3
2432024-12-28T04:21:53.990Z Checking hash32 v0.3.1
2442024-12-28T04:21:54.139Z Checking stable_deref_trait v1.2.0
2452024-12-28T04:21:54.211Z Checking cfg-if v1.0.0
2462024-12-28T04:21:54.227Z Documenting regex-syntax v0.8.5
2472024-12-28T04:21:54.285Z Checking macaddr v1.0.1
2482024-12-28T04:21:54.625Z Compiling smoltcp v0.11.0
2492024-12-28T04:21:55.048Z Checking darling_core v0.20.10
2502024-12-28T04:21:55.997Z Checking cobs v0.2.3
2512024-12-28T04:21:56.153Z Checking managed v0.8.0
2522024-12-28T04:21:56.515Z Documenting regex-automata v0.4.9
2532024-12-28T04:21:56.566Z Documenting darling_core v0.20.10
2542024-12-28T04:21:56.940Z Compiling regex v1.11.1
2552024-12-28T04:21:57.283Z Documenting serde_derive v1.0.217
2562024-12-28T04:21:57.580Z Documenting zerocopy-derive v0.8.13
2572024-12-28T04:21:57.829Z Checking bitflags v1.3.2
2582024-12-28T04:21:57.911Z Documenting byteorder v1.5.0
2592024-12-28T04:21:58.614Z Checking bitflags v2.6.0
2602024-12-28T04:21:58.771Z Documenting darling_macro v0.20.10
2612024-12-28T04:21:58.811Z Documenting hash32 v0.3.1
2622024-12-28T04:21:58.829Z Documenting macaddr v1.0.1
2632024-12-28T04:21:59.239Z Documenting regex v1.11.1
2642024-12-28T04:21:59.368Z Documenting cfg-if v1.0.0
2652024-12-28T04:21:59.516Z Documenting stable_deref_trait v1.2.0
2662024-12-28T04:21:59.691Z Documenting bitflags v2.6.0
2672024-12-28T04:21:59.791Z Documenting cobs v0.2.3
2682024-12-28T04:22:00.012Z Checking ipnetwork v0.20.0
2692024-12-28T04:22:00.120Z Documenting heapless v0.8.0
2702024-12-28T04:22:00.297Z Checking illumos-sys-hdrs v0.1.0 (/work/oxidecomputer/opte/crates/illumos-sys-hdrs)
2712024-12-28T04:22:00.403Z Compiling version_check v0.9.5
2722024-12-28T04:22:00.502Z Checking unicode-width v0.1.14
2732024-12-28T04:22:00.617Z Documenting managed v0.8.0
2742024-12-28T04:22:00.689Z Documenting either v1.13.0
2752024-12-28T04:22:00.758Z Compiling zerocopy-derive v0.8.13
2762024-12-28T04:22:00.953Z Compiling serde_derive v1.0.217
2772024-12-28T04:22:00.964Z Compiling opte v0.1.0 (/work/oxidecomputer/opte/lib/opte)
2782024-12-28T04:22:01.183Z Documenting unicode-width v0.1.14
2792024-12-28T04:22:01.334Z Documenting ipnetwork v0.20.0
2802024-12-28T04:22:01.418Z Documenting illumos-sys-hdrs v0.1.0 (/work/oxidecomputer/opte/crates/illumos-sys-hdrs)
2812024-12-28T04:22:01.458Z Documenting smoltcp v0.11.0
2822024-12-28T04:22:01.803Z Compiling darling_macro v0.20.10
2832024-12-28T04:22:02.134Z Documenting itertools v0.13.0
2842024-12-28T04:22:02.136Z Documenting tabwriter v1.4.0
2852024-12-28T04:22:02.310Z Checking tabwriter v1.4.0
2862024-12-28T04:22:02.346Z Compiling kstat-macro v0.1.0 (/work/oxidecomputer/opte/crates/kstat-macro)
2872024-12-28T04:22:02.792Z Compiling darling v0.20.10
2882024-12-28T04:22:02.887Z Compiling ingot-macros v0.1.0 (https://github.com/oxidecomputer/ingot.git?rev=bff93247fe75ff889121e39d494cc3805fc01906#bff93247)
2892024-12-28T04:22:03.104Z Documenting darling v0.20.10
2902024-12-28T04:22:03.403Z Compiling derror-macro v0.1.0 (/work/oxidecomputer/opte/crates/derror-macro)
2912024-12-28T04:22:03.452Z Documenting zerocopy v0.8.13
2922024-12-28T04:22:03.962Z Documenting crc32fast v1.4.2
2932024-12-28T04:22:04.315Z Documenting kstat-macro v0.1.0 (/work/oxidecomputer/opte/crates/kstat-macro)
2942024-12-28T04:22:04.455Z Documenting ingot-macros v0.1.0 (https://github.com/oxidecomputer/ingot.git?rev=bff93247fe75ff889121e39d494cc3805fc01906#bff93247)
2952024-12-28T04:22:04.700Z Documenting derror-macro v0.1.0 (/work/oxidecomputer/opte/crates/derror-macro)
2962024-12-28T04:22:04.730Z Checking crc32fast v1.4.2
2972024-12-28T04:22:04.923Z Documenting dyn-clone v1.0.17
2982024-12-28T04:22:05.235Z Checking dyn-clone v1.0.17
2992024-12-28T04:22:06.742Z Documenting serde v1.0.217
3002024-12-28T04:22:07.262Z Checking ingot-types v0.1.0 (https://github.com/oxidecomputer/ingot.git?rev=bff93247fe75ff889121e39d494cc3805fc01906#bff93247)
3012024-12-28T04:22:07.262Z Documenting ingot-types v0.1.0 (https://github.com/oxidecomputer/ingot.git?rev=bff93247fe75ff889121e39d494cc3805fc01906#bff93247)
3022024-12-28T04:22:09.341Z Checking ingot v0.1.0 (https://github.com/oxidecomputer/ingot.git?rev=bff93247fe75ff889121e39d494cc3805fc01906#bff93247)
3032024-12-28T04:22:09.341Z Checking postcard v1.1.1
3042024-12-28T04:22:09.343Z Documenting ingot v0.1.0 (https://github.com/oxidecomputer/ingot.git?rev=bff93247fe75ff889121e39d494cc3805fc01906#bff93247)
3052024-12-28T04:22:09.343Z Documenting postcard v1.1.1
3062024-12-28T04:22:10.615Z Checking opte-api v0.1.0 (/work/oxidecomputer/opte/crates/opte-api)
3072024-12-28T04:22:10.615Z Documenting opte-api v0.1.0 (/work/oxidecomputer/opte/crates/opte-api)
3082024-12-28T04:22:11.492Z Documenting opte v0.1.0 (/work/oxidecomputer/opte/lib/opte)
3092024-12-28T04:22:13.815Z Finished `dev` profile [unoptimized + debuginfo] target(s) in 30.37s
3102024-12-28T04:22:13.927Z Generated /work/oxidecomputer/opte/target/doc/opte/index.html
3112024-12-28T04:22:13.947Z
3122024-12-28T04:22:13.947Zreal 30.495850731
3132024-12-28T04:22:13.947Zuser 2:18.720080033
3142024-12-28T04:22:13.947Zsys 18.604160381
3152024-12-28T04:22:13.948Ztrap 0.109926307
3162024-12-28T04:22:13.948Ztflt 0.144027907
3172024-12-28T04:22:13.948Zdflt 0.131989023
3182024-12-28T04:22:13.948Zkflt 0.001736214
3192024-12-28T04:22:13.948Zlock 3:01.723440640
3202024-12-28T04:22:13.948Zslp 7:27.807971918
3212024-12-28T04:22:13.948Zlat 17.677194803
3222024-12-28T04:22:13.948Zstop 11.118928742
3232024-12-28T04:22:13.950Z+ header 'analyze std + api'
3242024-12-28T04:22:13.950Z+ echo '# ==== analyze std + api ==== #'
3252024-12-28T04:22:13.950Z# ==== analyze std + api ==== #
3262024-12-28T04:22:13.950Z+ ptime -m cargo clippy --all-targets
3272024-12-28T04:22:14.361Z Compiling proc-macro2 v1.0.92
3282024-12-28T04:22:14.361Z Compiling unicode-ident v1.0.14
3292024-12-28T04:22:14.364Z Compiling memchr v2.7.4
3302024-12-28T04:22:14.364Z Compiling thiserror v2.0.9
3312024-12-28T04:22:14.364Z Compiling thiserror v1.0.69
3322024-12-28T04:22:14.364Z Compiling version_check v0.9.5
3332024-12-28T04:22:14.364Z Compiling libc v0.2.169
3342024-12-28T04:22:14.364Z Compiling ucd-trie v0.1.7
3352024-12-28T04:22:14.595Z Compiling once_cell v1.20.2
3362024-12-28T04:22:14.810Z Compiling serde_json v1.0.134
3372024-12-28T04:22:14.939Z Compiling serde v1.0.217
3382024-12-28T04:22:15.091Z Compiling strsim v0.11.1
3392024-12-28T04:22:15.167Z Compiling fnv v1.0.7
3402024-12-28T04:22:15.280Z Compiling ident_case v1.0.1
3412024-12-28T04:22:15.285Z Checking byteorder v1.5.0
3422024-12-28T04:22:15.313Z Compiling aho-corasick v1.1.3
3432024-12-28T04:22:15.423Z Compiling regex-syntax v0.8.5
3442024-12-28T04:22:15.458Z Compiling itoa v1.0.14
3452024-12-28T04:22:15.659Z Compiling ryu v1.0.18
3462024-12-28T04:22:15.677Z Compiling usdt-impl v0.5.0
3472024-12-28T04:22:16.021Z Compiling quote v1.0.37
3482024-12-28T04:22:16.074Z Compiling zerocopy v0.8.13
3492024-12-28T04:22:16.111Z Compiling either v1.13.0
3502024-12-28T04:22:16.272Z Compiling thread-id v4.2.2
3512024-12-28T04:22:16.364Z Compiling syn v2.0.91
3522024-12-28T04:22:16.483Z Compiling itertools v0.13.0
3532024-12-28T04:22:16.838Z Checking log v0.4.22
3542024-12-28T04:22:17.046Z Compiling heapless v0.8.0
3552024-12-28T04:22:17.077Z Checking plain v0.2.3
3562024-12-28T04:22:17.150Z Checking hash32 v0.3.1
3572024-12-28T04:22:17.313Z Compiling smoltcp v0.11.0
3582024-12-28T04:22:17.376Z Checking pretty-hex v0.4.1
3592024-12-28T04:22:17.540Z Checking cfg-if v1.0.0
3602024-12-28T04:22:17.578Z Checking stable_deref_trait v1.2.0
3612024-12-28T04:22:17.605Z Checking macaddr v1.0.1
3622024-12-28T04:22:17.894Z Checking bitflags v2.6.0
3632024-12-28T04:22:17.918Z Checking managed v0.8.0
3642024-12-28T04:22:18.110Z Checking bitflags v1.3.2
3652024-12-28T04:22:18.188Z Checking cobs v0.2.3
3662024-12-28T04:22:18.256Z Checking memmap v0.7.0
3672024-12-28T04:22:18.345Z Compiling opte v0.1.0 (/work/oxidecomputer/opte/lib/opte)
3682024-12-28T04:22:18.445Z Checking illumos-sys-hdrs v0.1.0 (/work/oxidecomputer/opte/crates/illumos-sys-hdrs)
3692024-12-28T04:22:18.720Z Checking unicode-width v0.1.14
3702024-12-28T04:22:18.939Z Compiling regex-automata v0.4.9
3712024-12-28T04:22:19.136Z Checking ipnetwork v0.20.0
3722024-12-28T04:22:19.227Z Checking tabwriter v1.4.0
3732024-12-28T04:22:19.449Z Checking crc32fast v1.4.2
3742024-12-28T04:22:19.459Z Checking dyn-clone v1.0.17
3752024-12-28T04:22:21.580Z Compiling darling_core v0.20.10
3762024-12-28T04:22:21.714Z Compiling regex v1.11.1
3772024-12-28T04:22:22.965Z Compiling serde_derive v1.0.217
3782024-12-28T04:22:22.965Z Compiling thiserror-impl v2.0.9
3792024-12-28T04:22:22.965Z Compiling thiserror-impl v1.0.69
3802024-12-28T04:22:22.968Z Compiling zerocopy-derive v0.7.35
3812024-12-28T04:22:22.968Z Compiling scroll_derive v0.12.0
3822024-12-28T04:22:22.968Z Compiling zerocopy-derive v0.8.13
3832024-12-28T04:22:22.990Z Compiling kstat-macro v0.1.0 (/work/oxidecomputer/opte/crates/kstat-macro)
3842024-12-28T04:22:24.797Z Checking scroll v0.12.0
3852024-12-28T04:22:24.826Z Compiling zerocopy v0.7.35
3862024-12-28T04:22:25.209Z Checking goblin v0.8.2
3872024-12-28T04:22:25.698Z Compiling darling_macro v0.20.10
3882024-12-28T04:22:25.857Z Compiling pest v2.7.15
3892024-12-28T04:22:26.611Z Compiling darling v0.20.10
3902024-12-28T04:22:26.704Z Compiling ingot-macros v0.1.0 (https://github.com/oxidecomputer/ingot.git?rev=bff93247fe75ff889121e39d494cc3805fc01906#bff93247)
3912024-12-28T04:22:26.943Z Compiling derror-macro v0.1.0 (/work/oxidecomputer/opte/crates/derror-macro)
3922024-12-28T04:22:28.181Z Compiling pest_meta v2.7.15
3932024-12-28T04:22:28.970Z Compiling pest_generator v2.7.15
3942024-12-28T04:22:30.219Z Compiling pest_derive v2.7.15
3952024-12-28T04:22:30.869Z Compiling dtrace-parser v0.2.0
3962024-12-28T04:22:30.935Z Checking ingot-types v0.1.0 (https://github.com/oxidecomputer/ingot.git?rev=bff93247fe75ff889121e39d494cc3805fc01906#bff93247)
3972024-12-28T04:22:31.354Z Checking ingot v0.1.0 (https://github.com/oxidecomputer/ingot.git?rev=bff93247fe75ff889121e39d494cc3805fc01906#bff93247)
3982024-12-28T04:22:31.391Z Checking postcard v1.1.1
3992024-12-28T04:22:32.082Z Compiling serde_tokenstream v0.2.2
4002024-12-28T04:22:32.331Z Checking dof v0.3.0
4012024-12-28T04:22:32.626Z Checking opte-api v0.1.0 (/work/oxidecomputer/opte/crates/opte-api)
4022024-12-28T04:22:33.905Z Compiling usdt-macro v0.5.0
4032024-12-28T04:22:33.905Z Compiling usdt-attr-macro v0.5.0
4042024-12-28T04:22:34.709Z Checking usdt v0.5.0
4052024-12-28T04:22:46.037Zwarning: the borrowed expression implements the required traits
4062024-12-28T04:22:46.037Z --> lib/opte/src/ddi/mblk.rs:1138:33
4072024-12-28T04:22:46.037Z |
4082024-12-28T04:22:46.038Z1138 | let pkt2 = MsgBlk::copy(&[]);
4092024-12-28T04:22:46.038Z | ^^^ help: change this to: `[]`
4102024-12-28T04:22:46.038Z |
4112024-12-28T04:22:46.038Z = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrows_for_generic_args
4122024-12-28T04:22:46.038Z = note: `#[warn(clippy::needless_borrows_for_generic_args)]` on by default
4132024-12-28T04:22:46.038Z
4142024-12-28T04:22:46.049Zwarning: the borrowed expression implements the required traits
4152024-12-28T04:22:46.049Z --> lib/opte/src/ddi/mblk.rs:1195:35
4162024-12-28T04:22:46.049Z |
4172024-12-28T04:22:46.049Z1195 | let mut p1 = MsgBlk::copy(&[0, 1, 2, 3]);
4182024-12-28T04:22:46.049Z | ^^^^^^^^^^^^^ help: change this to: `[0, 1, 2, 3]`
4192024-12-28T04:22:46.049Z |
4202024-12-28T04:22:46.049Z = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrows_for_generic_args
4212024-12-28T04:22:46.049Z
4222024-12-28T04:22:46.052Zwarning: the borrowed expression implements the required traits
4232024-12-28T04:22:46.052Z --> lib/opte/src/ddi/mblk.rs:1196:32
4242024-12-28T04:22:46.052Z |
4252024-12-28T04:22:46.052Z1196 | p1.append(MsgBlk::copy(&[4, 5, 6, 7]));
4262024-12-28T04:22:46.052Z | ^^^^^^^^^^^^^ help: change this to: `[4, 5, 6, 7]`
4272024-12-28T04:22:46.052Z |
4282024-12-28T04:22:46.052Z = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrows_for_generic_args
4292024-12-28T04:22:46.052Z
4302024-12-28T04:22:46.052Zwarning: the borrowed expression implements the required traits
4312024-12-28T04:22:46.052Z --> lib/opte/src/ddi/mblk.rs:1197:32
4322024-12-28T04:22:46.052Z |
4332024-12-28T04:22:46.052Z1197 | p1.append(MsgBlk::copy(&[8, 9, 10, 11]));
4342024-12-28T04:22:46.052Z | ^^^^^^^^^^^^^^^ help: change this to: `[8, 9, 10, 11]`
4352024-12-28T04:22:46.052Z |
4362024-12-28T04:22:46.052Z = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrows_for_generic_args
4372024-12-28T04:22:46.052Z
4382024-12-28T04:22:46.079Zwarning: the loop variable `i` is only used to index `els`
4392024-12-28T04:22:46.079Z --> lib/opte/src/ddi/mblk.rs:1361:18
4402024-12-28T04:22:46.079Z |
4412024-12-28T04:22:46.079Z1361 | for i in 0..els.len() {
4422024-12-28T04:22:46.079Z | ^^^^^^^^^^^^
4432024-12-28T04:22:46.079Z |
4442024-12-28T04:22:46.079Z = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_range_loop
4452024-12-28T04:22:46.079Z = note: `#[warn(clippy::needless_range_loop)]` on by default
4462024-12-28T04:22:46.079Zhelp: consider using an iterator
4472024-12-28T04:22:46.079Z |
4482024-12-28T04:22:46.079Z1361 | for <item> in &els {
4492024-12-28T04:22:46.080Z | ~~~~~~ ~~~~
4502024-12-28T04:22:46.080Z
4512024-12-28T04:22:47.226Zwarning: casting to the same type is unnecessary (`usize` -> `usize`)
4522024-12-28T04:22:47.226Z --> lib/opte/src/engine/ip/v6.rs:461:13
4532024-12-28T04:22:47.226Z |
4542024-12-28T04:22:47.226Z461 | header.packet_length() as usize,
4552024-12-28T04:22:47.226Z | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try: `{ header.packet_length() }`
4562024-12-28T04:22:47.226Z |
4572024-12-28T04:22:47.226Z = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unnecessary_cast
4582024-12-28T04:22:47.226Z = note: `#[warn(clippy::unnecessary_cast)]` on by default
4592024-12-28T04:22:47.226Z
4602024-12-28T04:22:47.241Zwarning: redundant slicing of the whole range
4612024-12-28T04:22:47.241Z --> lib/opte/src/engine/ip/v6.rs:590:34
4622024-12-28T04:22:47.241Z |
4632024-12-28T04:22:47.241Z590 | assert!(ValidIpv6::parse(&buf[..]).is_err());
4642024-12-28T04:22:47.241Z | ^^^^^^^^ help: use the original value instead: `buf`
4652024-12-28T04:22:47.241Z |
4662024-12-28T04:22:47.241Z = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_slicing
4672024-12-28T04:22:47.241Z = note: `#[warn(clippy::redundant_slicing)]` on by default
4682024-12-28T04:22:47.241Z
4692024-12-28T04:22:47.245Zwarning: redundant slicing of the whole range
4702024-12-28T04:22:47.245Z --> lib/opte/src/engine/ip/v6.rs:593:53
4712024-12-28T04:22:47.245Z |
4722024-12-28T04:22:47.245Z593 | let (v6, _rem) = Accessor::read_from_prefix(&buf[..]).unwrap();
4732024-12-28T04:22:47.245Z | ^^^^^^^^ help: use the original value instead: `buf`
4742024-12-28T04:22:47.245Z |
4752024-12-28T04:22:47.245Z = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_slicing
4762024-12-28T04:22:47.245Z
4772024-12-28T04:22:47.402Zwarning: this expression creates a reference which is immediately dereferenced by the compiler
4782024-12-28T04:22:47.402Z --> lib/opte/src/engine/layer.rs:1880:46
4792024-12-28T04:22:47.402Z |
4802024-12-28T04:22:47.402Z1880 | assert!(rule_table.find_match(&ifid, &pmeta.meta(), &ameta).is_some());
4812024-12-28T04:22:47.402Z | ^^^^^^^^^^^^^ help: change this to: `pmeta.meta()`
4822024-12-28T04:22:47.402Z |
4832024-12-28T04:22:47.402Z = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrow
4842024-12-28T04:22:47.403Z = note: `#[warn(clippy::needless_borrow)]` on by default
4852024-12-28T04:22:47.403Z
4862024-12-28T04:22:48.243Zwarning: this expression creates a reference which is immediately dereferenced by the compiler
4872024-12-28T04:22:48.243Z --> lib/opte/src/engine/rule.rs:1162:25
4882024-12-28T04:22:48.243Z |
4892024-12-28T04:22:48.243Z1162 | assert!(r1.is_match(&meta, &ameta));
4902024-12-28T04:22:48.243Z | ^^^^^ help: change this to: `meta`
4912024-12-28T04:22:48.243Z |
4922024-12-28T04:22:48.243Z = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrow
4932024-12-28T04:22:48.243Z
4942024-12-28T04:22:48.246Zwarning: this expression creates a reference which is immediately dereferenced by the compiler
4952024-12-28T04:22:48.246Z --> lib/opte/src/engine/rule.rs:1171:26
4962024-12-28T04:22:48.246Z |
4972024-12-28T04:22:48.246Z1171 | assert!(!r1.is_match(&meta, &ameta));
4982024-12-28T04:22:48.246Z | ^^^^^ help: change this to: `meta`
4992024-12-28T04:22:48.246Z |
5002024-12-28T04:22:48.246Z = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrow
5012024-12-28T04:22:48.246Z
5022024-12-28T04:22:48.401Zwarning: useless use of `vec!`
5032024-12-28T04:22:48.401Z --> lib/opte/src/engine/geneve.rs:401:19
5042024-12-28T04:22:48.401Z |
5052024-12-28T04:22:48.401Z401 | let buf = vec![
5062024-12-28T04:22:48.401Z | ___________________^
5072024-12-28T04:22:48.401Z402 | | // source
5082024-12-28T04:22:48.401Z403 | | 0x1E, 0x61,
5092024-12-28T04:22:48.401Z404 | | // dest
5102024-12-28T04:22:48.401Z... |
5112024-12-28T04:22:48.401Z424 | | 0x00,
5122024-12-28T04:22:48.401Z425 | | ];
5132024-12-28T04:22:48.401Z | |_________^
5142024-12-28T04:22:48.402Z |
5152024-12-28T04:22:48.402Z = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#useless_vec
5162024-12-28T04:22:48.402Z = note: `#[warn(clippy::useless_vec)]` on by default
5172024-12-28T04:22:48.402Zhelp: you can use an array directly
5182024-12-28T04:22:48.402Z |
5192024-12-28T04:22:48.402Z401 ~ let buf = [0x1E, 0x61,
5202024-12-28T04:22:48.402Z402 + // dest
5212024-12-28T04:22:48.402Z403 + 0x17, 0xC1,
5222024-12-28T04:22:48.402Z404 + // length
5232024-12-28T04:22:48.402Z405 + 0x00, 0x14,
5242024-12-28T04:22:48.402Z406 + // csum
5252024-12-28T04:22:48.402Z407 + 0x00, 0x00,
5262024-12-28T04:22:48.402Z408 + // ver + opt len
5272024-12-28T04:22:48.402Z409 + 0x01,
5282024-12-28T04:22:48.402Z410 + // flags
5292024-12-28T04:22:48.402Z411 + 0x00,
5302024-12-28T04:22:48.402Z412 + // proto
5312024-12-28T04:22:48.402Z413 + 0x65, 0x58,
5322024-12-28T04:22:48.402Z414 + // vni + reserved
5332024-12-28T04:22:48.402Z415 + 0x00, 0x04, 0xD2, 0x00,
5342024-12-28T04:22:48.402Z416 +
5352024-12-28T04:22:48.402Z417 + // option class
5362024-12-28T04:22:48.402Z418 + 0x01, 0x29,
5372024-12-28T04:22:48.402Z419 + // crt + type
5382024-12-28T04:22:48.402Z420 + 0x00,
5392024-12-28T04:22:48.402Z421 + // rsvd + len
5402024-12-28T04:22:48.402Z422 ~ 0x00];
5412024-12-28T04:22:48.402Z |
5422024-12-28T04:22:48.402Z
5432024-12-28T04:22:48.406Zwarning: useless use of `vec!`
5442024-12-28T04:22:48.406Z --> lib/opte/src/engine/geneve.rs:441:19
5452024-12-28T04:22:48.406Z |
5462024-12-28T04:22:48.406Z441 | let buf = vec![
5472024-12-28T04:22:48.406Z | ___________________^
5482024-12-28T04:22:48.406Z442 | | // source
5492024-12-28T04:22:48.406Z443 | | 0x1E, 0x61,
5502024-12-28T04:22:48.406Z444 | | // dest
5512024-12-28T04:22:48.406Z... |
5522024-12-28T04:22:48.406Z464 | | 0x00,
5532024-12-28T04:22:48.406Z465 | | ];
5542024-12-28T04:22:48.406Z | |_________^
5552024-12-28T04:22:48.406Z |
5562024-12-28T04:22:48.406Z = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#useless_vec
5572024-12-28T04:22:48.406Zhelp: you can use an array directly
5582024-12-28T04:22:48.406Z |
5592024-12-28T04:22:48.406Z441 ~ let buf = [0x1E, 0x61,
5602024-12-28T04:22:48.406Z442 + // dest
5612024-12-28T04:22:48.406Z443 + 0x17, 0xC1,
5622024-12-28T04:22:48.406Z444 + // length
5632024-12-28T04:22:48.406Z445 + 0x00, 0x14,
5642024-12-28T04:22:48.406Z446 + // csum
5652024-12-28T04:22:48.406Z447 + 0x00, 0x00,
5662024-12-28T04:22:48.406Z448 + // ver + opt len
5672024-12-28T04:22:48.406Z449 + 0x01,
5682024-12-28T04:22:48.406Z450 + // flags
5692024-12-28T04:22:48.406Z451 + 0b0100_0000,
5702024-12-28T04:22:48.406Z452 + // proto
5712024-12-28T04:22:48.406Z453 + 0x65, 0x58,
5722024-12-28T04:22:48.407Z454 + // vni + reserved
5732024-12-28T04:22:48.407Z455 + 0x00, 0x04, 0xD2, 0x00,
5742024-12-28T04:22:48.407Z456 +
5752024-12-28T04:22:48.407Z457 + // experimenter option class
5762024-12-28T04:22:48.407Z458 + 0xff, 0xff,
5772024-12-28T04:22:48.407Z459 + // crt + type
5782024-12-28T04:22:48.407Z460 + 0x80,
5792024-12-28T04:22:48.407Z461 + // rsvd + len
5802024-12-28T04:22:48.407Z462 ~ 0x00];
5812024-12-28T04:22:48.407Z |
5822024-12-28T04:22:48.407Z
5832024-12-28T04:22:48.407Zwarning: useless use of `vec!`
5842024-12-28T04:22:48.407Z --> lib/opte/src/engine/geneve.rs:483:19
5852024-12-28T04:22:48.407Z |
5862024-12-28T04:22:48.407Z483 | let buf = vec![
5872024-12-28T04:22:48.407Z | ___________________^
5882024-12-28T04:22:48.407Z484 | | // source
5892024-12-28T04:22:48.407Z485 | | 0x1E, 0x61,
5902024-12-28T04:22:48.407Z486 | | // dest
5912024-12-28T04:22:48.407Z... |
5922024-12-28T04:22:48.407Z524 | | 0x00, 0x00, 0x00, 0x00,
5932024-12-28T04:22:48.407Z525 | | ];
5942024-12-28T04:22:48.407Z | |_________^
5952024-12-28T04:22:48.407Z |
5962024-12-28T04:22:48.407Z = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#useless_vec
5972024-12-28T04:22:48.407Zhelp: you can use an array directly
5982024-12-28T04:22:48.407Z |
5992024-12-28T04:22:48.407Z483 ~ let buf = [0x1E, 0x61,
6002024-12-28T04:22:48.407Z484 + // dest
6012024-12-28T04:22:48.407Z485 + 0x17, 0xC1,
6022024-12-28T04:22:48.407Z486 + // length
6032024-12-28T04:22:48.407Z487 + 0x00, 0x1c,
6042024-12-28T04:22:48.407Z488 + // csum
6052024-12-28T04:22:48.407Z489 + 0x00, 0x00,
6062024-12-28T04:22:48.407Z490 + // ver + opt len
6072024-12-28T04:22:48.407Z491 + 0x05,
6082024-12-28T04:22:48.407Z492 + // flags
6092024-12-28T04:22:48.408Z493 + 0x00,
6102024-12-28T04:22:48.408Z494 + // proto
6112024-12-28T04:22:48.408Z495 + 0x65, 0x58,
6122024-12-28T04:22:48.408Z496 + // vni + reserved
6132024-12-28T04:22:48.408Z497 + 0x00, 0x04, 0xD2, 0x00,
6142024-12-28T04:22:48.408Z498 +
6152024-12-28T04:22:48.408Z499 + // option class
6162024-12-28T04:22:48.408Z500 + 0x01, 0x29,
6172024-12-28T04:22:48.408Z501 + // crt + type
6182024-12-28T04:22:48.408Z502 + 0x00,
6192024-12-28T04:22:48.408Z503 + // rsvd + len
6202024-12-28T04:22:48.408Z504 + 0x00,
6212024-12-28T04:22:48.408Z505 +
6222024-12-28T04:22:48.408Z506 + // experimenter option class
6232024-12-28T04:22:48.408Z507 + 0xff, 0xff,
6242024-12-28T04:22:48.408Z508 + // crt + type
6252024-12-28T04:22:48.408Z509 + 0x05,
6262024-12-28T04:22:48.408Z510 + // rsvd + len
6272024-12-28T04:22:48.408Z511 + 0x01,
6282024-12-28T04:22:48.408Z512 + // body
6292024-12-28T04:22:48.408Z513 + 0x00, 0x00, 0x00, 0x00,
6302024-12-28T04:22:48.408Z514 +
6312024-12-28T04:22:48.408Z515 + // experimenter option class
6322024-12-28T04:22:48.408Z516 + 0xff, 0xff,
6332024-12-28T04:22:48.408Z517 + // crt + type
6342024-12-28T04:22:48.408Z518 + 0x06,
6352024-12-28T04:22:48.408Z519 + // rsvd + len
6362024-12-28T04:22:48.408Z520 + 0x01,
6372024-12-28T04:22:48.408Z521 + // body
6382024-12-28T04:22:48.408Z522 ~ 0x00, 0x00, 0x00, 0x00];
6392024-12-28T04:22:48.408Z |
6402024-12-28T04:22:48.408Z
6412024-12-28T04:22:48.694Zwarning: `opte` (lib test) generated 14 warnings (run `cargo clippy --fix --lib -p opte --tests` to apply 13 suggestions)
6422024-12-28T04:22:48.694Z Finished `dev` profile [unoptimized + debuginfo] target(s) in 34.59s
6432024-12-28T04:22:48.728Z
6442024-12-28T04:22:48.728Zreal 34.770268166
6452024-12-28T04:22:48.728Zuser 2:04.819948711
6462024-12-28T04:22:48.728Zsys 17.228995588
6472024-12-28T04:22:48.728Ztrap 0.064973428
6482024-12-28T04:22:48.728Ztflt 0.384292203
6492024-12-28T04:22:48.728Zdflt 0.495394803
6502024-12-28T04:22:48.728Zkflt 0.000032328
6512024-12-28T04:22:48.728Zlock 3:11.400663450
6522024-12-28T04:22:48.728Zslp 7:30.063912602
6532024-12-28T04:22:48.728Zlat 4.140429352
6542024-12-28T04:22:48.728Zstop 6.290387213
6552024-12-28T04:22:48.731Z+ header 'analyze no_std + engine + kernel'
6562024-12-28T04:22:48.731Z+ echo '# ==== analyze no_std + engine + kernel ==== #'
6572024-12-28T04:22:48.731Z# ==== analyze no_std + engine + kernel ==== #
6582024-12-28T04:22:48.731Z+ ptime -m cargo +nightly-2024-11-18 clippy --no-default-features --features engine,kernel
6592024-12-28T04:22:49.038Z Compiling opte v0.1.0 (/work/oxidecomputer/opte/lib/opte)
6602024-12-28T04:22:49.038Z Checking illumos-sys-hdrs v0.1.0 (/work/oxidecomputer/opte/crates/illumos-sys-hdrs)
6612024-12-28T04:22:49.041Z Compiling kstat-macro v0.1.0 (/work/oxidecomputer/opte/crates/kstat-macro)
6622024-12-28T04:22:49.041Z Compiling derror-macro v0.1.0 (/work/oxidecomputer/opte/crates/derror-macro)
6632024-12-28T04:22:49.209Z Checking opte-api v0.1.0 (/work/oxidecomputer/opte/crates/opte-api)
6642024-12-28T04:22:55.798Z Finished `dev` profile [unoptimized + debuginfo] target(s) in 6.97s
6652024-12-28T04:22:55.833Z
6662024-12-28T04:22:55.833Zreal 7.097408067
6672024-12-28T04:22:55.833Zuser 7.937933741
6682024-12-28T04:22:55.833Zsys 1.149805168
6692024-12-28T04:22:55.833Ztrap 0.001813727
6702024-12-28T04:22:55.833Ztflt 0.010373018
6712024-12-28T04:22:55.833Zdflt 0.001600745
6722024-12-28T04:22:55.835Zkflt 0.000000000
6732024-12-28T04:22:55.836Zlock 18.176422858
6742024-12-28T04:22:55.836Zslp 26.642040687
6752024-12-28T04:22:55.836Zlat 0.054908724
6762024-12-28T04:22:55.836Zstop 0.139724445
6772024-12-28T04:22:55.836Z+ header test
6782024-12-28T04:22:55.836Z+ echo '# ==== test ==== #'
6792024-12-28T04:22:55.836Z# ==== test ==== #
6802024-12-28T04:22:55.836Z+ ptime -m cargo test
6812024-12-28T04:22:56.094Z Compiling unicode-ident v1.0.14
6822024-12-28T04:22:56.094Z Compiling memchr v2.7.4
6832024-12-28T04:22:56.094Z Compiling byteorder v1.5.0
6842024-12-28T04:22:56.097Z Compiling ucd-trie v0.1.7
6852024-12-28T04:22:56.097Z Compiling ryu v1.0.18
6862024-12-28T04:22:56.102Z Compiling itoa v1.0.14
6872024-12-28T04:22:56.112Z Compiling libc v0.2.169
6882024-12-28T04:22:56.115Z Compiling either v1.13.0
6892024-12-28T04:22:56.250Z Compiling proc-macro2 v1.0.92
6902024-12-28T04:22:56.287Z Compiling log v0.4.22
6912024-12-28T04:22:56.413Z Compiling plain v0.2.3
6922024-12-28T04:22:56.484Z Compiling itertools v0.13.0
6932024-12-28T04:22:56.520Z Compiling hash32 v0.3.1
6942024-12-28T04:22:56.626Z Compiling thread-id v4.2.2
6952024-12-28T04:22:56.653Z Compiling macaddr v1.0.1
6962024-12-28T04:22:56.667Z Compiling stable_deref_trait v1.2.0
6972024-12-28T04:22:56.689Z Compiling cfg-if v1.0.0
6982024-12-28T04:22:56.709Z Compiling pretty-hex v0.4.1
6992024-12-28T04:22:56.726Z Compiling heapless v0.8.0
7002024-12-28T04:22:56.748Z Compiling managed v0.8.0
7012024-12-28T04:22:56.767Z Compiling cobs v0.2.3
7022024-12-28T04:22:56.894Z Compiling bitflags v2.6.0
7032024-12-28T04:22:56.979Z Compiling quote v1.0.37
7042024-12-28T04:22:57.025Z Compiling aho-corasick v1.1.3
7052024-12-28T04:22:57.138Z Compiling bitflags v1.3.2
7062024-12-28T04:22:57.171Z Compiling memmap v0.7.0
7072024-12-28T04:22:57.222Z Compiling opte v0.1.0 (/work/oxidecomputer/opte/lib/opte)
7082024-12-28T04:22:57.469Z Compiling syn v2.0.91
7092024-12-28T04:22:57.575Z Compiling smoltcp v0.11.0
7102024-12-28T04:22:57.631Z Compiling unicode-width v0.1.14
7112024-12-28T04:22:57.706Z Compiling illumos-sys-hdrs v0.1.0 (/work/oxidecomputer/opte/crates/illumos-sys-hdrs)
7122024-12-28T04:22:57.855Z Compiling ipnetwork v0.20.0
7132024-12-28T04:22:57.923Z Compiling crc32fast v1.4.2
7142024-12-28T04:22:58.106Z Compiling tabwriter v1.4.0
7152024-12-28T04:22:58.398Z Compiling dyn-clone v1.0.17
7162024-12-28T04:22:58.766Z Compiling regex-automata v0.4.9
7172024-12-28T04:23:01.593Z Compiling regex v1.11.1
7182024-12-28T04:23:02.246Z Compiling darling_core v0.20.10
7192024-12-28T04:23:03.636Z Compiling serde_derive v1.0.217
7202024-12-28T04:23:03.636Z Compiling thiserror-impl v2.0.9
7212024-12-28T04:23:03.876Z Compiling thiserror-impl v1.0.69
7222024-12-28T04:23:03.976Z Compiling zerocopy-derive v0.7.35
7232024-12-28T04:23:04.112Z Compiling scroll_derive v0.12.0
7242024-12-28T04:23:04.181Z Compiling zerocopy-derive v0.8.13
7252024-12-28T04:23:04.719Z Compiling kstat-macro v0.1.0 (/work/oxidecomputer/opte/crates/kstat-macro)
7262024-12-28T04:23:05.561Z Compiling scroll v0.12.0
7272024-12-28T04:23:05.873Z Compiling zerocopy v0.7.35
7282024-12-28T04:23:06.015Z Compiling goblin v0.8.2
7292024-12-28T04:23:06.477Z Compiling thiserror v2.0.9
7302024-12-28T04:23:06.498Z Compiling thiserror v1.0.69
7312024-12-28T04:23:06.566Z Compiling pest v2.7.15
7322024-12-28T04:23:06.659Z Compiling darling_macro v0.20.10
7332024-12-28T04:23:06.780Z Compiling zerocopy v0.8.13
7342024-12-28T04:23:07.550Z Compiling darling v0.20.10
7352024-12-28T04:23:07.638Z Compiling ingot-macros v0.1.0 (https://github.com/oxidecomputer/ingot.git?rev=bff93247fe75ff889121e39d494cc3805fc01906#bff93247)
7362024-12-28T04:23:07.640Z Compiling derror-macro v0.1.0 (/work/oxidecomputer/opte/crates/derror-macro)
7372024-12-28T04:23:08.514Z Compiling serde v1.0.217
7382024-12-28T04:23:08.536Z Compiling pest_meta v2.7.15
7392024-12-28T04:23:09.541Z Compiling pest_generator v2.7.15
7402024-12-28T04:23:10.888Z Compiling pest_derive v2.7.15
7412024-12-28T04:23:11.784Z Compiling dtrace-parser v0.2.0
7422024-12-28T04:23:12.245Z Compiling ingot-types v0.1.0 (https://github.com/oxidecomputer/ingot.git?rev=bff93247fe75ff889121e39d494cc3805fc01906#bff93247)
7432024-12-28T04:23:13.025Z Compiling serde_json v1.0.134
7442024-12-28T04:23:13.025Z Compiling postcard v1.1.1
7452024-12-28T04:23:13.025Z Compiling ingot v0.1.0 (https://github.com/oxidecomputer/ingot.git?rev=bff93247fe75ff889121e39d494cc3805fc01906#bff93247)
7462024-12-28T04:23:13.039Z Compiling serde_tokenstream v0.2.2
7472024-12-28T04:23:14.154Z Compiling dof v0.3.0
7482024-12-28T04:23:14.540Z Compiling opte-api v0.1.0 (/work/oxidecomputer/opte/crates/opte-api)
7492024-12-28T04:23:14.647Z Compiling usdt-impl v0.5.0
7502024-12-28T04:23:15.404Z Compiling usdt-macro v0.5.0
7512024-12-28T04:23:15.404Z Compiling usdt-attr-macro v0.5.0
7522024-12-28T04:23:16.447Z Compiling usdt v0.5.0
7532024-12-28T04:23:31.059Z Finished `test` profile [unoptimized + debuginfo] target(s) in 35.17s
7542024-12-28T04:23:31.077Z Running unittests src/lib.rs (/work/oxidecomputer/opte/target/debug/deps/opte-325bf88b21ed7192)
7552024-12-28T04:23:31.091Z
7562024-12-28T04:23:31.091Zrunning 72 tests
7572024-12-28T04:23:31.094Ztest d_error::tests::name_truncation ... ok
7582024-12-28T04:23:31.094Ztest d_error::tests::name_and_data_storage ... ok
7592024-12-28T04:23:31.094Ztest ddi::mblk::test::chain_append_links ... ok
7602024-12-28T04:23:31.094Ztest ddi::mblk::test::chain_breaks_links ... ok
7612024-12-28T04:23:31.094Ztest ddi::mblk::test::chain_drain_complete ... ok
7622024-12-28T04:23:31.094Ztest ddi::mblk::test::chain_has_correct_ends ... ok
7632024-12-28T04:23:31.094Ztest ddi::mblk::test::expand_and_shrink ... ok
7642024-12-28T04:23:31.095Ztest ddi::mblk::test::prefix_len ... ok
7652024-12-28T04:23:31.095Ztest ddi::mblk::test::read_seg ... ok
7662024-12-28T04:23:31.095Ztest ddi::mblk::test::test_long_packet_continuation ... ok
7672024-12-28T04:23:31.095Ztest ddi::mblk::test::uninitialized_packet ... ok
7682024-12-28T04:23:31.095Ztest ddi::mblk::test::wrap ... ok
7692024-12-28T04:23:31.095Ztest ddi::mblk::test::truncate ... ok
7702024-12-28T04:23:31.095Ztest ddi::time::test::good_interval ... ok
7712024-12-28T04:23:31.095Ztest ddi::mblk::test::zero_byte_packet ... ok
7722024-12-28T04:23:31.095Ztest engine::dhcp::test::hostname_encode ... ok
7732024-12-28T04:23:31.095Ztest engine::dhcp::test::domainname_encode ... ok
7742024-12-28T04:23:31.095Ztest engine::dhcp::test::offlink_encode ... ok
7752024-12-28T04:23:31.095Ztest engine::dhcp::test::domain_search_option_encode ... ok
7762024-12-28T04:23:31.095Ztest engine::dhcp::test::rfc3442_encode ... ok
7772024-12-28T04:23:31.095Ztest engine::dhcpv6::options::test::test_client_id ... ok
7782024-12-28T04:23:31.095Ztest engine::dhcpv6::options::test::test_dns_servers ... ok
7792024-12-28T04:23:31.095Ztest engine::dhcpv6::options::test::test_domain_list_from_slice ... ok
7802024-12-28T04:23:31.095Ztest ddi::time::test::bad_interval - should panic ... ok
7812024-12-28T04:23:31.095Ztest engine::dhcpv6::options::test::test_elapsed_time ... ok
7822024-12-28T04:23:31.095Ztest engine::dhcpv6::options::test::test_ip_list_bad_length_fails ... ok
7832024-12-28T04:23:31.095Ztest engine::dhcpv6::options::test::test_iata ... ok
7842024-12-28T04:23:31.095Ztest engine::dhcpv6::options::test::test_iana ... ok
7852024-12-28T04:23:31.095Ztest engine::dhcpv6::options::test::test_option_request ... ok
7862024-12-28T04:23:31.095Ztest engine::dhcpv6::options::test::test_parse_snooped_client_id ... ok
7872024-12-28T04:23:31.095Ztest engine::dhcpv6::options::test::test_parse_snooped_option_request ... ok
7882024-12-28T04:23:31.095Ztest engine::dhcpv6::options::test::test_parse_snooped_iana ... ok
7892024-12-28T04:23:31.095Ztest engine::dhcpv6::options::test::test_raw_option_from_bytes ... ok
7902024-12-28T04:23:31.095Ztest engine::dhcpv6::options::test::test_server_id ... ok
7912024-12-28T04:23:31.095Ztest engine::dhcpv6::options::test::test_rapid_commit ... ok
7922024-12-28T04:23:31.095Ztest engine::dhcpv6::options::test::test_sntp_servers ... ok
7932024-12-28T04:23:31.098Ztest engine::dhcpv6::options::test::test_status ... ok
7942024-12-28T04:23:31.098Ztest engine::dhcpv6::protocol::test::test_parse_snooped_solicit_message ... ok
7952024-12-28T04:23:31.098Ztest engine::ether::test::emit ... ok
7962024-12-28T04:23:31.098Ztest engine::flow_table::test::flow_clear ... ok
7972024-12-28T04:23:31.098Ztest engine::flow_table::test::flow_expired ... ok
7982024-12-28T04:23:31.098Ztest engine::geneve::test::emit_external_opt ... ok
7992024-12-28T04:23:31.098Ztest engine::geneve::test::emit_no_opts ... ok
8002024-12-28T04:23:31.098Ztest engine::geneve::test::parse_single_opt ... ok
8012024-12-28T04:23:31.098Ztest engine::geneve::test::parse_multi_opt ... ok
8022024-12-28T04:23:31.098Ztest engine::dhcpv6::test::test_duid_from_mac ... ok
8032024-12-28T04:23:31.098Ztest engine::dhcpv6::protocol::test::test_predicates_match_snooped_solicit_message ... ok
8042024-12-28T04:23:31.099Ztest engine::ip::v4::test::emit ... ok
8052024-12-28T04:23:31.099Ztest engine::ip::v4::test::cidr_match ... ok
8062024-12-28T04:23:31.099Ztest engine::ip::v6::test::emit ... ok
8072024-12-28T04:23:31.099Ztest engine::geneve::test::unknown_crit_option_fails ... ok
8082024-12-28T04:23:31.099Ztest engine::ip::v6::test::from_pairs ... ok
8092024-12-28T04:23:31.099Ztest engine::ip::v6::test::bad_ipv6_version_caught ... ok
8102024-12-28T04:23:31.099Ztest engine::ip::v4::test::match_check ... ok
8112024-12-28T04:23:31.099Ztest engine::ip::v6::test::test_ipv6_addr_match_exact ... ok
8122024-12-28T04:23:31.099Ztest engine::ip::v6::test::test_ipv6_cidr_match_prefix ... ok
8132024-12-28T04:23:31.099Ztest engine::layer::test::find_rule ... ok
8142024-12-28T04:23:31.099Ztest engine::ip::v6::test::test_set_total_len ... ok
8152024-12-28T04:23:31.099Ztest engine::nat::test::nat4_rewrite ... ok
8162024-12-28T04:23:31.099Ztest engine::packet::test::read_multi_segment ... ok
8172024-12-28T04:23:31.099Ztest engine::packet::test::read_single_segment ... ok
8182024-12-28T04:23:31.099Ztest engine::packet::test::small_packet_with_padding ... ok
8192024-12-28T04:23:31.099Ztest engine::packet::test::straddled_tcp ... ok
8202024-12-28T04:23:31.099Ztest engine::packet::test::udp6_packet_with_padding ... ok
8212024-12-28T04:23:31.099Ztest engine::ip::v6::test::test_extension_header_lengths_ok ... ok
8222024-12-28T04:23:31.099Ztest engine::parse::test::icmp4_body_csum_equals_body ... ok
8232024-12-28T04:23:31.099Ztest engine::predicate::tests::data_predicate_ranges_handle_unknown ... ok
8242024-12-28T04:23:31.099Ztest engine::rule::rule_matching ... ok
8252024-12-28T04:23:31.099Ztest engine::snat::test::snat4_desc_lifecycle ... ok
8262024-12-28T04:23:31.099Ztest engine::snat::test::nat_mappings ... ok
8272024-12-28T04:23:31.099Ztest engine::snat::test::test_nat_pool_different_ip_types ... ok
8282024-12-28T04:23:31.099Ztest engine::packet::test::parse_ipv6_extension_headers_ok ... ok
8292024-12-28T04:23:31.099Z
8302024-12-28T04:23:31.099Ztest result: ok. 72 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.01s
8312024-12-28T04:23:31.099Z
8322024-12-28T04:23:31.099Z Doc-tests opte
8332024-12-28T04:23:31.859Z
8342024-12-28T04:23:31.859Zrunning 3 tests
8352024-12-28T04:23:31.862Ztest lib/opte/src/ddi/kstat.rs - ddi::kstat::KStatProvider (line 57) ... ignored
8362024-12-28T04:23:33.126Ztest lib/opte/src/ddi/kstat.rs - ddi::kstat::KStatProvider (line 43) ... ok
8372024-12-28T04:23:33.581Ztest lib/opte/src/ddi/kstat.rs - ddi::kstat::KStatNamed (line 86) ... ok
8382024-12-28T04:23:33.581Z
8392024-12-28T04:23:33.584Ztest result: ok. 2 passed; 0 failed; 1 ignored; 0 measured; 0 filtered out; finished in 1.72s
8402024-12-28T04:23:33.584Z
8412024-12-28T04:23:33.620Z
8422024-12-28T04:23:33.620Zreal 37.773507256
8432024-12-28T04:23:33.620Zuser 2:23.484860528
8442024-12-28T04:23:33.620Zsys 15.775968777
8452024-12-28T04:23:33.620Ztrap 0.067635736
8462024-12-28T04:23:33.620Ztflt 0.304370699
8472024-12-28T04:23:33.620Zdflt 0.434811706
8482024-12-28T04:23:33.620Zkflt 0.000023698
8492024-12-28T04:23:33.620Zlock 3:45.604834014
8502024-12-28T04:23:33.622Zslp 7:13.215118167
8512024-12-28T04:23:33.622Zlat 4.235466414
8522024-12-28T04:23:33.622Zstop 5.964514137
8532024-12-28T04:23:33.622Zprocess exited: duration 132733 ms, exit code 0
 
8542024-12-28T04:23:33.628Zfound 0 output files