[INFO] fetching crate futex 0.1.3... [INFO] checking futex-0.1.3 against try#8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8 for pr-82565 [INFO] extracting crate futex 0.1.3 into /workspace/builds/worker-8/source [INFO] validating manifest of crates.io crate futex 0.1.3 on toolchain 8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "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-8/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "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-8/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/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:f2f6bcd4b43ebee4e173f653a26493129bdb64017c85f916b780ca7fbdbaa79d" "/opt/rustwide/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 2dfafcb3b8fcf2e0a1688da4c9092325b456c32dbbb34d74056ffe0ee51cb0e1 [INFO] running `Command { std: "docker" "start" "-a" "2dfafcb3b8fcf2e0a1688da4c9092325b456c32dbbb34d74056ffe0ee51cb0e1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "2dfafcb3b8fcf2e0a1688da4c9092325b456c32dbbb34d74056ffe0ee51cb0e1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2dfafcb3b8fcf2e0a1688da4c9092325b456c32dbbb34d74056ffe0ee51cb0e1", kill_on_drop: false }` [INFO] [stdout] 2dfafcb3b8fcf2e0a1688da4c9092325b456c32dbbb34d74056ffe0ee51cb0e1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/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:f2f6bcd4b43ebee4e173f653a26493129bdb64017c85f916b780ca7fbdbaa79d" "/opt/rustwide/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 9f6e748c1c68574c7cc3452fad5ff04e019fbe6a5a1061e0a46bee6398cd4290 [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" "9f6e748c1c68574c7cc3452fad5ff04e019fbe6a5a1061e0a46bee6398cd4290", kill_on_drop: false }` [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" "9f6e748c1c68574c7cc3452fad5ff04e019fbe6a5a1061e0a46bee6398cd4290", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9f6e748c1c68574c7cc3452fad5ff04e019fbe6a5a1061e0a46bee6398cd4290", kill_on_drop: false }` [INFO] [stdout] 9f6e748c1c68574c7cc3452fad5ff04e019fbe6a5a1061e0a46bee6398cd4290