[INFO] fetching crate futex 0.1.3... [INFO] checking futex-0.1.3 against try#3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f for pr-87248 [INFO] extracting crate futex 0.1.3 into /workspace/builds/worker-14/source [INFO] validating manifest of crates.io crate futex 0.1.3 on toolchain 3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate futex 0.1.3 [INFO] finished tweaking crates.io crate futex 0.1.3 [INFO] tweaked toml for crates.io crate futex 0.1.3 written to /workspace/builds/worker-14/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded lock-wrappers v0.1.2 [INFO] [stderr] Downloaded integer-atomics v1.0.2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/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" "+3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 47195c902e70fe0cef37dcb65e75a67679bbe362c8a2193895651d38ba75965b [INFO] running `Command { std: "docker" "start" "-a" "47195c902e70fe0cef37dcb65e75a67679bbe362c8a2193895651d38ba75965b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "47195c902e70fe0cef37dcb65e75a67679bbe362c8a2193895651d38ba75965b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "47195c902e70fe0cef37dcb65e75a67679bbe362c8a2193895651d38ba75965b", kill_on_drop: false }` [INFO] [stdout] 47195c902e70fe0cef37dcb65e75a67679bbe362c8a2193895651d38ba75965b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/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" "+3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 970d53df4b38cf4b47c21af021e97887ec62ec568ad3d8ad047ead7fe318ef8c [INFO] running `Command { std: "docker" "start" "-a" "970d53df4b38cf4b47c21af021e97887ec62ec568ad3d8ad047ead7fe318ef8c", kill_on_drop: false }` [INFO] [stderr] Checking lock-wrappers v0.1.2 [INFO] [stderr] Checking integer-atomics v1.0.2 [INFO] [stderr] Checking futex v0.1.3 (/opt/rustwide/workdir) [INFO] [stdout] error[E0599]: no function or associated item named `new` found for struct `Futex` in the current scope [INFO] [stdout] --> src/raw/mod.rs:20:37 [INFO] [stdout] | [INFO] [stdout] 20 | let futex = Arc::new(Mutex::new()); [INFO] [stdout] | ^^^ function or associated item not found in `Futex` [INFO] [stdout] | [INFO] [stdout] ::: src/raw/futex.rs:15:1 [INFO] [stdout] | [INFO] [stdout] 15 | pub struct Futex { [INFO] [stdout] | ---------------- function or associated item `new` not found for this [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `new`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `integer_atomics::atomic::IntCast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `clone` found for struct `Arc<_>` in the current scope [INFO] [stdout] --> src/raw/mod.rs:21:28 [INFO] [stdout] | [INFO] [stdout] 21 | let futex2 = futex.clone(); [INFO] [stdout] | ^^^^^ method not found in `Arc<_>` [INFO] [stdout] | [INFO] [stdout] = note: `futex` is a function, perhaps you wish to call it [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `acquire` found for struct `Arc<_>` in the current scope [INFO] [stdout] --> src/raw/mod.rs:22:15 [INFO] [stdout] | [INFO] [stdout] 22 | futex.acquire(); [INFO] [stdout] | ^^^^^^^ method not found in `Arc<_>` [INFO] [stdout] | [INFO] [stdout] = note: `futex` is a function, perhaps you wish to call it [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `acquire` found for struct `Arc<_>` in the current scope [INFO] [stdout] --> src/raw/mod.rs:27:15 [INFO] [stdout] | [INFO] [stdout] 27 | futex.acquire(); [INFO] [stdout] | ^^^^^^^ method not found in `Arc<_>` [INFO] [stdout] | [INFO] [stdout] = note: `futex` is a function, perhaps you wish to call it [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `release` found for struct `Arc<_>` in the current scope [INFO] [stdout] --> src/raw/mod.rs:28:15 [INFO] [stdout] | [INFO] [stdout] 28 | futex.release(); [INFO] [stdout] | ^^^^^^^ method not found in `Arc<_>` [INFO] [stdout] | [INFO] [stdout] = note: `futex` is a function, perhaps you wish to call it [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `new` found for struct `RwFutex2` in the current scope [INFO] [stdout] --> src/raw/mod.rs:33:38 [INFO] [stdout] | [INFO] [stdout] 33 | let futex = Arc::new(RwLock::new()); [INFO] [stdout] | ^^^ function or associated item not found in `RwFutex2` [INFO] [stdout] | [INFO] [stdout] ::: src/raw/rwfutex4.rs:34:1 [INFO] [stdout] | [INFO] [stdout] 34 | pub struct RwFutex2 { [INFO] [stdout] | ------------------- function or associated item `new` not found for this [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `new`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `integer_atomics::atomic::IntCast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `clone` found for struct `Arc<_>` in the current scope [INFO] [stdout] --> src/raw/mod.rs:34:28 [INFO] [stdout] | [INFO] [stdout] 34 | let futex2 = futex.clone(); [INFO] [stdout] | ^^^^^ method not found in `Arc<_>` [INFO] [stdout] | [INFO] [stdout] = note: `futex` is a function, perhaps you wish to call it [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `acquire_read` found for struct `Arc<_>` in the current scope [INFO] [stdout] --> src/raw/mod.rs:35:15 [INFO] [stdout] | [INFO] [stdout] 35 | futex.acquire_read(); [INFO] [stdout] | ^^^^^^^^^^^^ method not found in `Arc<_>` [INFO] [stdout] | [INFO] [stdout] = note: `futex` is a function, perhaps you wish to call it [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `acquire_read` found for struct `Arc<_>` in the current scope [INFO] [stdout] --> src/raw/mod.rs:36:15 [INFO] [stdout] | [INFO] [stdout] 36 | futex.acquire_read(); [INFO] [stdout] | ^^^^^^^^^^^^ method not found in `Arc<_>` [INFO] [stdout] | [INFO] [stdout] = note: `futex` is a function, perhaps you wish to call it [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `acquire_read` found for struct `Arc<_>` in the current scope [INFO] [stdout] --> src/raw/mod.rs:37:15 [INFO] [stdout] | [INFO] [stdout] 37 | futex.acquire_read(); [INFO] [stdout] | ^^^^^^^^^^^^ method not found in `Arc<_>` [INFO] [stdout] | [INFO] [stdout] = note: `futex` is a function, perhaps you wish to call it [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `release_read` found for struct `Arc<_>` in the current scope [INFO] [stdout] --> src/raw/mod.rs:45:15 [INFO] [stdout] | [INFO] [stdout] 45 | futex.release_read(); [INFO] [stdout] | ^^^^^^^^^^^^ method not found in `Arc<_>` [INFO] [stdout] | [INFO] [stdout] = note: `futex` is a function, perhaps you wish to call it [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `release_read` found for struct `Arc<_>` in the current scope [INFO] [stdout] --> src/raw/mod.rs:46:15 [INFO] [stdout] | [INFO] [stdout] 46 | futex.release_read(); [INFO] [stdout] | ^^^^^^^^^^^^ method not found in `Arc<_>` [INFO] [stdout] | [INFO] [stdout] = note: `futex` is a function, perhaps you wish to call it [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `release_read` found for struct `Arc<_>` in the current scope [INFO] [stdout] --> src/raw/mod.rs:47:15 [INFO] [stdout] | [INFO] [stdout] 47 | futex.release_read(); [INFO] [stdout] | ^^^^^^^^^^^^ method not found in `Arc<_>` [INFO] [stdout] | [INFO] [stdout] = note: `futex` is a function, perhaps you wish to call it [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `acquire_read` found for struct `Arc<_>` in the current scope [INFO] [stdout] --> src/raw/mod.rs:48:15 [INFO] [stdout] | [INFO] [stdout] 48 | futex.acquire_read(); [INFO] [stdout] | ^^^^^^^^^^^^ method not found in `Arc<_>` [INFO] [stdout] | [INFO] [stdout] = note: `futex` is a function, perhaps you wish to call it [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `release_read` found for struct `Arc<_>` in the current scope [INFO] [stdout] --> src/raw/mod.rs:49:15 [INFO] [stdout] | [INFO] [stdout] 49 | futex.release_read(); [INFO] [stdout] | ^^^^^^^^^^^^ method not found in `Arc<_>` [INFO] [stdout] | [INFO] [stdout] = note: `futex` is a function, perhaps you wish to call it [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 15 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0599`. [INFO] [stdout] [INFO] [stderr] error: could not compile `futex` due to 16 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0599]: no function or associated item named `new` found for struct `futex::raw::RwLock` in the current scope [INFO] [stdout] --> examples/main.rs:11:34 [INFO] [stdout] | [INFO] [stdout] 11 | let futex = Arc::new(RwLock::new()); [INFO] [stdout] | ^^^ function or associated item not found in `futex::raw::RwLock` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `clone` found for struct `Arc<_>` in the current scope [INFO] [stdout] --> examples/main.rs:12:24 [INFO] [stdout] | [INFO] [stdout] 12 | let futex2 = futex.clone(); [INFO] [stdout] | ^^^^^ method not found in `Arc<_>` [INFO] [stdout] | [INFO] [stdout] = note: `futex` is a function, perhaps you wish to call it [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `acquire_read` found for struct `Arc<_>` in the current scope [INFO] [stdout] --> examples/main.rs:13:11 [INFO] [stdout] | [INFO] [stdout] 13 | futex.acquire_read(); [INFO] [stdout] | ^^^^^^^^^^^^ method not found in `Arc<_>` [INFO] [stdout] | [INFO] [stdout] = note: `futex` is a function, perhaps you wish to call it [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `acquire_read` found for struct `Arc<_>` in the current scope [INFO] [stdout] --> examples/main.rs:14:11 [INFO] [stdout] | [INFO] [stdout] 14 | futex.acquire_read(); [INFO] [stdout] | ^^^^^^^^^^^^ method not found in `Arc<_>` [INFO] [stdout] | [INFO] [stdout] = note: `futex` is a function, perhaps you wish to call it [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `acquire_read` found for struct `Arc<_>` in the current scope [INFO] [stdout] --> examples/main.rs:15:11 [INFO] [stdout] | [INFO] [stdout] 15 | futex.acquire_read(); [INFO] [stdout] | ^^^^^^^^^^^^ method not found in `Arc<_>` [INFO] [stdout] | [INFO] [stdout] = note: `futex` is a function, perhaps you wish to call it [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `release_read` found for struct `Arc<_>` in the current scope [INFO] [stdout] --> examples/main.rs:32:11 [INFO] [stdout] | [INFO] [stdout] 32 | futex.release_read(); [INFO] [stdout] | ^^^^^^^^^^^^ method not found in `Arc<_>` [INFO] [stdout] | [INFO] [stdout] = note: `futex` is a function, perhaps you wish to call it [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `release_read` found for struct `Arc<_>` in the current scope [INFO] [stdout] --> examples/main.rs:33:11 [INFO] [stdout] | [INFO] [stdout] 33 | futex.release_read(); [INFO] [stdout] | ^^^^^^^^^^^^ method not found in `Arc<_>` [INFO] [stdout] | [INFO] [stdout] = note: `futex` is a function, perhaps you wish to call it [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `release_read` found for struct `Arc<_>` in the current scope [INFO] [stdout] --> examples/main.rs:36:11 [INFO] [stdout] | [INFO] [stdout] 36 | futex.release_read(); [INFO] [stdout] | ^^^^^^^^^^^^ method not found in `Arc<_>` [INFO] [stdout] | [INFO] [stdout] = note: `futex` is a function, perhaps you wish to call it [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `acquire_write` found for struct `Arc<_>` in the current scope [INFO] [stdout] --> examples/main.rs:38:11 [INFO] [stdout] | [INFO] [stdout] 38 | futex.acquire_write(); [INFO] [stdout] | ^^^^^^^^^^^^^ method not found in `Arc<_>` [INFO] [stdout] | [INFO] [stdout] = note: `futex` is a function, perhaps you wish to call it [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `release_write` found for struct `Arc<_>` in the current scope [INFO] [stdout] --> examples/main.rs:41:11 [INFO] [stdout] | [INFO] [stdout] 41 | futex.release_write(); [INFO] [stdout] | ^^^^^^^^^^^^^ method not found in `Arc<_>` [INFO] [stdout] | [INFO] [stdout] = note: `futex` is a function, perhaps you wish to call it [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 10 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0599`. [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "970d53df4b38cf4b47c21af021e97887ec62ec568ad3d8ad047ead7fe318ef8c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "970d53df4b38cf4b47c21af021e97887ec62ec568ad3d8ad047ead7fe318ef8c", kill_on_drop: false }` [INFO] [stdout] 970d53df4b38cf4b47c21af021e97887ec62ec568ad3d8ad047ead7fe318ef8c