[INFO] fetching crate futex 0.1.3... [INFO] checking futex-0.1.3 against try#45d8b6e68beee1c9c1ce92ae258a7e02f8f13aa4 for pr-83744 [INFO] extracting crate futex 0.1.3 into /workspace/builds/worker-1/source [INFO] validating manifest of crates.io crate futex 0.1.3 on toolchain 45d8b6e68beee1c9c1ce92ae258a7e02f8f13aa4 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+45d8b6e68beee1c9c1ce92ae258a7e02f8f13aa4" "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-1/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+45d8b6e68beee1c9c1ce92ae258a7e02f8f13aa4" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+45d8b6e68beee1c9c1ce92ae258a7e02f8f13aa4" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [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-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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" "+45d8b6e68beee1c9c1ce92ae258a7e02f8f13aa4" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] cfef720d792c9f5620a5f990f77a6ca63f416e59a2f374100db12846dd2dd231 [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" "cfef720d792c9f5620a5f990f77a6ca63f416e59a2f374100db12846dd2dd231", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "cfef720d792c9f5620a5f990f77a6ca63f416e59a2f374100db12846dd2dd231", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cfef720d792c9f5620a5f990f77a6ca63f416e59a2f374100db12846dd2dd231", kill_on_drop: false }` [INFO] [stdout] cfef720d792c9f5620a5f990f77a6ca63f416e59a2f374100db12846dd2dd231 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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" "+45d8b6e68beee1c9c1ce92ae258a7e02f8f13aa4" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 956f536b762916fa7ae1afb2d42bb3f34bf9fc05cac1ed84aa24777962cf8b0b [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" "956f536b762916fa7ae1afb2d42bb3f34bf9fc05cac1ed84aa24777962cf8b0b", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.93 [INFO] [stderr] Checking integer-atomics v1.0.2 [INFO] [stderr] Checking lock-wrappers v0.1.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" "956f536b762916fa7ae1afb2d42bb3f34bf9fc05cac1ed84aa24777962cf8b0b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "956f536b762916fa7ae1afb2d42bb3f34bf9fc05cac1ed84aa24777962cf8b0b", kill_on_drop: false }` [INFO] [stdout] 956f536b762916fa7ae1afb2d42bb3f34bf9fc05cac1ed84aa24777962cf8b0b