01HRP68ZYF29FGPMDT7P36MS4S: opte-api

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

Buildomat Job: 01HRP698F1V7VGW7N29ZMVG0ZV

Tags:

Output:

SEQ GLOBAL TIME DETAILS
12024-03-11T07:24:00.516Zjob assigned to worker 01HRP69GVYJSB2PWJHGKCMTBV5 (queued for 1 m 4 s)
 
22024-03-11T07:24:08.227Zstarting task 0: "setup"
32024-03-11T07:24:08.288Z++ uname -s
42024-03-11T07:24:08.294Z+ kern=SunOS
52024-03-11T07:24:08.294Z+ case "$kern" in
62024-03-11T07:24:08.294Z+ groupadd -g 12345 build
72024-03-11T07:24:08.302Z+ useradd -u 12345 -g build -d /home/build -s /bin/bash -c build -P 'Primary Administrator' build
82024-03-11T07:24:10.328Z+ zfs create -o mountpoint=/work rpool/work
92024-03-11T07:24:10.419Z++ awk '$2 == "/home" { print $3 }' /etc/mnttab
102024-03-11T07:24:10.422Z+ home_fs=zfs
112024-03-11T07:24:10.422Z+ [[ zfs == autofs ]]
122024-03-11T07:24:10.422Z+ mkdir -p /home/build
132024-03-11T07:24:10.423Z+ chown build:build /home/build /work
142024-03-11T07:24:11.424Z+ chmod 0700 /home/build /work
152024-03-11T07:24:11.427Zprocess exited: duration 3200 ms, exit code 0
 
