[INFO] fetching crate concache 0.2.1... [INFO] testing concache-0.2.1 against beta-2022-04-10 for beta-1.61-1 [INFO] extracting crate concache 0.2.1 into /workspace/builds/worker-7/source [INFO] validating manifest of crates.io crate concache 0.2.1 on toolchain beta-2022-04-10 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "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-7/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "metadata" "--no-deps" "--format-version=1", 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] 8b88666db75a6cfe6dde8e369c774fd5245f1d41501dfefc4f7c23f99397b481 [INFO] running `Command { std: "docker" "start" "-a" "8b88666db75a6cfe6dde8e369c774fd5245f1d41501dfefc4f7c23f99397b481", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "8b88666db75a6cfe6dde8e369c774fd5245f1d41501dfefc4f7c23f99397b481", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8b88666db75a6cfe6dde8e369c774fd5245f1d41501dfefc4f7c23f99397b481", kill_on_drop: false }` [INFO] [stdout] 8b88666db75a6cfe6dde8e369c774fd5245f1d41501dfefc4f7c23f99397b481 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "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] c881089f916f741990302ad400a43d534d22c881d3d66e8a4d0a517acd07b329 [INFO] running `Command { std: "docker" "start" "-a" "c881089f916f741990302ad400a43d534d22c881d3d66e8a4d0a517acd07b329", 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 2.45s [INFO] running `Command { std: "docker" "inspect" "c881089f916f741990302ad400a43d534d22c881d3d66e8a4d0a517acd07b329", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c881089f916f741990302ad400a43d534d22c881d3d66e8a4d0a517acd07b329", kill_on_drop: false }` [INFO] [stdout] c881089f916f741990302ad400a43d534d22c881d3d66e8a4d0a517acd07b329 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "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] 90afb7dfe7e2e9f2acdcb292223aee22502d685b91e9d3fe0e312280189301b2 [INFO] running `Command { std: "docker" "start" "-a" "90afb7dfe7e2e9f2acdcb292223aee22502d685b91e9d3fe0e312280189301b2", kill_on_drop: false }` [INFO] [stderr] Compiling rand v0.5.6 [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 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 4.62s [INFO] [stderr] Executable unittests src/lib.rs (/opt/rustwide/target/debug/deps/concache-519c4372d4096293) [INFO] running `Command { std: "docker" "inspect" "90afb7dfe7e2e9f2acdcb292223aee22502d685b91e9d3fe0e312280189301b2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "90afb7dfe7e2e9f2acdcb292223aee22502d685b91e9d3fe0e312280189301b2", kill_on_drop: false }` [INFO] [stdout] 90afb7dfe7e2e9f2acdcb292223aee22502d685b91e9d3fe0e312280189301b2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 6e7a2d707868984f29a6945e63de52bc516173e20822a218ef21ec47b85a8e3c [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" "6e7a2d707868984f29a6945e63de52bc516173e20822a218ef21ec47b85a8e3c", kill_on_drop: false }` [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:86:18 [INFO] [stderr] | [INFO] [stderr] 86 | .compare_and_swap(right_node, new_node_ptr, OSC) [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [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.04s [INFO] [stdout] [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/concache-519c4372d4096293) [INFO] [stdout] running 5 tests [INFO] [stdout] test manual::tests::hashmap_delete ... ok [INFO] [stdout] test manual::linked_list::tests::more_linked_list_tests ... ok [INFO] [stdout] test manual::tests::hashmap_basics ... ok [INFO] [stdout] test manual::linked_list::tests::linkedlist_basics ... ok [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 17.01s [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::is_empty (line 94) ... ok [INFO] [stdout] test src/crossbeam/mod.rs - crossbeam::MapHandle::len (line 78) ... 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/manual/mod.rs - manual::MapHandle::is_empty (line 293) ... ok [INFO] [stdout] test src/manual/mod.rs - manual::MapHandle::len (line 277) ... ok [INFO] [stdout] test src/crossbeam/mod.rs - crossbeam::Map::insert (line 122) ... 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] [INFO] [stdout] test result: ok. 10 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 4.68s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "6e7a2d707868984f29a6945e63de52bc516173e20822a218ef21ec47b85a8e3c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6e7a2d707868984f29a6945e63de52bc516173e20822a218ef21ec47b85a8e3c", kill_on_drop: false }` [INFO] [stdout] 6e7a2d707868984f29a6945e63de52bc516173e20822a218ef21ec47b85a8e3c