[INFO] cloning repository https://github.com/mind1949/rust-concurrency-cookbook [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/mind1949/rust-concurrency-cookbook" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmind1949%2Frust-concurrency-cookbook", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmind1949%2Frust-concurrency-cookbook'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 7c44cd698fe784ad867e19f83b109d73663be0ef [INFO] checking mind1949/rust-concurrency-cookbook against a5689b034ad287112f709693384a37f1377eb9cc for pr-129249-3 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmind1949%2Frust-concurrency-cookbook" "/workspace/builds/worker-1-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/mind1949/rust-concurrency-cookbook [INFO] finished tweaking git repo https://github.com/mind1949/rust-concurrency-cookbook [INFO] tweaked toml for git repo https://github.com/mind1949/rust-concurrency-cookbook written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/mind1949/rust-concurrency-cookbook on toolchain a5689b034ad287112f709693384a37f1377eb9cc [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+a5689b034ad287112f709693384a37f1377eb9cc" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/mind1949/rust-concurrency-cookbook 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" "+a5689b034ad287112f709693384a37f1377eb9cc" "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] | [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-1-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,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" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:77db811e55d90add9212f6832c23229e3de5f1c1f9905e8cb07319ea15df73ac" "sleep" "infinity", kill_on_drop: false }` [INFO] [stdout] d6c85029c61f81f8af07756d291c3f78e34b6617cd181de321968a8d08913b0d [INFO] running `Command { std: "docker" "start" "d6c85029c61f81f8af07756d291c3f78e34b6617cd181de321968a8d08913b0d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d6c85029c61f81f8af07756d291c3f78e34b6617cd181de321968a8d08913b0d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "d6c85029c61f81f8af07756d291c3f78e34b6617cd181de321968a8d08913b0d" "/opt/rustwide/cargo-home/bin/cargo" "+a5689b034ad287112f709693384a37f1377eb9cc" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d6c85029c61f81f8af07756d291c3f78e34b6617cd181de321968a8d08913b0d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-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" "-w" "/opt/rustwide/workdir" "--user" "0:0" "d6c85029c61f81f8af07756d291c3f78e34b6617cd181de321968a8d08913b0d" "/opt/rustwide/cargo-home/bin/cargo" "+a5689b034ad287112f709693384a37f1377eb9cc" "check" "--frozen" "--all" "--all-targets" "--message-format=json", 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] | [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 crossbeam-utils v0.8.20 [INFO] [stderr] Compiling proc-macro2 v1.0.87 [INFO] [stderr] Compiling unicode-ident v1.0.13 [INFO] [stderr] Compiling libc v0.2.159 [INFO] [stderr] Compiling rustversion v1.0.17 [INFO] [stderr] Compiling thiserror v1.0.64 [INFO] [stderr] Compiling rayon-core v1.12.1 [INFO] [stderr] Checking either v1.13.0 [INFO] [stderr] Checking bitflags v2.6.0 [INFO] [stderr] Checking log v0.4.22 [INFO] [stderr] Checking state v0.5.3 [INFO] [stderr] Checking thread-control v0.1.2 [INFO] [stderr] Checking send_wrapper v0.6.0 [INFO] [stderr] Compiling quote v1.0.37 [INFO] [stderr] Checking crossbeam-epoch v0.9.18 [INFO] [stderr] Checking crossbeam-channel v0.5.13 [INFO] [stderr] Checking crossbeam-queue v0.3.11 [INFO] [stderr] Compiling syn v2.0.79 [INFO] [stderr] Checking num_cpus v1.16.0 [INFO] [stderr] Checking thread-priority v1.1.0 [INFO] [stderr] Checking crossbeam-deque v0.8.5 [INFO] [stderr] Checking crossbeam v0.8.4 [INFO] [stderr] Checking rayon v1.10.0 [INFO] [stderr] Compiling thiserror-impl v1.0.64 [INFO] [stderr] Checking go-spawn v0.1.2 [INFO] [stderr] Checking ch01thread v0.1.0 (/opt/rustwide/workdir/ch01thread) [INFO] [stdout] error[E0433]: cannot find module or crate `affinity` in this scope [INFO] [stdout] --> ch01thread/src/ch0111_set_affinity.rs:5:21 [INFO] [stdout] | [INFO] [stdout] 5 | let cores = (0..affinity::get_core_numa()) [INFO] [stdout] | ^^^^^^^^ use of unresolved module or unlinked crate `affinity` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `affinity`, use `cargo add affinity` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find module or crate `affinity` in this scope [INFO] [stdout] --> ch01thread/src/ch0111_set_affinity.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | affinity::set_thread_affinity(&cores).unwrap(); [INFO] [stdout] | ^^^^^^^^ use of unresolved module or unlinked crate `affinity` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `affinity`, use `cargo add affinity` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find module or crate `affinity` in this scope [INFO] [stdout] --> ch01thread/src/ch0111_set_affinity.rs:13:9 [INFO] [stdout] | [INFO] [stdout] 13 | affinity::get_thread_affinity().unwrap(), [INFO] [stdout] | ^^^^^^^^ use of unresolved module or unlinked crate `affinity` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `affinity`, use `cargo add affinity` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find module or crate `affinity` in this scope [INFO] [stdout] --> ch01thread/src/ch0111_set_affinity.rs:5:21 [INFO] [stdout] | [INFO] [stdout] 5 | let cores = (0..affinity::get_core_numa()) [INFO] [stdout] | ^^^^^^^^ use of unresolved module or unlinked crate `affinity` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `affinity`, use `cargo add affinity` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find module or crate `affinity` in this scope [INFO] [stdout] --> ch01thread/src/ch0111_set_affinity.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | affinity::set_thread_affinity(&cores).unwrap(); [INFO] [stdout] | ^^^^^^^^ use of unresolved module or unlinked crate `affinity` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `affinity`, use `cargo add affinity` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find module or crate `affinity` in this scope [INFO] [stdout] --> ch01thread/src/ch0111_set_affinity.rs:13:9 [INFO] [stdout] | [INFO] [stdout] 13 | affinity::get_thread_affinity().unwrap(), [INFO] [stdout] | ^^^^^^^^ use of unresolved module or unlinked crate `affinity` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `affinity`, use `cargo add affinity` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `ch01thread` (lib test) due to 3 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] [INFO] [stderr] error: could not compile `ch01thread` (lib) due to 3 previous errors [INFO] running `Command { std: "docker" "inspect" "d6c85029c61f81f8af07756d291c3f78e34b6617cd181de321968a8d08913b0d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d6c85029c61f81f8af07756d291c3f78e34b6617cd181de321968a8d08913b0d", kill_on_drop: false }` [INFO] [stdout] d6c85029c61f81f8af07756d291c3f78e34b6617cd181de321968a8d08913b0d