162024-03-11T07:24:11.433Zstarting task 1: "rust-toolchain"
172024-03-11T07:24:11.441Z+ curl --proto =https --tlsv1.2 -sSf https://sh.rustup.rs
182024-03-11T07:24:11.445Z+ /bin/bash -s - -y --no-modify-path --default-toolchain nightly-2024-02-06 --profile default
192024-03-11T07:24:11.920Zinfo: downloading installer
202024-03-11T07:24:13.487Zwarning: it looks like you have an existing installation of Rust at:
212024-03-11T07:24:13.487Zwarning: /opt/ooce/bin
222024-03-11T07:24:13.487Zwarning: It is recommended that rustup be the primary Rust installation.
232024-03-11T07:24:13.487Zwarning: Otherwise you may have confusion unless you are careful with your PATH
242024-03-11T07:24:13.487Zwarning: If you are sure that you want both rustup and your already installed Rust
252024-03-11T07:24:13.487Zwarning: then please reply `y' or `yes' or set RUSTUP_INIT_SKIP_PATH_CHECK to yes
262024-03-11T07:24:13.488Zwarning: or pass `-y' to ignore all ignorable checks.
272024-03-11T07:24:13.488Zerror: cannot install while Rust is installed
282024-03-11T07:24:13.488Zwarning: continuing (because the -y flag is set and the error is ignorable)
292024-03-11T07:24:13.585Zinfo: profile set to 'default'
302024-03-11T07:24:13.585Zinfo: default host triple is x86_64-unknown-illumos
312024-03-11T07:24:13.594Zinfo: syncing channel updates for 'nightly-2024-02-06-x86_64-unknown-illumos'
322024-03-11T07:24:14.073Zinfo: latest update on 2024-02-06, rust version 1.78.0-nightly (f067fd608 2024-02-05)
332024-03-11T07:24:14.073Zinfo: downloading component 'cargo'
342024-03-11T07:24:15.129Zinfo: downloading component 'clippy'
352024-03-11T07:24:15.615Zinfo: downloading component 'rust-docs'
362024-03-11T07:24:16.907Zinfo: downloading component 'rust-std'
372024-03-11T07:24:18.820Zinfo: downloading component 'rustc'
382024-03-11T07:24:23.852Zinfo: downloading component 'rustfmt'
392024-03-11T07:24:24.350Zinfo: installing component 'cargo'
402024-03-11T07:24:25.173Zinfo: installing component 'clippy'
412024-03-11T07:24:25.503Zinfo: installing component 'rust-docs'
422024-03-11T07:24:27.126Zinfo: installing component 'rust-std'
432024-03-11T07:24:28.787Zinfo: installing component 'rustc'
442024-03-11T07:24:32.837Zinfo: installing component 'rustfmt'
452024-03-11T07:24:33.176Zinfo: default toolchain set to 'nightly-2024-02-06-x86_64-unknown-illumos'
462024-03-11T07:24:33.176Z
472024-03-11T07:24:33.489Z nightly-2024-02-06-x86_64-unknown-illumos installed - rustc 1.78.0-nightly (f067fd608 2024-02-05)
482024-03-11T07:24:33.489Z
492024-03-11T07:24:33.493Z
502024-03-11T07:24:33.493ZRust is installed now. Great!
512024-03-11T07:24:33.493Z
522024-03-11T07:24:33.493ZTo get started you need Cargo's bin directory ($HOME/.cargo/bin) in your PATH
532024-03-11T07:24:33.493Zenvironment variable. This has not been done automatically.
542024-03-11T07:24:33.493Z
552024-03-11T07:24:33.493ZTo configure your current shell, run:
562024-03-11T07:24:33.493Zsource "$HOME/.cargo/env"
572024-03-11T07:24:33.564Z+ rustc --version
582024-03-11T07:24:33.633Zrustc 1.78.0-nightly (f067fd608 2024-02-05)
592024-03-11T07:24:33.637Zprocess exited: duration 22198 ms, exit code 0
 
602024-03-11T07:24:33.647Zstarting task 2: "authentication"
612024-03-11T07:24:33.694Zprocess exited: duration 38 ms, exit code 0
 
622024-03-11T07:24:33.704Zstarting task 3: "clone repository"
632024-03-11T07:24:33.710Z+ mkdir -p /work/oxidecomputer/opte
642024-03-11T07:24:33.724Z+ git clone https://github.com/oxidecomputer/opte /work/oxidecomputer/opte
652024-03-11T07:24:33.922ZCloning into '/work/oxidecomputer/opte'...
662024-03-11T07:24:35.046Z+ cd /work/oxidecomputer/opte
672024-03-11T07:24:35.046Z+ git fetch origin b12d69cf74719c9e8b58049429d1ad2d63d11457
682024-03-11T07:24:35.359ZFrom https://github.com/oxidecomputer/opte
692024-03-11T07:24:35.359Z * branch b12d69cf74719c9e8b58049429d1ad2d63d11457 -> FETCH_HEAD
702024-03-11T07:24:35.366Z+ [[ -n '' ]]
712024-03-11T07:24:35.366Z+ git reset --hard b12d69cf74719c9e8b58049429d1ad2d63d11457
722024-03-11T07:24:35.387ZHEAD is now at b12d69c chore(deps): lock file maintenance
732024-03-11T07:24:35.391Zprocess exited: duration 1685 ms, exit code 0
 
742024-03-11T07:24:35.402Zstarting task 4: "build"
752024-03-11T07:24:35.406Z+ cargo --version
762024-03-11T07:24:35.410Zinfo: syncing channel updates for '1.76.0-x86_64-unknown-illumos'
772024-03-11T07:24:35.583Zinfo: latest update on 2024-02-08, rust version 1.76.0 (07dca489a 2024-02-04)
782024-03-11T07:24:35.584Zinfo: downloading component 'cargo'
792024-03-11T07:24:36.443Zinfo: downloading component 'clippy'
802024-03-11T07:24:36.709Zinfo: downloading component 'rust-docs'
812024-03-11T07:24:37.780Zinfo: downloading component 'rust-std'
822024-03-11T07:24:39.525Zinfo: downloading component 'rustc'
832024-03-11T07:24:43.922Zinfo: downloading component 'rustfmt'
842024-03-11T07:24:44.157Zinfo: installing component 'cargo'
852024-03-11T07:24:45.030Zinfo: installing component 'clippy'
862024-03-11T07:24:45.358Zinfo: installing component 'rust-docs'
872024-03-11T07:24:46.867Zinfo: installing component 'rust-std'
882024-03-11T07:24:48.675Zinfo: installing component 'rustc'
892024-03-11T07:24:52.762Zinfo: installing component 'rustfmt'
902024-03-11T07:24:53.142Zcargo 1.76.0 (c84b36747 2024-01-18)
912024-03-11T07:24:53.145Z+ rustc --version
922024-03-11T07:24:53.212Zrustc 1.76.0 (07dca489a 2024-02-04)
932024-03-11T07:24:53.216Z+ cd crates/opte-api
942024-03-11T07:24:53.216Z+ header 'check API_VERSION'
952024-03-11T07:24:53.216Z+ echo '# ==== check API_VERSION ==== #'
962024-03-11T07:24:53.216Z# ==== check API_VERSION ==== #
972024-03-11T07:24:53.216Z+ ./check-api-version.sh
982024-03-11T07:24:53.225Z+ header 'check style'
992024-03-11T07:24:53.229Z+ echo '# ==== check style ==== #'
1002024-03-11T07:24:53.229Z# ==== check style ==== #
1012024-03-11T07:24:53.229Z+ ptime -m cargo +nightly-2024-02-06 fmt -- --check
1022024-03-11T07:24:53.444Z
1032024-03-11T07:24:53.444Zreal 0.215210901
1042024-03-11T07:24:53.444Zuser 0.122211502
1052024-03-11T07:24:53.444Zsys 0.085808091
1062024-03-11T07:24:53.444Ztrap 0.000147074
1072024-03-11T07:24:53.449Ztflt 0.000000000
1082024-03-11T07:24:53.449Zdflt 0.000000000
1092024-03-11T07:24:53.449Zkflt 0.000000000
1102024-03-11T07:24:53.449Zlock 0.000000000
1112024-03-11T07:24:53.449Zslp 0.130345155
1122024-03-11T07:24:53.449Zlat 0.002346893
1132024-03-11T07:24:53.449Zstop 0.000215026
1142024-03-11T07:24:53.449Z+ header 'analyze std'
1152024-03-11T07:24:53.449Z+ echo '# ==== analyze std ==== #'
1162024-03-11T07:24:53.449Z# ==== analyze std ==== #
1172024-03-11T07:24:53.449Z+ ptime -m cargo clippy --all-targets
1182024-03-11T07:24:53.669Z Updating crates.io index
1192024-03-11T07:24:53.746Z Updating git repository `https://github.com/oxidecomputer/falcon`
1202024-03-11T07:24:54.516Z Updating git repository `https://github.com/oxidecomputer/poptrie`
1212024-03-11T07:24:54.782Z Updating git repository `https://github.com/oxidecomputer/netadm-sys`
1222024-03-11T07:24:55.153Z Updating git repository `https://github.com/oxidecomputer/zone`
1232024-03-11T07:24:55.621Z Updating git repository `https://github.com/oxidecomputer/dlpi-sys`
1242024-03-11T07:24:55.889Z Updating git repository `https://github.com/jmesmon/rust-libzfs`
1252024-03-11T07:24:56.211Z Updating git repository `https://github.com/oxidecomputer/rusty-doors`
1262024-03-11T07:24:56.974Z Downloading crates ...
1272024-03-11T07:24:57.140Z Downloaded byteorder v1.5.0
1282024-03-11T07:24:57.146Z Downloaded thiserror-impl v1.0.57
1292024-03-11T07:24:57.150Z Downloaded defmt-macros v0.3.7
1302024-03-11T07:24:57.157Z Downloaded hash32 v0.3.1
1312024-03-11T07:24:57.157Z Downloaded cobs v0.2.3
1322024-03-11T07:24:57.157Z Downloaded thiserror v1.0.57
1332024-03-11T07:24:57.161Z Downloaded proc-macro-error-attr v1.0.4
1342024-03-11T07:24:57.161Z Downloaded managed v0.8.0
1352024-03-11T07:24:57.161Z Downloaded bitflags v1.3.2
1362024-03-11T07:24:57.165Z Downloaded stable_deref_trait v1.2.0
1372024-03-11T07:24:57.165Z Downloaded defmt-parser v0.3.4
1382024-03-11T07:24:57.165Z Downloaded ipnetwork v0.20.0
1392024-03-11T07:24:57.165Z Downloaded cfg-if v1.0.0
1402024-03-11T07:24:57.170Z Downloaded defmt v0.3.6
1412024-03-11T07:24:57.174Z Downloaded version_check v0.9.4
1422024-03-11T07:24:57.177Z Downloaded embedded-io v0.4.0
1432024-03-11T07:24:57.177Z Downloaded quote v1.0.35
1442024-03-11T07:24:57.177Z Downloaded proc-macro-error v1.0.4
1452024-03-11T07:24:57.182Z Downloaded proc-macro2 v1.0.78
1462024-03-11T07:24:57.186Z Downloaded serde_derive v1.0.197
1472024-03-11T07:24:57.190Z Downloaded postcard v1.0.8
1482024-03-11T07:24:57.190Z Downloaded unicode-ident v1.0.12
1492024-03-11T07:24:57.194Z Downloaded serde v1.0.197
1502024-03-11T07:24:57.199Z Downloaded heapless v0.8.0
1512024-03-11T07:24:57.225Z Downloaded syn v1.0.109
1522024-03-11T07:24:57.235Z Downloaded syn v2.0.52
1532024-03-11T07:24:57.244Z Downloaded smoltcp v0.11.0
1542024-03-11T07:24:57.347Z Compiling proc-macro2 v1.0.78
1552024-03-11T07:24:57.352Z Compiling unicode-ident v1.0.12
1562024-03-11T07:24:57.352Z Compiling heapless v0.8.0
1572024-03-11T07:24:57.352Z Checking byteorder v1.5.0
1582024-03-11T07:24:57.352Z Compiling serde v1.0.197
1592024-03-11T07:24:57.352Z Checking stable_deref_trait v1.2.0
1602024-03-11T07:24:57.352Z Compiling smoltcp v0.11.0
1612024-03-11T07:24:57.352Z Checking embedded-io v0.4.0
1622024-03-11T07:24:57.441Z Checking managed v0.8.0
1632024-03-11T07:24:57.537Z Checking cfg-if v1.0.0
1642024-03-11T07:24:57.605Z Checking bitflags v1.3.2
1652024-03-11T07:24:57.631Z Checking hash32 v0.3.1
1662024-03-11T07:24:57.667Z Checking cobs v0.2.3
1672024-03-11T07:24:57.734Z Checking ipnetwork v0.20.0
1682024-03-11T07:24:57.740Z Checking illumos-sys-hdrs v0.1.0 (/work/oxidecomputer/opte/crates/illumos-sys-hdrs)
1692024-03-11T07:24:59.191Z Compiling quote v1.0.35
1702024-03-11T07:24:59.472Z Compiling syn v2.0.52
1712024-03-11T07:25:02.169Z Compiling serde_derive v1.0.197
1722024-03-11T07:25:08.180Z Checking postcard v1.0.8
1732024-03-11T07:25:08.566Z Checking opte-api v0.1.0 (/work/oxidecomputer/opte/crates/opte-api)
1742024-03-11T07:25:09.870Z Finished dev [unoptimized + debuginfo] target(s) in 16.28s
1752024-03-11T07:25:09.981Z
1762024-03-11T07:25:09.981Zreal 16.528400363
1772024-03-11T07:25:09.981Zuser 19.571276419
1782024-03-11T07:25:09.981Zsys 5.133481286
1792024-03-11T07:25:09.981Ztrap 0.006460240
1802024-03-11T07:25:09.985Ztflt 0.334136386
1812024-03-11T07:25:09.985Zdflt 1.034827646
1822024-03-11T07:25:09.985Zkflt 0.194256218
1832024-03-11T07:25:09.985Zlock 36.791652284
1842024-03-11T07:25:09.985Zslp 1:14.500124262
1852024-03-11T07:25:09.985Zlat 0.590927646
1862024-03-11T07:25:09.985Zstop 1.197240927
1872024-03-11T07:25:09.986Z+ header 'analyze no_std'
1882024-03-11T07:25:09.986Z+ echo '# ==== analyze no_std ==== #'
1892024-03-11T07:25:09.986Z# ==== analyze no_std ==== #
1902024-03-11T07:25:09.986Z+ ptime -m cargo clippy --no-default-features --all-targets
1912024-03-11T07:25:10.195Z Checking opte-api v0.1.0 (/work/oxidecomputer/opte/crates/opte-api)
1922024-03-11T07:25:11.478Z Finished dev [unoptimized + debuginfo] target(s) in 1.37s
1932024-03-11T07:25:11.495Z
1942024-03-11T07:25:11.498Zreal 1.507916326
1952024-03-11T07:25:11.499Zuser 2.341005525
1962024-03-11T07:25:11.499Zsys 0.309652492
1972024-03-11T07:25:11.499Ztrap 0.000282204
1982024-03-11T07:25:11.499Ztflt 0.000007387
1992024-03-11T07:25:11.499Zdflt 0.000029555
2002024-03-11T07:25:11.499Zkflt 0.000000000
2012024-03-11T07:25:11.499Zlock 2.871491034
2022024-03-11T07:25:11.499Zslp 6.222981398
2032024-03-11T07:25:11.499Zlat 0.002788372
2042024-03-11T07:25:11.499Zstop 0.051623788
2052024-03-11T07:25:11.499Z+ header test
2062024-03-11T07:25:11.499Z+ echo '# ==== test ==== #'
2072024-03-11T07:25:11.499Z# ==== test ==== #
2082024-03-11T07:25:11.499Z+ ptime -m cargo test
2092024-03-11T07:25:11.718Z Compiling byteorder v1.5.0
2102024-03-11T07:25:11.718Z Compiling stable_deref_trait v1.2.0
2112024-03-11T07:25:11.723Z Compiling managed v0.8.0
2122024-03-11T07:25:11.723Z Compiling embedded-io v0.4.0
2132024-03-11T07:25:11.723Z Compiling bitflags v1.3.2
2142024-03-11T07:25:11.727Z Compiling cobs v0.2.3
2152024-03-11T07:25:11.727Z Compiling cfg-if v1.0.0
2162024-03-11T07:25:11.727Z Compiling serde v1.0.197
2172024-03-11T07:25:11.788Z Compiling illumos-sys-hdrs v0.1.0 (/work/oxidecomputer/opte/crates/illumos-sys-hdrs)
2182024-03-11T07:25:11.788Z Compiling ipnetwork v0.20.0
2192024-03-11T07:25:11.972Z Compiling hash32 v0.3.1
2202024-03-11T07:25:12.066Z Compiling heapless v0.8.0
2212024-03-11T07:25:12.660Z Compiling smoltcp v0.11.0
2222024-03-11T07:25:15.100Z Compiling postcard v1.0.8
2232024-03-11T07:25:15.549Z Compiling opte-api v0.1.0 (/work/oxidecomputer/opte/crates/opte-api)
2242024-03-11T07:25:17.251Z Finished test [unoptimized + debuginfo] target(s) in 5.70s
2252024-03-11T07:25:17.258Z Running unittests src/lib.rs (/work/oxidecomputer/opte/target/debug/deps/opte_api-36e9aa301e0deea7)
2262024-03-11T07:25:17.266Z
2272024-03-11T07:25:17.266Zrunning 22 tests
2282024-03-11T07:25:17.271Ztest encap::test::good_vni ... ok
2292024-03-11T07:25:17.271Ztest encap::test::bad_vni ... ok
2302024-03-11T07:25:17.271Ztest encap::test::vni_round_trip ... ok
2312024-03-11T07:25:17.271Ztest dns::tests::test_domain_name ... ok
2322024-03-11T07:25:17.271Ztest ip::test::bad_cidr ... ok
2332024-03-11T07:25:17.271Ztest ip::test::bad_prefix_len ... ok
2342024-03-11T07:25:17.271Ztest ip::test::dhcp_fqdn ... ok
2352024-03-11T07:25:17.271Ztest ip::test::good_cidr ... ok
2362024-03-11T07:25:17.271Ztest ip::test::ipv4_addr_good ... ok
2372024-03-11T07:25:17.271Ztest ip::test::ipv4_mask ... ok
2382024-03-11T07:25:17.271Ztest ip::test::ipv4_addr_bad ... ok
2392024-03-11T07:25:17.271Ztest ip::test::ipv6_is_default ... ok
2402024-03-11T07:25:17.271Ztest ip::test::ipv6_cidr_is_member ... ok
2412024-03-11T07:25:17.272Ztest ip::test::ipv6_prefix_len ... ok
2422024-03-11T07:25:17.272Ztest ip::test::ipv6_mask ... ok
2432024-03-11T07:25:17.272Ztest ip::test::test_ip_cidr_from_str ... ok
2442024-03-11T07:25:17.272Ztest ip::test::test_ip_addr_from_str ... ok
2452024-03-11T07:25:17.272Ztest ip::test::test_ipv6_from_const ... ok
2462024-03-11T07:25:17.272Ztest ip::test::test_ipv6_is_multicast ... ok
2472024-03-11T07:25:17.272Ztest ip::test::test_ipv6_solicited_node_multicast ... ok
2482024-03-11T07:25:17.272Ztest ip::test::test_ipv6_multicast_mac ... ok
2492024-03-11T07:25:17.272Ztest ip::test::test_ipv6_from_eui64 ... ok
2502024-03-11T07:25:17.272Z
2512024-03-11T07:25:17.272Ztest result: ok. 22 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s
2522024-03-11T07:25:17.272Z
2532024-03-11T07:25:17.272Z Doc-tests opte-api
2542024-03-11T07:25:17.449Z
2552024-03-11T07:25:17.449Zrunning 1 test
2562024-03-11T07:25:17.782Ztest crates/opte-api/src/dns.rs - dns::DomainName::encode (line 82) ... ok
2572024-03-11T07:25:17.782Z
2582024-03-11T07:25:17.782Ztest result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.33s
2592024-03-11T07:25:17.782Z
2602024-03-11T07:25:17.797Z
2612024-03-11T07:25:17.801Zreal 6.293479331
2622024-03-11T07:25:17.801Zuser 12.323637789
2632024-03-11T07:25:17.801Zsys 3.085476411
2642024-03-11T07:25:17.801Ztrap 0.002118266
2652024-03-11T07:25:17.801Ztflt 0.060408408
2662024-03-11T07:25:17.801Zdflt 0.111471997
2672024-03-11T07:25:17.801Zkflt 0.000000000
2682024-03-11T07:25:17.801Zlock 22.940565122
2692024-03-11T07:25:17.801Zslp 26.680508939
2702024-03-11T07:25:17.801Zlat 0.274176506
2712024-03-11T07:25:17.801Zstop 0.462746018
2722024-03-11T07:25:17.801Zprocess exited: duration 42392 ms, exit code 0
 
2732024-03-11T07:25:17.809Zfound 0 output files