[INFO] cloning repository https://github.com/magj2006/concurrent-in-rust [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/magj2006/concurrent-in-rust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmagj2006%2Fconcurrent-in-rust", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmagj2006%2Fconcurrent-in-rust'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] c09dd8299fad3420099badc95656119927c97e48 [INFO] testing magj2006/concurrent-in-rust against master#cdb45c87e2cd43495379f7e867e3cc15dcee9f93 for pr-145838-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmagj2006%2Fconcurrent-in-rust" "/workspace/builds/worker-4-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/magj2006/concurrent-in-rust [INFO] finished tweaking git repo https://github.com/magj2006/concurrent-in-rust [INFO] tweaked toml for git repo https://github.com/magj2006/concurrent-in-rust written to /workspace/builds/worker-4-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/magj2006/concurrent-in-rust on toolchain cdb45c87e2cd43495379f7e867e3cc15dcee9f93 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/magj2006/concurrent-in-rust already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: virtual workspace defaulting to `resolver = "1"` despite one or more workspace members being on edition 2021 which implies `resolver = "2"` [INFO] [stderr] note: to keep the current resolver, specify `workspace.resolver = "1"` in the workspace root's manifest [INFO] [stderr] note: to use the edition 2021 resolver, specify `workspace.resolver = "2"` in the workspace root's manifest [INFO] [stderr] note: for more details see https://doc.rust-lang.org/cargo/reference/resolver.html#resolver-versions [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 5651df9d032e067137dab62f8c7baa3088d9e1e03addc933361db02d71fe4c42 [INFO] running `Command { std: "docker" "start" "-a" "5651df9d032e067137dab62f8c7baa3088d9e1e03addc933361db02d71fe4c42", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "5651df9d032e067137dab62f8c7baa3088d9e1e03addc933361db02d71fe4c42", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5651df9d032e067137dab62f8c7baa3088d9e1e03addc933361db02d71fe4c42", kill_on_drop: false }` [INFO] [stdout] 5651df9d032e067137dab62f8c7baa3088d9e1e03addc933361db02d71fe4c42 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/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" "RUSTDOCFLAGS=--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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 9f41f271aaad5b08ca2dba9f6e317ba169eff556624cd1a2a347820134aa85d6 [INFO] running `Command { std: "docker" "start" "-a" "9f41f271aaad5b08ca2dba9f6e317ba169eff556624cd1a2a347820134aa85d6", kill_on_drop: false }` [INFO] [stderr] warning: virtual workspace defaulting to `resolver = "1"` despite one or more workspace members being on edition 2021 which implies `resolver = "2"` [INFO] [stderr] note: to keep the current resolver, specify `workspace.resolver = "1"` in the workspace root's manifest [INFO] [stderr] note: to use the edition 2021 resolver, specify `workspace.resolver = "2"` in the workspace root's manifest [INFO] [stderr] note: for more details see https://doc.rust-lang.org/cargo/reference/resolver.html#resolver-versions [INFO] [stderr] Compiling ch1-4-parking v0.1.0 (/opt/rustwide/workdir/ch1-4-parking) [INFO] [stderr] Compiling ch2-1-atomicbool v0.1.0 (/opt/rustwide/workdir/ch2-1-atomicbool) [INFO] [stderr] Compiling ch1-3-mutex v0.1.0 (/opt/rustwide/workdir/ch1-3-mutex) [INFO] [stderr] Compiling ch1-1-hello v0.1.0 (/opt/rustwide/workdir/ch1-1-hello) [INFO] [stderr] Compiling ch3-1-release-acquire v0.1.0 (/opt/rustwide/workdir/ch3-1-release-acquire) [INFO] [stderr] Compiling ch1-5-condvar v0.1.0 (/opt/rustwide/workdir/ch1-5-condvar) [INFO] [stderr] Compiling ch2-3-fetchadd v0.1.0 (/opt/rustwide/workdir/ch2-3-fetchadd) [INFO] [stderr] Compiling ch2-4-statistics v0.1.0 (/opt/rustwide/workdir/ch2-4-statistics) [INFO] [stderr] Compiling ch1-2-scope v0.1.0 (/opt/rustwide/workdir/ch1-2-scope) [INFO] [stderr] Compiling ch2-2-atomicusize v0.1.0 (/opt/rustwide/workdir/ch2-2-atomicusize) [INFO] [stdout] error[E0412]: cannot find type `AtomicU64` in this scope [INFO] [stdout] --> ch3-1-release-acquire/src/main.rs:3:14 [INFO] [stdout] | [INFO] [stdout] 3 | static DATA: AtomicU64 = AtomicU64::new(0); [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use std::sync::atomic::AtomicU64; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `AtomicU64` [INFO] [stdout] --> ch3-1-release-acquire/src/main.rs:3:26 [INFO] [stdout] | [INFO] [stdout] 3 | static DATA: AtomicU64 = AtomicU64::new(0); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `AtomicU64` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use std::sync::atomic::AtomicU64; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `AtomicBool` in this scope [INFO] [stdout] --> ch3-1-release-acquire/src/main.rs:4:15 [INFO] [stdout] | [INFO] [stdout] 4 | static READY: AtomicBool = AtomicBool::new(false); [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use std::sync::atomic::AtomicBool; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `AtomicBool` [INFO] [stdout] --> ch3-1-release-acquire/src/main.rs:4:28 [INFO] [stdout] | [INFO] [stdout] 4 | static READY: AtomicBool = AtomicBool::new(false); [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `AtomicBool` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use std::sync::atomic::AtomicBool; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `thread` [INFO] [stdout] --> ch3-1-release-acquire/src/main.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | thread::spawn(|| { [INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `thread` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `thread`, use `cargo add thread` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing this module [INFO] [stdout] | [INFO] [stdout] 1 + use std::thread; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `Relaxed` in this scope [INFO] [stdout] --> ch3-1-release-acquire/src/main.rs:8:25 [INFO] [stdout] | [INFO] [stdout] 8 | DATA.store(123, Relaxed); [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 1 + use std::sync::atomic::Ordering::Relaxed; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `thread` [INFO] [stdout] --> ch3-1-release-acquire/src/main.rs:13:9 [INFO] [stdout] | [INFO] [stdout] 13 | thread::sleep(Duration::from_millis(100)); [INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `thread` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `thread`, use `cargo add thread` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing this module [INFO] [stdout] | [INFO] [stdout] 1 + use std::thread; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Duration` [INFO] [stdout] --> ch3-1-release-acquire/src/main.rs:13:23 [INFO] [stdout] | [INFO] [stdout] 13 | thread::sleep(Duration::from_millis(100)); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Duration` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use std::time::Duration; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `Relaxed` in this scope [INFO] [stdout] --> ch3-1-release-acquire/src/main.rs:16:30 [INFO] [stdout] | [INFO] [stdout] 16 | println!("{}", DATA.load(Relaxed)); [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 1 + use std::sync::atomic::Ordering::Relaxed; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0425, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] [INFO] [stderr] error: could not compile `ch3-1-release-acquire` (bin "ch3-1-release-acquire") due to 9 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] running `Command { std: "docker" "inspect" "9f41f271aaad5b08ca2dba9f6e317ba169eff556624cd1a2a347820134aa85d6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9f41f271aaad5b08ca2dba9f6e317ba169eff556624cd1a2a347820134aa85d6", kill_on_drop: false }` [INFO] [stdout] 9f41f271aaad5b08ca2dba9f6e317ba169eff556624cd1a2a347820134aa85d6