[INFO] fetching crate locktree 0.3.0... [INFO] testing locktree-0.3.0 against master#432e145bd5a974c5b6f4dd9b352891bd7502b69d for pr-87041 [INFO] extracting crate locktree 0.3.0 into /workspace/builds/worker-0/source [INFO] validating manifest of crates.io crate locktree 0.3.0 on toolchain 432e145bd5a974c5b6f4dd9b352891bd7502b69d [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+432e145bd5a974c5b6f4dd9b352891bd7502b69d" "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-0/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+432e145bd5a974c5b6f4dd9b352891bd7502b69d" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+432e145bd5a974c5b6f4dd9b352891bd7502b69d" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+432e145bd5a974c5b6f4dd9b352891bd7502b69d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 884a3f70bebe2b128564cc9adcfc5b9e3f9d48270ab0564148f35e93777e9380 [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" "884a3f70bebe2b128564cc9adcfc5b9e3f9d48270ab0564148f35e93777e9380", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "884a3f70bebe2b128564cc9adcfc5b9e3f9d48270ab0564148f35e93777e9380", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "884a3f70bebe2b128564cc9adcfc5b9e3f9d48270ab0564148f35e93777e9380", kill_on_drop: false }` [INFO] [stdout] 884a3f70bebe2b128564cc9adcfc5b9e3f9d48270ab0564148f35e93777e9380 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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" "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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+432e145bd5a974c5b6f4dd9b352891bd7502b69d" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 0f5ab9e9de08cdb1f96cae0173cc39ae33bbe3b7f44304622117623c5fdfa398 [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" "0f5ab9e9de08cdb1f96cae0173cc39ae33bbe3b7f44304622117623c5fdfa398", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.27 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling syn v1.0.73 [INFO] [stderr] Compiling quote v1.0.9 [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 22.57s [INFO] running `Command { std: "docker" "inspect" "0f5ab9e9de08cdb1f96cae0173cc39ae33bbe3b7f44304622117623c5fdfa398", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0f5ab9e9de08cdb1f96cae0173cc39ae33bbe3b7f44304622117623c5fdfa398", kill_on_drop: false }` [INFO] [stdout] 0f5ab9e9de08cdb1f96cae0173cc39ae33bbe3b7f44304622117623c5fdfa398 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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" "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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+432e145bd5a974c5b6f4dd9b352891bd7502b69d" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 3dcc81b6f61d1b8e106eb4fb94ad27a2dbfe8117c399a1d121d69d0c2e59e314 [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" "3dcc81b6f61d1b8e106eb4fb94ad27a2dbfe8117c399a1d121d69d0c2e59e314", kill_on_drop: false }` [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Compiling serde_json v1.0.64 [INFO] [stderr] Compiling itoa v0.4.7 [INFO] [stderr] Compiling trybuild v1.0.42 [INFO] [stderr] Compiling slab v0.4.3 [INFO] [stderr] Compiling glob v0.3.0 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling num_cpus v1.13.0 [INFO] [stderr] Compiling serde_derive v1.0.126 [INFO] [stderr] Compiling tokio-macros v0.2.6 [INFO] [stderr] Compiling tokio v0.2.25 [INFO] [stderr] Compiling serde v1.0.126 [INFO] [stderr] Compiling toml v0.5.8 [INFO] [stderr] Compiling locktree v0.3.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 46.82s [INFO] running `Command { std: "docker" "inspect" "3dcc81b6f61d1b8e106eb4fb94ad27a2dbfe8117c399a1d121d69d0c2e59e314", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3dcc81b6f61d1b8e106eb4fb94ad27a2dbfe8117c399a1d121d69d0c2e59e314", kill_on_drop: false }` [INFO] [stdout] 3dcc81b6f61d1b8e106eb4fb94ad27a2dbfe8117c399a1d121d69d0c2e59e314 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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" "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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+432e145bd5a974c5b6f4dd9b352891bd7502b69d" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 99b65e76b1a678667a997ff1a6c8a8b61518a9271e56af040bb9df373c528109 [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" "99b65e76b1a678667a997ff1a6c8a8b61518a9271e56af040bb9df373c528109", kill_on_drop: false }` [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.04s [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/locktree-29cf0fc7c400f246) [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-7e103ecadd0c544c) [INFO] [stdout] [INFO] [stdout] running 1 test [INFO] [stderr] Compiling proc-macro2 v1.0.27 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling syn v1.0.73 [INFO] [stderr] Compiling libc v0.2.98 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling slab v0.4.3 [INFO] [stderr] Compiling pin-project-lite v0.1.12 [INFO] [stderr] Compiling bytes v0.5.6 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Compiling num_cpus v1.13.0 [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 24.12s [INFO] [stderr] [INFO] [stderr] [INFO] [stderr] test declare_async_mutex_without_explicit_hkt.rs [should fail to compile] ... ok [INFO] [stderr] test declare_async_rw_lock_without_explicit_hkt.rs [should fail to compile] ... ok [INFO] [stderr] test 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] --> $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 `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 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 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] --> $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 `(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 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] --> $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] 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 locking_from_main_lock_tree_twice.rs [should pass] ... ok [INFO] [stderr] test locking_from_same_forward_after_unlocking.rs [should pass] ... ok [INFO] [stderr] test locking_in_sequence.rs [should pass] ... ok [INFO] [stderr] test locking_mutex.rs [should pass] ... ok [INFO] [stderr] test locking_rw_lock.rs [should pass] ... ok [INFO] [stderr] test 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] --> $DIR/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] [stdout] test compiletest ... FAILED [INFO] [stderr] test locking_tokio_rw_lock.rs [should pass] ... error [INFO] [stdout] [INFO] [stderr] ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈ [INFO] [stdout] failures: [INFO] [stderr] error[E0277]: the trait bound `tokio::sync::RwLock<()>: AsyncMutex` is not satisfied [INFO] [stdout] [INFO] [stderr] --> $DIR/locking_tokio_rw_lock.rs:4:1 [INFO] [stdout] ---- compiletest stdout ---- [INFO] [stderr] | [INFO] [stdout] thread 'compiletest' panicked at '6 of 13 tests failed', /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/trybuild-1.0.42/src/run.rs:73:13 [INFO] [stderr] 4 | / locktree! { [INFO] [stdout] stack backtrace: [INFO] [stderr] 5 | | Main { [INFO] [stdout] 0: 0x558ceb0a8ea0 - std::backtrace_rs::backtrace::libunwind::trace::h706b838f5bbd876b [INFO] [stderr] 6 | | rw_lock: async RwLock(RwLock)<()>, [INFO] [stdout] at /rustc/432e145bd5a974c5b6f4dd9b352891bd7502b69d/library/std/src/../../backtrace/src/backtrace/libunwind.rs:90:5 [INFO] [stderr] 7 | | } [INFO] [stdout] 1: 0x558ceb0a8ea0 - std::backtrace_rs::backtrace::trace_unsynchronized::hc15f29ae7822b7b8 [INFO] [stderr] 8 | | } [INFO] [stdout] at /rustc/432e145bd5a974c5b6f4dd9b352891bd7502b69d/library/std/src/../../backtrace/src/backtrace/mod.rs:66:5 [INFO] [stderr] | |_^ the trait `AsyncMutex` is not implemented for `tokio::sync::RwLock<()>` [INFO] [stdout] 2: 0x558ceb0a8ea0 - std::sys_common::backtrace::_print_fmt::h7c580c971f91926c [INFO] [stderr] | [INFO] [stdout] at /rustc/432e145bd5a974c5b6f4dd9b352891bd7502b69d/library/std/src/sys_common/backtrace.rs:67:5 [INFO] [stderr] = note: required because of the requirements on the impl of `AsyncRwLock` for `tokio::sync::RwLock<()>` [INFO] [stdout] 3: 0x558ceb0a8ea0 - ::fmt::h2a772198c4032452 [INFO] [stderr] = note: this error originates in the macro `locktree` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] at /rustc/432e145bd5a974c5b6f4dd9b352891bd7502b69d/library/std/src/sys_common/backtrace.rs:46:22 [INFO] [stderr] ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈ [INFO] [stdout] 4: 0x558ceb0ce3bc - core::fmt::write::h9a6d9c74526a6c1b [INFO] [stderr] [INFO] [stdout] at /rustc/432e145bd5a974c5b6f4dd9b352891bd7502b69d/library/core/src/fmt/mod.rs:1115:17 [INFO] [stderr] [INFO] [stdout] 5: 0x558ceb0a5415 - std::io::Write::write_fmt::h583dff5009d01a9f [INFO] [stderr] [INFO] [stdout] at /rustc/432e145bd5a974c5b6f4dd9b352891bd7502b69d/library/std/src/io/mod.rs:1663:15 [INFO] [stderr] error: test failed, to rerun pass '--test compiletest' [INFO] [stdout] 6: 0x558ceb0ab1bb - std::sys_common::backtrace::_print::h5b3c171e6f864ae4 [INFO] [stdout] at /rustc/432e145bd5a974c5b6f4dd9b352891bd7502b69d/library/std/src/sys_common/backtrace.rs:49:5 [INFO] [stdout] 7: 0x558ceb0ab1bb - std::sys_common::backtrace::print::h93b9e9ed2a98e611 [INFO] [stdout] at /rustc/432e145bd5a974c5b6f4dd9b352891bd7502b69d/library/std/src/sys_common/backtrace.rs:36:9 [INFO] [stdout] 8: 0x558ceb0ab1bb - std::panicking::default_hook::{{closure}}::hd8da92bb68d520c5 [INFO] [stdout] at /rustc/432e145bd5a974c5b6f4dd9b352891bd7502b69d/library/std/src/panicking.rs:208:50 [INFO] [stdout] 9: 0x558ceb0aaccc - std::panicking::default_hook::hdbc8b2951c5afbab [INFO] [stdout] at /rustc/432e145bd5a974c5b6f4dd9b352891bd7502b69d/library/std/src/panicking.rs:222:9 [INFO] [stdout] 10: 0x558ceb0ab884 - std::panicking::rust_panic_with_hook::h8a4c841655926f4e [INFO] [stdout] at /rustc/432e145bd5a974c5b6f4dd9b352891bd7502b69d/library/std/src/panicking.rs:622:17 [INFO] [stdout] 11: 0x558ceb0ab367 - std::panicking::begin_panic_handler::{{closure}}::h471b6bc74904b7b0 [INFO] [stdout] at /rustc/432e145bd5a974c5b6f4dd9b352891bd7502b69d/library/std/src/panicking.rs:519:13 [INFO] [stdout] 12: 0x558ceb0a939c - std::sys_common::backtrace::__rust_end_short_backtrace::h309f5c707f29932f [INFO] [stdout] at /rustc/432e145bd5a974c5b6f4dd9b352891bd7502b69d/library/std/src/sys_common/backtrace.rs:141:18 [INFO] [stdout] 13: 0x558ceb0ab2c9 - rust_begin_unwind [INFO] [stdout] at /rustc/432e145bd5a974c5b6f4dd9b352891bd7502b69d/library/std/src/panicking.rs:515:5 [INFO] [stdout] 14: 0x558ceae4cf8b - std::panicking::begin_panic_fmt::h124dfb9fde553188 [INFO] [stdout] at /rustc/432e145bd5a974c5b6f4dd9b352891bd7502b69d/library/std/src/panicking.rs:457:5 [INFO] [stdout] 15: 0x558ceae83032 - trybuild::run::::run::h80feb80057bf017b [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/trybuild-1.0.42/src/run.rs:73:13 [INFO] [stdout] 16: 0x558ceae87ca4 - ::drop::hc99cf8718c52f96a [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/trybuild-1.0.42/src/lib.rs:305:13 [INFO] [stdout] 17: 0x558ceae4edf7 - core::ptr::drop_in_place::hd4533ec9c86cc094 [INFO] [stdout] at /rustc/432e145bd5a974c5b6f4dd9b352891bd7502b69d/library/core/src/ptr/mod.rs:192:1 [INFO] [stdout] 18: 0x558ceae4f75d - compiletest::compiletest::ha5b07998d4079f09 [INFO] [stdout] at /opt/rustwide/workdir/tests/compiletest.rs:7:1 [INFO] [stdout] 19: 0x558ceae4f6ca - compiletest::compiletest::{{closure}}::h7eb81f4198e47b08 [INFO] [stdout] at /opt/rustwide/workdir/tests/compiletest.rs:2:1 [INFO] [stdout] 20: 0x558ceae4ed9e - core::ops::function::FnOnce::call_once::hefcc22e2b33be2fb [INFO] [stdout] at /rustc/432e145bd5a974c5b6f4dd9b352891bd7502b69d/library/core/src/ops/function.rs:227:5 [INFO] [stdout] 21: 0x558ceb07e533 - core::ops::function::FnOnce::call_once::h99a97b0ff983bd25 [INFO] [stdout] at /rustc/432e145bd5a974c5b6f4dd9b352891bd7502b69d/library/core/src/ops/function.rs:227:5 [INFO] [stdout] 22: 0x558ceb07e533 - test::__rust_begin_short_backtrace::h8fe0d26ed1584e50 [INFO] [stdout] at /rustc/432e145bd5a974c5b6f4dd9b352891bd7502b69d/library/test/src/lib.rs:577:5 [INFO] [stdout] 23: 0x558ceb07cfc0 - as core::ops::function::FnOnce>::call_once::he6b90e352f394d8f [INFO] [stdout] at /rustc/432e145bd5a974c5b6f4dd9b352891bd7502b69d/library/alloc/src/boxed.rs:1572:9 [INFO] [stdout] 24: 0x558ceb07cfc0 - as core::ops::function::FnOnce<()>>::call_once::h1c05475e029700b8 [INFO] [stdout] at /rustc/432e145bd5a974c5b6f4dd9b352891bd7502b69d/library/std/src/panic.rs:347:9 [INFO] [stdout] 25: 0x558ceb07cfc0 - std::panicking::try::do_call::he6de943476ae628a [INFO] [stdout] at /rustc/432e145bd5a974c5b6f4dd9b352891bd7502b69d/library/std/src/panicking.rs:401:40 [INFO] [stdout] 26: 0x558ceb07cfc0 - std::panicking::try::ha21937b8feb06f89 [INFO] [stdout] at /rustc/432e145bd5a974c5b6f4dd9b352891bd7502b69d/library/std/src/panicking.rs:365:19 [INFO] [stdout] 27: 0x558ceb07cfc0 - std::panic::catch_unwind::ha79830b3325c9fa6 [INFO] [stdout] at /rustc/432e145bd5a974c5b6f4dd9b352891bd7502b69d/library/std/src/panic.rs:434:14 [INFO] [stdout] 28: 0x558ceb07cfc0 - test::run_test_in_process::h1ab180b83ee2d5b5 [INFO] [stdout] at /rustc/432e145bd5a974c5b6f4dd9b352891bd7502b69d/library/test/src/lib.rs:600:18 [INFO] [stdout] 29: 0x558ceb07cfc0 - test::run_test::run_test_inner::{{closure}}::h8258ffe088f187a1 [INFO] [stdout] at /rustc/432e145bd5a974c5b6f4dd9b352891bd7502b69d/library/test/src/lib.rs:492:39 [INFO] [stdout] 30: 0x558ceb056582 - test::run_test::run_test_inner::{{closure}}::hc697b214abd32bc6 [INFO] [stdout] at /rustc/432e145bd5a974c5b6f4dd9b352891bd7502b69d/library/test/src/lib.rs:519:37 [INFO] [stdout] 31: 0x558ceb056582 - std::sys_common::backtrace::__rust_begin_short_backtrace::h64de0d3f894854a9 [INFO] [stdout] at /rustc/432e145bd5a974c5b6f4dd9b352891bd7502b69d/library/std/src/sys_common/backtrace.rs:125:18 [INFO] [stdout] 32: 0x558ceb05a1d8 - std::thread::Builder::spawn_unchecked::{{closure}}::{{closure}}::h1fd98fc86e533ece [INFO] [stdout] at /rustc/432e145bd5a974c5b6f4dd9b352891bd7502b69d/library/std/src/thread/mod.rs:476:17 [INFO] [stdout] 33: 0x558ceb05a1d8 - as core::ops::function::FnOnce<()>>::call_once::h4e2a7abf702e4cfd [INFO] [stdout] at /rustc/432e145bd5a974c5b6f4dd9b352891bd7502b69d/library/std/src/panic.rs:347:9 [INFO] [stdout] 34: 0x558ceb05a1d8 - std::panicking::try::do_call::h4496392321a3c8c0 [INFO] [stdout] at /rustc/432e145bd5a974c5b6f4dd9b352891bd7502b69d/library/std/src/panicking.rs:401:40 [INFO] [stdout] 35: 0x558ceb05a1d8 - std::panicking::try::hf1e14258e04e8e9a [INFO] [stdout] at /rustc/432e145bd5a974c5b6f4dd9b352891bd7502b69d/library/std/src/panicking.rs:365:19 [INFO] [stdout] 36: 0x558ceb05a1d8 - std::panic::catch_unwind::hb72c3777cd55642f [INFO] [stdout] at /rustc/432e145bd5a974c5b6f4dd9b352891bd7502b69d/library/std/src/panic.rs:434:14 [INFO] [stdout] 37: 0x558ceb05a1d8 - std::thread::Builder::spawn_unchecked::{{closure}}::h2d7915a5910e148e [INFO] [stdout] at /rustc/432e145bd5a974c5b6f4dd9b352891bd7502b69d/library/std/src/thread/mod.rs:475:30 [INFO] [stdout] 38: 0x558ceb05a1d8 - core::ops::function::FnOnce::call_once{{vtable.shim}}::h83fd2f1ef5be797c [INFO] [stdout] at /rustc/432e145bd5a974c5b6f4dd9b352891bd7502b69d/library/core/src/ops/function.rs:227:5 [INFO] [stdout] 39: 0x558ceb0b1917 - as core::ops::function::FnOnce>::call_once::ha8b1d5a0092467fc [INFO] [stdout] at /rustc/432e145bd5a974c5b6f4dd9b352891bd7502b69d/library/alloc/src/boxed.rs:1572:9 [INFO] [stdout] 40: 0x558ceb0b1917 - as core::ops::function::FnOnce>::call_once::h4b9f24ec4e8a879e [INFO] [stdout] at /rustc/432e145bd5a974c5b6f4dd9b352891bd7502b69d/library/alloc/src/boxed.rs:1572:9 [INFO] [stdout] 41: 0x558ceb0b1917 - std::sys::unix::thread::Thread::new::thread_start::h2a0e98fbc4ab4c32 [INFO] [stdout] at /rustc/432e145bd5a974c5b6f4dd9b352891bd7502b69d/library/std/src/sys/unix/thread.rs:72:17 [INFO] [stdout] 42: 0x7f132f837609 - start_thread [INFO] [stdout] 43: 0x7f132f609293 - 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 31.21s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "99b65e76b1a678667a997ff1a6c8a8b61518a9271e56af040bb9df373c528109", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "99b65e76b1a678667a997ff1a6c8a8b61518a9271e56af040bb9df373c528109", kill_on_drop: false }` [INFO] [stdout] 99b65e76b1a678667a997ff1a6c8a8b61518a9271e56af040bb9df373c528109