[INFO] fetching crate stonnx 0.1.3... [INFO] building stonnx-0.1.3 against master#ad85bc524b1ad696e42061ad8338d382dffbdbe5 for pr-146237-1 [INFO] extracting crate stonnx 0.1.3 into /workspace/builds/worker-0-tc1/source [INFO] started tweaking crates.io crate stonnx 0.1.3 [INFO] finished tweaking crates.io crate stonnx 0.1.3 [INFO] tweaked toml for crates.io crate stonnx 0.1.3 written to /workspace/builds/worker-0-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate stonnx 0.1.3 on toolchain ad85bc524b1ad696e42061ad8338d382dffbdbe5 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate stonnx 0.1.3 already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded zip-extensions v0.6.2 [INFO] [stderr] Downloaded protoc-bin-vendored v3.0.0 [INFO] [stderr] Downloaded pest_generator v2.7.5 [INFO] [stderr] Downloaded serde v1.0.192 [INFO] [stderr] Downloaded cpufeatures v0.2.11 [INFO] [stderr] Downloaded tempfile v3.7.0 [INFO] [stderr] Downloaded half v2.3.1 [INFO] [stderr] Downloaded openssl-sys v0.9.97 [INFO] [stderr] Downloaded clap v4.4.8 [INFO] [stderr] Downloaded time v0.3.31 [INFO] [stderr] Downloaded serde_derive v1.0.192 [INFO] [stderr] Downloaded proc-macro2 v1.0.69 [INFO] [stderr] Downloaded anstream v0.6.4 [INFO] [stderr] Downloaded fastrand v2.0.0 [INFO] [stderr] Downloaded crossbeam-deque v0.8.4 [INFO] [stderr] Downloaded deranged v0.3.10 [INFO] [stderr] Downloaded protobuf-support v3.2.0 [INFO] [stderr] Downloaded anstyle-wincon v3.0.1 [INFO] [stderr] Downloaded hashbrown v0.14.2 [INFO] [stderr] Downloaded num-complex v0.4.4 [INFO] [stderr] Downloaded either v1.9.0 [INFO] [stderr] Downloaded num v0.4.1 [INFO] [stderr] Downloaded anstyle-parse v0.2.2 [INFO] [stderr] Downloaded pest_derive v2.7.5 [INFO] [stderr] Downloaded ndarray-npy v0.8.1 [INFO] [stderr] Downloaded ndarray-ndimage v0.4.0 [INFO] [stderr] Downloaded schannel v0.1.22 [INFO] [stderr] Downloaded protobuf-codegen v3.2.0 [INFO] [stderr] Downloaded pest_meta v2.7.5 [INFO] [stderr] Downloaded bytemuck v1.14.0 [INFO] [stderr] Downloaded crossbeam-epoch v0.9.16 [INFO] [stderr] Downloaded jobserver v0.1.27 [INFO] [stderr] Downloaded rayon-core v1.12.0 [INFO] [stderr] Downloaded protobuf-parse v3.2.0 [INFO] [stderr] Downloaded curl v0.4.44 [INFO] [stderr] Downloaded protobuf v3.2.0 [INFO] [stderr] Downloaded pest v2.7.5 [INFO] [stderr] Downloaded aes v0.8.3 [INFO] [stderr] Downloaded itertools v0.12.0 [INFO] [stderr] Downloaded clap_builder v4.4.8 [INFO] [stderr] Downloaded rayon v1.8.0 [INFO] [stderr] Downloaded ndarray-stats v0.5.1 [INFO] [stderr] Downloaded petgraph v0.6.4 [INFO] [stderr] Downloaded object v0.32.1 [INFO] [stderr] Downloaded regex v1.9.1 [INFO] [stderr] Downloaded regex-automata v0.3.3 [INFO] [stderr] Downloaded zstd-sys v2.0.9+zstd.1.5.5 [INFO] [stderr] Downloaded bzip2-sys v0.1.11+1.0.8 [INFO] [stderr] Downloaded protoc-bin-vendored-win32 v3.0.0 [INFO] [stderr] Downloaded protoc-bin-vendored-linux-x86_64 v3.0.0 [INFO] [stderr] Downloaded protoc-bin-vendored-linux-aarch_64 v3.0.0 [INFO] [stderr] Downloaded protoc-bin-vendored-linux-x86_32 v3.0.0 [INFO] [stderr] Downloaded protoc-bin-vendored-linux-ppcle_64 v3.0.0 [INFO] [stderr] Downloaded protoc-bin-vendored-macos-x86_64 v3.0.0 [INFO] [stderr] Downloaded curl-sys v0.4.70+curl-8.5.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 8766cd1a083cf87bd61810ec0c06ccbd91b12c11df63c3f8884ef9c7d6fcbe77 [INFO] running `Command { std: "docker" "start" "-a" "8766cd1a083cf87bd61810ec0c06ccbd91b12c11df63c3f8884ef9c7d6fcbe77", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "8766cd1a083cf87bd61810ec0c06ccbd91b12c11df63c3f8884ef9c7d6fcbe77", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8766cd1a083cf87bd61810ec0c06ccbd91b12c11df63c3f8884ef9c7d6fcbe77", kill_on_drop: false }` [INFO] [stdout] 8766cd1a083cf87bd61810ec0c06ccbd91b12c11df63c3f8884ef9c7d6fcbe77 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 2980d132024251ae4bc0da794f5d989a58c1c40bc1b61f755f5ee70170d0b2d8 [INFO] running `Command { std: "docker" "start" "-a" "2980d132024251ae4bc0da794f5d989a58c1c40bc1b61f755f5ee70170d0b2d8", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.150 [INFO] [stderr] Compiling proc-macro2 v1.0.69 [INFO] [stderr] Compiling unicode-ident v1.0.11 [INFO] [stderr] Compiling pkg-config v0.3.27 [INFO] [stderr] Compiling num-traits v0.2.17 [INFO] [stderr] Compiling thiserror v1.0.44 [INFO] [stderr] Compiling num-integer v0.1.45 [INFO] [stderr] Compiling memoffset v0.9.0 [INFO] [stderr] Compiling crossbeam-utils v0.8.17 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling subtle v2.5.0 [INFO] [stderr] Compiling crc32fast v1.3.2 [INFO] [stderr] Compiling miniz_oxide v0.7.1 [INFO] [stderr] Compiling indexmap v1.9.3 [INFO] [stderr] Compiling cpufeatures v0.2.11 [INFO] [stderr] Compiling zstd-safe v5.0.2+zstd.1.5.2 [INFO] [stderr] Compiling rayon-core v1.12.0 [INFO] [stderr] Compiling rustix v0.38.4 [INFO] [stderr] Compiling either v1.9.0 [INFO] [stderr] Compiling num-bigint v0.4.4 [INFO] [stderr] Compiling matrixmultiply v0.3.8 [INFO] [stderr] Compiling ucd-trie v0.1.6 [INFO] [stderr] Compiling base64ct v1.6.0 [INFO] [stderr] Compiling anyhow v1.0.75 [INFO] [stderr] Compiling powerfmt v0.2.0 [INFO] [stderr] Compiling linux-raw-sys v0.4.3 [INFO] [stderr] Compiling bitflags v2.3.3 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling flate2 v1.0.28 [INFO] [stderr] Compiling protobuf v3.2.0 [INFO] [stderr] Compiling password-hash v0.4.2 [INFO] [stderr] Compiling deranged v0.3.10 [INFO] [stderr] Compiling aho-corasick v1.0.2 [INFO] [stderr] Compiling time-core v0.1.2 [INFO] [stderr] Compiling crossbeam-epoch v0.9.16 [INFO] [stderr] Compiling rawpointer v0.2.1 [INFO] [stderr] Compiling regex-syntax v0.7.4 [INFO] [stderr] Compiling fastrand v2.0.0 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling block-buffer v0.10.4 [INFO] [stderr] Compiling jobserver v0.1.27 [INFO] [stderr] Compiling quote v1.0.32 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling crossbeam-deque v0.8.4 [INFO] [stderr] Compiling inout v0.1.3 [INFO] [stderr] Compiling getrandom v0.2.11 [INFO] [stderr] Compiling which v4.4.0 [INFO] [stderr] Compiling serde v1.0.192 [INFO] [stderr] Compiling cipher v0.4.4 [INFO] [stderr] Compiling constant_time_eq v0.1.5 [INFO] [stderr] Compiling syn v2.0.39 [INFO] [stderr] Compiling cc v1.0.79 [INFO] [stderr] Compiling hmac v0.12.1 [INFO] [stderr] Compiling sha2 v0.10.8 [INFO] [stderr] Compiling time v0.3.31 [INFO] [stderr] Compiling sha1 v0.10.6 [INFO] [stderr] Compiling num-complex v0.4.4 [INFO] [stderr] Compiling aes v0.8.3 [INFO] [stderr] Compiling approx v0.5.1 [INFO] [stderr] Compiling rayon v1.8.0 [INFO] [stderr] Compiling utf8parse v0.2.1 [INFO] [stderr] Compiling curl v0.4.44 [INFO] [stderr] Compiling log v0.4.19 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling anstyle-parse v0.2.2 [INFO] [stderr] Compiling socket2 v0.4.10 [INFO] [stderr] Compiling num-rational v0.4.1 [INFO] [stderr] Compiling pbkdf2 v0.11.0 [INFO] [stderr] Compiling num-iter v0.1.43 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling anstyle-query v1.0.0 [INFO] [stderr] Compiling protoc-bin-vendored-win32 v3.0.0 [INFO] [stderr] Compiling protoc-bin-vendored-linux-aarch_64 v3.0.0 [INFO] [stderr] Compiling colorchoice v1.0.0 [INFO] [stderr] Compiling gimli v0.28.0 [INFO] [stderr] Compiling protoc-bin-vendored-linux-x86_32 v3.0.0 [INFO] [stderr] Compiling anstyle v1.0.4 [INFO] [stderr] Compiling protoc-bin-vendored-linux-x86_64 v3.0.0 [INFO] [stderr] Compiling protoc-bin-vendored-linux-ppcle_64 v3.0.0 [INFO] [stderr] Compiling protoc-bin-vendored-macos-x86_64 v3.0.0 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling noisy_float v0.2.0 [INFO] [stderr] Compiling itertools v0.10.5 [INFO] [stderr] Compiling object v0.32.1 [INFO] [stderr] Compiling clap_lex v0.6.0 [INFO] [stderr] Compiling protoc-bin-vendored v3.0.0 [INFO] [stderr] Compiling rustc-demangle v0.1.23 [INFO] [stderr] Compiling hashbrown v0.14.2 [INFO] [stderr] Compiling serde_json v1.0.108 [INFO] [stderr] Compiling zstd-sys v2.0.9+zstd.1.5.5 [INFO] [stderr] Compiling openssl-sys v0.9.97 [INFO] [stderr] Compiling libz-sys v1.1.12 [INFO] [stderr] Compiling bzip2-sys v0.1.11+1.0.8 [INFO] [stderr] Compiling curl-sys v0.4.70+curl-8.5.0 [INFO] [stderr] Compiling regex-automata v0.3.3 [INFO] [stderr] Compiling backtrace v0.3.69 [INFO] [stderr] Compiling anstream v0.6.4 [INFO] [stderr] Compiling clap_builder v4.4.8 [INFO] [stderr] Compiling itoa v1.0.9 [INFO] [stderr] Compiling tempfile v3.7.0 [INFO] [stderr] Compiling ryu v1.0.15 [INFO] [stderr] Compiling fixedbitset v0.4.2 [INFO] [stderr] Compiling walkdir v2.3.3 [INFO] [stderr] Compiling indexmap v2.1.0 [INFO] [stderr] Compiling num v0.4.1 [INFO] [stderr] Compiling ndarray v0.15.6 [INFO] [stderr] Compiling itertools v0.12.0 [INFO] [stderr] Compiling half v2.3.1 [INFO] [stderr] Compiling smallvec v1.11.2 [INFO] [stderr] Compiling thiserror-impl v1.0.44 [INFO] [stderr] Compiling bzip2 v0.4.4 [INFO] [stderr] Compiling serde_derive v1.0.192 [INFO] [stderr] Compiling clap_derive v4.4.7 [INFO] [stderr] Compiling bytemuck_derive v1.5.0 [INFO] [stderr] Compiling addr2line v0.21.0 [INFO] [stderr] Compiling trait-set v0.3.0 [INFO] [stderr] Compiling protobuf-support v3.2.0 [INFO] [stderr] Compiling pest v2.7.5 [INFO] [stderr] Compiling zip v0.5.13 [INFO] [stderr] Compiling bytemuck v1.14.0 [INFO] [stderr] Compiling regex v1.9.1 [INFO] [stderr] Compiling clap v4.4.8 [INFO] [stderr] Compiling pest_meta v2.7.5 [INFO] [stderr] Compiling pest_generator v2.7.5 [INFO] [stderr] Compiling ndarray-stats v0.5.1 [INFO] [stderr] Compiling pest_derive v2.7.5 [INFO] [stderr] Compiling zstd v0.11.2+zstd.1.5.2 [INFO] [stderr] Compiling zip v0.6.6 [INFO] [stderr] Compiling py_literal v0.4.0 [INFO] [stderr] Compiling ndarray-ndimage v0.4.0 [INFO] [stderr] Compiling zip-extensions v0.6.2 [INFO] [stderr] Compiling ndarray-npy v0.8.1 [INFO] [stderr] Compiling petgraph v0.6.4 [INFO] [stderr] Compiling protobuf-parse v3.2.0 [INFO] [stderr] Compiling protobuf-codegen v3.2.0 [INFO] [stderr] Compiling stonnx v0.1.3 (/opt/rustwide/workdir) [INFO] [stdout] warning: lint `box_pointers` has been removed: it does not detect other kinds of allocations, and existed only for historical reasons [INFO] [stdout] --> /opt/rustwide/target/debug/build/stonnx-a0d281b93ea7b9cf/out/onnxparser/onnx.rs:12:10 [INFO] [stdout] | [INFO] [stdout] 12 | #![allow(box_pointers)] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(renamed_and_removed_lints)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/lib.rs:263:8 [INFO] [stdout] | [INFO] [stdout] 263 | if LAST_ERROR.is_empty() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] = note: `#[warn(static_mut_refs)]` (part of `#[warn(rust_2024_compatibility)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/lib.rs:266:5 [INFO] [stdout] | [INFO] [stdout] 266 | LAST_ERROR.as_ptr() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function pointer comparisons do not produce meaningful results since their addresses are not guaranteed to be unique [INFO] [stdout] --> src/executor/mod.rs:27:5 [INFO] [stdout] | [INFO] [stdout] 23 | #[derive(Debug, Clone, PartialEq)] [INFO] [stdout] | --------- in this derive macro expansion [INFO] [stdout] ... [INFO] [stdout] 27 | op_func: OperationFn, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: the address of the same function can vary between different codegen units [INFO] [stdout] = note: furthermore, different functions could have the same address after being merged together [INFO] [stdout] = note: for more information visit [INFO] [stdout] = note: `#[warn(unpredictable_function_pointer_comparisons)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/utils/mod.rs:51:32 [INFO] [stdout] | [INFO] [stdout] 51 | operation, COUNTER, name [INFO] [stdout] | ^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lint `box_pointers` has been removed: it does not detect other kinds of allocations, and existed only for historical reasons [INFO] [stdout] --> /opt/rustwide/target/debug/build/stonnx-a0d281b93ea7b9cf/out/onnxparser/onnx.rs:12:10 [INFO] [stdout] | [INFO] [stdout] 12 | #![allow(box_pointers)] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(renamed_and_removed_lints)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/common/mod.rs:99:12 [INFO] [stdout] | [INFO] [stdout] 80 | impl Args { [INFO] [stdout] | --------- associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 99 | pub fn new( [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `MAX` and `min` are never used [INFO] [stdout] --> src/common/mod.rs:535:11 [INFO] [stdout] | [INFO] [stdout] 534 | pub trait MinMax { [INFO] [stdout] | ------ associated items in this trait [INFO] [stdout] 535 | const MAX: Self; [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 538 | fn min(self, lhs: Self) -> Self; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `check` is never used [INFO] [stdout] --> src/common/mod.rs:706:1 [INFO] [stdout] | [INFO] [stdout] 706 | / /// This struct is used to represent a complex 64-bit number in numpy, it is purely for the sake of reading from raw data arrays in models [INFO] [stdout] 707 | | /// ```c [INFO] [stdout] 708 | | /// typedef struct [INFO] [stdout] 709 | | /// { [INFO] [stdout] ... | [INFO] [stdout] 721 | | pub _val: [f32; 2], [INFO] [stdout] 722 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `check` is never used [INFO] [stdout] --> src/common/mod.rs:724:1 [INFO] [stdout] | [INFO] [stdout] 724 | / #[repr(C)] [INFO] [stdout] 725 | | #[derive(Debug, Copy, Clone, bytemuck::AnyBitPattern)] [INFO] [stdout] 726 | | /// This struct is used to represent a complex 128-bit number in numpy, it is purely for the sake of reading from raw data arrays in models [INFO] [stdout] 727 | | /// ```c [INFO] [stdout] ... | [INFO] [stdout] 738 | | pub _val: [f64; 2], [INFO] [stdout] 739 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `HalfFloat` is never constructed [INFO] [stdout] --> src/common/mod.rs:744:12 [INFO] [stdout] | [INFO] [stdout] 744 | pub struct HalfFloat { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `check` is never used [INFO] [stdout] --> src/common/mod.rs:741:1 [INFO] [stdout] | [INFO] [stdout] 741 | / #[repr(C)] [INFO] [stdout] 742 | | #[derive(Debug, Copy, Clone, bytemuck::AnyBitPattern)] [INFO] [stdout] 743 | | /// This struct is used to represent a half precision number in numpy, it is purely for the sake of reading from raw data arrays in models [INFO] [stdout] 744 | | pub struct HalfFloat { [INFO] [stdout] 745 | | pub _val: u16, [INFO] [stdout] 746 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `storage_order` is never read [INFO] [stdout] --> src/operators/_commonpool.rs:50:9 [INFO] [stdout] | [INFO] [stdout] 44 | pub struct CommonPoolAttrs { [INFO] [stdout] | --------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 50 | pub storage_order: i64, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `CommonPoolAttrs` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `name`, `type_`, and `doc_string` are never read [INFO] [stdout] --> src/utils/mod.rs:96:9 [INFO] [stdout] | [INFO] [stdout] 95 | pub struct ValueInfo { [INFO] [stdout] | --------- fields in this struct [INFO] [stdout] 96 | pub name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] 97 | pub type_: (ValueType, Vec), [INFO] [stdout] | ^^^^^ [INFO] [stdout] 98 | pub doc_string: String, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ValueInfo` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `valueinfo` is never read [INFO] [stdout] --> src/utils/mod.rs:104:9 [INFO] [stdout] | [INFO] [stdout] 103 | pub struct OutputInfo { [INFO] [stdout] | ---------- field in this struct [INFO] [stdout] 104 | pub valueinfo: ValueInfo, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `OutputInfo` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function pointer comparisons do not produce meaningful results since their addresses are not guaranteed to be unique [INFO] [stdout] --> src/executor/mod.rs:27:5 [INFO] [stdout] | [INFO] [stdout] 23 | #[derive(Debug, Clone, PartialEq)] [INFO] [stdout] | --------- in this derive macro expansion [INFO] [stdout] ... [INFO] [stdout] 27 | op_func: OperationFn, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: the address of the same function can vary between different codegen units [INFO] [stdout] = note: furthermore, different functions could have the same address after being merged together [INFO] [stdout] = note: for more information visit [INFO] [stdout] = note: `#[warn(unpredictable_function_pointer_comparisons)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/utils/mod.rs:51:32 [INFO] [stdout] | [INFO] [stdout] 51 | operation, COUNTER, name [INFO] [stdout] | ^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] = note: `#[warn(static_mut_refs)]` (part of `#[warn(rust_2024_compatibility)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 25s [INFO] running `Command { std: "docker" "inspect" "2980d132024251ae4bc0da794f5d989a58c1c40bc1b61f755f5ee70170d0b2d8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2980d132024251ae4bc0da794f5d989a58c1c40bc1b61f755f5ee70170d0b2d8", kill_on_drop: false }` [INFO] [stdout] 2980d132024251ae4bc0da794f5d989a58c1c40bc1b61f755f5ee70170d0b2d8 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 69cd7226f79b24f92516e658ecdb135cfe83f873379a7c9f4ee1b0ed4513d8c6 [INFO] running `Command { std: "docker" "start" "-a" "69cd7226f79b24f92516e658ecdb135cfe83f873379a7c9f4ee1b0ed4513d8c6", kill_on_drop: false }` [INFO] [stdout] warning: lint `box_pointers` has been removed: it does not detect other kinds of allocations, and existed only for historical reasons [INFO] [stdout] --> /opt/rustwide/target/debug/build/stonnx-a0d281b93ea7b9cf/out/onnxparser/onnx.rs:12:10 [INFO] [stdout] | [INFO] [stdout] 12 | #![allow(box_pointers)] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(renamed_and_removed_lints)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/lib.rs:263:8 [INFO] [stdout] | [INFO] [stdout] 263 | if LAST_ERROR.is_empty() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] = note: `#[warn(static_mut_refs)]` (part of `#[warn(rust_2024_compatibility)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/lib.rs:266:5 [INFO] [stdout] | [INFO] [stdout] 266 | LAST_ERROR.as_ptr() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function pointer comparisons do not produce meaningful results since their addresses are not guaranteed to be unique [INFO] [stdout] --> src/executor/mod.rs:27:5 [INFO] [stdout] | [INFO] [stdout] 23 | #[derive(Debug, Clone, PartialEq)] [INFO] [stdout] | --------- in this derive macro expansion [INFO] [stdout] ... [INFO] [stdout] 27 | op_func: OperationFn, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: the address of the same function can vary between different codegen units [INFO] [stdout] = note: furthermore, different functions could have the same address after being merged together [INFO] [stdout] = note: for more information visit [INFO] [stdout] = note: `#[warn(unpredictable_function_pointer_comparisons)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling stonnx v0.1.3 (/opt/rustwide/workdir) [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/utils/mod.rs:51:32 [INFO] [stdout] | [INFO] [stdout] 51 | operation, COUNTER, name [INFO] [stdout] | ^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lint `box_pointers` has been removed: it does not detect other kinds of allocations, and existed only for historical reasons [INFO] [stdout] --> /opt/rustwide/target/debug/build/stonnx-a0d281b93ea7b9cf/out/onnxparser/onnx.rs:12:10 [INFO] [stdout] | [INFO] [stdout] 12 | #![allow(box_pointers)] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(renamed_and_removed_lints)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lint `box_pointers` has been removed: it does not detect other kinds of allocations, and existed only for historical reasons [INFO] [stdout] --> /opt/rustwide/target/debug/build/stonnx-a0d281b93ea7b9cf/out/onnxparser/onnx.rs:12:10 [INFO] [stdout] | [INFO] [stdout] 12 | #![allow(box_pointers)] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(renamed_and_removed_lints)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/lib.rs:263:8 [INFO] [stdout] | [INFO] [stdout] 263 | if LAST_ERROR.is_empty() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] = note: `#[warn(static_mut_refs)]` (part of `#[warn(rust_2024_compatibility)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/lib.rs:266:5 [INFO] [stdout] | [INFO] [stdout] 266 | LAST_ERROR.as_ptr() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function pointer comparisons do not produce meaningful results since their addresses are not guaranteed to be unique [INFO] [stdout] --> src/executor/mod.rs:27:5 [INFO] [stdout] | [INFO] [stdout] 23 | #[derive(Debug, Clone, PartialEq)] [INFO] [stdout] | --------- in this derive macro expansion [INFO] [stdout] ... [INFO] [stdout] 27 | op_func: OperationFn, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: the address of the same function can vary between different codegen units [INFO] [stdout] = note: furthermore, different functions could have the same address after being merged together [INFO] [stdout] = note: for more information visit [INFO] [stdout] = note: `#[warn(unpredictable_function_pointer_comparisons)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/utils/mod.rs:51:32 [INFO] [stdout] | [INFO] [stdout] 51 | operation, COUNTER, name [INFO] [stdout] | ^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/common/mod.rs:99:12 [INFO] [stdout] | [INFO] [stdout] 80 | impl Args { [INFO] [stdout] | --------- associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 99 | pub fn new( [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `MAX` and `min` are never used [INFO] [stdout] --> src/common/mod.rs:535:11 [INFO] [stdout] | [INFO] [stdout] 534 | pub trait MinMax { [INFO] [stdout] | ------ associated items in this trait [INFO] [stdout] 535 | const MAX: Self; [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 538 | fn min(self, lhs: Self) -> Self; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `check` is never used [INFO] [stdout] --> src/common/mod.rs:706:1 [INFO] [stdout] | [INFO] [stdout] 706 | / /// This struct is used to represent a complex 64-bit number in numpy, it is purely for the sake of reading from raw data arrays in models [INFO] [stdout] 707 | | /// ```c [INFO] [stdout] 708 | | /// typedef struct [INFO] [stdout] 709 | | /// { [INFO] [stdout] ... | [INFO] [stdout] 721 | | pub _val: [f32; 2], [INFO] [stdout] 722 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `check` is never used [INFO] [stdout] --> src/common/mod.rs:724:1 [INFO] [stdout] | [INFO] [stdout] 724 | / #[repr(C)] [INFO] [stdout] 725 | | #[derive(Debug, Copy, Clone, bytemuck::AnyBitPattern)] [INFO] [stdout] 726 | | /// This struct is used to represent a complex 128-bit number in numpy, it is purely for the sake of reading from raw data arrays in models [INFO] [stdout] 727 | | /// ```c [INFO] [stdout] ... | [INFO] [stdout] 738 | | pub _val: [f64; 2], [INFO] [stdout] 739 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `HalfFloat` is never constructed [INFO] [stdout] --> src/common/mod.rs:744:12 [INFO] [stdout] | [INFO] [stdout] 744 | pub struct HalfFloat { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `check` is never used [INFO] [stdout] --> src/common/mod.rs:741:1 [INFO] [stdout] | [INFO] [stdout] 741 | / #[repr(C)] [INFO] [stdout] 742 | | #[derive(Debug, Copy, Clone, bytemuck::AnyBitPattern)] [INFO] [stdout] 743 | | /// This struct is used to represent a half precision number in numpy, it is purely for the sake of reading from raw data arrays in models [INFO] [stdout] 744 | | pub struct HalfFloat { [INFO] [stdout] 745 | | pub _val: u16, [INFO] [stdout] 746 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `storage_order` is never read [INFO] [stdout] --> src/operators/_commonpool.rs:50:9 [INFO] [stdout] | [INFO] [stdout] 44 | pub struct CommonPoolAttrs { [INFO] [stdout] | --------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 50 | pub storage_order: i64, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `CommonPoolAttrs` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `name`, `type_`, and `doc_string` are never read [INFO] [stdout] --> src/utils/mod.rs:96:9 [INFO] [stdout] | [INFO] [stdout] 95 | pub struct ValueInfo { [INFO] [stdout] | --------- fields in this struct [INFO] [stdout] 96 | pub name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] 97 | pub type_: (ValueType, Vec), [INFO] [stdout] | ^^^^^ [INFO] [stdout] 98 | pub doc_string: String, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ValueInfo` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `valueinfo` is never read [INFO] [stdout] --> src/utils/mod.rs:104:9 [INFO] [stdout] | [INFO] [stdout] 103 | pub struct OutputInfo { [INFO] [stdout] | ---------- field in this struct [INFO] [stdout] 104 | pub valueinfo: ValueInfo, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `OutputInfo` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function pointer comparisons do not produce meaningful results since their addresses are not guaranteed to be unique [INFO] [stdout] --> src/executor/mod.rs:27:5 [INFO] [stdout] | [INFO] [stdout] 23 | #[derive(Debug, Clone, PartialEq)] [INFO] [stdout] | --------- in this derive macro expansion [INFO] [stdout] ... [INFO] [stdout] 27 | op_func: OperationFn, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: the address of the same function can vary between different codegen units [INFO] [stdout] = note: furthermore, different functions could have the same address after being merged together [INFO] [stdout] = note: for more information visit [INFO] [stdout] = note: `#[warn(unpredictable_function_pointer_comparisons)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/utils/mod.rs:51:32 [INFO] [stdout] | [INFO] [stdout] 51 | operation, COUNTER, name [INFO] [stdout] | ^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] = note: `#[warn(static_mut_refs)]` (part of `#[warn(rust_2024_compatibility)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 15.60s [INFO] running `Command { std: "docker" "inspect" "69cd7226f79b24f92516e658ecdb135cfe83f873379a7c9f4ee1b0ed4513d8c6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "69cd7226f79b24f92516e658ecdb135cfe83f873379a7c9f4ee1b0ed4513d8c6", kill_on_drop: false }` [INFO] [stdout] 69cd7226f79b24f92516e658ecdb135cfe83f873379a7c9f4ee1b0ed4513d8c6