[INFO] cloning repository https://github.com/nikkokun/s2pl [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/nikkokun/s2pl" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnikkokun%2Fs2pl", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnikkokun%2Fs2pl'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 63d64196cd912b4dc8220f23df8c41976cb8f290 [INFO] testing nikkokun/s2pl against master#b70888601af92f6cdc0364abab3446e418b91d36 for pr-86479 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnikkokun%2Fs2pl" "/workspace/builds/worker-14/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-14/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/nikkokun/s2pl on toolchain b70888601af92f6cdc0364abab3446e418b91d36 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+b70888601af92f6cdc0364abab3446e418b91d36" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/nikkokun/s2pl [INFO] finished tweaking git repo https://github.com/nikkokun/s2pl [INFO] tweaked toml for git repo https://github.com/nikkokun/s2pl written to /workspace/builds/worker-14/source/Cargo.toml [INFO] crate git repo https://github.com/nikkokun/s2pl already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+b70888601af92f6cdc0364abab3446e418b91d36" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+b70888601af92f6cdc0364abab3446e418b91d36" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 6f7bf25d9584c9a97c4eb7d27063969fa147f05a0dff4085c2503d3a3d01af72 [INFO] running `Command { std: "docker" "start" "-a" "6f7bf25d9584c9a97c4eb7d27063969fa147f05a0dff4085c2503d3a3d01af72", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "6f7bf25d9584c9a97c4eb7d27063969fa147f05a0dff4085c2503d3a3d01af72", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6f7bf25d9584c9a97c4eb7d27063969fa147f05a0dff4085c2503d3a3d01af72", kill_on_drop: false }` [INFO] [stdout] 6f7bf25d9584c9a97c4eb7d27063969fa147f05a0dff4085c2503d3a3d01af72 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+b70888601af92f6cdc0364abab3446e418b91d36" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] acae4bba83384cf55e2599b11e39b46db01f7329b55c790dd566f0161610b999 [INFO] running `Command { std: "docker" "start" "-a" "acae4bba83384cf55e2599b11e39b46db01f7329b55c790dd566f0161610b999", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.68 [INFO] [stderr] Compiling getrandom v0.1.14 [INFO] [stderr] Compiling ppv-lite86 v0.2.6 [INFO] [stderr] Compiling nodrop v0.1.14 [INFO] [stderr] Compiling rdxsort v0.3.0 [INFO] [stderr] Compiling lock_api v0.3.3 [INFO] [stderr] Compiling quickersort v3.0.1 [INFO] [stderr] Compiling parking_lot_core v0.7.0 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling parking_lot v0.10.0 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling s2pl v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0425]: cannot find function `spawn` in crate `std` [INFO] [stdout] --> src/main.rs:115:23 [INFO] [stdout] | [INFO] [stdout] 115 | let thread = std::spawn(move || worker(&mut table, &thread_transactions[0])); [INFO] [stdout] | ^^^^^ not found in `std` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use crate::thread::spawn; [INFO] [stdout] | [INFO] [stdout] 1 | use std::thread::spawn; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `LockResult`, `MutexGuard` [INFO] [stdout] --> src/main.rs:5:24 [INFO] [stdout] | [INFO] [stdout] 5 | use std::sync::{Mutex, MutexGuard, LockResult}; [INFO] [stdout] | ^^^^^^^^^^ ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::thread` [INFO] [stdout] --> src/main.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use std::thread; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::sync::mpsc::channel` [INFO] [stdout] --> src/main.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use std::sync::mpsc::channel; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/main.rs:12:17 [INFO] [stdout] | [INFO] [stdout] 12 | lock: Mutex<(i32)> [INFO] [stdout] | ^^^^^ help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error; 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0425`. [INFO] [stdout] [INFO] [stderr] error: could not compile `s2pl` due to 2 previous errors; 4 warnings emitted [INFO] running `Command { std: "docker" "inspect" "acae4bba83384cf55e2599b11e39b46db01f7329b55c790dd566f0161610b999", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "acae4bba83384cf55e2599b11e39b46db01f7329b55c790dd566f0161610b999", kill_on_drop: false }` [INFO] [stdout] acae4bba83384cf55e2599b11e39b46db01f7329b55c790dd566f0161610b999