[INFO] cloning repository https://github.com/jatinderjit/rust-atomics [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/jatinderjit/rust-atomics" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjatinderjit%2Frust-atomics", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjatinderjit%2Frust-atomics'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] f12389a505788d0f61830e658cf95bfc0911cd61 [INFO] testing jatinderjit/rust-atomics against master#733b47ea4b1b86216f14ef56e49440c33933f230+rustflags=-Copt-level=3 for pr-138759 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjatinderjit%2Frust-atomics" "/workspace/builds/worker-5-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/jatinderjit/rust-atomics [INFO] finished tweaking git repo https://github.com/jatinderjit/rust-atomics [INFO] tweaked toml for git repo https://github.com/jatinderjit/rust-atomics written to /workspace/builds/worker-5-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/jatinderjit/rust-atomics on toolchain 733b47ea4b1b86216f14ef56e49440c33933f230 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+733b47ea4b1b86216f14ef56e49440c33933f230" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/jatinderjit/rust-atomics 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" "+733b47ea4b1b86216f14ef56e49440c33933f230" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+733b47ea4b1b86216f14ef56e49440c33933f230" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 6335d7bebecb74891ff020acb74177885d3c23485dc246277c65fc30292565dc [INFO] running `Command { std: "docker" "start" "-a" "6335d7bebecb74891ff020acb74177885d3c23485dc246277c65fc30292565dc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "6335d7bebecb74891ff020acb74177885d3c23485dc246277c65fc30292565dc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6335d7bebecb74891ff020acb74177885d3c23485dc246277c65fc30292565dc", kill_on_drop: false }` [INFO] [stdout] 6335d7bebecb74891ff020acb74177885d3c23485dc246277c65fc30292565dc [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/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 -Copt-level=3" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+733b47ea4b1b86216f14ef56e49440c33933f230" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e9850bbaffeebc10bd1e22a6f626d63619d13458321de0cadd6e01b94eb0b272 [INFO] running `Command { std: "docker" "start" "-a" "e9850bbaffeebc10bd1e22a6f626d63619d13458321de0cadd6e01b94eb0b272", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.153 [INFO] [stderr] Compiling ppv-lite86 v0.2.17 [INFO] [stderr] Compiling getrandom v0.2.12 [INFO] [stderr] Compiling atomic-wait v1.1.0 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling atomics v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/mutex.rs:34:17 [INFO] [stdout] | [INFO] [stdout] 34 | pub fn lock(&self) -> MutexGuard { [INFO] [stdout] | ^^^^^ ------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 34 | pub fn lock(&self) -> MutexGuard<'_, T> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/rwlock.rs:32:17 [INFO] [stdout] | [INFO] [stdout] 32 | pub fn read(&self) -> RLockGuard { [INFO] [stdout] | ^^^^^ ------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 32 | pub fn read(&self) -> RLockGuard<'_, T> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/rwlock.rs:67:18 [INFO] [stdout] | [INFO] [stdout] 67 | pub fn write(&self) -> WLockGuard { [INFO] [stdout] | ^^^^^ ------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 67 | pub fn write(&self) -> WLockGuard<'_, T> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 5.17s [INFO] running `Command { std: "docker" "inspect" "e9850bbaffeebc10bd1e22a6f626d63619d13458321de0cadd6e01b94eb0b272", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e9850bbaffeebc10bd1e22a6f626d63619d13458321de0cadd6e01b94eb0b272", kill_on_drop: false }` [INFO] [stdout] e9850bbaffeebc10bd1e22a6f626d63619d13458321de0cadd6e01b94eb0b272 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/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 -Copt-level=3" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+733b47ea4b1b86216f14ef56e49440c33933f230" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a16ba41dcfcbcbb21332aab18de9228323bb6787f002f8d40a0b4f22a9cbf929 [INFO] running `Command { std: "docker" "start" "-a" "a16ba41dcfcbcbb21332aab18de9228323bb6787f002f8d40a0b4f22a9cbf929", kill_on_drop: false }` [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/mutex.rs:34:17 [INFO] [stdout] | [INFO] [stdout] 34 | pub fn lock(&self) -> MutexGuard { [INFO] [stdout] | ^^^^^ ------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 34 | pub fn lock(&self) -> MutexGuard<'_, T> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/rwlock.rs:32:17 [INFO] [stdout] | [INFO] [stdout] 32 | pub fn read(&self) -> RLockGuard { [INFO] [stdout] | ^^^^^ ------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 32 | pub fn read(&self) -> RLockGuard<'_, T> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/rwlock.rs:67:18 [INFO] [stdout] | [INFO] [stdout] 67 | pub fn write(&self) -> WLockGuard { [INFO] [stdout] | ^^^^^ ------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 67 | pub fn write(&self) -> WLockGuard<'_, T> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling atomics v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/mutex.rs:34:17 [INFO] [stdout] | [INFO] [stdout] 34 | pub fn lock(&self) -> MutexGuard { [INFO] [stdout] | ^^^^^ ------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 34 | pub fn lock(&self) -> MutexGuard<'_, T> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/rwlock.rs:32:17 [INFO] [stdout] | [INFO] [stdout] 32 | pub fn read(&self) -> RLockGuard { [INFO] [stdout] | ^^^^^ ------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 32 | pub fn read(&self) -> RLockGuard<'_, T> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/rwlock.rs:67:18 [INFO] [stdout] | [INFO] [stdout] 67 | pub fn write(&self) -> WLockGuard { [INFO] [stdout] | ^^^^^ ------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 67 | pub fn write(&self) -> WLockGuard<'_, T> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 3.00s [INFO] running `Command { std: "docker" "inspect" "a16ba41dcfcbcbb21332aab18de9228323bb6787f002f8d40a0b4f22a9cbf929", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a16ba41dcfcbcbb21332aab18de9228323bb6787f002f8d40a0b4f22a9cbf929", kill_on_drop: false }` [INFO] [stdout] a16ba41dcfcbcbb21332aab18de9228323bb6787f002f8d40a0b4f22a9cbf929 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/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 -Copt-level=3" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+733b47ea4b1b86216f14ef56e49440c33933f230" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 1b181d64f0e1ad70df220badfdff453954704cbc55cc0e1a4d0e20073ab27b91 [INFO] running `Command { std: "docker" "start" "-a" "1b181d64f0e1ad70df220badfdff453954704cbc55cc0e1a4d0e20073ab27b91", kill_on_drop: false }` [INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stderr] --> src/mutex.rs:34:17 [INFO] [stderr] | [INFO] [stderr] 34 | pub fn lock(&self) -> MutexGuard { [INFO] [stderr] | ^^^^^ ------------- the lifetime gets resolved as `'_` [INFO] [stderr] | | [INFO] [stderr] | this lifetime flows to the output [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stderr] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stderr] | [INFO] [stderr] 34 | pub fn lock(&self) -> MutexGuard<'_, T> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stderr] --> src/rwlock.rs:32:17 [INFO] [stderr] | [INFO] [stderr] 32 | pub fn read(&self) -> RLockGuard { [INFO] [stderr] | ^^^^^ ------------- the lifetime gets resolved as `'_` [INFO] [stderr] | | [INFO] [stderr] | this lifetime flows to the output [INFO] [stderr] | [INFO] [stderr] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stderr] | [INFO] [stderr] 32 | pub fn read(&self) -> RLockGuard<'_, T> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stderr] --> src/rwlock.rs:67:18 [INFO] [stderr] | [INFO] [stderr] 67 | pub fn write(&self) -> WLockGuard { [INFO] [stderr] | ^^^^^ ------------- the lifetime gets resolved as `'_` [INFO] [stderr] | | [INFO] [stderr] | this lifetime flows to the output [INFO] [stderr] | [INFO] [stderr] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stderr] | [INFO] [stderr] 67 | pub fn write(&self) -> WLockGuard<'_, T> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: `atomics` (lib) generated 3 warnings [INFO] [stderr] warning: `atomics` (lib test) generated 3 warnings (3 duplicates) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.03s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/atomics-9db24da20a7440fa) [INFO] [stdout] [INFO] [stdout] running 30 tests [INFO] [stdout] test arc::test::downgrade ... ok [INFO] [stdout] test arc::test::mut_ref ... ok [INFO] [stdout] test arc::test::single_thread ... ok [INFO] [stdout] test arc::test::upgrade_fail ... ok [INFO] [stdout] test arc::test::upgrade_success ... ok [INFO] [stdout] test channel1::test::drop_without_receive ... ok [INFO] [stdout] test channel1::test::drop_after_receive ... ok [INFO] [stdout] test arc::test::sync ... ok [INFO] [stdout] test channel1::test::single_thread ... ok [INFO] [stdout] test channel2::test::channel_reuse ... ok [INFO] [stdout] test channel2::test::drop_after_receive ... ok [INFO] [stdout] test channel2::test::multiple_threads ... ok [INFO] [stdout] test channel1::test::multiple_threads ... ok [INFO] [stdout] test channel2::test::drop_without_receive ... ok [INFO] [stdout] test mutex::test::lock_unlock ... ok [INFO] [stdout] test mutex::test::deref ... ok [INFO] [stdout] test mutex::test::deref_mut ... ok [INFO] [stdout] test channel2::test::single_thread ... ok [INFO] [stdout] test arc::test::multiple_threads ... ok [INFO] [stdout] test channel1::test::multiple_receives - should panic ... ok [INFO] [stdout] test channel1::test::receive_before_send - should panic ... ok [INFO] [stdout] test channel1::test::multiple_sends - should panic ... ok [INFO] [stdout] test mutex::test::sync ... ok [INFO] [stdout] test rwlock::test::multiple_readers ... ok [INFO] [stdout] test rwlock::test::readers_wait_for_writer ... ok [INFO] [stdout] test rwlock::test::writer_waits_for_writer ... ok [INFO] [stdout] test rwlock::test::writer_waits_for_readers ... ok [INFO] [stdout] test spinlock::test::add ... ok [INFO] [stdout] test condvar::test::test_allow_spurious ... ok [INFO] [stdout] test condvar::test::wait_non_zero has been running for over 60 seconds [ERROR] error running command: no output for 300 seconds [INFO] running `Command { std: "docker" "inspect" "1b181d64f0e1ad70df220badfdff453954704cbc55cc0e1a4d0e20073ab27b91", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1b181d64f0e1ad70df220badfdff453954704cbc55cc0e1a4d0e20073ab27b91", kill_on_drop: false }` [INFO] [stdout] 1b181d64f0e1ad70df220badfdff453954704cbc55cc0e1a4d0e20073ab27b91