|
|
|
| 1 | 2025-02-10T17:22:13.902Z | job assigned to worker 01JKRE2RT95VVPZ7TNSBWH8X9S [factory aws, i-03e47d1d47f0e1389] (queued for 50 s) |
| |
| 2 | 2025-02-10T17:22:21.768Z | starting task 0: "setup" |
| 3 | 2025-02-10T17:22:21.775Z | ++ uname -s |
| 4 | 2025-02-10T17:22:21.778Z | + kern=SunOS |
| 5 | 2025-02-10T17:22:21.778Z | + build_user=build |
| 6 | 2025-02-10T17:22:21.778Z | + build_uid=12345 |
| 7 | 2025-02-10T17:22:21.778Z | + work_dir=/work |
| 8 | 2025-02-10T17:22:21.778Z | + input_dir=/input |
| 9 | 2025-02-10T17:22:21.778Z | + [[ 0 == 12345 ]] |
| 10 | 2025-02-10T17:22:21.778Z | + case "$kern" in |
| 11 | 2025-02-10T17:22:21.778Z | + groupadd -g 12345 build |
| 12 | 2025-02-10T17:22:21.781Z | + useradd -u 12345 -g build -d /home/build -s /bin/bash -c build -P 'Primary Administrator' build |
| 13 | 2025-02-10T17:22:23.788Z | + zfs create -o mountpoint=/work rpool/work |
| 14 | 2025-02-10T17:22:23.912Z | ++ awk '$2 == "/home" { print $3 }' /etc/mnttab |
| 15 | 2025-02-10T17:22:23.915Z | + home_fs=zfs |
| 16 | 2025-02-10T17:22:23.915Z | + [[ zfs == autofs ]] |
| 17 | 2025-02-10T17:22:23.915Z | + mkdir -p /home/build |
| 18 | 2025-02-10T17:22:23.918Z | + chown build:build /home/build /work |
| 19 | 2025-02-10T17:22:25.919Z | + chmod 0700 /home/build /work |
| 20 | 2025-02-10T17:22:25.922Z | process exited: duration 4153 ms, exit code 0 |
| |
| 21 | 2025-02-10T17:22:25.928Z | starting task 1: "rust-toolchain" |
| 22 | 2025-02-10T17:22:25.934Z | + printf ' * rust toolchain channel = "%s"\n' nightly-2024-11-18 |
| 23 | 2025-02-10T17:22:25.934Z | * rust toolchain channel = "nightly-2024-11-18" |
| 24 | 2025-02-10T17:22:25.934Z | + printf ' * rust toolchain profile = "%s"\n' default |
| 25 | 2025-02-10T17:22:25.934Z | * rust toolchain profile = "default" |
| 26 | 2025-02-10T17:22:25.934Z | + export RUSTUP_INIT_SKIP_PATH_CHECK=true |
| 27 | 2025-02-10T17:22:25.934Z | + RUSTUP_INIT_SKIP_PATH_CHECK=true |
| 28 | 2025-02-10T17:22:25.937Z | + curl --proto =https --tlsv1.2 -sSf https://sh.rustup.rs |
| 29 | 2025-02-10T17:22:25.937Z | + /bin/bash -s - -y --no-modify-path --default-toolchain nightly-2024-11-18 --profile default |
| 30 | 2025-02-10T17:22:26.052Z | info: downloading installer |
| 31 | 2025-02-10T17:22:27.576Z | warning: it looks like you have an existing installation of Rust at: |
| 32 | 2025-02-10T17:22:27.576Z | warning: /opt/ooce/bin |
| 33 | 2025-02-10T17:22:27.576Z | warning: It is recommended that rustup be the primary Rust installation. |
| 34 | 2025-02-10T17:22:27.576Z | warning: Otherwise you may have confusion unless you are careful with your PATH |
| 35 | 2025-02-10T17:22:27.576Z | warning: If you are sure that you want both rustup and your already installed Rust |
| 36 | 2025-02-10T17:22:27.576Z | warning: then please reply `y' or `yes' or set RUSTUP_INIT_SKIP_PATH_CHECK to yes |
| 37 | 2025-02-10T17:22:27.576Z | warning: or pass `-y' to ignore all ignorable checks. |
| 38 | 2025-02-10T17:22:27.576Z | error: cannot install while Rust is installed |
| 39 | 2025-02-10T17:22:27.576Z | warning: continuing (because the -y flag is set and the error is ignorable) |
| 40 | 2025-02-10T17:22:27.588Z | info: profile set to 'default' |
| 41 | 2025-02-10T17:22:27.588Z | info: default host triple is x86_64-unknown-illumos |
| 42 | 2025-02-10T17:22:27.590Z | info: syncing channel updates for 'nightly-2024-11-18-x86_64-unknown-illumos' |
| 43 | 2025-02-10T17:22:27.755Z | info: latest update on 2024-11-18, rust version 1.84.0-nightly (5ec7d6eee 2024-11-17) |
| 44 | 2025-02-10T17:22:27.755Z | info: downloading component 'cargo' |
| 45 | 2025-02-10T17:22:28.663Z | info: downloading component 'clippy' |
| 46 | 2025-02-10T17:22:29.013Z | info: downloading component 'rust-docs' |
| 47 | 2025-02-10T17:22:30.247Z | info: downloading component 'rust-std' |
| 48 | 2025-02-10T17:22:32.246Z | info: downloading component 'rustc' |
| 49 | 2025-02-10T17:22:39.289Z | info: downloading component 'rustfmt' |
| 50 | 2025-02-10T17:22:39.555Z | info: installing component 'cargo' |
| 51 | 2025-02-10T17:22:40.383Z | info: installing component 'clippy' |
| 52 | 2025-02-10T17:22:40.761Z | info: installing component 'rust-docs' |
| 53 | 2025-02-10T17:22:42.455Z | info: installing component 'rust-std' |
| 54 | 2025-02-10T17:22:44.317Z | info: installing component 'rustc' |
| 55 | 2025-02-10T17:22:50.311Z | info: installing component 'rustfmt' |
| 56 | 2025-02-10T17:22:50.637Z | info: default toolchain set to 'nightly-2024-11-18-x86_64-unknown-illumos' |
| 57 | 2025-02-10T17:22:50.638Z | |
| 58 | 2025-02-10T17:22:51.034Z | nightly-2024-11-18-x86_64-unknown-illumos installed - rustc 1.84.0-nightly (5ec7d6eee 2024-11-17) |
| 59 | 2025-02-10T17:22:51.034Z | |
| 60 | 2025-02-10T17:22:51.037Z | |
| 61 | 2025-02-10T17:22:51.037Z | Rust is installed now. Great! |
| 62 | 2025-02-10T17:22:51.037Z | |
| 63 | 2025-02-10T17:22:51.037Z | To get started you need Cargo's bin directory ($HOME/.cargo/bin) in your PATH |
| 64 | 2025-02-10T17:22:51.037Z | environment variable. This has not been done automatically. |
| 65 | 2025-02-10T17:22:51.037Z | |
| 66 | 2025-02-10T17:22:51.037Z | To configure your current shell, you need to source |
| 67 | 2025-02-10T17:22:51.037Z | the corresponding env file under $HOME/.cargo. |
| 68 | 2025-02-10T17:22:51.037Z | |
| 69 | 2025-02-10T17:22:51.037Z | This is usually done by running one of the following (note the leading DOT): |
| 70 | 2025-02-10T17:22:51.037Z | . "$HOME/.cargo/env" # For sh/bash/zsh/ash/dash/pdksh |
| 71 | 2025-02-10T17:22:51.037Z | source "$HOME/.cargo/env.fish" # For fish |
| 72 | 2025-02-10T17:22:51.117Z | + rustup --version |
| 73 | 2025-02-10T17:22:51.125Z | rustup 1.27.1 (54dd3d00f 2024-04-24) |
| 74 | 2025-02-10T17:22:51.125Z | info: This is the version for the rustup toolchain manager, not the rustc compiler. |
| 75 | 2025-02-10T17:22:51.205Z | info: The currently active `rustc` version is `rustc 1.84.0-nightly (5ec7d6eee 2024-11-17)` |
| 76 | 2025-02-10T17:22:51.208Z | + cargo --version |
| 77 | 2025-02-10T17:22:51.268Z | cargo 1.84.0-nightly (69e595908 2024-11-16) |
| 78 | 2025-02-10T17:22:51.271Z | + rustc --version |
| 79 | 2025-02-10T17:22:51.333Z | rustc 1.84.0-nightly (5ec7d6eee 2024-11-17) |
| 80 | 2025-02-10T17:22:51.336Z | process exited: duration 25404 ms, exit code 0 |
| |
| 81 | 2025-02-10T17:22:51.341Z | starting task 2: "authentication" |
| 82 | 2025-02-10T17:22:51.362Z | process exited: duration 20 ms, exit code 0 |
| |
| 83 | 2025-02-10T17:22:51.368Z | starting task 3: "clone repository" |
| 84 | 2025-02-10T17:22:51.373Z | + mkdir -p /work/oxidecomputer/opte |
| 85 | 2025-02-10T17:22:51.375Z | + git clone https://github.com/oxidecomputer/opte /work/oxidecomputer/opte |
| 86 | 2025-02-10T17:22:51.414Z | Cloning into '/work/oxidecomputer/opte'... |
| 87 | 2025-02-10T17:22:52.172Z | + cd /work/oxidecomputer/opte |
| 88 | 2025-02-10T17:22:52.175Z | + git fetch origin 9345439b57a80ca6d13e173affd8c4aab645af73 |
| 89 | 2025-02-10T17:22:52.466Z | From https://github.com/oxidecomputer/opte |
| 90 | 2025-02-10T17:22:52.466Z | * branch 9345439b57a80ca6d13e173affd8c4aab645af73 -> FETCH_HEAD |
| 91 | 2025-02-10T17:22:52.474Z | + [[ -n ingot-and-offload ]] |
| 92 | 2025-02-10T17:22:52.477Z | ++ git branch --show-current |
| 93 | 2025-02-10T17:22:52.480Z | + current=master |
| 94 | 2025-02-10T17:22:52.480Z | + [[ master != ingot-and-offload ]] |
| 95 | 2025-02-10T17:22:52.480Z | + git branch -f ingot-and-offload 9345439b57a80ca6d13e173affd8c4aab645af73 |
| 96 | 2025-02-10T17:22:52.483Z | + git checkout -f ingot-and-offload |
| 97 | 2025-02-10T17:22:52.504Z | Switched to branch 'ingot-and-offload' |
| 98 | 2025-02-10T17:22:52.507Z | + git reset --hard 9345439b57a80ca6d13e173affd8c4aab645af73 |
| 99 | 2025-02-10T17:22:52.513Z | HEAD is now at 9345439 Whelp, these flags moved about. |
| 100 | 2025-02-10T17:22:52.515Z | process exited: duration 1146 ms, exit code 0 |
| |
| 101 | 2025-02-10T17:22:52.521Z | starting task 4: "build" |
| 102 | 2025-02-10T17:22:52.526Z | + cargo --version |
| 103 | 2025-02-10T17:22:52.531Z | info: syncing channel updates for '1.84.0-x86_64-unknown-illumos' |
| 104 | 2025-02-10T17:22:52.708Z | info: latest update on 2025-01-09, rust version 1.84.0 (9fc6b4312 2025-01-07) |
| 105 | 2025-02-10T17:22:52.708Z | info: downloading component 'cargo' |
| 106 | 2025-02-10T17:22:53.722Z | info: downloading component 'clippy' |
| 107 | 2025-02-10T17:22:54.110Z | info: downloading component 'rust-docs' |
| 108 | 2025-02-10T17:22:55.502Z | info: downloading component 'rust-std' |
| 109 | 2025-02-10T17:22:57.557Z | info: downloading component 'rustc' |
| 110 | 2025-02-10T17:23:05.495Z | info: downloading component 'rustfmt' |
| 111 | 2025-02-10T17:23:05.793Z | info: installing component 'cargo' |
| 112 | 2025-02-10T17:23:06.619Z | info: installing component 'clippy' |
| 113 | 2025-02-10T17:23:07.008Z | info: installing component 'rust-docs' |
| 114 | 2025-02-10T17:23:08.725Z | info: installing component 'rust-std' |
| 115 | 2025-02-10T17:23:10.445Z | info: installing component 'rustc' |
| 116 | 2025-02-10T17:23:16.351Z | info: installing component 'rustfmt' |
| 117 | 2025-02-10T17:23:16.770Z | cargo 1.84.0 (66221abde 2024-11-19) |
| 118 | 2025-02-10T17:23:16.772Z | + rustc --version |
| 119 | 2025-02-10T17:23:16.844Z | rustc 1.84.0 (9fc6b4312 2025-01-07) |
| 120 | 2025-02-10T17:23:16.848Z | + cd lib/opte |
| 121 | 2025-02-10T17:23:16.852Z | + header 'check style' |
| 122 | 2025-02-10T17:23:16.852Z | + echo '# ==== check style ==== #' |
| 123 | 2025-02-10T17:23:16.852Z | # ==== check style ==== # |
| 124 | 2025-02-10T17:23:16.852Z | + ptime -m cargo +nightly-2024-11-18 fmt -- --check |
| 125 | 2025-02-10T17:23:17.212Z | |
| 126 | 2025-02-10T17:23:17.212Z | real 0.357740477 |
| 127 | 2025-02-10T17:23:17.212Z | user 0.259566917 |
| 128 | 2025-02-10T17:23:17.212Z | sys 0.090559342 |
| 129 | 2025-02-10T17:23:17.212Z | trap 0.000016689 |
| 130 | 2025-02-10T17:23:17.212Z | tflt 0.000000000 |
| 131 | 2025-02-10T17:23:17.212Z | dflt 0.000000000 |
| 132 | 2025-02-10T17:23:17.212Z | kflt 0.000000000 |
| 133 | 2025-02-10T17:23:17.215Z | lock 0.000000000 |
| 134 | 2025-02-10T17:23:17.215Z | slp 0.281848880 |
| 135 | 2025-02-10T17:23:17.215Z | lat 0.000280240 |
| 136 | 2025-02-10T17:23:17.215Z | stop 0.000132341 |
| 137 | 2025-02-10T17:23:17.215Z | + header 'check docs' |
| 138 | 2025-02-10T17:23:17.215Z | + echo '# ==== check docs ==== #' |
| 139 | 2025-02-10T17:23:17.216Z | # ==== check docs ==== # |
| 140 | 2025-02-10T17:23:17.216Z | + RUSTDOCFLAGS='-D warnings' |
| 141 | 2025-02-10T17:23:17.216Z | + ptime -m cargo +nightly-2024-11-18 doc --no-default-features --features=api,std,engine,kernel |
| 142 | 2025-02-10T17:23:17.324Z | Updating crates.io index |
| 143 | 2025-02-10T17:23:17.328Z | Updating git repository `https://github.com/oxidecomputer/falcon` |
| 144 | 2025-02-10T17:23:18.210Z | Updating git repository `https://github.com/oxidecomputer/ingot.git` |
| 145 | 2025-02-10T17:23:18.537Z | Updating git repository `https://github.com/oxidecomputer/poptrie` |
| 146 | 2025-02-10T17:23:18.771Z | Updating git repository `https://github.com/oxidecomputer/netadm-sys` |
| 147 | 2025-02-10T17:23:19.128Z | Updating git repository `https://github.com/oxidecomputer/zone` |
| 148 | 2025-02-10T17:23:19.396Z | Updating git repository `https://github.com/oxidecomputer/oxnet` |
| 149 | 2025-02-10T17:23:19.673Z | Updating git repository `https://github.com/oxidecomputer/dlpi-sys` |
| 150 | 2025-02-10T17:23:19.951Z | Updating git repository `https://github.com/jmesmon/rust-libzfs` |
| 151 | 2025-02-10T17:23:20.227Z | Updating git repository `https://github.com/oxidecomputer/rusty-doors` |
| 152 | 2025-02-10T17:23:21.001Z | Downloading crates ... |
| 153 | 2025-02-10T17:23:21.083Z | Downloaded cfg-if v1.0.0 |
| 154 | 2025-02-10T17:23:21.087Z | Downloaded bitflags v1.3.2 |
| 155 | 2025-02-10T17:23:21.091Z | Downloaded bitflags v2.8.0 |
| 156 | 2025-02-10T17:23:21.097Z | Downloaded darling_macro v0.20.10 |
| 157 | 2025-02-10T17:23:21.111Z | Downloaded scroll_derive v0.12.0 |
| 158 | 2025-02-10T17:23:21.114Z | Downloaded ident_case v1.0.1 |
| 159 | 2025-02-10T17:23:21.131Z | Downloaded dtrace-parser v0.2.0 |
| 160 | 2025-02-10T17:23:21.134Z | Downloaded usdt-macro v0.5.0 |
| 161 | 2025-02-10T17:23:21.137Z | Downloaded usdt-attr-macro v0.5.0 |
| 162 | 2025-02-10T17:23:21.142Z | Downloaded block-buffer v0.10.4 |
| 163 | 2025-02-10T17:23:21.145Z | Downloaded proc-macro-error-attr2 v2.0.0 |
| 164 | 2025-02-10T17:23:21.148Z | Downloaded itoa v1.0.14 |
| 165 | 2025-02-10T17:23:21.148Z | Downloaded embedded-io v0.4.0 |
| 166 | 2025-02-10T17:23:21.150Z | Downloaded either v1.13.0 |
| 167 | 2025-02-10T17:23:21.150Z | Downloaded digest v0.10.7 |
| 168 | 2025-02-10T17:23:21.153Z | Downloaded crypto-common v0.1.6 |
| 169 | 2025-02-10T17:23:21.153Z | Downloaded plain v0.2.3 |
| 170 | 2025-02-10T17:23:21.155Z | Downloaded dyn-clone v1.0.17 |
| 171 | 2025-02-10T17:23:21.155Z | Downloaded scroll v0.12.0 |
| 172 | 2025-02-10T17:23:21.158Z | Downloaded cobs v0.2.3 |
| 173 | 2025-02-10T17:23:21.158Z | Downloaded byteorder v1.5.0 |
| 174 | 2025-02-10T17:23:21.162Z | Downloaded hash32 v0.3.1 |
| 175 | 2025-02-10T17:23:21.165Z | Downloaded memmap v0.7.0 |
| 176 | 2025-02-10T17:23:21.167Z | Downloaded pretty-hex v0.4.1 |
| 177 | 2025-02-10T17:23:21.167Z | Downloaded macaddr v1.0.1 |
| 178 | 2025-02-10T17:23:21.170Z | Downloaded dof v0.3.0 |
| 179 | 2025-02-10T17:23:21.170Z | Downloaded fnv v1.0.7 |
| 180 | 2025-02-10T17:23:21.173Z | Downloaded usdt v0.5.0 |
| 181 | 2025-02-10T17:23:21.175Z | Downloaded pest_generator v2.7.15 |
| 182 | 2025-02-10T17:23:21.178Z | Downloaded thread-id v4.2.2 |
| 183 | 2025-02-10T17:23:21.182Z | Downloaded tabwriter v1.4.1 |
| 184 | 2025-02-10T17:23:21.185Z | Downloaded stable_deref_trait v1.2.0 |
| 185 | 2025-02-10T17:23:21.188Z | Downloaded cpufeatures v0.2.16 |
| 186 | 2025-02-10T17:23:21.192Z | Downloaded generic-array v0.14.7 |
| 187 | 2025-02-10T17:23:21.195Z | Downloaded version_check v0.9.5 |
| 188 | 2025-02-10T17:23:21.198Z | Downloaded serde_tokenstream v0.2.2 |
| 189 | 2025-02-10T17:23:21.198Z | Downloaded defmt-parser v0.4.1 |
| 190 | 2025-02-10T17:23:21.198Z | Downloaded thiserror-impl v2.0.11 |
| 191 | 2025-02-10T17:23:21.202Z | Downloaded thiserror-impl v1.0.69 |
| 192 | 2025-02-10T17:23:21.205Z | Downloaded embedded-io v0.6.1 |
| 193 | 2025-02-10T17:23:21.205Z | Downloaded thiserror v1.0.69 |
| 194 | 2025-02-10T17:23:21.209Z | Downloaded strsim v0.11.1 |
| 195 | 2025-02-10T17:23:21.212Z | Downloaded managed v0.8.0 |
| 196 | 2025-02-10T17:23:21.214Z | Downloaded quote v1.0.38 |
| 197 | 2025-02-10T17:23:21.217Z | Downloaded proc-macro-error2 v2.0.1 |
| 198 | 2025-02-10T17:23:21.221Z | Downloaded postcard v1.1.1 |
| 199 | 2025-02-10T17:23:21.223Z | Downloaded defmt-macros v0.4.0 |
| 200 | 2025-02-10T17:23:21.226Z | Downloaded zerocopy-derive v0.7.35 |
| 201 | 2025-02-10T17:23:21.230Z | Downloaded usdt-impl v0.5.0 |
| 202 | 2025-02-10T17:23:21.232Z | Downloaded thiserror v2.0.11 |
| 203 | 2025-02-10T17:23:21.237Z | Downloaded sha2 v0.10.8 |
| 204 | 2025-02-10T17:23:21.240Z | Downloaded defmt v0.3.10 |
| 205 | 2025-02-10T17:23:21.242Z | Downloaded crc32fast v1.4.2 |
| 206 | 2025-02-10T17:23:21.245Z | Downloaded pest_derive v2.7.15 |
| 207 | 2025-02-10T17:23:21.247Z | Downloaded once_cell v1.20.2 |
| 208 | 2025-02-10T17:23:21.250Z | Downloaded ipnetwork v0.21.1 |
| 209 | 2025-02-10T17:23:21.256Z | Downloaded ryu v1.0.18 |
| 210 | 2025-02-10T17:23:21.264Z | Downloaded ucd-trie v0.1.7 |
| 211 | 2025-02-10T17:23:21.266Z | Downloaded darling v0.20.10 |
| 212 | 2025-02-10T17:23:21.274Z | Downloaded typenum v1.17.0 |
| 213 | 2025-02-10T17:23:21.276Z | Downloaded unicode-ident v1.0.14 |
| 214 | 2025-02-10T17:23:21.279Z | Downloaded proc-macro2 v1.0.93 |
| 215 | 2025-02-10T17:23:21.281Z | Downloaded pest_meta v2.7.15 |
| 216 | 2025-02-10T17:23:21.285Z | Downloaded darling_core v0.20.10 |
| 217 | 2025-02-10T17:23:21.297Z | Downloaded log v0.4.25 |
| 218 | 2025-02-10T17:23:21.314Z | Downloaded zerocopy-derive v0.8.14 |
| 219 | 2025-02-10T17:23:21.335Z | Downloaded serde v1.0.217 |
| 220 | 2025-02-10T17:23:21.339Z | Downloaded heapless v0.8.0 |
| 221 | 2025-02-10T17:23:21.345Z | Downloaded memchr v2.7.4 |
| 222 | 2025-02-10T17:23:21.358Z | Downloaded serde_derive v1.0.217 |
| 223 | 2025-02-10T17:23:21.368Z | Downloaded aho-corasick v1.1.3 |
| 224 | 2025-02-10T17:23:21.386Z | Downloaded itertools v0.14.0 |
| 225 | 2025-02-10T17:23:21.398Z | Downloaded pest v2.7.15 |
| 226 | 2025-02-10T17:23:21.403Z | Downloaded itertools v0.13.0 |
| 227 | 2025-02-10T17:23:21.410Z | Downloaded zerocopy v0.7.35 |
| 228 | 2025-02-10T17:23:21.425Z | Downloaded serde_json v1.0.137 |
| 229 | 2025-02-10T17:23:21.439Z | Downloaded goblin v0.8.2 |
| 230 | 2025-02-10T17:23:21.479Z | Downloaded zerocopy v0.8.14 |
| 231 | 2025-02-10T17:23:21.502Z | Downloaded unicode-width v0.2.0 |
| 232 | 2025-02-10T17:23:21.507Z | Downloaded regex v1.11.1 |
| 233 | 2025-02-10T17:23:21.518Z | Downloaded syn v2.0.96 |
| 234 | 2025-02-10T17:23:21.529Z | Downloaded regex-syntax v0.8.5 |
| 235 | 2025-02-10T17:23:21.539Z | Downloaded smoltcp v0.11.0 |
| 236 | 2025-02-10T17:23:21.578Z | Downloaded regex-automata v0.4.9 |
| 237 | 2025-02-10T17:23:21.594Z | Downloaded libc v0.2.169 |
| 238 | 2025-02-10T17:23:21.753Z | Compiling proc-macro2 v1.0.93 |
| 239 | 2025-02-10T17:23:21.754Z | Compiling unicode-ident v1.0.14 |
| 240 | 2025-02-10T17:23:21.756Z | Documenting unicode-ident v1.0.14 |
| 241 | 2025-02-10T17:23:21.757Z | Compiling ident_case v1.0.1 |
| 242 | 2025-02-10T17:23:21.757Z | Compiling fnv v1.0.7 |
| 243 | 2025-02-10T17:23:21.757Z | Compiling strsim v0.11.1 |
| 244 | 2025-02-10T17:23:21.757Z | Compiling serde v1.0.217 |
| 245 | 2025-02-10T17:23:21.939Z | Checking memchr v2.7.4 |
| 246 | 2025-02-10T17:23:22.193Z | Compiling regex-syntax v0.8.5 |
| 247 | 2025-02-10T17:23:22.225Z | Compiling zerocopy v0.8.14 |
| 248 | 2025-02-10T17:23:22.423Z | Documenting ident_case v1.0.1 |
| 249 | 2025-02-10T17:23:22.452Z | Compiling either v1.13.0 |
| 250 | 2025-02-10T17:23:22.462Z | Documenting fnv v1.0.7 |
| 251 | 2025-02-10T17:23:22.806Z | Documenting proc-macro2 v1.0.93 |
| 252 | 2025-02-10T17:23:22.987Z | Compiling aho-corasick v1.1.3 |
| 253 | 2025-02-10T17:23:23.329Z | Compiling quote v1.0.38 |
| 254 | 2025-02-10T17:23:23.757Z | Compiling syn v2.0.96 |
| 255 | 2025-02-10T17:23:23.895Z | Documenting strsim v0.11.1 |
| 256 | 2025-02-10T17:23:23.973Z | Documenting quote v1.0.38 |
| 257 | 2025-02-10T17:23:24.863Z | Documenting syn v2.0.96 |
| 258 | 2025-02-10T17:23:24.899Z | Checking byteorder v1.5.0 |
| 259 | 2025-02-10T17:23:24.931Z | Compiling itertools v0.13.0 |
| 260 | 2025-02-10T17:23:25.199Z | Compiling heapless v0.8.0 |
| 261 | 2025-02-10T17:23:25.742Z | Compiling regex-automata v0.4.9 |
| 262 | 2025-02-10T17:23:26.662Z | Documenting memchr v2.7.4 |
| 263 | 2025-02-10T17:23:27.718Z | Checking hash32 v0.3.1 |
| 264 | 2025-02-10T17:23:27.875Z | Documenting regex-syntax v0.8.5 |
| 265 | 2025-02-10T17:23:27.942Z | Checking stable_deref_trait v1.2.0 |
| 266 | 2025-02-10T17:23:27.967Z | Documenting aho-corasick v1.1.3 |
| 267 | 2025-02-10T17:23:28.029Z | Checking macaddr v1.0.1 |
| 268 | 2025-02-10T17:23:28.267Z | Checking cfg-if v1.0.0 |
| 269 | 2025-02-10T17:23:28.686Z | Compiling smoltcp v0.11.0 |
| 270 | 2025-02-10T17:23:29.198Z | Checking darling_core v0.20.10 |
| 271 | 2025-02-10T17:23:30.205Z | Documenting darling_core v0.20.10 |
| 272 | 2025-02-10T17:23:30.277Z | Compiling regex v1.11.1 |
| 273 | 2025-02-10T17:23:30.349Z | Documenting serde_derive v1.0.217 |
| 274 | 2025-02-10T17:23:31.196Z | Documenting regex-automata v0.4.9 |
| 275 | 2025-02-10T17:23:31.722Z | Documenting zerocopy-derive v0.8.14 |
| 276 | 2025-02-10T17:23:31.818Z | Documenting byteorder v1.5.0 |
| 277 | 2025-02-10T17:23:32.424Z | Documenting darling_macro v0.20.10 |
| 278 | 2025-02-10T17:23:32.511Z | Checking bitflags v1.3.2 |
| 279 | 2025-02-10T17:23:32.522Z | Checking managed v0.8.0 |
| 280 | 2025-02-10T17:23:32.588Z | Checking cobs v0.2.3 |
| 281 | 2025-02-10T17:23:32.608Z | Documenting hash32 v0.3.1 |
| 282 | 2025-02-10T17:23:32.760Z | Documenting cfg-if v1.0.0 |
| 283 | 2025-02-10T17:23:32.888Z | Documenting stable_deref_trait v1.2.0 |
| 284 | 2025-02-10T17:23:32.941Z | Documenting macaddr v1.0.1 |
| 285 | 2025-02-10T17:23:33.415Z | Checking ipnetwork v0.21.1 |
| 286 | 2025-02-10T17:23:33.426Z | Documenting managed v0.8.0 |
| 287 | 2025-02-10T17:23:33.527Z | Documenting heapless v0.8.0 |
| 288 | 2025-02-10T17:23:33.661Z | Compiling version_check v0.9.5 |
| 289 | 2025-02-10T17:23:33.983Z | Documenting regex v1.11.1 |
| 290 | 2025-02-10T17:23:34.003Z | Documenting cobs v0.2.3 |
| 291 | 2025-02-10T17:23:34.135Z | Compiling serde_derive v1.0.217 |
| 292 | 2025-02-10T17:23:34.253Z | Compiling zerocopy-derive v0.8.14 |
| 293 | 2025-02-10T17:23:34.299Z | Checking unicode-width v0.2.0 |
| 294 | 2025-02-10T17:23:34.640Z | Compiling opte v0.1.0 (/work/oxidecomputer/opte/lib/opte) |
| 295 | 2025-02-10T17:23:34.675Z | Documenting smoltcp v0.11.0 |
| 296 | 2025-02-10T17:23:34.763Z | Documenting unicode-width v0.2.0 |
| 297 | 2025-02-10T17:23:35.013Z | Documenting ipnetwork v0.21.1 |
| 298 | 2025-02-10T17:23:35.426Z | Documenting either v1.13.0 |
| 299 | 2025-02-10T17:23:35.560Z | Compiling darling_macro v0.20.10 |
| 300 | 2025-02-10T17:23:35.748Z | Documenting tabwriter v1.4.1 |
| 301 | 2025-02-10T17:23:36.050Z | Checking tabwriter v1.4.1 |
| 302 | 2025-02-10T17:23:36.061Z | Compiling kstat-macro v0.1.0 (/work/oxidecomputer/opte/crates/kstat-macro) |
| 303 | 2025-02-10T17:23:36.145Z | Documenting itertools v0.14.0 |
| 304 | 2025-02-10T17:23:36.272Z | Checking itertools v0.14.0 |
| 305 | 2025-02-10T17:23:36.542Z | Compiling darling v0.20.10 |
| 306 | 2025-02-10T17:23:36.638Z | Compiling ingot-macros v0.1.0 (https://github.com/oxidecomputer/ingot.git?rev=bff93247fe75ff889121e39d494cc3805fc01906#bff93247) |
| 307 | 2025-02-10T17:23:36.656Z | Documenting darling v0.20.10 |
| 308 | 2025-02-10T17:23:36.733Z | Compiling derror-macro v0.1.0 (/work/oxidecomputer/opte/crates/derror-macro) |
| 309 | 2025-02-10T17:23:37.088Z | Documenting zerocopy v0.8.14 |
| 310 | 2025-02-10T17:23:37.841Z | Documenting ingot-macros v0.1.0 (https://github.com/oxidecomputer/ingot.git?rev=bff93247fe75ff889121e39d494cc3805fc01906#bff93247) |
| 311 | 2025-02-10T17:23:38.015Z | Documenting derror-macro v0.1.0 (/work/oxidecomputer/opte/crates/derror-macro) |
| 312 | 2025-02-10T17:23:38.045Z | Documenting crc32fast v1.4.2 |
| 313 | 2025-02-10T17:23:38.112Z | Documenting kstat-macro v0.1.0 (/work/oxidecomputer/opte/crates/kstat-macro) |
| 314 | 2025-02-10T17:23:38.775Z | Checking crc32fast v1.4.2 |
| 315 | 2025-02-10T17:23:38.976Z | Documenting dyn-clone v1.0.17 |
| 316 | 2025-02-10T17:23:39.135Z | Checking dyn-clone v1.0.17 |
| 317 | 2025-02-10T17:23:40.343Z | Documenting serde v1.0.217 |
| 318 | 2025-02-10T17:23:40.962Z | Checking ingot-types v0.1.0 (https://github.com/oxidecomputer/ingot.git?rev=bff93247fe75ff889121e39d494cc3805fc01906#bff93247) |
| 319 | 2025-02-10T17:23:40.962Z | Documenting ingot-types v0.1.0 (https://github.com/oxidecomputer/ingot.git?rev=bff93247fe75ff889121e39d494cc3805fc01906#bff93247) |
| 320 | 2025-02-10T17:23:43.055Z | Checking bitflags v2.8.0 |
| 321 | 2025-02-10T17:23:43.058Z | Documenting bitflags v2.8.0 |
| 322 | 2025-02-10T17:23:43.058Z | Checking postcard v1.1.1 |
| 323 | 2025-02-10T17:23:43.058Z | Documenting postcard v1.1.1 |
| 324 | 2025-02-10T17:23:43.236Z | Checking illumos-sys-hdrs v0.1.0 (/work/oxidecomputer/opte/crates/illumos-sys-hdrs) |
| 325 | 2025-02-10T17:23:43.236Z | Checking ingot v0.1.0 (https://github.com/oxidecomputer/ingot.git?rev=bff93247fe75ff889121e39d494cc3805fc01906#bff93247) |
| 326 | 2025-02-10T17:23:43.683Z | Documenting illumos-sys-hdrs v0.1.0 (/work/oxidecomputer/opte/crates/illumos-sys-hdrs) |
| 327 | 2025-02-10T17:23:43.683Z | Documenting ingot v0.1.0 (https://github.com/oxidecomputer/ingot.git?rev=bff93247fe75ff889121e39d494cc3805fc01906#bff93247) |
| 328 | 2025-02-10T17:23:44.632Z | Checking opte-api v0.1.0 (/work/oxidecomputer/opte/crates/opte-api) |
| 329 | 2025-02-10T17:23:44.849Z | Documenting opte-api v0.1.0 (/work/oxidecomputer/opte/crates/opte-api) |
| 330 | 2025-02-10T17:23:45.740Z | Documenting opte v0.1.0 (/work/oxidecomputer/opte/lib/opte) |
| 331 | 2025-02-10T17:23:48.176Z | Finished `dev` profile [unoptimized + debuginfo] target(s) in 30.95s |
| 332 | 2025-02-10T17:23:48.297Z | Generated /work/oxidecomputer/opte/target/doc/opte/index.html |
| 333 | 2025-02-10T17:23:48.318Z | |
| 334 | 2025-02-10T17:23:48.322Z | real 31.081572694 |
| 335 | 2025-02-10T17:23:48.322Z | user 2:20.166465610 |
| 336 | 2025-02-10T17:23:48.322Z | sys 19.112300433 |
| 337 | 2025-02-10T17:23:48.322Z | trap 0.109062437 |
| 338 | 2025-02-10T17:23:48.322Z | tflt 0.201186390 |
| 339 | 2025-02-10T17:23:48.322Z | dflt 0.170418614 |
| 340 | 2025-02-10T17:23:48.322Z | kflt 0.002252228 |
| 341 | 2025-02-10T17:23:48.322Z | lock 3:02.334983496 |
| 342 | 2025-02-10T17:23:48.322Z | slp 7:32.040865928 |
| 343 | 2025-02-10T17:23:48.322Z | lat 17.483266668 |
| 344 | 2025-02-10T17:23:48.322Z | stop 12.711874340 |
| 345 | 2025-02-10T17:23:48.322Z | + header 'analyze std + api' |
| 346 | 2025-02-10T17:23:48.322Z | + echo '# ==== analyze std + api ==== #' |
| 347 | 2025-02-10T17:23:48.322Z | # ==== analyze std + api ==== # |
| 348 | 2025-02-10T17:23:48.322Z | + ptime -m cargo clippy --all-targets |
| 349 | 2025-02-10T17:23:48.739Z | Compiling proc-macro2 v1.0.93 |
| 350 | 2025-02-10T17:23:48.739Z | Compiling unicode-ident v1.0.14 |
| 351 | 2025-02-10T17:23:48.739Z | Compiling memchr v2.7.4 |
| 352 | 2025-02-10T17:23:48.739Z | Compiling thiserror v2.0.11 |
| 353 | 2025-02-10T17:23:48.742Z | Compiling thiserror v1.0.69 |
| 354 | 2025-02-10T17:23:48.742Z | Compiling serde v1.0.217 |
| 355 | 2025-02-10T17:23:48.742Z | Compiling ucd-trie v0.1.7 |
| 356 | 2025-02-10T17:23:48.742Z | Compiling version_check v0.9.5 |
| 357 | 2025-02-10T17:23:48.989Z | Compiling libc v0.2.169 |
| 358 | 2025-02-10T17:23:49.209Z | Compiling serde_json v1.0.137 |
| 359 | 2025-02-10T17:23:49.357Z | Compiling once_cell v1.20.2 |
| 360 | 2025-02-10T17:23:49.553Z | Compiling ident_case v1.0.1 |
| 361 | 2025-02-10T17:23:49.629Z | Checking byteorder v1.5.0 |
| 362 | 2025-02-10T17:23:49.666Z | Compiling strsim v0.11.1 |
| 363 | 2025-02-10T17:23:49.702Z | Compiling fnv v1.0.7 |
| 364 | 2025-02-10T17:23:49.708Z | Compiling aho-corasick v1.1.3 |
| 365 | 2025-02-10T17:23:49.716Z | Compiling regex-syntax v0.8.5 |
| 366 | 2025-02-10T17:23:49.831Z | Compiling itoa v1.0.14 |
| 367 | 2025-02-10T17:23:50.048Z | Compiling ryu v1.0.18 |
| 368 | 2025-02-10T17:23:50.295Z | Compiling usdt-impl v0.5.0 |
| 369 | 2025-02-10T17:23:50.367Z | Compiling either v1.13.0 |
| 370 | 2025-02-10T17:23:50.500Z | Compiling quote v1.0.38 |
| 371 | 2025-02-10T17:23:50.680Z | Compiling zerocopy v0.8.14 |
| 372 | 2025-02-10T17:23:50.750Z | Compiling thread-id v4.2.2 |
| 373 | 2025-02-10T17:23:50.805Z | Compiling itertools v0.13.0 |
| 374 | 2025-02-10T17:23:50.850Z | Compiling syn v2.0.96 |
| 375 | 2025-02-10T17:23:51.275Z | Checking plain v0.2.3 |
| 376 | 2025-02-10T17:23:51.422Z | Checking log v0.4.25 |
| 377 | 2025-02-10T17:23:51.553Z | Compiling heapless v0.8.0 |
| 378 | 2025-02-10T17:23:51.703Z | Checking hash32 v0.3.1 |
| 379 | 2025-02-10T17:23:51.884Z | Checking stable_deref_trait v1.2.0 |
| 380 | 2025-02-10T17:23:51.981Z | Checking pretty-hex v0.4.1 |
| 381 | 2025-02-10T17:23:51.999Z | Compiling smoltcp v0.11.0 |
| 382 | 2025-02-10T17:23:52.154Z | Checking cfg-if v1.0.0 |
| 383 | 2025-02-10T17:23:52.233Z | Checking macaddr v1.0.1 |
| 384 | 2025-02-10T17:23:52.566Z | Checking cobs v0.2.3 |
| 385 | 2025-02-10T17:23:52.612Z | Checking bitflags v1.3.2 |
| 386 | 2025-02-10T17:23:52.700Z | Checking managed v0.8.0 |
| 387 | 2025-02-10T17:23:52.744Z | Checking memmap v0.7.0 |
| 388 | 2025-02-10T17:23:52.940Z | Compiling opte v0.1.0 (/work/oxidecomputer/opte/lib/opte) |
| 389 | 2025-02-10T17:23:53.070Z | Checking ipnetwork v0.21.1 |
| 390 | 2025-02-10T17:23:53.350Z | Compiling regex-automata v0.4.9 |
| 391 | 2025-02-10T17:23:53.653Z | Checking unicode-width v0.2.0 |
| 392 | 2025-02-10T17:23:53.774Z | Checking crc32fast v1.4.2 |
| 393 | 2025-02-10T17:23:53.776Z | Checking itertools v0.14.0 |
| 394 | 2025-02-10T17:23:53.981Z | Checking dyn-clone v1.0.17 |
| 395 | 2025-02-10T17:23:54.168Z | Checking tabwriter v1.4.1 |
| 396 | 2025-02-10T17:23:56.049Z | Compiling darling_core v0.20.10 |
| 397 | 2025-02-10T17:23:56.591Z | Compiling regex v1.11.1 |
| 398 | 2025-02-10T17:23:57.205Z | Compiling serde_derive v1.0.217 |
| 399 | 2025-02-10T17:23:57.371Z | Compiling thiserror-impl v2.0.11 |
| 400 | 2025-02-10T17:23:57.463Z | Compiling thiserror-impl v1.0.69 |
| 401 | 2025-02-10T17:23:57.474Z | Compiling zerocopy-derive v0.7.35 |
| 402 | 2025-02-10T17:23:57.504Z | Compiling scroll_derive v0.12.0 |
| 403 | 2025-02-10T17:23:57.538Z | Compiling zerocopy-derive v0.8.14 |
| 404 | 2025-02-10T17:23:57.694Z | Compiling kstat-macro v0.1.0 (/work/oxidecomputer/opte/crates/kstat-macro) |
| 405 | 2025-02-10T17:23:58.946Z | Checking scroll v0.12.0 |
| 406 | 2025-02-10T17:23:59.408Z | Compiling zerocopy v0.7.35 |
| 407 | 2025-02-10T17:23:59.418Z | Checking goblin v0.8.2 |
| 408 | 2025-02-10T17:24:00.080Z | Compiling pest v2.7.15 |
| 409 | 2025-02-10T17:24:00.935Z | Compiling darling_macro v0.20.10 |
| 410 | 2025-02-10T17:24:01.854Z | Compiling darling v0.20.10 |
| 411 | 2025-02-10T17:24:01.961Z | Compiling ingot-macros v0.1.0 (https://github.com/oxidecomputer/ingot.git?rev=bff93247fe75ff889121e39d494cc3805fc01906#bff93247) |
| 412 | 2025-02-10T17:24:01.961Z | Compiling derror-macro v0.1.0 (/work/oxidecomputer/opte/crates/derror-macro) |
| 413 | 2025-02-10T17:24:02.878Z | Compiling pest_meta v2.7.15 |
| 414 | 2025-02-10T17:24:03.914Z | Compiling pest_generator v2.7.15 |
| 415 | 2025-02-10T17:24:05.221Z | Compiling pest_derive v2.7.15 |
| 416 | 2025-02-10T17:24:05.832Z | Compiling dtrace-parser v0.2.0 |
| 417 | 2025-02-10T17:24:06.029Z | Checking ingot-types v0.1.0 (https://github.com/oxidecomputer/ingot.git?rev=bff93247fe75ff889121e39d494cc3805fc01906#bff93247) |
| 418 | 2025-02-10T17:24:06.148Z | Checking bitflags v2.8.0 |
| 419 | 2025-02-10T17:24:06.148Z | Checking postcard v1.1.1 |
| 420 | 2025-02-10T17:24:06.426Z | Checking illumos-sys-hdrs v0.1.0 (/work/oxidecomputer/opte/crates/illumos-sys-hdrs) |
| 421 | 2025-02-10T17:24:06.543Z | warning: unused import: `core::ffi::c_int` |
| 422 | 2025-02-10T17:24:06.543Z | --> crates/illumos-sys-hdrs/src/mac.rs:7:5 |
| 423 | 2025-02-10T17:24:06.543Z | | |
| 424 | 2025-02-10T17:24:06.543Z | 7 | use core::ffi::c_int; |
| 425 | 2025-02-10T17:24:06.543Z | | ^^^^^^^^^^^^^^^^ |
| 426 | 2025-02-10T17:24:06.543Z | | |
| 427 | 2025-02-10T17:24:06.543Z | = note: `#[warn(unused_imports)]` on by default |
| 428 | 2025-02-10T17:24:06.543Z | |
| 429 | 2025-02-10T17:24:06.577Z | Checking ingot v0.1.0 (https://github.com/oxidecomputer/ingot.git?rev=bff93247fe75ff889121e39d494cc3805fc01906#bff93247) |
| 430 | 2025-02-10T17:24:06.724Z | Compiling serde_tokenstream v0.2.2 |
| 431 | 2025-02-10T17:24:07.040Z | warning: `illumos-sys-hdrs` (lib) generated 1 warning (run `cargo clippy --fix --lib -p illumos-sys-hdrs` to apply 1 suggestion) |
| 432 | 2025-02-10T17:24:07.356Z | Checking dof v0.3.0 |
| 433 | 2025-02-10T17:24:08.015Z | Checking opte-api v0.1.0 (/work/oxidecomputer/opte/crates/opte-api) |
| 434 | 2025-02-10T17:24:08.758Z | Compiling usdt-attr-macro v0.5.0 |
| 435 | 2025-02-10T17:24:08.758Z | Compiling usdt-macro v0.5.0 |
| 436 | 2025-02-10T17:24:09.588Z | Checking usdt v0.5.0 |
| 437 | 2025-02-10T17:24:14.084Z | warning: this returns a `Result<_, ()>` |
| 438 | 2025-02-10T17:24:14.084Z | --> lib/opte/src/ddi/mblk.rs:776:5 |
| 439 | 2025-02-10T17:24:14.084Z | | |
| 440 | 2025-02-10T17:24:14.084Z | 776 | / pub fn fill_offload_info( |
| 441 | 2025-02-10T17:24:14.084Z | 777 | | &mut self, |
| 442 | 2025-02-10T17:24:14.084Z | 778 | | outer_meoi: &mac_ether_offload_info_t, |
| 443 | 2025-02-10T17:24:14.084Z | 779 | | inner_meoi: Option<&mac_ether_offload_info_t>, |
| 444 | 2025-02-10T17:24:14.084Z | 780 | | ) -> Result<(), ()> { |
| 445 | 2025-02-10T17:24:14.084Z | | |_______________________^ |
| 446 | 2025-02-10T17:24:14.084Z | | |
| 447 | 2025-02-10T17:24:14.084Z | = help: use a custom `Error` type instead |
| 448 | 2025-02-10T17:24:14.084Z | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#result_unit_err |
| 449 | 2025-02-10T17:24:14.084Z | = note: `#[warn(clippy::result_unit_err)]` on by default |
| 450 | 2025-02-10T17:24:14.084Z | |
| 451 | 2025-02-10T17:24:15.063Z | warning: using `Option.and_then(|x| Some(y))`, which is more succinctly expressed as `map(|x| y)` |
| 452 | 2025-02-10T17:24:15.063Z | --> lib/opte/src/engine/port/meta.rs:103:9 |
| 453 | 2025-02-10T17:24:15.063Z | | |
| 454 | 2025-02-10T17:24:15.063Z | 103 | / self.get(Self::INTERNAL_TARGET) |
| 455 | 2025-02-10T17:24:15.063Z | 104 | | .and_then(|v| Some(v == "1")) |
| 456 | 2025-02-10T17:24:15.063Z | | |_________________________________________^ help: try: `self.get(Self::INTERNAL_TARGET).map(|v| v == "1")` |
| 457 | 2025-02-10T17:24:15.063Z | | |
| 458 | 2025-02-10T17:24:15.063Z | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#bind_instead_of_map |
| 459 | 2025-02-10T17:24:15.063Z | = note: `#[warn(clippy::bind_instead_of_map)]` on by default |
| 460 | 2025-02-10T17:24:15.063Z | |
| 461 | 2025-02-10T17:24:15.798Z | warning: `opte` (lib) generated 2 warnings (run `cargo clippy --fix --lib -p opte` to apply 1 suggestion) |
| 462 | 2025-02-10T17:24:20.589Z | warning: the borrowed expression implements the required traits |
| 463 | 2025-02-10T17:24:20.589Z | --> lib/opte/src/ddi/mblk.rs:1256:33 |
| 464 | 2025-02-10T17:24:20.589Z | | |
| 465 | 2025-02-10T17:24:20.589Z | 1256 | let pkt2 = MsgBlk::copy(&[]); |
| 466 | 2025-02-10T17:24:20.589Z | | ^^^ help: change this to: `[]` |
| 467 | 2025-02-10T17:24:20.589Z | | |
| 468 | 2025-02-10T17:24:20.589Z | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrows_for_generic_args |
| 469 | 2025-02-10T17:24:20.589Z | = note: `#[warn(clippy::needless_borrows_for_generic_args)]` on by default |
| 470 | 2025-02-10T17:24:20.589Z | |
| 471 | 2025-02-10T17:24:20.596Z | warning: the borrowed expression implements the required traits |
| 472 | 2025-02-10T17:24:20.596Z | --> lib/opte/src/ddi/mblk.rs:1313:35 |
| 473 | 2025-02-10T17:24:20.596Z | | |
| 474 | 2025-02-10T17:24:20.596Z | 1313 | let mut p1 = MsgBlk::copy(&[0, 1, 2, 3]); |
| 475 | 2025-02-10T17:24:20.596Z | | ^^^^^^^^^^^^^ help: change this to: `[0, 1, 2, 3]` |
| 476 | 2025-02-10T17:24:20.596Z | | |
| 477 | 2025-02-10T17:24:20.596Z | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrows_for_generic_args |
| 478 | 2025-02-10T17:24:20.596Z | |
| 479 | 2025-02-10T17:24:20.599Z | warning: the borrowed expression implements the required traits |
| 480 | 2025-02-10T17:24:20.599Z | --> lib/opte/src/ddi/mblk.rs:1314:32 |
| 481 | 2025-02-10T17:24:20.599Z | | |
| 482 | 2025-02-10T17:24:20.599Z | 1314 | p1.append(MsgBlk::copy(&[4, 5, 6, 7])); |
| 483 | 2025-02-10T17:24:20.599Z | | ^^^^^^^^^^^^^ help: change this to: `[4, 5, 6, 7]` |
| 484 | 2025-02-10T17:24:20.599Z | | |
| 485 | 2025-02-10T17:24:20.599Z | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrows_for_generic_args |
| 486 | 2025-02-10T17:24:20.600Z | |
| 487 | 2025-02-10T17:24:20.600Z | warning: the borrowed expression implements the required traits |
| 488 | 2025-02-10T17:24:20.600Z | --> lib/opte/src/ddi/mblk.rs:1315:32 |
| 489 | 2025-02-10T17:24:20.600Z | | |
| 490 | 2025-02-10T17:24:20.600Z | 1315 | p1.append(MsgBlk::copy(&[8, 9, 10, 11])); |
| 491 | 2025-02-10T17:24:20.600Z | | ^^^^^^^^^^^^^^^ help: change this to: `[8, 9, 10, 11]` |
| 492 | 2025-02-10T17:24:20.600Z | | |
| 493 | 2025-02-10T17:24:20.600Z | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrows_for_generic_args |
| 494 | 2025-02-10T17:24:20.600Z | |
| 495 | 2025-02-10T17:24:20.615Z | warning: the loop variable `i` is only used to index `els` |
| 496 | 2025-02-10T17:24:20.615Z | --> lib/opte/src/ddi/mblk.rs:1479:18 |
| 497 | 2025-02-10T17:24:20.615Z | | |
| 498 | 2025-02-10T17:24:20.615Z | 1479 | for i in 0..els.len() { |
| 499 | 2025-02-10T17:24:20.615Z | | ^^^^^^^^^^^^ |
| 500 | 2025-02-10T17:24:20.615Z | | |
| 501 | 2025-02-10T17:24:20.615Z | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_range_loop |
| 502 | 2025-02-10T17:24:20.615Z | = note: `#[warn(clippy::needless_range_loop)]` on by default |
| 503 | 2025-02-10T17:24:20.615Z | help: consider using an iterator |
| 504 | 2025-02-10T17:24:20.615Z | | |
| 505 | 2025-02-10T17:24:20.615Z | 1479 | for <item> in &els { |
| 506 | 2025-02-10T17:24:20.615Z | | ~~~~~~ ~~~~ |
| 507 | 2025-02-10T17:24:20.615Z | |
| 508 | 2025-02-10T17:24:21.338Z | warning: casting to the same type is unnecessary (`usize` -> `usize`) |
| 509 | 2025-02-10T17:24:21.338Z | --> lib/opte/src/engine/ip/v6.rs:461:13 |
| 510 | 2025-02-10T17:24:21.338Z | | |
| 511 | 2025-02-10T17:24:21.338Z | 461 | header.packet_length() as usize, |
| 512 | 2025-02-10T17:24:21.338Z | | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try: `{ header.packet_length() }` |
| 513 | 2025-02-10T17:24:21.338Z | | |
| 514 | 2025-02-10T17:24:21.338Z | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unnecessary_cast |
| 515 | 2025-02-10T17:24:21.338Z | = note: `#[warn(clippy::unnecessary_cast)]` on by default |
| 516 | 2025-02-10T17:24:21.338Z | |
| 517 | 2025-02-10T17:24:21.347Z | warning: redundant slicing of the whole range |
| 518 | 2025-02-10T17:24:21.347Z | --> lib/opte/src/engine/ip/v6.rs:590:34 |
| 519 | 2025-02-10T17:24:21.347Z | | |
| 520 | 2025-02-10T17:24:21.347Z | 590 | assert!(ValidIpv6::parse(&buf[..]).is_err()); |
| 521 | 2025-02-10T17:24:21.347Z | | ^^^^^^^^ help: use the original value instead: `buf` |
| 522 | 2025-02-10T17:24:21.347Z | | |
| 523 | 2025-02-10T17:24:21.347Z | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_slicing |
| 524 | 2025-02-10T17:24:21.347Z | = note: `#[warn(clippy::redundant_slicing)]` on by default |
| 525 | 2025-02-10T17:24:21.347Z | |
| 526 | 2025-02-10T17:24:21.350Z | warning: redundant slicing of the whole range |
| 527 | 2025-02-10T17:24:21.350Z | --> lib/opte/src/engine/ip/v6.rs:593:53 |
| 528 | 2025-02-10T17:24:21.350Z | | |
| 529 | 2025-02-10T17:24:21.351Z | 593 | let (v6, _rem) = Accessor::read_from_prefix(&buf[..]).unwrap(); |
| 530 | 2025-02-10T17:24:21.351Z | | ^^^^^^^^ help: use the original value instead: `buf` |
| 531 | 2025-02-10T17:24:21.351Z | | |
| 532 | 2025-02-10T17:24:21.351Z | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_slicing |
| 533 | 2025-02-10T17:24:21.351Z | |
| 534 | 2025-02-10T17:24:21.449Z | warning: this expression creates a reference which is immediately dereferenced by the compiler |
| 535 | 2025-02-10T17:24:21.449Z | --> lib/opte/src/engine/layer.rs:1880:46 |
| 536 | 2025-02-10T17:24:21.449Z | | |
| 537 | 2025-02-10T17:24:21.449Z | 1880 | assert!(rule_table.find_match(&ifid, &pmeta.meta(), &ameta).is_some()); |
| 538 | 2025-02-10T17:24:21.449Z | | ^^^^^^^^^^^^^ help: change this to: `pmeta.meta()` |
| 539 | 2025-02-10T17:24:21.449Z | | |
| 540 | 2025-02-10T17:24:21.449Z | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrow |
| 541 | 2025-02-10T17:24:21.449Z | = note: `#[warn(clippy::needless_borrow)]` on by default |
| 542 | 2025-02-10T17:24:21.449Z | |
| 543 | 2025-02-10T17:24:22.001Z | warning: this expression creates a reference which is immediately dereferenced by the compiler |
| 544 | 2025-02-10T17:24:22.001Z | --> lib/opte/src/engine/rule.rs:1182:25 |
| 545 | 2025-02-10T17:24:22.001Z | | |
| 546 | 2025-02-10T17:24:22.001Z | 1182 | assert!(r1.is_match(&meta, &ameta)); |
| 547 | 2025-02-10T17:24:22.001Z | | ^^^^^ help: change this to: `meta` |
| 548 | 2025-02-10T17:24:22.001Z | | |
| 549 | 2025-02-10T17:24:22.001Z | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrow |
| 550 | 2025-02-10T17:24:22.001Z | |
| 551 | 2025-02-10T17:24:22.004Z | warning: this expression creates a reference which is immediately dereferenced by the compiler |
| 552 | 2025-02-10T17:24:22.004Z | --> lib/opte/src/engine/rule.rs:1191:26 |
| 553 | 2025-02-10T17:24:22.004Z | | |
| 554 | 2025-02-10T17:24:22.004Z | 1191 | assert!(!r1.is_match(&meta, &ameta)); |
| 555 | 2025-02-10T17:24:22.004Z | | ^^^^^ help: change this to: `meta` |
| 556 | 2025-02-10T17:24:22.004Z | | |
| 557 | 2025-02-10T17:24:22.004Z | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrow |
| 558 | 2025-02-10T17:24:22.004Z | |
| 559 | 2025-02-10T17:24:22.098Z | warning: useless use of `vec!` |
| 560 | 2025-02-10T17:24:22.098Z | --> lib/opte/src/engine/geneve.rs:401:19 |
| 561 | 2025-02-10T17:24:22.098Z | | |
| 562 | 2025-02-10T17:24:22.098Z | 401 | let buf = vec![ |
| 563 | 2025-02-10T17:24:22.098Z | | ___________________^ |
| 564 | 2025-02-10T17:24:22.098Z | 402 | | // source |
| 565 | 2025-02-10T17:24:22.098Z | 403 | | 0x1E, 0x61, |
| 566 | 2025-02-10T17:24:22.098Z | 404 | | // dest |
| 567 | 2025-02-10T17:24:22.098Z | ... | |
| 568 | 2025-02-10T17:24:22.098Z | 424 | | 0x00, |
| 569 | 2025-02-10T17:24:22.098Z | 425 | | ]; |
| 570 | 2025-02-10T17:24:22.098Z | | |_________^ |
| 571 | 2025-02-10T17:24:22.098Z | | |
| 572 | 2025-02-10T17:24:22.101Z | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#useless_vec |
| 573 | 2025-02-10T17:24:22.101Z | = note: `#[warn(clippy::useless_vec)]` on by default |
| 574 | 2025-02-10T17:24:22.101Z | help: you can use an array directly |
| 575 | 2025-02-10T17:24:22.101Z | | |
| 576 | 2025-02-10T17:24:22.101Z | 401 ~ let buf = [0x1E, 0x61, |
| 577 | 2025-02-10T17:24:22.101Z | 402 + // dest |
| 578 | 2025-02-10T17:24:22.102Z | 403 + 0x17, 0xC1, |
| 579 | 2025-02-10T17:24:22.102Z | 404 + // length |
| 580 | 2025-02-10T17:24:22.102Z | 405 + 0x00, 0x14, |
| 581 | 2025-02-10T17:24:22.102Z | 406 + // csum |
| 582 | 2025-02-10T17:24:22.102Z | 407 + 0x00, 0x00, |
| 583 | 2025-02-10T17:24:22.102Z | 408 + // ver + opt len |
| 584 | 2025-02-10T17:24:22.102Z | 409 + 0x01, |
| 585 | 2025-02-10T17:24:22.102Z | 410 + // flags |
| 586 | 2025-02-10T17:24:22.102Z | 411 + 0x00, |
| 587 | 2025-02-10T17:24:22.102Z | 412 + // proto |
| 588 | 2025-02-10T17:24:22.102Z | 413 + 0x65, 0x58, |
| 589 | 2025-02-10T17:24:22.102Z | 414 + // vni + reserved |
| 590 | 2025-02-10T17:24:22.102Z | 415 + 0x00, 0x04, 0xD2, 0x00, |
| 591 | 2025-02-10T17:24:22.102Z | 416 + |
| 592 | 2025-02-10T17:24:22.103Z | 417 + // option class |
| 593 | 2025-02-10T17:24:22.103Z | 418 + 0x01, 0x29, |
| 594 | 2025-02-10T17:24:22.103Z | 419 + // crt + type |
| 595 | 2025-02-10T17:24:22.103Z | 420 + 0x00, |
| 596 | 2025-02-10T17:24:22.103Z | 421 + // rsvd + len |
| 597 | 2025-02-10T17:24:22.103Z | 422 ~ 0x00]; |
| 598 | 2025-02-10T17:24:22.103Z | | |
| 599 | 2025-02-10T17:24:22.103Z | |
| 600 | 2025-02-10T17:24:22.103Z | warning: useless use of `vec!` |
| 601 | 2025-02-10T17:24:22.103Z | --> lib/opte/src/engine/geneve.rs:441:19 |
| 602 | 2025-02-10T17:24:22.103Z | | |
| 603 | 2025-02-10T17:24:22.103Z | 441 | let buf = vec![ |
| 604 | 2025-02-10T17:24:22.103Z | | ___________________^ |
| 605 | 2025-02-10T17:24:22.103Z | 442 | | // source |
| 606 | 2025-02-10T17:24:22.103Z | 443 | | 0x1E, 0x61, |
| 607 | 2025-02-10T17:24:22.103Z | 444 | | // dest |
| 608 | 2025-02-10T17:24:22.103Z | ... | |
| 609 | 2025-02-10T17:24:22.103Z | 464 | | 0x00, |
| 610 | 2025-02-10T17:24:22.103Z | 465 | | ]; |
| 611 | 2025-02-10T17:24:22.103Z | | |_________^ |
| 612 | 2025-02-10T17:24:22.103Z | | |
| 613 | 2025-02-10T17:24:22.103Z | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#useless_vec |
| 614 | 2025-02-10T17:24:22.103Z | help: you can use an array directly |
| 615 | 2025-02-10T17:24:22.103Z | | |
| 616 | 2025-02-10T17:24:22.103Z | 441 ~ let buf = [0x1E, 0x61, |
| 617 | 2025-02-10T17:24:22.103Z | 442 + // dest |
| 618 | 2025-02-10T17:24:22.103Z | 443 + 0x17, 0xC1, |
| 619 | 2025-02-10T17:24:22.103Z | 444 + // length |
| 620 | 2025-02-10T17:24:22.103Z | 445 + 0x00, 0x14, |
| 621 | 2025-02-10T17:24:22.103Z | 446 + // csum |
| 622 | 2025-02-10T17:24:22.103Z | 447 + 0x00, 0x00, |
| 623 | 2025-02-10T17:24:22.103Z | 448 + // ver + opt len |
| 624 | 2025-02-10T17:24:22.103Z | 449 + 0x01, |
| 625 | 2025-02-10T17:24:22.103Z | 450 + // flags |
| 626 | 2025-02-10T17:24:22.103Z | 451 + 0b0100_0000, |
| 627 | 2025-02-10T17:24:22.103Z | 452 + // proto |
| 628 | 2025-02-10T17:24:22.103Z | 453 + 0x65, 0x58, |
| 629 | 2025-02-10T17:24:22.103Z | 454 + // vni + reserved |
| 630 | 2025-02-10T17:24:22.103Z | 455 + 0x00, 0x04, 0xD2, 0x00, |
| 631 | 2025-02-10T17:24:22.104Z | 456 + |
| 632 | 2025-02-10T17:24:22.104Z | 457 + // experimenter option class |
| 633 | 2025-02-10T17:24:22.104Z | 458 + 0xff, 0xff, |
| 634 | 2025-02-10T17:24:22.104Z | 459 + // crt + type |
| 635 | 2025-02-10T17:24:22.104Z | 460 + 0x80, |
| 636 | 2025-02-10T17:24:22.104Z | 461 + // rsvd + len |
| 637 | 2025-02-10T17:24:22.104Z | 462 ~ 0x00]; |
| 638 | 2025-02-10T17:24:22.104Z | | |
| 639 | 2025-02-10T17:24:22.104Z | |
| 640 | 2025-02-10T17:24:22.104Z | warning: useless use of `vec!` |
| 641 | 2025-02-10T17:24:22.104Z | --> lib/opte/src/engine/geneve.rs:483:19 |
| 642 | 2025-02-10T17:24:22.104Z | | |
| 643 | 2025-02-10T17:24:22.104Z | 483 | let buf = vec![ |
| 644 | 2025-02-10T17:24:22.104Z | | ___________________^ |
| 645 | 2025-02-10T17:24:22.104Z | 484 | | // source |
| 646 | 2025-02-10T17:24:22.104Z | 485 | | 0x1E, 0x61, |
| 647 | 2025-02-10T17:24:22.104Z | 486 | | // dest |
| 648 | 2025-02-10T17:24:22.104Z | ... | |
| 649 | 2025-02-10T17:24:22.104Z | 524 | | 0x00, 0x00, 0x00, 0x00, |
| 650 | 2025-02-10T17:24:22.104Z | 525 | | ]; |
| 651 | 2025-02-10T17:24:22.104Z | | |_________^ |
| 652 | 2025-02-10T17:24:22.104Z | | |
| 653 | 2025-02-10T17:24:22.104Z | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#useless_vec |
| 654 | 2025-02-10T17:24:22.104Z | help: you can use an array directly |
| 655 | 2025-02-10T17:24:22.104Z | | |
| 656 | 2025-02-10T17:24:22.104Z | 483 ~ let buf = [0x1E, 0x61, |
| 657 | 2025-02-10T17:24:22.104Z | 484 + // dest |
| 658 | 2025-02-10T17:24:22.104Z | 485 + 0x17, 0xC1, |
| 659 | 2025-02-10T17:24:22.104Z | 486 + // length |
| 660 | 2025-02-10T17:24:22.104Z | 487 + 0x00, 0x1c, |
| 661 | 2025-02-10T17:24:22.104Z | 488 + // csum |
| 662 | 2025-02-10T17:24:22.104Z | 489 + 0x00, 0x00, |
| 663 | 2025-02-10T17:24:22.104Z | 490 + // ver + opt len |
| 664 | 2025-02-10T17:24:22.104Z | 491 + 0x05, |
| 665 | 2025-02-10T17:24:22.104Z | 492 + // flags |
| 666 | 2025-02-10T17:24:22.104Z | 493 + 0x00, |
| 667 | 2025-02-10T17:24:22.104Z | 494 + // proto |
| 668 | 2025-02-10T17:24:22.104Z | 495 + 0x65, 0x58, |
| 669 | 2025-02-10T17:24:22.104Z | 496 + // vni + reserved |
| 670 | 2025-02-10T17:24:22.105Z | 497 + 0x00, 0x04, 0xD2, 0x00, |
| 671 | 2025-02-10T17:24:22.105Z | 498 + |
| 672 | 2025-02-10T17:24:22.108Z | 499 + // option class |
| 673 | 2025-02-10T17:24:22.108Z | 500 + 0x01, 0x29, |
| 674 | 2025-02-10T17:24:22.108Z | 501 + // crt + type |
| 675 | 2025-02-10T17:24:22.108Z | 502 + 0x00, |
| 676 | 2025-02-10T17:24:22.108Z | 503 + // rsvd + len |
| 677 | 2025-02-10T17:24:22.108Z | 504 + 0x00, |
| 678 | 2025-02-10T17:24:22.108Z | 505 + |
| 679 | 2025-02-10T17:24:22.108Z | 506 + // experimenter option class |
| 680 | 2025-02-10T17:24:22.108Z | 507 + 0xff, 0xff, |
| 681 | 2025-02-10T17:24:22.108Z | 508 + // crt + type |
| 682 | 2025-02-10T17:24:22.108Z | 509 + 0x05, |
| 683 | 2025-02-10T17:24:22.108Z | 510 + // rsvd + len |
| 684 | 2025-02-10T17:24:22.108Z | 511 + 0x01, |
| 685 | 2025-02-10T17:24:22.108Z | 512 + // body |
| 686 | 2025-02-10T17:24:22.108Z | 513 + 0x00, 0x00, 0x00, 0x00, |
| 687 | 2025-02-10T17:24:22.108Z | 514 + |
| 688 | 2025-02-10T17:24:22.108Z | 515 + // experimenter option class |
| 689 | 2025-02-10T17:24:22.108Z | 516 + 0xff, 0xff, |
| 690 | 2025-02-10T17:24:22.108Z | 517 + // crt + type |
| 691 | 2025-02-10T17:24:22.108Z | 518 + 0x06, |
| 692 | 2025-02-10T17:24:22.108Z | 519 + // rsvd + len |
| 693 | 2025-02-10T17:24:22.108Z | 520 + 0x01, |
| 694 | 2025-02-10T17:24:22.108Z | 521 + // body |
| 695 | 2025-02-10T17:24:22.108Z | 522 ~ 0x00, 0x00, 0x00, 0x00]; |
| 696 | 2025-02-10T17:24:22.108Z | | |
| 697 | 2025-02-10T17:24:22.108Z | |
| 698 | 2025-02-10T17:24:22.398Z | warning: `opte` (lib test) generated 16 warnings (2 duplicates) (run `cargo clippy --fix --lib -p opte --tests` to apply 13 suggestions) |
| 699 | 2025-02-10T17:24:22.398Z | Finished `dev` profile [unoptimized + debuginfo] target(s) in 33.93s |
| 700 | 2025-02-10T17:24:22.434Z | |
| 701 | 2025-02-10T17:24:22.436Z | real 34.105222227 |
| 702 | 2025-02-10T17:24:22.437Z | user 2:10.787911531 |
| 703 | 2025-02-10T17:24:22.437Z | sys 18.281231500 |
| 704 | 2025-02-10T17:24:22.437Z | trap 0.070641213 |
| 705 | 2025-02-10T17:24:22.437Z | tflt 0.405898789 |
| 706 | 2025-02-10T17:24:22.437Z | dflt 0.577918186 |
| 707 | 2025-02-10T17:24:22.437Z | kflt 0.000007478 |
| 708 | 2025-02-10T17:24:22.437Z | lock 3:12.407477194 |
| 709 | 2025-02-10T17:24:22.437Z | slp 7:45.514482392 |
| 710 | 2025-02-10T17:24:22.437Z | lat 4.854577309 |
| 711 | 2025-02-10T17:24:22.437Z | stop 7.474908937 |
| 712 | 2025-02-10T17:24:22.437Z | + header 'analyze no_std + engine + kernel' |
| 713 | 2025-02-10T17:24:22.437Z | + echo '# ==== analyze no_std + engine + kernel ==== #' |
| 714 | 2025-02-10T17:24:22.437Z | # ==== analyze no_std + engine + kernel ==== # |
| 715 | 2025-02-10T17:24:22.437Z | + ptime -m cargo +nightly-2024-11-18 clippy --no-default-features --features engine,kernel |
| 716 | 2025-02-10T17:24:22.739Z | Compiling opte v0.1.0 (/work/oxidecomputer/opte/lib/opte) |
| 717 | 2025-02-10T17:24:22.739Z | Compiling kstat-macro v0.1.0 (/work/oxidecomputer/opte/crates/kstat-macro) |
| 718 | 2025-02-10T17:24:22.742Z | Checking illumos-sys-hdrs v0.1.0 (/work/oxidecomputer/opte/crates/illumos-sys-hdrs) |
| 719 | 2025-02-10T17:24:22.747Z | Compiling derror-macro v0.1.0 (/work/oxidecomputer/opte/crates/derror-macro) |
| 720 | 2025-02-10T17:24:23.188Z | Checking opte-api v0.1.0 (/work/oxidecomputer/opte/crates/opte-api) |
| 721 | 2025-02-10T17:24:24.786Z | warning: unused import: `illumos_sys_hdrs::mac::MacEtherOffloadFlags` |
| 722 | 2025-02-10T17:24:24.786Z | --> lib/opte/src/ddi/mblk.rs:32:5 |
| 723 | 2025-02-10T17:24:24.786Z | | |
| 724 | 2025-02-10T17:24:24.787Z | 32 | use illumos_sys_hdrs::mac::MacEtherOffloadFlags; |
| 725 | 2025-02-10T17:24:24.787Z | | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ |
| 726 | 2025-02-10T17:24:24.787Z | | |
| 727 | 2025-02-10T17:24:24.787Z | = note: `#[warn(unused_imports)]` on by default |
| 728 | 2025-02-10T17:24:24.787Z | |
| 729 | 2025-02-10T17:24:28.344Z | warning: this returns a `Result<_, ()>` |
| 730 | 2025-02-10T17:24:28.344Z | --> lib/opte/src/ddi/mblk.rs:776:5 |
| 731 | 2025-02-10T17:24:28.344Z | | |
| 732 | 2025-02-10T17:24:28.344Z | 776 | / pub fn fill_offload_info( |
| 733 | 2025-02-10T17:24:28.344Z | 777 | | &mut self, |
| 734 | 2025-02-10T17:24:28.344Z | 778 | | outer_meoi: &mac_ether_offload_info_t, |
| 735 | 2025-02-10T17:24:28.344Z | 779 | | inner_meoi: Option<&mac_ether_offload_info_t>, |
| 736 | 2025-02-10T17:24:28.344Z | 780 | | ) -> Result<(), ()> { |
| 737 | 2025-02-10T17:24:28.344Z | | |_______________________^ |
| 738 | 2025-02-10T17:24:28.344Z | | |
| 739 | 2025-02-10T17:24:28.344Z | = help: use a custom `Error` type instead |
| 740 | 2025-02-10T17:24:28.344Z | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#result_unit_err |
| 741 | 2025-02-10T17:24:28.344Z | = note: `#[warn(clippy::result_unit_err)]` on by default |
| 742 | 2025-02-10T17:24:28.344Z | |
| 743 | 2025-02-10T17:24:29.315Z | warning: using `Option.and_then(|x| Some(y))`, which is more succinctly expressed as `map(|x| y)` |
| 744 | 2025-02-10T17:24:29.315Z | --> lib/opte/src/engine/port/meta.rs:103:9 |
| 745 | 2025-02-10T17:24:29.315Z | | |
| 746 | 2025-02-10T17:24:29.315Z | 103 | / self.get(Self::INTERNAL_TARGET) |
| 747 | 2025-02-10T17:24:29.315Z | 104 | | .and_then(|v| Some(v == "1")) |
| 748 | 2025-02-10T17:24:29.315Z | | |_________________________________________^ help: try: `self.get(Self::INTERNAL_TARGET).map(|v| v == "1")` |
| 749 | 2025-02-10T17:24:29.315Z | | |
| 750 | 2025-02-10T17:24:29.315Z | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#bind_instead_of_map |
| 751 | 2025-02-10T17:24:29.315Z | = note: `#[warn(clippy::bind_instead_of_map)]` on by default |
| 752 | 2025-02-10T17:24:29.316Z | |
| 753 | 2025-02-10T17:24:30.020Z | warning: `opte` (lib) generated 3 warnings (run `cargo clippy --fix --lib -p opte` to apply 2 suggestions) |
| 754 | 2025-02-10T17:24:30.020Z | Finished `dev` profile [unoptimized + debuginfo] target(s) in 7.49s |
| 755 | 2025-02-10T17:24:30.052Z | |
| 756 | 2025-02-10T17:24:30.055Z | real 7.610811920 |
| 757 | 2025-02-10T17:24:30.055Z | user 8.374516508 |
| 758 | 2025-02-10T17:24:30.055Z | sys 1.209190766 |
| 759 | 2025-02-10T17:24:30.055Z | trap 0.001908389 |
| 760 | 2025-02-10T17:24:30.055Z | tflt 0.004908557 |
| 761 | 2025-02-10T17:24:30.055Z | dflt 0.001944797 |
| 762 | 2025-02-10T17:24:30.055Z | kflt 0.000016359 |
| 763 | 2025-02-10T17:24:30.055Z | lock 25.820300376 |
| 764 | 2025-02-10T17:24:30.055Z | slp 28.124630604 |
| 765 | 2025-02-10T17:24:30.055Z | lat 0.063872095 |
| 766 | 2025-02-10T17:24:30.055Z | stop 0.155057662 |
| 767 | 2025-02-10T17:24:30.055Z | + header test |
| 768 | 2025-02-10T17:24:30.055Z | + echo '# ==== test ==== #' |
| 769 | 2025-02-10T17:24:30.055Z | # ==== test ==== # |
| 770 | 2025-02-10T17:24:30.055Z | + ptime -m cargo test |
| 771 | 2025-02-10T17:24:30.320Z | Compiling unicode-ident v1.0.14 |
| 772 | 2025-02-10T17:24:30.320Z | Compiling memchr v2.7.4 |
| 773 | 2025-02-10T17:24:30.320Z | Compiling byteorder v1.5.0 |
| 774 | 2025-02-10T17:24:30.323Z | Compiling ucd-trie v0.1.7 |
| 775 | 2025-02-10T17:24:30.323Z | Compiling itoa v1.0.14 |
| 776 | 2025-02-10T17:24:30.330Z | Compiling ryu v1.0.18 |
| 777 | 2025-02-10T17:24:30.334Z | Compiling libc v0.2.169 |
| 778 | 2025-02-10T17:24:30.338Z | Compiling either v1.13.0 |
| 779 | 2025-02-10T17:24:30.494Z | Compiling proc-macro2 v1.0.93 |
| 780 | 2025-02-10T17:24:30.531Z | Compiling log v0.4.25 |
| 781 | 2025-02-10T17:24:30.670Z | Compiling itertools v0.13.0 |
| 782 | 2025-02-10T17:24:30.706Z | Compiling plain v0.2.3 |
| 783 | 2025-02-10T17:24:30.732Z | Compiling hash32 v0.3.1 |
| 784 | 2025-02-10T17:24:30.859Z | Compiling pretty-hex v0.4.1 |
| 785 | 2025-02-10T17:24:30.885Z | Compiling stable_deref_trait v1.2.0 |
| 786 | 2025-02-10T17:24:30.917Z | Compiling thread-id v4.2.2 |
| 787 | 2025-02-10T17:24:30.958Z | Compiling macaddr v1.0.1 |
| 788 | 2025-02-10T17:24:30.971Z | Compiling cfg-if v1.0.0 |
| 789 | 2025-02-10T17:24:30.980Z | Compiling heapless v0.8.0 |
| 790 | 2025-02-10T17:24:31.018Z | Compiling bitflags v1.3.2 |
| 791 | 2025-02-10T17:24:31.052Z | Compiling cobs v0.2.3 |
| 792 | 2025-02-10T17:24:31.058Z | Compiling managed v0.8.0 |
| 793 | 2025-02-10T17:24:31.108Z | Compiling memmap v0.7.0 |
| 794 | 2025-02-10T17:24:31.316Z | Compiling quote v1.0.38 |
| 795 | 2025-02-10T17:24:31.334Z | Compiling aho-corasick v1.1.3 |
| 796 | 2025-02-10T17:24:31.450Z | Compiling opte v0.1.0 (/work/oxidecomputer/opte/lib/opte) |
| 797 | 2025-02-10T17:24:31.456Z | Compiling unicode-width v0.2.0 |
| 798 | 2025-02-10T17:24:31.808Z | Compiling syn v2.0.96 |
| 799 | 2025-02-10T17:24:31.950Z | Compiling smoltcp v0.11.0 |
| 800 | 2025-02-10T17:24:31.984Z | Compiling ipnetwork v0.21.1 |
| 801 | 2025-02-10T17:24:31.997Z | Compiling tabwriter v1.4.1 |
| 802 | 2025-02-10T17:24:32.249Z | Compiling crc32fast v1.4.2 |
| 803 | 2025-02-10T17:24:32.454Z | Compiling itertools v0.14.0 |
| 804 | 2025-02-10T17:24:32.534Z | Compiling dyn-clone v1.0.17 |
| 805 | 2025-02-10T17:24:33.016Z | Compiling regex-automata v0.4.9 |
| 806 | 2025-02-10T17:24:36.001Z | Compiling regex v1.11.1 |
| 807 | 2025-02-10T17:24:36.765Z | Compiling darling_core v0.20.10 |
| 808 | 2025-02-10T17:24:38.239Z | Compiling serde_derive v1.0.217 |
| 809 | 2025-02-10T17:24:38.246Z | Compiling thiserror-impl v2.0.11 |
| 810 | 2025-02-10T17:24:38.379Z | Compiling thiserror-impl v1.0.69 |
| 811 | 2025-02-10T17:24:38.406Z | Compiling zerocopy-derive v0.7.35 |
| 812 | 2025-02-10T17:24:38.473Z | Compiling scroll_derive v0.12.0 |
| 813 | 2025-02-10T17:24:38.535Z | Compiling zerocopy-derive v0.8.14 |
| 814 | 2025-02-10T17:24:38.756Z | Compiling kstat-macro v0.1.0 (/work/oxidecomputer/opte/crates/kstat-macro) |
| 815 | 2025-02-10T17:24:39.962Z | Compiling scroll v0.12.0 |
| 816 | 2025-02-10T17:24:40.365Z | Compiling zerocopy v0.7.35 |
| 817 | 2025-02-10T17:24:40.480Z | Compiling goblin v0.8.2 |
| 818 | 2025-02-10T17:24:41.036Z | Compiling thiserror v1.0.69 |
| 819 | 2025-02-10T17:24:41.100Z | Compiling darling_macro v0.20.10 |
| 820 | 2025-02-10T17:24:41.190Z | Compiling thiserror v2.0.11 |
| 821 | 2025-02-10T17:24:41.222Z | Compiling zerocopy v0.8.14 |
| 822 | 2025-02-10T17:24:41.286Z | Compiling pest v2.7.15 |
| 823 | 2025-02-10T17:24:41.933Z | Compiling darling v0.20.10 |
| 824 | 2025-02-10T17:24:42.031Z | Compiling ingot-macros v0.1.0 (https://github.com/oxidecomputer/ingot.git?rev=bff93247fe75ff889121e39d494cc3805fc01906#bff93247) |
| 825 | 2025-02-10T17:24:42.110Z | Compiling derror-macro v0.1.0 (/work/oxidecomputer/opte/crates/derror-macro) |
| 826 | 2025-02-10T17:24:43.375Z | Compiling serde v1.0.217 |
| 827 | 2025-02-10T17:24:43.617Z | Compiling pest_meta v2.7.15 |
| 828 | 2025-02-10T17:24:44.845Z | Compiling pest_generator v2.7.15 |
| 829 | 2025-02-10T17:24:46.189Z | Compiling pest_derive v2.7.15 |
| 830 | 2025-02-10T17:24:46.334Z | Compiling ingot-types v0.1.0 (https://github.com/oxidecomputer/ingot.git?rev=bff93247fe75ff889121e39d494cc3805fc01906#bff93247) |
| 831 | 2025-02-10T17:24:47.103Z | Compiling dtrace-parser v0.2.0 |
| 832 | 2025-02-10T17:24:47.776Z | Compiling bitflags v2.8.0 |
| 833 | 2025-02-10T17:24:47.779Z | Compiling serde_json v1.0.137 |
| 834 | 2025-02-10T17:24:47.819Z | Compiling postcard v1.1.1 |
| 835 | 2025-02-10T17:24:47.921Z | Compiling serde_tokenstream v0.2.2 |
| 836 | 2025-02-10T17:24:48.033Z | Compiling ingot v0.1.0 (https://github.com/oxidecomputer/ingot.git?rev=bff93247fe75ff889121e39d494cc3805fc01906#bff93247) |
| 837 | 2025-02-10T17:24:48.143Z | Compiling illumos-sys-hdrs v0.1.0 (/work/oxidecomputer/opte/crates/illumos-sys-hdrs) |
| 838 | 2025-02-10T17:24:48.231Z | warning: unused import: `core::ffi::c_int` |
| 839 | 2025-02-10T17:24:48.231Z | --> crates/illumos-sys-hdrs/src/mac.rs:7:5 |
| 840 | 2025-02-10T17:24:48.231Z | | |
| 841 | 2025-02-10T17:24:48.231Z | 7 | use core::ffi::c_int; |
| 842 | 2025-02-10T17:24:48.231Z | | ^^^^^^^^^^^^^^^^ |
| 843 | 2025-02-10T17:24:48.231Z | | |
| 844 | 2025-02-10T17:24:48.231Z | = note: `#[warn(unused_imports)]` on by default |
| 845 | 2025-02-10T17:24:48.231Z | |
| 846 | 2025-02-10T17:24:48.691Z | warning: `illumos-sys-hdrs` (lib) generated 1 warning (run `cargo fix --lib -p illumos-sys-hdrs` to apply 1 suggestion) |
| 847 | 2025-02-10T17:24:49.126Z | Compiling dof v0.3.0 |
| 848 | 2025-02-10T17:24:49.667Z | Compiling usdt-impl v0.5.0 |
| 849 | 2025-02-10T17:24:49.796Z | Compiling opte-api v0.1.0 (/work/oxidecomputer/opte/crates/opte-api) |
| 850 | 2025-02-10T17:24:50.430Z | Compiling usdt-macro v0.5.0 |
| 851 | 2025-02-10T17:24:50.430Z | Compiling usdt-attr-macro v0.5.0 |
| 852 | 2025-02-10T17:24:51.523Z | Compiling usdt v0.5.0 |
| 853 | 2025-02-10T17:25:07.158Z | Finished `test` profile [unoptimized + debuginfo] target(s) in 37.05s |
| 854 | 2025-02-10T17:25:07.177Z | Running unittests src/lib.rs (/work/oxidecomputer/opte/target/debug/deps/opte-e2acc300087e059d) |
| 855 | 2025-02-10T17:25:07.191Z | |
| 856 | 2025-02-10T17:25:07.191Z | running 72 tests |
| 857 | 2025-02-10T17:25:07.194Z | test ddi::mblk::test::chain_breaks_links ... ok |
| 858 | 2025-02-10T17:25:07.194Z | test ddi::mblk::test::chain_append_links ... ok |
| 859 | 2025-02-10T17:25:07.194Z | test d_error::tests::name_truncation ... ok |
| 860 | 2025-02-10T17:25:07.194Z | test d_error::tests::name_and_data_storage ... ok |
| 861 | 2025-02-10T17:25:07.194Z | test ddi::mblk::test::chain_drain_complete ... ok |
| 862 | 2025-02-10T17:25:07.194Z | test ddi::mblk::test::chain_has_correct_ends ... ok |
| 863 | 2025-02-10T17:25:07.194Z | test ddi::mblk::test::expand_and_shrink ... ok |
| 864 | 2025-02-10T17:25:07.194Z | test ddi::mblk::test::prefix_len ... ok |
| 865 | 2025-02-10T17:25:07.195Z | test ddi::mblk::test::test_long_packet_continuation ... ok |
| 866 | 2025-02-10T17:25:07.195Z | test ddi::mblk::test::uninitialized_packet ... ok |
| 867 | 2025-02-10T17:25:07.195Z | test ddi::mblk::test::read_seg ... ok |
| 868 | 2025-02-10T17:25:07.195Z | test ddi::mblk::test::wrap ... ok |
| 869 | 2025-02-10T17:25:07.195Z | test ddi::mblk::test::truncate ... ok |
| 870 | 2025-02-10T17:25:07.195Z | test ddi::time::test::good_interval ... ok |
| 871 | 2025-02-10T17:25:07.195Z | test ddi::mblk::test::zero_byte_packet ... ok |
| 872 | 2025-02-10T17:25:07.195Z | test engine::dhcpv6::options::test::test_client_id ... ok |
| 873 | 2025-02-10T17:25:07.195Z | test engine::dhcp::test::domainname_encode ... ok |
| 874 | 2025-02-10T17:25:07.195Z | test engine::dhcp::test::offlink_encode ... ok |
| 875 | 2025-02-10T17:25:07.195Z | test engine::dhcp::test::hostname_encode ... ok |
| 876 | 2025-02-10T17:25:07.195Z | test engine::dhcp::test::rfc3442_encode ... ok |
| 877 | 2025-02-10T17:25:07.195Z | test engine::dhcp::test::domain_search_option_encode ... ok |
| 878 | 2025-02-10T17:25:07.195Z | test ddi::time::test::bad_interval - should panic ... ok |
| 879 | 2025-02-10T17:25:07.195Z | test engine::dhcpv6::options::test::test_dns_servers ... ok |
| 880 | 2025-02-10T17:25:07.195Z | test engine::dhcpv6::options::test::test_domain_list_from_slice ... ok |
| 881 | 2025-02-10T17:25:07.195Z | test engine::dhcpv6::options::test::test_elapsed_time ... ok |
| 882 | 2025-02-10T17:25:07.195Z | test engine::dhcpv6::options::test::test_iata ... ok |
| 883 | 2025-02-10T17:25:07.195Z | test engine::dhcpv6::options::test::test_ip_list_bad_length_fails ... ok |
| 884 | 2025-02-10T17:25:07.195Z | test engine::dhcpv6::options::test::test_iana ... ok |
| 885 | 2025-02-10T17:25:07.195Z | test engine::dhcpv6::options::test::test_option_request ... ok |
| 886 | 2025-02-10T17:25:07.195Z | test engine::dhcpv6::options::test::test_parse_snooped_iana ... ok |
| 887 | 2025-02-10T17:25:07.195Z | test engine::dhcpv6::options::test::test_parse_snooped_option_request ... ok |
| 888 | 2025-02-10T17:25:07.195Z | test engine::dhcpv6::options::test::test_rapid_commit ... ok |
| 889 | 2025-02-10T17:25:07.198Z | test engine::dhcpv6::options::test::test_parse_snooped_client_id ... ok |
| 890 | 2025-02-10T17:25:07.198Z | test engine::dhcpv6::options::test::test_server_id ... ok |
| 891 | 2025-02-10T17:25:07.198Z | test engine::dhcpv6::options::test::test_sntp_servers ... ok |
| 892 | 2025-02-10T17:25:07.199Z | test engine::dhcpv6::options::test::test_status ... ok |
| 893 | 2025-02-10T17:25:07.199Z | test engine::dhcpv6::options::test::test_raw_option_from_bytes ... ok |
| 894 | 2025-02-10T17:25:07.199Z | test engine::dhcpv6::protocol::test::test_parse_snooped_solicit_message ... ok |
| 895 | 2025-02-10T17:25:07.199Z | test engine::ether::test::emit ... ok |
| 896 | 2025-02-10T17:25:07.199Z | test engine::dhcpv6::test::test_duid_from_mac ... ok |
| 897 | 2025-02-10T17:25:07.199Z | test engine::dhcpv6::protocol::test::test_predicates_match_snooped_solicit_message ... ok |
| 898 | 2025-02-10T17:25:07.199Z | test engine::flow_table::test::flow_clear ... ok |
| 899 | 2025-02-10T17:25:07.199Z | test engine::flow_table::test::flow_expired ... ok |
| 900 | 2025-02-10T17:25:07.199Z | test engine::geneve::test::emit_external_opt ... ok |
| 901 | 2025-02-10T17:25:07.199Z | test engine::geneve::test::emit_no_opts ... ok |
| 902 | 2025-02-10T17:25:07.199Z | test engine::geneve::test::parse_single_opt ... ok |
| 903 | 2025-02-10T17:25:07.199Z | test engine::geneve::test::unknown_crit_option_fails ... ok |
| 904 | 2025-02-10T17:25:07.199Z | test engine::geneve::test::parse_multi_opt ... ok |
| 905 | 2025-02-10T17:25:07.199Z | test engine::ip::v4::test::emit ... ok |
| 906 | 2025-02-10T17:25:07.199Z | test engine::ip::v4::test::cidr_match ... ok |
| 907 | 2025-02-10T17:25:07.199Z | test engine::ip::v4::test::match_check ... ok |
| 908 | 2025-02-10T17:25:07.199Z | test engine::ip::v6::test::bad_ipv6_version_caught ... ok |
| 909 | 2025-02-10T17:25:07.199Z | test engine::ip::v6::test::emit ... ok |
| 910 | 2025-02-10T17:25:07.199Z | test engine::ip::v6::test::test_ipv6_addr_match_exact ... ok |
| 911 | 2025-02-10T17:25:07.199Z | test engine::ip::v6::test::test_set_total_len ... ok |
| 912 | 2025-02-10T17:25:07.199Z | test engine::ip::v6::test::from_pairs ... ok |
| 913 | 2025-02-10T17:25:07.199Z | test engine::packet::test::read_single_segment ... ok |
| 914 | 2025-02-10T17:25:07.199Z | test engine::nat::test::nat4_rewrite ... ok |
| 915 | 2025-02-10T17:25:07.199Z | test engine::layer::test::find_rule ... ok |
| 916 | 2025-02-10T17:25:07.199Z | test engine::packet::test::read_multi_segment ... ok |
| 917 | 2025-02-10T17:25:07.199Z | test engine::ip::v6::test::test_extension_header_lengths_ok ... ok |
| 918 | 2025-02-10T17:25:07.199Z | test engine::ip::v6::test::test_ipv6_cidr_match_prefix ... ok |
| 919 | 2025-02-10T17:25:07.199Z | test engine::packet::test::small_packet_with_padding ... ok |
| 920 | 2025-02-10T17:25:07.199Z | test engine::packet::test::straddled_tcp ... ok |
| 921 | 2025-02-10T17:25:07.199Z | test engine::predicate::tests::data_predicate_ranges_handle_unknown ... ok |
| 922 | 2025-02-10T17:25:07.199Z | test engine::parse::test::icmp4_body_csum_equals_body ... ok |
| 923 | 2025-02-10T17:25:07.199Z | test engine::packet::test::udp6_packet_with_padding ... ok |
| 924 | 2025-02-10T17:25:07.199Z | test engine::rule::rule_matching ... ok |
| 925 | 2025-02-10T17:25:07.199Z | test engine::snat::test::snat4_desc_lifecycle ... ok |
| 926 | 2025-02-10T17:25:07.199Z | test engine::snat::test::nat_mappings ... ok |
| 927 | 2025-02-10T17:25:07.199Z | test engine::snat::test::test_nat_pool_different_ip_types ... ok |
| 928 | 2025-02-10T17:25:07.199Z | test engine::packet::test::parse_ipv6_extension_headers_ok ... ok |
| 929 | 2025-02-10T17:25:07.199Z | |
| 930 | 2025-02-10T17:25:07.199Z | test result: ok. 72 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.01s |
| 931 | 2025-02-10T17:25:07.200Z | |
| 932 | 2025-02-10T17:25:07.200Z | Doc-tests opte |
| 933 | 2025-02-10T17:25:07.974Z | |
| 934 | 2025-02-10T17:25:07.974Z | running 3 tests |
| 935 | 2025-02-10T17:25:07.977Z | test lib/opte/src/ddi/kstat.rs - ddi::kstat::KStatProvider (line 57) ... ignored |
| 936 | 2025-02-10T17:25:09.282Z | test lib/opte/src/ddi/kstat.rs - ddi::kstat::KStatProvider (line 43) ... ok |
| 937 | 2025-02-10T17:25:09.757Z | test lib/opte/src/ddi/kstat.rs - ddi::kstat::KStatNamed (line 86) ... ok |
| 938 | 2025-02-10T17:25:09.757Z | |
| 939 | 2025-02-10T17:25:09.759Z | test result: ok. 2 passed; 0 failed; 1 ignored; 0 measured; 0 filtered out; finished in 1.78s |
| 940 | 2025-02-10T17:25:09.759Z | |
| 941 | 2025-02-10T17:25:09.795Z | |
| 942 | 2025-02-10T17:25:09.797Z | real 39.728022982 |
| 943 | 2025-02-10T17:25:09.797Z | user 2:29.811284867 |
| 944 | 2025-02-10T17:25:09.797Z | sys 16.800766913 |
| 945 | 2025-02-10T17:25:09.797Z | trap 0.067578131 |
| 946 | 2025-02-10T17:25:09.798Z | tflt 0.266241821 |
| 947 | 2025-02-10T17:25:09.798Z | dflt 0.598615065 |
| 948 | 2025-02-10T17:25:09.798Z | kflt 0.000026525 |
| 949 | 2025-02-10T17:25:09.798Z | lock 3:50.456460435 |
| 950 | 2025-02-10T17:25:09.798Z | slp 7:27.187884164 |
| 951 | 2025-02-10T17:25:09.798Z | lat 3.714102780 |
| 952 | 2025-02-10T17:25:09.798Z | stop 6.304785017 |
| 953 | 2025-02-10T17:25:09.798Z | process exited: duration 137259 ms, exit code 0 |
| |
| 954 | 2025-02-10T17:25:09.804Z | found 0 output files |