[INFO] cloning repository https://github.com/dpzmick/rs-async-toy [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/dpzmick/rs-async-toy" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdpzmick%2Frs-async-toy", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdpzmick%2Frs-async-toy'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 3e9b49472952e0afa22902eda8bca378e433b7b1 [INFO] checking dpzmick/rs-async-toy/3e9b49472952e0afa22902eda8bca378e433b7b1 against master#ab869e094a907cc5d19b4080f22eccaf347f1f95 for pr-129604 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdpzmick%2Frs-async-toy" "/workspace/builds/worker-2-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/dpzmick/rs-async-toy 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 git repo https://github.com/dpzmick/rs-async-toy [INFO] finished tweaking git repo https://github.com/dpzmick/rs-async-toy [INFO] tweaked toml for git repo https://github.com/dpzmick/rs-async-toy written to /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/dpzmick/rs-async-toy 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" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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] eba5a5059e52d923d7d1a3f098b25dc959e93ac5e655bf3c01348f7d92414c4a [INFO] running `Command { std: "docker" "start" "-a" "eba5a5059e52d923d7d1a3f098b25dc959e93ac5e655bf3c01348f7d92414c4a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "eba5a5059e52d923d7d1a3f098b25dc959e93ac5e655bf3c01348f7d92414c4a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "eba5a5059e52d923d7d1a3f098b25dc959e93ac5e655bf3c01348f7d92414c4a", kill_on_drop: false }` [INFO] [stdout] eba5a5059e52d923d7d1a3f098b25dc959e93ac5e655bf3c01348f7d92414c4a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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] c3b5b18ceac14e0a6d5f65add50ae5d6056951bd1e909f8ca4ee162bdf3851ce [INFO] running `Command { std: "docker" "start" "-a" "c3b5b18ceac14e0a6d5f65add50ae5d6056951bd1e909f8ca4ee162bdf3851ce", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.65 [INFO] [stderr] Checking rs-async v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: the feature `ptr_offset_from` has been stable since 1.47.0 and no longer requires an attribute to enable [INFO] [stdout] --> src/main.rs:2:12 [INFO] [stdout] | [INFO] [stdout] 2 | #![feature(ptr_offset_from)] // to do pointer offset calculations [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(stable_features)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::sync::atomic::AtomicBool::compare_and_swap`: Use `compare_exchange` or `compare_exchange_weak` instead [INFO] [stdout] --> src/pool.rs:116:50 [INFO] [stdout] | [INFO] [stdout] 116 | if unsafe { (*self.used_list.add(i)).compare_and_swap(false, true, Ordering::AcqRel) } == false { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `ptr_offset_from` has been stable since 1.47.0 and no longer requires an attribute to enable [INFO] [stdout] --> src/main.rs:2:12 [INFO] [stdout] | [INFO] [stdout] 2 | #![feature(ptr_offset_from)] // to do pointer offset calculations [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(stable_features)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `a` and `b` are never read [INFO] [stdout] --> src/main.rs:80:5 [INFO] [stdout] | [INFO] [stdout] 79 | struct Thing { [INFO] [stdout] | ----- fields in this struct [INFO] [stdout] 80 | a: u64, [INFO] [stdout] | ^ [INFO] [stdout] 81 | b: u64, [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: `Thing` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `required_align` is never used [INFO] [stdout] --> src/pool.rs:85:12 [INFO] [stdout] | [INFO] [stdout] 72 | impl<'a, T: 'a + Copy> Pool<'a, T> { [INFO] [stdout] | ---------------------------------- associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 85 | pub fn required_align() -> usize { Self::layout(1 /* doesn't matter here */).0.align() } [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `join` and `as_slice` are never used [INFO] [stdout] --> src/mem.rs:30:12 [INFO] [stdout] | [INFO] [stdout] 13 | impl MappedRegion { [INFO] [stdout] | ----------------- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 30 | pub fn join(name: &str, size: usize) -> Result { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 57 | pub fn as_slice(&mut self) -> &mut [u8] { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::sync::atomic::AtomicBool::compare_and_swap`: Use `compare_exchange` or `compare_exchange_weak` instead [INFO] [stdout] --> src/pool.rs:116:50 [INFO] [stdout] | [INFO] [stdout] 116 | if unsafe { (*self.used_list.add(i)).compare_and_swap(false, true, Ordering::AcqRel) } == false { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `a` and `b` are never read [INFO] [stdout] --> src/main.rs:80:5 [INFO] [stdout] | [INFO] [stdout] 79 | struct Thing { [INFO] [stdout] | ----- fields in this struct [INFO] [stdout] 80 | a: u64, [INFO] [stdout] | ^ [INFO] [stdout] 81 | b: u64, [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: `Thing` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `required_align` is never used [INFO] [stdout] --> src/pool.rs:85:12 [INFO] [stdout] | [INFO] [stdout] 72 | impl<'a, T: 'a + Copy> Pool<'a, T> { [INFO] [stdout] | ---------------------------------- associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 85 | pub fn required_align() -> usize { Self::layout(1 /* doesn't matter here */).0.align() } [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `join` and `as_slice` are never used [INFO] [stdout] --> src/mem.rs:30:12 [INFO] [stdout] | [INFO] [stdout] 13 | impl MappedRegion { [INFO] [stdout] | ----------------- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 30 | pub fn join(name: &str, size: usize) -> Result { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 57 | pub fn as_slice(&mut self) -> &mut [u8] { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1.34s [INFO] running `Command { std: "docker" "inspect" "c3b5b18ceac14e0a6d5f65add50ae5d6056951bd1e909f8ca4ee162bdf3851ce", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c3b5b18ceac14e0a6d5f65add50ae5d6056951bd1e909f8ca4ee162bdf3851ce", kill_on_drop: false }` [INFO] [stdout] c3b5b18ceac14e0a6d5f65add50ae5d6056951bd1e909f8ca4ee162bdf3851ce