[INFO] fetching crate futex 0.1.3... [INFO] testing futex-0.1.3 against master#a77da2d454e6caa227a85b16410b95f93495e7e0 for pr-91031 [INFO] extracting crate futex 0.1.3 into /workspace/builds/worker-91/source [INFO] validating manifest of crates.io crate futex 0.1.3 on toolchain a77da2d454e6caa227a85b16410b95f93495e7e0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a77da2d454e6caa227a85b16410b95f93495e7e0" "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-91/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a77da2d454e6caa227a85b16410b95f93495e7e0" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a77da2d454e6caa227a85b16410b95f93495e7e0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-91/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-91/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:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+a77da2d454e6caa227a85b16410b95f93495e7e0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 49bdada21b643e7ed1566b0e14d15f8d7b1125b89f8b873d7cb1fa88077bfe3c [INFO] running `Command { std: "docker" "start" "-a" "49bdada21b643e7ed1566b0e14d15f8d7b1125b89f8b873d7cb1fa88077bfe3c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "49bdada21b643e7ed1566b0e14d15f8d7b1125b89f8b873d7cb1fa88077bfe3c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "49bdada21b643e7ed1566b0e14d15f8d7b1125b89f8b873d7cb1fa88077bfe3c", kill_on_drop: false }` [INFO] [stdout] 49bdada21b643e7ed1566b0e14d15f8d7b1125b89f8b873d7cb1fa88077bfe3c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-91/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-91/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:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+a77da2d454e6caa227a85b16410b95f93495e7e0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 1d5260c35c2043c69b2ea966db6e92199025f02e2c347b0498defb3114f69a2d [INFO] running `Command { std: "docker" "start" "-a" "1d5260c35c2043c69b2ea966db6e92199025f02e2c347b0498defb3114f69a2d", kill_on_drop: false }` [INFO] [stderr] Compiling lock-wrappers v0.1.2 [INFO] [stderr] Compiling integer-atomics v1.0.2 [INFO] [stderr] Compiling futex v0.1.3 (/opt/rustwide/workdir) [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 0.33s [INFO] running `Command { std: "docker" "inspect" "1d5260c35c2043c69b2ea966db6e92199025f02e2c347b0498defb3114f69a2d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1d5260c35c2043c69b2ea966db6e92199025f02e2c347b0498defb3114f69a2d", kill_on_drop: false }` [INFO] [stdout] 1d5260c35c2043c69b2ea966db6e92199025f02e2c347b0498defb3114f69a2d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-91/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-91/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:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+a77da2d454e6caa227a85b16410b95f93495e7e0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 08804799283fa64c69c08bcd7a2e7735713656744dfdcec54acf17f1d43f05d1 [INFO] running `Command { std: "docker" "start" "-a" "08804799283fa64c69c08bcd7a2e7735713656744dfdcec54acf17f1d43f05d1", kill_on_drop: false }` [INFO] [stderr] Compiling futex v0.1.3 (/opt/rustwide/workdir) [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: could not compile `futex` due to 11 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` 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: build failed [INFO] running `Command { std: "docker" "inspect" "08804799283fa64c69c08bcd7a2e7735713656744dfdcec54acf17f1d43f05d1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "08804799283fa64c69c08bcd7a2e7735713656744dfdcec54acf17f1d43f05d1", kill_on_drop: false }` [INFO] [stdout] 08804799283fa64c69c08bcd7a2e7735713656744dfdcec54acf17f1d43f05d1