[INFO] fetching crate locktree 0.3.0... [INFO] testing locktree-0.3.0 against beta-2022-04-10 for beta-1.61-1 [INFO] extracting crate locktree 0.3.0 into /workspace/builds/worker-7/source [INFO] validating manifest of crates.io crate locktree 0.3.0 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 locktree 0.3.0 [INFO] finished tweaking crates.io crate locktree 0.3.0 [INFO] tweaked toml for crates.io crate locktree 0.3.0 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] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [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] e1337136756f33de4fd366998a6260f3f0ed617c580dd42cf7bea827bd3a7a27 [INFO] running `Command { std: "docker" "start" "-a" "e1337136756f33de4fd366998a6260f3f0ed617c580dd42cf7bea827bd3a7a27", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e1337136756f33de4fd366998a6260f3f0ed617c580dd42cf7bea827bd3a7a27", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e1337136756f33de4fd366998a6260f3f0ed617c580dd42cf7bea827bd3a7a27", kill_on_drop: false }` [INFO] [stdout] e1337136756f33de4fd366998a6260f3f0ed617c580dd42cf7bea827bd3a7a27 [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] e5af788b3d3392efa5dbac087316907a827f9056b9b8fd26a0ecf7413bd20160 [INFO] running `Command { std: "docker" "start" "-a" "e5af788b3d3392efa5dbac087316907a827f9056b9b8fd26a0ecf7413bd20160", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.37 [INFO] [stderr] Compiling quote v1.0.18 [INFO] [stderr] Compiling syn v1.0.91 [INFO] [stderr] Compiling locktree-derive v0.3.0 [INFO] [stderr] Compiling locktree v0.3.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 20.51s [INFO] running `Command { std: "docker" "inspect" "e5af788b3d3392efa5dbac087316907a827f9056b9b8fd26a0ecf7413bd20160", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e5af788b3d3392efa5dbac087316907a827f9056b9b8fd26a0ecf7413bd20160", kill_on_drop: false }` [INFO] [stdout] e5af788b3d3392efa5dbac087316907a827f9056b9b8fd26a0ecf7413bd20160 [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] [stdout] 2567497ace926f612398ca6f79d5781a6729a6f8789ea28dbe02853c9bf45019 [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" "2567497ace926f612398ca6f79d5781a6729a6f8789ea28dbe02853c9bf45019", kill_on_drop: false }` [INFO] [stderr] Compiling trybuild v1.0.59 [INFO] [stderr] Compiling glob v0.3.0 [INFO] [stderr] Compiling slab v0.4.6 [INFO] [stderr] Compiling pin-project-lite v0.1.12 [INFO] [stderr] Compiling once_cell v1.10.0 [INFO] [stderr] Compiling termcolor v1.1.3 [INFO] [stderr] Compiling toml v0.5.8 [INFO] [stderr] Compiling num_cpus v1.13.1 [INFO] [stderr] Compiling serde_json v1.0.79 [INFO] [stderr] Compiling serde_derive v1.0.136 [INFO] [stderr] Compiling tokio-macros v0.2.6 [INFO] [stderr] Compiling tokio v0.2.25 [INFO] [stderr] Compiling locktree v0.3.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 39.09s [INFO] [stderr] Executable unittests src/lib.rs (/opt/rustwide/target/debug/deps/locktree-248259d671630c64) [INFO] [stderr] Executable tests/compiletest.rs (/opt/rustwide/target/debug/deps/compiletest-5e0957e0dded556b) [INFO] running `Command { std: "docker" "inspect" "2567497ace926f612398ca6f79d5781a6729a6f8789ea28dbe02853c9bf45019", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2567497ace926f612398ca6f79d5781a6729a6f8789ea28dbe02853c9bf45019", kill_on_drop: false }` [INFO] [stdout] 2567497ace926f612398ca6f79d5781a6729a6f8789ea28dbe02853c9bf45019 [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] c8420bb0fb4aaa05726a2b567c7aa0de94c1c1ff5e7a9841f27297a9c4df8602 [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" "c8420bb0fb4aaa05726a2b567c7aa0de94c1c1ff5e7a9841f27297a9c4df8602", kill_on_drop: false }` [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.04s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/locktree-248259d671630c64) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Running tests/compiletest.rs (/opt/rustwide/target/debug/deps/compiletest-5e0957e0dded556b) [INFO] [stdout] [INFO] [stdout] running 1 test [INFO] [stderr] Compiling proc-macro2 v1.0.37 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling syn v1.0.91 [INFO] [stderr] Compiling libc v0.2.123 [INFO] [stderr] Compiling pin-project-lite v0.1.12 [INFO] [stderr] Compiling slab v0.4.6 [INFO] [stderr] Compiling bytes v0.5.6 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling quote v1.0.18 [INFO] [stderr] Compiling num_cpus v1.13.1 [INFO] [stderr] Compiling tokio-macros v0.2.6 [INFO] [stderr] Compiling locktree-derive v0.3.0 [INFO] [stderr] Compiling tokio v0.2.25 [INFO] [stderr] Compiling locktree v0.3.0 (/opt/rustwide/workdir) [INFO] [stderr] Compiling locktree-tests v0.0.0 (/opt/rustwide/target/tests/locktree) [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 31.47s [INFO] [stderr] [INFO] [stderr] [INFO] [stderr] test tests/compilefail/declare_async_mutex_without_explicit_hkt.rs [should fail to compile] ... ok [INFO] [stderr] test tests/compilefail/declare_async_rw_lock_without_explicit_hkt.rs [should fail to compile] ... ok [INFO] [stderr] test tests/compilefail/locking_from_same_forward_after_dropping_the_forward_only.rs [should fail to compile] ... mismatch [INFO] [stderr] [INFO] [stderr] EXPECTED: [INFO] [stderr] ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈ [INFO] [stderr] error[E0499]: cannot borrow `forward_a` as mutable more than once at a time [INFO] [stderr] --> $DIR/locking_from_same_forward_after_dropping_the_forward_only.rs:15:13 [INFO] [stderr] | [INFO] [stderr] 13 | let _b = forward_a.lock_m1().0; [INFO] [stderr] | --------- first mutable borrow occurs here [INFO] [stderr] 14 | // Invalid [INFO] [stderr] 15 | let _ = forward_a.lock_m1(); [INFO] [stderr] | ^^^^^^^^^ second mutable borrow occurs here [INFO] [stderr] 16 | } [INFO] [stderr] | - first borrow might be used here, when `_b` is dropped and runs the `Drop` code for type `std::sync::MutexGuard` [INFO] [stderr] ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈ [INFO] [stderr] [INFO] [stderr] ACTUAL OUTPUT: [INFO] [stderr] ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈ [INFO] [stderr] error[E0499]: cannot borrow `forward_a` as mutable more than once at a time [INFO] [stderr] --> tests/compilefail/locking_from_same_forward_after_dropping_the_forward_only.rs:15:13 [INFO] [stderr] | [INFO] [stderr] 13 | let _b = forward_a.lock_m1().0; [INFO] [stderr] | ------------------- first mutable borrow occurs here [INFO] [stderr] 14 | // Invalid [INFO] [stderr] 15 | let _ = forward_a.lock_m1(); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ second mutable borrow occurs here [INFO] [stderr] 16 | } [INFO] [stderr] | - first borrow might be used here, when `_b` is dropped and runs the `Drop` code for type `MutexGuard` [INFO] [stderr] ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈ [INFO] [stderr] note: If the actual output is the correct output you can bless it by rerunning [INFO] [stderr] your test with the environment variable TRYBUILD=overwrite [INFO] [stderr] [INFO] [stderr] test tests/compilefail/locking_from_same_forward_after_dropping_the_guard_only.rs [should fail to compile] ... error [INFO] [stderr] Expected test case to fail to compile, but it succeeded. [INFO] [stderr] [INFO] [stderr] test tests/compilefail/locking_from_same_forward_twice.rs [should fail to compile] ... mismatch [INFO] [stderr] [INFO] [stderr] EXPECTED: [INFO] [stderr] ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈ [INFO] [stderr] error[E0499]: cannot borrow `forward_a` as mutable more than once at a time [INFO] [stderr] --> $DIR/locking_from_same_forward_twice.rs:15:13 [INFO] [stderr] | [INFO] [stderr] 13 | let _b = forward_a.lock_m1(); [INFO] [stderr] | --------- first mutable borrow occurs here [INFO] [stderr] 14 | // Invalid [INFO] [stderr] 15 | let _ = forward_a.lock_m1(); [INFO] [stderr] | ^^^^^^^^^ second mutable borrow occurs here [INFO] [stderr] 16 | } [INFO] [stderr] | - first borrow might be used here, when `_b` is dropped and runs the destructor for type `(std::sync::MutexGuard<'_, ()>, MainLockTreeM1<'_>)` [INFO] [stderr] ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈ [INFO] [stderr] [INFO] [stderr] ACTUAL OUTPUT: [INFO] [stderr] ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈ [INFO] [stderr] error[E0499]: cannot borrow `forward_a` as mutable more than once at a time [INFO] [stderr] --> tests/compilefail/locking_from_same_forward_twice.rs:15:13 [INFO] [stderr] | [INFO] [stderr] 13 | let _b = forward_a.lock_m1(); [INFO] [stderr] | ------------------- first mutable borrow occurs here [INFO] [stderr] 14 | // Invalid [INFO] [stderr] 15 | let _ = forward_a.lock_m1(); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ second mutable borrow occurs here [INFO] [stderr] 16 | } [INFO] [stderr] | - first borrow might be used here, when `_b` is dropped and runs the destructor for type `(MutexGuard<'_, ()>, MainLockTreeM1<'_>)` [INFO] [stderr] ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈ [INFO] [stderr] note: If the actual output is the correct output you can bless it by rerunning [INFO] [stderr] your test with the environment variable TRYBUILD=overwrite [INFO] [stderr] [INFO] [stderr] test tests/compilefail/locking_out_of_sequence.rs [should fail to compile] ... mismatch [INFO] [stderr] [INFO] [stderr] EXPECTED: [INFO] [stderr] ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈ [INFO] [stderr] error[E0599]: no method named `lock_m1` found for struct `MainLockTreeM2<'_>` in the current scope [INFO] [stderr] --> $DIR/locking_out_of_sequence.rs:16:23 [INFO] [stderr] | [INFO] [stderr] 3 | locktree! { [INFO] [stderr] | --------- method `lock_m1` not found for this [INFO] [stderr] ... [INFO] [stderr] 16 | let _ = forward_b.lock_m1(); [INFO] [stderr] | ^^^^^^^ method not found in `MainLockTreeM2<'_>` [INFO] [stderr] ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈ [INFO] [stderr] [INFO] [stderr] ACTUAL OUTPUT: [INFO] [stderr] ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈ [INFO] [stderr] error[E0599]: no method named `lock_m1` found for struct `MainLockTreeM2` in the current scope [INFO] [stderr] --> tests/compilefail/locking_out_of_sequence.rs:16:23 [INFO] [stderr] | [INFO] [stderr] 3 | locktree! { [INFO] [stderr] | --------- method `lock_m1` not found for this [INFO] [stderr] ... [INFO] [stderr] 16 | let _ = forward_b.lock_m1(); [INFO] [stderr] | ^^^^^^^ method not found in `MainLockTreeM2<'_>` [INFO] [stderr] ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈ [INFO] [stderr] note: If the actual output is the correct output you can bless it by rerunning [INFO] [stderr] your test with the environment variable TRYBUILD=overwrite [INFO] [stderr] [INFO] [stderr] test tests/compilepass/locking_from_main_lock_tree_twice.rs [should pass] ... ok [INFO] [stderr] test tests/compilepass/locking_from_same_forward_after_unlocking.rs [should pass] ... ok [INFO] [stderr] test tests/compilepass/locking_in_sequence.rs [should pass] ... ok [INFO] [stderr] test tests/compilepass/locking_mutex.rs [should pass] ... ok [INFO] [stderr] test tests/compilepass/locking_rw_lock.rs [should pass] ... ok [INFO] [stderr] test tests/compilepass-tokio/locking_tokio_mutex.rs [should pass] ... error [INFO] [stderr] ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈ [INFO] [stderr] error[E0277]: the trait bound `tokio::sync::Mutex<()>: AsyncMutex` is not satisfied [INFO] [stderr] --> tests/compilepass-tokio/locking_tokio_mutex.rs:4:1 [INFO] [stderr] | [INFO] [stderr] 4 | / locktree! { [INFO] [stderr] 5 | | Main { [INFO] [stderr] 6 | | mutex: async Mutex(Mutex)<()>, [INFO] [stderr] 7 | | } [INFO] [stderr] 8 | | } [INFO] [stderr] | |_^ the trait `AsyncMutex` is not implemented for `tokio::sync::Mutex<()>` [INFO] [stderr] | [INFO] [stderr] = note: this error originates in the macro `locktree` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈ [INFO] [stderr] [INFO] [stderr] test tests/compilepass-tokio/locking_tokio_rw_lock.rs [should pass] ... error [INFO] [stderr] ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈ [INFO] [stderr] error[E0277]: the trait bound `tokio::sync::RwLock<()>: AsyncMutex` is not satisfied [INFO] [stderr] --> tests/compilepass-tokio/locking_tokio_rw_lock.rs:4:1 [INFO] [stderr] | [INFO] [stderr] 4 | / locktree! { [INFO] [stderr] 5 | | Main { [INFO] [stderr] 6 | | rw_lock: async RwLock(RwLock)<()>, [INFO] [stderr] 7 | | } [INFO] [stderr] 8 | | } [INFO] [stderr] | |_^ the trait `AsyncMutex` is not implemented for `tokio::sync::RwLock<()>` [INFO] [stderr] | [INFO] [stderr] = note: required because of the requirements on the impl of `AsyncRwLock` for `tokio::sync::RwLock<()>` [INFO] [stderr] = note: this error originates in the macro `locktree` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈ [INFO] [stderr] [INFO] [stderr] [INFO] [stderr] [INFO] [stdout] test compiletest ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- compiletest stdout ---- [INFO] [stdout] thread 'compiletest' panicked at '6 of 13 tests failed', /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/trybuild-1.0.59/src/run.rs:78:13 [INFO] [stdout] stack backtrace: [INFO] [stdout] 0: 0x557592180a6d - std::backtrace_rs::backtrace::libunwind::trace::ha359b7f0090e2792 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/std/src/../../backtrace/src/backtrace/libunwind.rs:93:5 [INFO] [stdout] 1: 0x557592180a6d - std::backtrace_rs::backtrace::trace_unsynchronized::h0584631f25c1d70e [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/std/src/../../backtrace/src/backtrace/mod.rs:66:5 [INFO] [stdout] 2: 0x557592180a6d - std::sys_common::backtrace::_print_fmt::hdadffd97d279ff14 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/std/src/sys_common/backtrace.rs:66:5 [INFO] [stdout] 3: 0x557592180a6d - ::fmt::h26f189e611080a74 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/std/src/sys_common/backtrace.rs:45:22 [INFO] [stdout] 4: 0x5575921a54fc - core::fmt::write::hfb5d11dfe037e8b7 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/core/src/fmt/mod.rs:1194:17 [INFO] [stdout] 5: 0x55759217c621 - std::io::Write::write_fmt::h6a24ec64406df9e2 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/std/src/io/mod.rs:1655:15 [INFO] [stdout] 6: 0x5575921827b5 - std::sys_common::backtrace::_print::h7a0e44402913ba60 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/std/src/sys_common/backtrace.rs:48:5 [INFO] [stdout] 7: 0x5575921827b5 - std::sys_common::backtrace::print::h9767dc455a84e728 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/std/src/sys_common/backtrace.rs:35:9 [INFO] [stdout] 8: 0x5575921827b5 - std::panicking::default_hook::{{closure}}::h60afd6c8b12988ad [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/std/src/panicking.rs:295:22 [INFO] [stdout] 9: 0x5575921824a4 - std::panicking::default_hook::ha7b9bac6813f9d21 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/std/src/panicking.rs:311:9 [INFO] [stdout] 10: 0x557592182d02 - std::panicking::rust_panic_with_hook::h7b117a162a6f8664 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/std/src/panicking.rs:698:17 [INFO] [stdout] 11: 0x557592182be7 - std::panicking::begin_panic_handler::{{closure}}::h346750923c608600 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/std/src/panicking.rs:588:13 [INFO] [stdout] 12: 0x557592180f24 - std::sys_common::backtrace::__rust_end_short_backtrace::h768c56c6a0c055c0 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/std/src/sys_common/backtrace.rs:138:18 [INFO] [stdout] 13: 0x557592182919 - rust_begin_unwind [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/std/src/panicking.rs:584:5 [INFO] [stdout] 14: 0x557591f08573 - core::panicking::panic_fmt::h5c41cb2fa118fdbc [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/core/src/panicking.rs:143:14 [INFO] [stdout] 15: 0x557591f91a25 - trybuild::run::::run::h7cc0216e5088ba2e [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/trybuild-1.0.59/src/run.rs:78:13 [INFO] [stdout] 16: 0x557591f96344 - ::drop::h6d4ecdc47253bff4 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/trybuild-1.0.59/src/lib.rs:308:13 [INFO] [stdout] 17: 0x557591f08f17 - core::ptr::drop_in_place::ha45146f69d3c3825 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/core/src/ptr/mod.rs:448:1 [INFO] [stdout] 18: 0x557591f0977d - compiletest::compiletest::he271d113029161cd [INFO] [stdout] at /opt/rustwide/workdir/tests/compiletest.rs:7:1 [INFO] [stdout] 19: 0x557591f096ea - compiletest::compiletest::{{closure}}::h698cb9ee3a4c395d [INFO] [stdout] at /opt/rustwide/workdir/tests/compiletest.rs:2:1 [INFO] [stdout] 20: 0x557591f08eae - core::ops::function::FnOnce::call_once::hd35bed8eedc1834e [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/core/src/ops/function.rs:227:5 [INFO] [stdout] 21: 0x55759215a823 - core::ops::function::FnOnce::call_once::h018fc248431ce8de [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/core/src/ops/function.rs:227:5 [INFO] [stdout] 22: 0x55759215a823 - test::__rust_begin_short_backtrace::h293b982b6069d6e3 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/test/src/lib.rs:574:5 [INFO] [stdout] 23: 0x5575921595d9 - as core::ops::function::FnOnce>::call_once::h4fc1be1a762c7a46 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/alloc/src/boxed.rs:1861:9 [INFO] [stdout] 24: 0x5575921595d9 - as core::ops::function::FnOnce<()>>::call_once::hd44623ec51b9e897 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/core/src/panic/unwind_safe.rs:271:9 [INFO] [stdout] 25: 0x5575921595d9 - std::panicking::try::do_call::ha8cfa4b025f5b832 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/std/src/panicking.rs:492:40 [INFO] [stdout] 26: 0x5575921595d9 - std::panicking::try::h664f75e41c112145 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/std/src/panicking.rs:456:19 [INFO] [stdout] 27: 0x5575921595d9 - std::panic::catch_unwind::h4932ec05cd60558e [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/std/src/panic.rs:137:14 [INFO] [stdout] 28: 0x5575921595d9 - test::run_test_in_process::ha14a47756671755c [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/test/src/lib.rs:597:18 [INFO] [stdout] 29: 0x5575921595d9 - test::run_test::run_test_inner::{{closure}}::h0ec9e37c8f67b62d [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/test/src/lib.rs:491:39 [INFO] [stdout] 30: 0x55759212578e - test::run_test::run_test_inner::{{closure}}::hd9d2e7f26d4f59e6 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/test/src/lib.rs:518:37 [INFO] [stdout] 31: 0x55759212578e - std::sys_common::backtrace::__rust_begin_short_backtrace::h41c0a39fac5123f8 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/std/src/sys_common/backtrace.rs:122:18 [INFO] [stdout] 32: 0x55759212acf8 - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::h69a02ca0bebb6eeb [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/std/src/thread/mod.rs:498:17 [INFO] [stdout] 33: 0x55759212acf8 - as core::ops::function::FnOnce<()>>::call_once::hdd05632920ce689b [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/core/src/panic/unwind_safe.rs:271:9 [INFO] [stdout] 34: 0x55759212acf8 - std::panicking::try::do_call::hb4947142729b90fd [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/std/src/panicking.rs:492:40 [INFO] [stdout] 35: 0x55759212acf8 - std::panicking::try::h15a7e9b8394e6878 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/std/src/panicking.rs:456:19 [INFO] [stdout] 36: 0x55759212acf8 - std::panic::catch_unwind::hbd3f4a3f9df49b85 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/std/src/panic.rs:137:14 [INFO] [stdout] 37: 0x55759212acf8 - std::thread::Builder::spawn_unchecked_::{{closure}}::h880b5d5f1b9799f4 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/std/src/thread/mod.rs:497:30 [INFO] [stdout] 38: 0x55759212acf8 - core::ops::function::FnOnce::call_once{{vtable.shim}}::h304d5eaf401f5061 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/core/src/ops/function.rs:227:5 [INFO] [stdout] 39: 0x5575921883c3 - as core::ops::function::FnOnce>::call_once::hdba7f2afed0c35b3 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/alloc/src/boxed.rs:1861:9 [INFO] [stdout] 40: 0x5575921883c3 - as core::ops::function::FnOnce>::call_once::h38b0832765bf7961 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/alloc/src/boxed.rs:1861:9 [INFO] [stdout] 41: 0x5575921883c3 - std::sys::unix::thread::Thread::new::thread_start::h70236dc17753425e [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/std/src/sys/unix/thread.rs:108:17 [INFO] [stdout] 42: 0x7fa10d8c5609 - start_thread [INFO] [stdout] 43: 0x7fa10d695163 - clone [INFO] [stdout] 44: 0x0 - [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] compiletest [INFO] [stdout] [INFO] [stdout] test result: FAILED. 0 passed; 1 failed; 0 ignored; 0 measured; 0 filtered out; finished in 41.64s [INFO] [stdout] [INFO] [stderr] error: test failed, to rerun pass '--test compiletest' [INFO] running `Command { std: "docker" "inspect" "c8420bb0fb4aaa05726a2b567c7aa0de94c1c1ff5e7a9841f27297a9c4df8602", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c8420bb0fb4aaa05726a2b567c7aa0de94c1c1ff5e7a9841f27297a9c4df8602", kill_on_drop: false }` [INFO] [stdout] c8420bb0fb4aaa05726a2b567c7aa0de94c1c1ff5e7a9841f27297a9c4df8602