[INFO] fetching crate rudy 0.1.0... [INFO] checking rudy-0.1.0 against master#ab869e094a907cc5d19b4080f22eccaf347f1f95 for pr-129604 [INFO] extracting crate rudy 0.1.0 into /workspace/builds/worker-6-tc1/source [INFO] validating manifest of crates.io crate rudy 0.1.0 on toolchain ab869e094a907cc5d19b4080f22eccaf347f1f95 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate rudy 0.1.0 [INFO] finished tweaking crates.io crate rudy 0.1.0 [INFO] tweaked toml for crates.io crate rudy 0.1.0 written to /workspace/builds/worker-6-tc1/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 6 packages to latest compatible versions [INFO] [stderr] Adding num-traits v0.1.43 (latest: v0.2.19) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2021 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] f6897ce4968a62f8c623cf4f317651b8b2176c0ff6b3260c5a8e60d252b81e61 [INFO] running `Command { std: "docker" "start" "-a" "f6897ce4968a62f8c623cf4f317651b8b2176c0ff6b3260c5a8e60d252b81e61", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f6897ce4968a62f8c623cf4f317651b8b2176c0ff6b3260c5a8e60d252b81e61", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f6897ce4968a62f8c623cf4f317651b8b2176c0ff6b3260c5a8e60d252b81e61", kill_on_drop: false }` [INFO] [stdout] f6897ce4968a62f8c623cf4f317651b8b2176c0ff6b3260c5a8e60d252b81e61 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 5ffed272c1603eebde82b57e47e6b0383af5e153b5a8802699c558f8644b93b7 [INFO] running `Command { std: "docker" "start" "-a" "5ffed272c1603eebde82b57e47e6b0383af5e153b5a8802699c558f8644b93b7", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2021 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Checking nodrop v0.1.14 [INFO] [stderr] Checking bencher v0.1.5 [INFO] [stderr] Checking num-traits v0.1.43 [INFO] [stderr] Checking rudy v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unexpected `cfg` condition value: `i128` [INFO] [stdout] --> src/key.rs:34:7 [INFO] [stdout] | [INFO] [stdout] 34 | #[cfg(feature = "i128")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `i128` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> src/util/locksteparray.rs:93:46 [INFO] [stdout] | [INFO] [stdout] 93 | array1: NoDrop::new(unsafe {mem::uninitialized()}), [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> src/util/locksteparray.rs:94:46 [INFO] [stdout] | [INFO] [stdout] 94 | array2: NoDrop::new(unsafe {mem::uninitialized()}) [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> src/util/locksteparray.rs:286:64 [INFO] [stdout] | [INFO] [stdout] 286 | let mut array1: NoDrop = NoDrop::new(unsafe { mem::uninitialized() }); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> src/util/locksteparray.rs:287:64 [INFO] [stdout] | [INFO] [stdout] 287 | let mut array2: NoDrop = NoDrop::new(unsafe { mem::uninitialized() }); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> src/rudymap/jpm/branch_uncompressed.rs:17:31 [INFO] [stdout] | [INFO] [stdout] 17 | array: { mem::uninitialized() } [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `i128` [INFO] [stdout] --> src/key.rs:34:7 [INFO] [stdout] | [INFO] [stdout] 34 | #[cfg(feature = "i128")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `i128` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> src/util/locksteparray.rs:93:46 [INFO] [stdout] | [INFO] [stdout] 93 | array1: NoDrop::new(unsafe {mem::uninitialized()}), [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> src/util/locksteparray.rs:94:46 [INFO] [stdout] | [INFO] [stdout] 94 | array2: NoDrop::new(unsafe {mem::uninitialized()}) [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> src/util/locksteparray.rs:286:64 [INFO] [stdout] | [INFO] [stdout] 286 | let mut array1: NoDrop = NoDrop::new(unsafe { mem::uninitialized() }); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> src/util/locksteparray.rs:287:64 [INFO] [stdout] | [INFO] [stdout] 287 | let mut array2: NoDrop = NoDrop::new(unsafe { mem::uninitialized() }); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> src/rudymap/jpm/branch_uncompressed.rs:17:31 [INFO] [stdout] | [INFO] [stdout] 17 | array: { mem::uninitialized() } [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/rudymap/rootptr.rs:183:45 [INFO] [stdout] | [INFO] [stdout] 183 | RootMut::$type_name(mut node) => node.insert(key, value), [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] ... [INFO] [stdout] 242 | / impl_root_ptr!( [INFO] [stdout] 243 | | 2 => Leaf1, [INFO] [stdout] 244 | | 3 => Leaf2, [INFO] [stdout] 245 | | 4 => VecLeaf, [INFO] [stdout] 246 | | 5 => Jpm [INFO] [stdout] 247 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] = note: this warning originates in the macro `impl_root_ptr_dispatch` which comes from the expansion of the macro `impl_root_ptr` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/rudymap/rootptr.rs:210:45 [INFO] [stdout] | [INFO] [stdout] 210 | RootMut::$type_name(mut node) => node.remove(key), [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] ... [INFO] [stdout] 242 | / impl_root_ptr!( [INFO] [stdout] 243 | | 2 => Leaf1, [INFO] [stdout] 244 | | 3 => Leaf2, [INFO] [stdout] 245 | | 4 => VecLeaf, [INFO] [stdout] 246 | | 5 => Jpm [INFO] [stdout] 247 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `impl_root_ptr_dispatch` which comes from the expansion of the macro `impl_root_ptr` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/rudymap/jpm/leaf_bitmap.rs:37:21 [INFO] [stdout] | [INFO] [stdout] 37 | let mut value = &mut self.values[index]; [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/rudymap/jpm/branch_linear.rs:96:13 [INFO] [stdout] | [INFO] [stdout] 96 | node.array.push(k, v); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 96 | let _ = node.array.push(k, v); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the type `[InnerPtr; 256]` does not permit being left uninitialized [INFO] [stdout] --> src/rudymap/jpm/branch_uncompressed.rs:17:26 [INFO] [stdout] | [INFO] [stdout] 17 | array: { mem::uninitialized() } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this code causes undefined behavior when executed [INFO] [stdout] | help: use `MaybeUninit` instead, and only call `assume_init` after initialization is done [INFO] [stdout] | [INFO] [stdout] note: enums with multiple inhabited variants have to be initialized to a variant [INFO] [stdout] --> src/rudymap/jpm/innerptr.rs:50:9 [INFO] [stdout] | [INFO] [stdout] 50 | pub enum InnerPtr { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 177 | / make_inner_ptr!(Empty, [INFO] [stdout] 178 | | BranchLinear, BranchBitmap, BranchUncompressed, [INFO] [stdout] 179 | | LeafLinear, LeafBitmap); [INFO] [stdout] | |_______________________________________- in this macro invocation [INFO] [stdout] = note: `#[warn(invalid_value)]` on by default [INFO] [stdout] = note: this warning originates in the macro `make_inner_ptr` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 11 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/rudymap/rootptr.rs:183:45 [INFO] [stdout] | [INFO] [stdout] 183 | RootMut::$type_name(mut node) => node.insert(key, value), [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] ... [INFO] [stdout] 242 | / impl_root_ptr!( [INFO] [stdout] 243 | | 2 => Leaf1, [INFO] [stdout] 244 | | 3 => Leaf2, [INFO] [stdout] 245 | | 4 => VecLeaf, [INFO] [stdout] 246 | | 5 => Jpm [INFO] [stdout] 247 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] = note: this warning originates in the macro `impl_root_ptr_dispatch` which comes from the expansion of the macro `impl_root_ptr` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/rudymap/rootptr.rs:210:45 [INFO] [stdout] | [INFO] [stdout] 210 | RootMut::$type_name(mut node) => node.remove(key), [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] ... [INFO] [stdout] 242 | / impl_root_ptr!( [INFO] [stdout] 243 | | 2 => Leaf1, [INFO] [stdout] 244 | | 3 => Leaf2, [INFO] [stdout] 245 | | 4 => VecLeaf, [INFO] [stdout] 246 | | 5 => Jpm [INFO] [stdout] 247 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `impl_root_ptr_dispatch` which comes from the expansion of the macro `impl_root_ptr` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/rudymap/jpm/leaf_bitmap.rs:37:21 [INFO] [stdout] | [INFO] [stdout] 37 | let mut value = &mut self.values[index]; [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/rudymap/jpm/branch_linear.rs:96:13 [INFO] [stdout] | [INFO] [stdout] 96 | node.array.push(k, v); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 96 | let _ = node.array.push(k, v); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the type `[InnerPtr; 256]` does not permit being left uninitialized [INFO] [stdout] --> src/rudymap/jpm/branch_uncompressed.rs:17:26 [INFO] [stdout] | [INFO] [stdout] 17 | array: { mem::uninitialized() } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this code causes undefined behavior when executed [INFO] [stdout] | help: use `MaybeUninit` instead, and only call `assume_init` after initialization is done [INFO] [stdout] | [INFO] [stdout] note: enums with multiple inhabited variants have to be initialized to a variant [INFO] [stdout] --> src/rudymap/jpm/innerptr.rs:50:9 [INFO] [stdout] | [INFO] [stdout] 50 | pub enum InnerPtr { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 177 | / make_inner_ptr!(Empty, [INFO] [stdout] 178 | | BranchLinear, BranchBitmap, BranchUncompressed, [INFO] [stdout] 179 | | LeafLinear, LeafBitmap); [INFO] [stdout] | |_______________________________________- in this macro invocation [INFO] [stdout] = note: `#[warn(invalid_value)]` on by default [INFO] [stdout] = note: this warning originates in the macro `make_inner_ptr` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 11 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 2.50s [INFO] running `Command { std: "docker" "inspect" "5ffed272c1603eebde82b57e47e6b0383af5e153b5a8802699c558f8644b93b7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5ffed272c1603eebde82b57e47e6b0383af5e153b5a8802699c558f8644b93b7", kill_on_drop: false }` [INFO] [stdout] 5ffed272c1603eebde82b57e47e6b0383af5e153b5a8802699c558f8644b93b7