[INFO] fetching crate psbattletools 0.1.0... [INFO] checking psbattletools-0.1.0 against master#936f2600b6c903b04387f74ed5cbce88bb06d243 for pr-91141 [INFO] extracting crate psbattletools 0.1.0 into /workspace/builds/worker-53/source [INFO] validating manifest of crates.io crate psbattletools 0.1.0 on toolchain 936f2600b6c903b04387f74ed5cbce88bb06d243 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+936f2600b6c903b04387f74ed5cbce88bb06d243" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate psbattletools 0.1.0 [INFO] finished tweaking crates.io crate psbattletools 0.1.0 [INFO] tweaked toml for crates.io crate psbattletools 0.1.0 written to /workspace/builds/worker-53/source/Cargo.toml [INFO] crate crates.io crate psbattletools 0.1.0 already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+936f2600b6c903b04387f74ed5cbce88bb06d243" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-53/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-53/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:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+936f2600b6c903b04387f74ed5cbce88bb06d243" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] a1e1076b1a6ba5f001e254fd083829bb90c5dc9f61577d8cb0b95af54272b78a [INFO] running `Command { std: "docker" "start" "-a" "a1e1076b1a6ba5f001e254fd083829bb90c5dc9f61577d8cb0b95af54272b78a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a1e1076b1a6ba5f001e254fd083829bb90c5dc9f61577d8cb0b95af54272b78a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a1e1076b1a6ba5f001e254fd083829bb90c5dc9f61577d8cb0b95af54272b78a", kill_on_drop: false }` [INFO] [stdout] a1e1076b1a6ba5f001e254fd083829bb90c5dc9f61577d8cb0b95af54272b78a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-53/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-53/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:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+936f2600b6c903b04387f74ed5cbce88bb06d243" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 5d0cf0f65c309fc8b50a14b2e85676f5f1c61c2a84ba33653860a772e13735bc [INFO] running `Command { std: "docker" "start" "-a" "5d0cf0f65c309fc8b50a14b2e85676f5f1c61c2a84ba33653860a772e13735bc", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling libc v0.2.104 [INFO] [stderr] Compiling proc-macro2 v1.0.30 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling version_check v0.9.3 [INFO] [stderr] Compiling crossbeam-utils v0.8.5 [INFO] [stderr] Compiling syn v1.0.80 [INFO] [stderr] Compiling crossbeam-epoch v0.9.5 [INFO] [stderr] Compiling rayon-core v1.9.1 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Compiling parking_lot_core v0.8.5 [INFO] [stderr] Checking regex-automata v0.1.10 [INFO] [stderr] Checking bitflags v1.3.2 [INFO] [stderr] Checking itoa v0.4.8 [INFO] [stderr] Checking hashbrown v0.11.2 [INFO] [stderr] Checking encode_unicode v0.3.6 [INFO] [stderr] Compiling cargo-husky v1.5.0 [INFO] [stderr] Checking gjson v0.8.0 [INFO] [stderr] Checking json v0.12.4 [INFO] [stderr] Compiling memoffset v0.6.4 [INFO] [stderr] Compiling indexmap v1.7.0 [INFO] [stderr] Compiling rayon v1.5.1 [INFO] [stderr] Checking instant v0.1.12 [INFO] [stderr] Checking lock_api v0.4.5 [INFO] [stderr] Checking csv-core v0.1.10 [INFO] [stderr] Checking regex v1.5.4 [INFO] [stderr] Checking bstr v0.2.17 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking num_cpus v1.13.0 [INFO] [stderr] Checking dirs v1.0.5 [INFO] [stderr] Checking csv v1.1.6 [INFO] [stderr] Compiling quote v1.0.10 [INFO] [stderr] Checking crossbeam-channel v0.5.1 [INFO] [stderr] Checking clap v2.33.3 [INFO] [stderr] Checking term v0.5.2 [INFO] [stderr] Checking parking_lot v0.11.2 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Checking prettytable-rs v0.8.0 [INFO] [stderr] Checking crossbeam-deque v0.8.1 [INFO] [stderr] Compiling structopt-derive v0.4.16 [INFO] [stderr] Compiling serial_test_derive v0.5.1 [INFO] [stderr] Checking serial_test v0.5.1 [INFO] [stderr] Checking structopt v0.3.23 [INFO] [stderr] Checking psbattletools v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0432]: unresolved import `tests` [INFO] [stdout] --> benches/integration.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use tests::*; [INFO] [stdout] | ^^^^^ use of undeclared crate or module `tests` [INFO] [stdout] | [INFO] [stdout] help: there is a crate or module with a similar name [INFO] [stdout] | [INFO] [stdout] 8 | use test::*; [INFO] [stdout] | ~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `build_test_dir` in this scope [INFO] [stdout] --> benches/integration.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | build_test_dir(1_000).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `TEST_ROOT_DIR` in this scope [INFO] [stdout] --> benches/integration.rs:26:16 [INFO] [stdout] | [INFO] [stdout] 26 | .arg(&*TEST_ROOT_DIR) [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `build_test_dir` in this scope [INFO] [stdout] --> benches/integration.rs:37:5 [INFO] [stdout] | [INFO] [stdout] 37 | build_test_dir(1_000).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `TEST_ROOT_DIR` in this scope [INFO] [stdout] --> benches/integration.rs:41:16 [INFO] [stdout] | [INFO] [stdout] 41 | .arg(&*TEST_ROOT_DIR) [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `build_test_dir` in this scope [INFO] [stdout] --> benches/integration.rs:52:5 [INFO] [stdout] | [INFO] [stdout] 52 | build_test_dir(1_000).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `TEST_ROOT_DIR` in this scope [INFO] [stdout] --> benches/integration.rs:64:43 [INFO] [stdout] | [INFO] [stdout] 64 | cmd.arg("search").arg("AnniKa").arg(&*TEST_ROOT_DIR); [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `build_test_dir` in this scope [INFO] [stdout] --> benches/integration.rs:73:5 [INFO] [stdout] | [INFO] [stdout] 73 | build_test_dir(1_000).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `TEST_ROOT_DIR` in this scope [INFO] [stdout] --> benches/integration.rs:76:29 [INFO] [stdout] | [INFO] [stdout] 76 | cmd.arg("AnniKa").arg(&*TEST_ROOT_DIR); [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `build_test_dir` in this scope [INFO] [stdout] --> benches/integration.rs:83:5 [INFO] [stdout] | [INFO] [stdout] 83 | build_test_dir(1_000).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `TEST_ROOT_DIR` in this scope [INFO] [stdout] --> benches/integration.rs:94:27 [INFO] [stdout] | [INFO] [stdout] 94 | let mut output_path = TEST_ROOT_DIR [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `TEST_ROOT_DIR` in this scope [INFO] [stdout] --> benches/integration.rs:101:16 [INFO] [stdout] | [INFO] [stdout] 101 | .arg(&*TEST_ROOT_DIR) [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `build_test_dir` in this scope [INFO] [stdout] --> benches/integration.rs:112:5 [INFO] [stdout] | [INFO] [stdout] 112 | build_test_dir(1_000).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `TEST_ROOT_DIR` in this scope [INFO] [stdout] --> benches/integration.rs:114:27 [INFO] [stdout] | [INFO] [stdout] 114 | let mut output_path = TEST_ROOT_DIR [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `TEST_ROOT_DIR` in this scope [INFO] [stdout] --> benches/integration.rs:122:16 [INFO] [stdout] | [INFO] [stdout] 122 | .arg(&*TEST_ROOT_DIR) [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 15 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0432. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `tests` [INFO] [stdout] --> src/anonymize/mod.rs:47:9 [INFO] [stdout] | [INFO] [stdout] 47 | use tests::*; [INFO] [stdout] | ^^^^^ use of undeclared crate or module `tests` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `tests` [INFO] [stdout] --> src/search/mod.rs:108:9 [INFO] [stdout] | [INFO] [stdout] 108 | use tests::*; [INFO] [stdout] | ^^^^^ use of undeclared crate or module `tests` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `tests` [INFO] [stdout] --> src/statistics/mod.rs:60:9 [INFO] [stdout] | [INFO] [stdout] 60 | use tests::*; [INFO] [stdout] | ^^^^^ use of undeclared crate or module `tests` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `psbattletools` due to 16 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0425]: cannot find function `build_test_dir` in this scope [INFO] [stdout] --> src/anonymize/mod.rs:59:9 [INFO] [stdout] | [INFO] [stdout] 59 | build_test_dir(1_000).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `TEST_ROOT_DIR` in this scope [INFO] [stdout] --> src/anonymize/mod.rs:65:42 [INFO] [stdout] | [INFO] [stdout] 65 | .handle_directories(vec![TEST_ROOT_DIR.clone()], None) [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `build_test_dir` in this scope [INFO] [stdout] --> src/search/mod.rs:159:9 [INFO] [stdout] | [INFO] [stdout] 159 | build_test_dir(1_000).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `TEST_ROOT_DIR` in this scope [INFO] [stdout] --> src/search/mod.rs:164:42 [INFO] [stdout] | [INFO] [stdout] 164 | .handle_directories(vec![TEST_ROOT_DIR.clone()], None) [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `build_test_dir` in this scope [INFO] [stdout] --> src/statistics/mod.rs:64:9 [INFO] [stdout] | [INFO] [stdout] 64 | build_test_dir(1_000).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `TEST_ROOT_DIR` in this scope [INFO] [stdout] --> src/statistics/mod.rs:69:42 [INFO] [stdout] | [INFO] [stdout] 69 | .handle_directories(vec![TEST_ROOT_DIR.clone()], None) [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `build_test_dir` in this scope [INFO] [stdout] --> src/statistics/mod.rs:77:9 [INFO] [stdout] | [INFO] [stdout] 77 | build_test_dir(1_000).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `TEST_ROOT_DIR` in this scope [INFO] [stdout] --> src/statistics/mod.rs:80:38 [INFO] [stdout] | [INFO] [stdout] 80 | .handle_directories(vec![TEST_ROOT_DIR.to_owned()], None) [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 11 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0432. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "5d0cf0f65c309fc8b50a14b2e85676f5f1c61c2a84ba33653860a772e13735bc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5d0cf0f65c309fc8b50a14b2e85676f5f1c61c2a84ba33653860a772e13735bc", kill_on_drop: false }` [INFO] [stdout] 5d0cf0f65c309fc8b50a14b2e85676f5f1c61c2a84ba33653860a772e13735bc