[INFO] fetching crate concache 0.2.1... [INFO] testing concache-0.2.1 against beta-2022-02-22 for beta-1.60-1 [INFO] extracting crate concache 0.2.1 into /workspace/builds/worker-12/source [INFO] validating manifest of crates.io crate concache 0.2.1 on toolchain beta-2022-02-22 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-02-22" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate concache 0.2.1 [INFO] finished tweaking crates.io crate concache 0.2.1 [INFO] tweaked toml for crates.io crate concache 0.2.1 written to /workspace/builds/worker-12/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-02-22" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-02-22" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded zipf v4.0.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-02-22" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 4ed4100cc914d016edf5f9c0419edcf22c452e08190ac4592a455c87e5725610 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "4ed4100cc914d016edf5f9c0419edcf22c452e08190ac4592a455c87e5725610", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "4ed4100cc914d016edf5f9c0419edcf22c452e08190ac4592a455c87e5725610", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4ed4100cc914d016edf5f9c0419edcf22c452e08190ac4592a455c87e5725610", kill_on_drop: false }` [INFO] [stdout] 4ed4100cc914d016edf5f9c0419edcf22c452e08190ac4592a455c87e5725610 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/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=warn" "-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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-02-22" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 29e94f8c5815b85318f228089c668e5084a0a59a9127794c7404fda7351a141a [INFO] running `Command { std: "docker" "start" "-a" "29e94f8c5815b85318f228089c668e5084a0a59a9127794c7404fda7351a141a", kill_on_drop: false }` [INFO] [stderr] Compiling crossbeam v0.3.2 [INFO] [stderr] Compiling concache v0.2.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: use of deprecated associated function `std::sync::atomic::AtomicPtr::::compare_and_swap`: Use `compare_exchange` or `compare_exchange_weak` instead [INFO] [stdout] --> src/manual/linked_list.rs:86:18 [INFO] [stdout] | [INFO] [stdout] 86 | .compare_and_swap(right_node, new_node_ptr, OSC) [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::sync::atomic::AtomicPtr::::compare_and_swap`: Use `compare_exchange` or `compare_exchange_weak` instead [INFO] [stdout] --> src/manual/linked_list.rs:131:49 [INFO] [stdout] | [INFO] [stdout] 131 | && unsafe { &*right_node }.next.compare_and_swap( [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::sync::atomic::AtomicPtr::::compare_and_swap`: Use `compare_exchange` or `compare_exchange_weak` instead [INFO] [stdout] --> src/manual/linked_list.rs:147:14 [INFO] [stdout] | [INFO] [stdout] 147 | .compare_and_swap(right_node, right_node_next, OSC) [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::sync::atomic::AtomicPtr::::compare_and_swap`: Use `compare_exchange` or `compare_exchange_weak` instead [INFO] [stdout] --> src/manual/linked_list.rs:220:18 [INFO] [stdout] | [INFO] [stdout] 220 | .compare_and_swap(left_node_next, right_node, OSC) [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/crossbeam/linked_list.rs:49:25 [INFO] [stdout] | [INFO] [stdout] 49 | let mut raw = k.as_raw(); [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/crossbeam/linked_list.rs:50:25 [INFO] [stdout] | [INFO] [stdout] 50 | let mut cur = unsafe { &*raw }; [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/crossbeam/linked_list.rs:55:29 [INFO] [stdout] | [INFO] [stdout] 55 | let mut ins = Owned::new(kv.1); [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/crossbeam/linked_list.rs:63:29 [INFO] [stdout] | [INFO] [stdout] 63 | let mut ins = Owned::new(Node::new(kv.0, kv.1)); [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/crossbeam/linked_list.rs:71:25 [INFO] [stdout] | [INFO] [stdout] 71 | let mut ins = Owned::new(Node::new(kv.0, kv.1)); [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/crossbeam/linked_list.rs:86:25 [INFO] [stdout] | [INFO] [stdout] 86 | let mut raw = k.as_raw(); [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/crossbeam/linked_list.rs:87:25 [INFO] [stdout] | [INFO] [stdout] 87 | let mut cur = unsafe { &*raw }; [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/crossbeam/linked_list.rs:108:25 [INFO] [stdout] | [INFO] [stdout] 108 | let mut raw = k.as_raw(); [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/crossbeam/linked_list.rs:109:25 [INFO] [stdout] | [INFO] [stdout] 109 | let mut cur = unsafe { &*raw }; [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/crossbeam/linked_list.rs:118:29 [INFO] [stdout] | [INFO] [stdout] 118 | let mut new_node = match node.load(Ordering::SeqCst, &guard) { [INFO] [stdout] | ----^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/crossbeam/linked_list.rs:124:29 [INFO] [stdout] | [INFO] [stdout] 124 | let mut new_node_raw_cur = unsafe { &*new_node.as_raw() }; [INFO] [stdout] | ----^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/crossbeam/linked_list.rs:157:17 [INFO] [stdout] | [INFO] [stdout] 157 | let mut raw = k.as_raw(); [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/crossbeam/linked_list.rs:158:17 [INFO] [stdout] | [INFO] [stdout] 158 | let mut cur = unsafe { &*raw }; [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 17 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 1.70s [INFO] running `Command { std: "docker" "inspect" "29e94f8c5815b85318f228089c668e5084a0a59a9127794c7404fda7351a141a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "29e94f8c5815b85318f228089c668e5084a0a59a9127794c7404fda7351a141a", kill_on_drop: false }` [INFO] [stdout] 29e94f8c5815b85318f228089c668e5084a0a59a9127794c7404fda7351a141a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/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=warn" "-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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-02-22" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] d2ead7874a3d0be09b62e62054f3deedcd20dda5421cc751a82b8f17996e3a41 [INFO] running `Command { std: "docker" "start" "-a" "d2ead7874a3d0be09b62e62054f3deedcd20dda5421cc751a82b8f17996e3a41", kill_on_drop: false }` [INFO] [stderr] Compiling rand_core v0.3.1 [INFO] [stdout] warning: use of deprecated associated function `std::sync::atomic::AtomicPtr::::compare_and_swap`: Use `compare_exchange` or `compare_exchange_weak` instead [INFO] [stdout] --> src/manual/linked_list.rs:86:18 [INFO] [stdout] | [INFO] [stdout] 86 | .compare_and_swap(right_node, new_node_ptr, OSC) [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::sync::atomic::AtomicPtr::::compare_and_swap`: Use `compare_exchange` or `compare_exchange_weak` instead [INFO] [stdout] --> src/manual/linked_list.rs:131:49 [INFO] [stdout] | [INFO] [stdout] 131 | && unsafe { &*right_node }.next.compare_and_swap( [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::sync::atomic::AtomicPtr::::compare_and_swap`: Use `compare_exchange` or `compare_exchange_weak` instead [INFO] [stdout] --> src/manual/linked_list.rs:147:14 [INFO] [stdout] | [INFO] [stdout] 147 | .compare_and_swap(right_node, right_node_next, OSC) [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::sync::atomic::AtomicPtr::::compare_and_swap`: Use `compare_exchange` or `compare_exchange_weak` instead [INFO] [stdout] --> src/manual/linked_list.rs:220:18 [INFO] [stdout] | [INFO] [stdout] 220 | .compare_and_swap(left_node_next, right_node, OSC) [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/crossbeam/linked_list.rs:49:25 [INFO] [stdout] | [INFO] [stdout] 49 | let mut raw = k.as_raw(); [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/crossbeam/linked_list.rs:50:25 [INFO] [stdout] | [INFO] [stdout] 50 | let mut cur = unsafe { &*raw }; [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/crossbeam/linked_list.rs:55:29 [INFO] [stdout] | [INFO] [stdout] 55 | let mut ins = Owned::new(kv.1); [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/crossbeam/linked_list.rs:63:29 [INFO] [stdout] | [INFO] [stdout] 63 | let mut ins = Owned::new(Node::new(kv.0, kv.1)); [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/crossbeam/linked_list.rs:71:25 [INFO] [stdout] | [INFO] [stdout] 71 | let mut ins = Owned::new(Node::new(kv.0, kv.1)); [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/crossbeam/linked_list.rs:86:25 [INFO] [stdout] | [INFO] [stdout] 86 | let mut raw = k.as_raw(); [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/crossbeam/linked_list.rs:87:25 [INFO] [stdout] | [INFO] [stdout] 87 | let mut cur = unsafe { &*raw }; [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/crossbeam/linked_list.rs:108:25 [INFO] [stdout] | [INFO] [stdout] 108 | let mut raw = k.as_raw(); [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/crossbeam/linked_list.rs:109:25 [INFO] [stdout] | [INFO] [stdout] 109 | let mut cur = unsafe { &*raw }; [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/crossbeam/linked_list.rs:118:29 [INFO] [stdout] | [INFO] [stdout] 118 | let mut new_node = match node.load(Ordering::SeqCst, &guard) { [INFO] [stdout] | ----^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/crossbeam/linked_list.rs:124:29 [INFO] [stdout] | [INFO] [stdout] 124 | let mut new_node_raw_cur = unsafe { &*new_node.as_raw() }; [INFO] [stdout] | ----^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/crossbeam/linked_list.rs:157:17 [INFO] [stdout] | [INFO] [stdout] 157 | let mut raw = k.as_raw(); [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/crossbeam/linked_list.rs:158:17 [INFO] [stdout] | [INFO] [stdout] 158 | let mut cur = unsafe { &*raw }; [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 17 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling rand v0.5.6 [INFO] [stderr] Compiling concache v0.2.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: use of deprecated associated function `std::sync::atomic::AtomicPtr::::compare_and_swap`: Use `compare_exchange` or `compare_exchange_weak` instead [INFO] [stdout] --> src/manual/linked_list.rs:86:18 [INFO] [stdout] | [INFO] [stdout] 86 | .compare_and_swap(right_node, new_node_ptr, OSC) [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::sync::atomic::AtomicPtr::::compare_and_swap`: Use `compare_exchange` or `compare_exchange_weak` instead [INFO] [stdout] --> src/manual/linked_list.rs:131:49 [INFO] [stdout] | [INFO] [stdout] 131 | && unsafe { &*right_node }.next.compare_and_swap( [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::sync::atomic::AtomicPtr::::compare_and_swap`: Use `compare_exchange` or `compare_exchange_weak` instead [INFO] [stdout] --> src/manual/linked_list.rs:147:14 [INFO] [stdout] | [INFO] [stdout] 147 | .compare_and_swap(right_node, right_node_next, OSC) [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::sync::atomic::AtomicPtr::::compare_and_swap`: Use `compare_exchange` or `compare_exchange_weak` instead [INFO] [stdout] --> src/manual/linked_list.rs:220:18 [INFO] [stdout] | [INFO] [stdout] 220 | .compare_and_swap(left_node_next, right_node, OSC) [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/crossbeam/linked_list.rs:49:25 [INFO] [stdout] | [INFO] [stdout] 49 | let mut raw = k.as_raw(); [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/crossbeam/linked_list.rs:50:25 [INFO] [stdout] | [INFO] [stdout] 50 | let mut cur = unsafe { &*raw }; [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/crossbeam/linked_list.rs:55:29 [INFO] [stdout] | [INFO] [stdout] 55 | let mut ins = Owned::new(kv.1); [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/crossbeam/linked_list.rs:63:29 [INFO] [stdout] | [INFO] [stdout] 63 | let mut ins = Owned::new(Node::new(kv.0, kv.1)); [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/crossbeam/linked_list.rs:71:25 [INFO] [stdout] | [INFO] [stdout] 71 | let mut ins = Owned::new(Node::new(kv.0, kv.1)); [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/crossbeam/linked_list.rs:86:25 [INFO] [stdout] | [INFO] [stdout] 86 | let mut raw = k.as_raw(); [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/crossbeam/linked_list.rs:87:25 [INFO] [stdout] | [INFO] [stdout] 87 | let mut cur = unsafe { &*raw }; [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/crossbeam/linked_list.rs:108:25 [INFO] [stdout] | [INFO] [stdout] 108 | let mut raw = k.as_raw(); [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/crossbeam/linked_list.rs:109:25 [INFO] [stdout] | [INFO] [stdout] 109 | let mut cur = unsafe { &*raw }; [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/crossbeam/linked_list.rs:118:29 [INFO] [stdout] | [INFO] [stdout] 118 | let mut new_node = match node.load(Ordering::SeqCst, &guard) { [INFO] [stdout] | ----^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/crossbeam/linked_list.rs:124:29 [INFO] [stdout] | [INFO] [stdout] 124 | let mut new_node_raw_cur = unsafe { &*new_node.as_raw() }; [INFO] [stdout] | ----^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/crossbeam/linked_list.rs:157:17 [INFO] [stdout] | [INFO] [stdout] 157 | let mut raw = k.as_raw(); [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/crossbeam/linked_list.rs:158:17 [INFO] [stdout] | [INFO] [stdout] 158 | let mut cur = unsafe { &*raw }; [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 17 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 2.93s [INFO] running `Command { std: "docker" "inspect" "d2ead7874a3d0be09b62e62054f3deedcd20dda5421cc751a82b8f17996e3a41", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d2ead7874a3d0be09b62e62054f3deedcd20dda5421cc751a82b8f17996e3a41", kill_on_drop: false }` [INFO] [stdout] d2ead7874a3d0be09b62e62054f3deedcd20dda5421cc751a82b8f17996e3a41 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/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=warn" "-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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-02-22" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 271ac245a7a008aac768dfbf5cfb42562228825a1702f16058913b4939440655 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "271ac245a7a008aac768dfbf5cfb42562228825a1702f16058913b4939440655", kill_on_drop: false }` [INFO] [stdout] [INFO] [stderr] warning: use of deprecated associated function `std::sync::atomic::AtomicPtr::::compare_and_swap`: Use `compare_exchange` or `compare_exchange_weak` instead [INFO] [stdout] running 5 tests [INFO] [stderr] --> src/manual/linked_list.rs:86:18 [INFO] [stdout] test manual::linked_list::tests::linkedlist_basics ... ok [INFO] [stderr] | [INFO] [stdout] test manual::linked_list::tests::more_linked_list_tests ... ok [INFO] [stderr] 86 | .compare_and_swap(right_node, new_node_ptr, OSC) [INFO] [stdout] test manual::tests::hashmap_basics ... ok [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] test manual::tests::hashmap_delete ... ok [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(deprecated)]` on by default [INFO] [stderr] [INFO] [stderr] warning: use of deprecated associated function `std::sync::atomic::AtomicPtr::::compare_and_swap`: Use `compare_exchange` or `compare_exchange_weak` instead [INFO] [stderr] --> src/manual/linked_list.rs:131:49 [INFO] [stderr] | [INFO] [stderr] 131 | && unsafe { &*right_node }.next.compare_and_swap( [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated associated function `std::sync::atomic::AtomicPtr::::compare_and_swap`: Use `compare_exchange` or `compare_exchange_weak` instead [INFO] [stderr] --> src/manual/linked_list.rs:147:14 [INFO] [stderr] | [INFO] [stderr] 147 | .compare_and_swap(right_node, right_node_next, OSC) [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated associated function `std::sync::atomic::AtomicPtr::::compare_and_swap`: Use `compare_exchange` or `compare_exchange_weak` instead [INFO] [stderr] --> src/manual/linked_list.rs:220:18 [INFO] [stderr] | [INFO] [stderr] 220 | .compare_and_swap(left_node_next, right_node, OSC) [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/crossbeam/linked_list.rs:49:25 [INFO] [stderr] | [INFO] [stderr] 49 | let mut raw = k.as_raw(); [INFO] [stderr] | ----^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_mut)]` on by default [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/crossbeam/linked_list.rs:50:25 [INFO] [stderr] | [INFO] [stderr] 50 | let mut cur = unsafe { &*raw }; [INFO] [stderr] | ----^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/crossbeam/linked_list.rs:55:29 [INFO] [stderr] | [INFO] [stderr] 55 | let mut ins = Owned::new(kv.1); [INFO] [stderr] | ----^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/crossbeam/linked_list.rs:63:29 [INFO] [stderr] | [INFO] [stderr] 63 | let mut ins = Owned::new(Node::new(kv.0, kv.1)); [INFO] [stderr] | ----^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/crossbeam/linked_list.rs:71:25 [INFO] [stderr] | [INFO] [stderr] 71 | let mut ins = Owned::new(Node::new(kv.0, kv.1)); [INFO] [stderr] | ----^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/crossbeam/linked_list.rs:86:25 [INFO] [stderr] | [INFO] [stderr] 86 | let mut raw = k.as_raw(); [INFO] [stderr] | ----^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/crossbeam/linked_list.rs:87:25 [INFO] [stderr] | [INFO] [stderr] 87 | let mut cur = unsafe { &*raw }; [INFO] [stderr] | ----^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/crossbeam/linked_list.rs:108:25 [INFO] [stderr] | [INFO] [stderr] 108 | let mut raw = k.as_raw(); [INFO] [stderr] | ----^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/crossbeam/linked_list.rs:109:25 [INFO] [stderr] | [INFO] [stderr] 109 | let mut cur = unsafe { &*raw }; [INFO] [stderr] | ----^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/crossbeam/linked_list.rs:118:29 [INFO] [stderr] | [INFO] [stderr] 118 | let mut new_node = match node.load(Ordering::SeqCst, &guard) { [INFO] [stderr] | ----^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/crossbeam/linked_list.rs:124:29 [INFO] [stderr] | [INFO] [stderr] 124 | let mut new_node_raw_cur = unsafe { &*new_node.as_raw() }; [INFO] [stderr] | ----^^^^^^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/crossbeam/linked_list.rs:157:17 [INFO] [stderr] | [INFO] [stderr] 157 | let mut raw = k.as_raw(); [INFO] [stderr] | ----^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/crossbeam/linked_list.rs:158:17 [INFO] [stderr] | [INFO] [stderr] 158 | let mut cur = unsafe { &*raw }; [INFO] [stderr] | ----^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] [INFO] [stderr] warning: `concache` (lib) generated 17 warnings [INFO] [stderr] warning: `concache` (lib test) generated 17 warnings (17 duplicates) [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.02s [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/concache-7792b4d2fb3d7507) [INFO] [stdout] test manual::tests::hashmap_concurr ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 5 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 7.60s [INFO] [stdout] [INFO] [stderr] Doc-tests concache [INFO] [stdout] [INFO] [stdout] running 10 tests [INFO] [stdout] test src/crossbeam/mod.rs - crossbeam::Map::remove (line 172) - compile ... ok [INFO] [stdout] test src/crossbeam/mod.rs - crossbeam::MapHandle::len (line 78) ... ok [INFO] [stdout] test src/crossbeam/mod.rs - crossbeam::Map::insert (line 122) ... ok [INFO] [stdout] test src/manual/mod.rs - manual::MapHandle::remove (line 250) ... ok [INFO] [stdout] test src/crossbeam/mod.rs - crossbeam::Map::get (line 150) ... ok [INFO] [stdout] test src/crossbeam/mod.rs - crossbeam::MapHandle::is_empty (line 94) ... ok [INFO] [stdout] test src/manual/mod.rs - manual::MapHandle::len (line 277) ... ok [INFO] [stdout] test src/manual/mod.rs - manual::MapHandle::insert (line 185) ... ok [INFO] [stdout] test src/manual/mod.rs - manual::MapHandle::get (line 222) ... ok [INFO] [stdout] test src/manual/mod.rs - manual::MapHandle::is_empty (line 293) ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 10 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 2.80s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "271ac245a7a008aac768dfbf5cfb42562228825a1702f16058913b4939440655", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "271ac245a7a008aac768dfbf5cfb42562228825a1702f16058913b4939440655", kill_on_drop: false }` [INFO] [stdout] 271ac245a7a008aac768dfbf5cfb42562228825a1702f16058913b4939440655