[INFO] fetching crate futex 0.1.3... [INFO] checking futex-0.1.3 against master#3aedcf06b73fc36feeebca3d579e1d2a6c40acc5 for pr-65819 [INFO] extracting crate futex 0.1.3 into /workspace/builds/worker-2/source [INFO] validating manifest of crates.io crate futex 0.1.3 on toolchain 3aedcf06b73fc36feeebca3d579e1d2a6c40acc5 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+3aedcf06b73fc36feeebca3d579e1d2a6c40acc5" "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-2/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+3aedcf06b73fc36feeebca3d579e1d2a6c40acc5" "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" "+3aedcf06b73fc36feeebca3d579e1d2a6c40acc5" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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" "rustops/crates-build-env@sha256:c46a2d1a26fb48b37929c74ca49dd9409f2375a0a3bdb8fe07617f3ffccaa889" "/opt/rustwide/cargo-home/bin/cargo" "+3aedcf06b73fc36feeebca3d579e1d2a6c40acc5" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] ca2438441873b0d805cf389cd112818c61d91fbd8002f6f8653150a9cb26a18e [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" "ca2438441873b0d805cf389cd112818c61d91fbd8002f6f8653150a9cb26a18e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ca2438441873b0d805cf389cd112818c61d91fbd8002f6f8653150a9cb26a18e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ca2438441873b0d805cf389cd112818c61d91fbd8002f6f8653150a9cb26a18e", kill_on_drop: false }` [INFO] [stdout] ca2438441873b0d805cf389cd112818c61d91fbd8002f6f8653150a9cb26a18e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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" "rustops/crates-build-env@sha256:c46a2d1a26fb48b37929c74ca49dd9409f2375a0a3bdb8fe07617f3ffccaa889" "/opt/rustwide/cargo-home/bin/cargo" "+3aedcf06b73fc36feeebca3d579e1d2a6c40acc5" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ea8fe98fe6cda54f740eb6de851fb5bac1e5d326a6591de017f273d09eac6f2b [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" "ea8fe98fe6cda54f740eb6de851fb5bac1e5d326a6591de017f273d09eac6f2b", 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` [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [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" "ea8fe98fe6cda54f740eb6de851fb5bac1e5d326a6591de017f273d09eac6f2b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ea8fe98fe6cda54f740eb6de851fb5bac1e5d326a6591de017f273d09eac6f2b", kill_on_drop: false }` [INFO] [stdout] ea8fe98fe6cda54f740eb6de851fb5bac1e5d326a6591de017f273d09eac6f2b