[INFO] cloning repository https://github.com/james0248/TestDrive [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/james0248/TestDrive" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjames0248%2FTestDrive", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjames0248%2FTestDrive'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] af082c0986aa7df81b30e965f669994ae0cab1bc [INFO] testing james0248/TestDrive against 1.59.0 for beta-1.60-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjames0248%2FTestDrive" "/workspace/builds/worker-74/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-74/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/james0248/TestDrive on toolchain 1.59.0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.59.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/james0248/TestDrive [INFO] finished tweaking git repo https://github.com/james0248/TestDrive [INFO] tweaked toml for git repo https://github.com/james0248/TestDrive written to /workspace/builds/worker-74/source/Cargo.toml [INFO] crate git repo https://github.com/james0248/TestDrive already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.59.0" "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-74/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-74/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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+1.59.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 956347e65c2e1dea39e96452a181e7e654a6ce9949bb6661e5457470b3fa2ab1 [INFO] running `Command { std: "docker" "start" "-a" "956347e65c2e1dea39e96452a181e7e654a6ce9949bb6661e5457470b3fa2ab1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "956347e65c2e1dea39e96452a181e7e654a6ce9949bb6661e5457470b3fa2ab1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "956347e65c2e1dea39e96452a181e7e654a6ce9949bb6661e5457470b3fa2ab1", kill_on_drop: false }` [INFO] [stdout] 956347e65c2e1dea39e96452a181e7e654a6ce9949bb6661e5457470b3fa2ab1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-74/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-74/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=warn" "-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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+1.59.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] daf429fed5a7684203f91ac5812c54c02f944f376cacf1b5e109e58bab742158 [INFO] running `Command { std: "docker" "start" "-a" "daf429fed5a7684203f91ac5812c54c02f944f376cacf1b5e109e58bab742158", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.109 [INFO] [stderr] Compiling proc-macro2 v1.0.33 [INFO] [stderr] Compiling syn v1.0.82 [INFO] [stderr] Compiling getrandom v0.1.16 [INFO] [stderr] Compiling ppv-lite86 v0.2.15 [INFO] [stderr] Compiling siphasher v0.3.7 [INFO] [stderr] Compiling smallvec v1.7.0 [INFO] [stderr] Compiling parking_lot_core v0.8.5 [INFO] [stderr] Compiling pin-project-lite v0.2.7 [INFO] [stderr] Compiling cc v1.0.72 [INFO] [stderr] Compiling itoa v0.4.8 [INFO] [stderr] Compiling pkg-config v0.3.23 [INFO] [stderr] Compiling once_cell v1.8.0 [INFO] [stderr] Compiling futures-core v0.3.18 [INFO] [stderr] Compiling bytes v1.1.0 [INFO] [stderr] Compiling matches v0.1.9 [INFO] [stderr] Compiling serde v1.0.131 [INFO] [stderr] Compiling futures-task v0.3.18 [INFO] [stderr] Compiling futures-util v0.3.18 [INFO] [stderr] Compiling new_debug_unreachable v1.0.4 [INFO] [stderr] Compiling openssl v0.10.38 [INFO] [stderr] Compiling futures-sink v0.3.18 [INFO] [stderr] Compiling httparse v1.5.1 [INFO] [stderr] Compiling futures-channel v0.3.18 [INFO] [stderr] Compiling mac v0.1.1 [INFO] [stderr] Compiling native-tls v0.2.8 [INFO] [stderr] Compiling precomputed-hash v0.1.1 [INFO] [stderr] Compiling openssl-probe v0.1.4 [INFO] [stderr] Compiling utf-8 v0.7.6 [INFO] [stderr] Compiling slab v0.4.5 [INFO] [stderr] Compiling dtoa v0.4.8 [INFO] [stderr] Compiling convert_case v0.4.0 [INFO] [stderr] Compiling stable_deref_trait v1.2.0 [INFO] [stderr] Compiling nodrop v0.1.14 [INFO] [stderr] Compiling encoding_rs v0.8.30 [INFO] [stderr] Compiling unicode-bidi v0.3.7 [INFO] [stderr] Compiling httpdate v1.0.2 [INFO] [stderr] Compiling unicode-width v0.1.9 [INFO] [stderr] Compiling thin-slice v0.1.1 [INFO] [stderr] Compiling ryu v1.0.7 [INFO] [stderr] Compiling ego-tree v0.6.2 [INFO] [stderr] Compiling regex-syntax v0.6.25 [INFO] [stderr] Compiling ipnet v2.3.1 [INFO] [stderr] Compiling instant v0.1.12 [INFO] [stderr] Compiling lock_api v0.4.5 [INFO] [stderr] Compiling tokio v1.14.0 [INFO] [stderr] Compiling indexmap v1.7.0 [INFO] [stderr] Compiling tracing-core v0.1.21 [INFO] [stderr] Compiling tinyvec v1.5.1 [INFO] [stderr] Compiling fxhash v0.2.1 [INFO] [stderr] Compiling phf_shared v0.8.0 [INFO] [stderr] Compiling want v0.3.0 [INFO] [stderr] Compiling aho-corasick v0.7.18 [INFO] [stderr] Compiling form_urlencoded v1.0.1 [INFO] [stderr] Compiling http v0.2.5 [INFO] [stderr] Compiling futf v0.1.4 [INFO] [stderr] Compiling servo_arc v0.1.1 [INFO] [stderr] Compiling signal-hook-registry v1.4.0 [INFO] [stderr] Compiling num_cpus v1.13.0 [INFO] [stderr] Compiling mio v0.7.14 [INFO] [stderr] Compiling socket2 v0.4.2 [INFO] [stderr] Compiling dirs-sys v0.3.6 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling getopts v0.2.21 [INFO] [stderr] Compiling dtoa-short v0.3.3 [INFO] [stderr] Compiling unicode-normalization v0.1.19 [INFO] [stderr] Compiling quote v1.0.10 [INFO] [stderr] Compiling tracing v0.1.29 [INFO] [stderr] Compiling tendril v0.4.2 [INFO] [stderr] Compiling colored v2.0.0 [INFO] [stderr] Compiling parking_lot v0.11.2 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling directories v4.0.1 [INFO] [stderr] Compiling regex v1.5.4 [INFO] [stderr] Compiling openssl-sys v0.9.71 [INFO] [stderr] Compiling rand_pcg v0.2.1 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling idna v0.2.3 [INFO] [stderr] Compiling url v2.2.2 [INFO] [stderr] Compiling http-body v0.4.4 [INFO] [stderr] Compiling phf_generator v0.8.0 [INFO] [stderr] Compiling string_cache v0.8.2 [INFO] [stderr] Compiling serde_urlencoded v0.7.0 [INFO] [stderr] Compiling phf_codegen v0.8.0 [INFO] [stderr] Compiling string_cache_codegen v0.5.1 [INFO] [stderr] Compiling selectors v0.22.0 [INFO] [stderr] Compiling markup5ever v0.10.1 [INFO] [stderr] Compiling tokio-macros v1.6.0 [INFO] [stderr] Compiling phf_macros v0.8.0 [INFO] [stderr] Compiling cssparser v0.27.2 [INFO] [stderr] Compiling html5ever v0.25.1 [INFO] [stderr] Compiling cssparser-macros v0.6.0 [INFO] [stderr] Compiling derive_more v0.99.17 [INFO] [stderr] Compiling phf v0.8.0 [INFO] [stderr] Compiling scraper v0.12.0 [INFO] [stderr] Compiling tokio-util v0.6.9 [INFO] [stderr] Compiling tokio-native-tls v0.3.0 [INFO] [stderr] Compiling h2 v0.3.9 [INFO] [stderr] Compiling hyper v0.14.16 [INFO] [stderr] Compiling hyper-tls v0.5.0 [INFO] [stderr] Compiling reqwest v0.11.7 [INFO] [stderr] Compiling test_drive v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0423]: expected value, found module `path` [INFO] [stdout] --> src/request/cache.rs:42:25 [INFO] [stdout] | [INFO] [stdout] 42 | fs::create_dir_all(&path)?; [INFO] [stdout] | ^^^^ not a value [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::process::Command` [INFO] [stdout] --> src/main.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::process::Command; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `fs` [INFO] [stdout] --> src/main.rs:2:16 [INFO] [stdout] | [INFO] [stdout] 2 | use std::{env, fs, process}; [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `process` [INFO] [stdout] --> src/request/cache.rs:7:21 [INFO] [stdout] | [INFO] [stdout] 7 | use std::{fs, path, process}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/request/cache.rs:30:45 [INFO] [stdout] | [INFO] [stdout] 30 | cache_dir = [base_dirs.cache_dir(), "TestDrive", problem_num] [INFO] [stdout] | ^^^^^^^^^^^ expected struct `Path`, found `str` [INFO] [stdout] | [INFO] [stdout] = note: expected type `&Path` [INFO] [stdout] found reference `&'static str` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `usize` is not an iterator [INFO] [stdout] --> src/request.rs:29:14 [INFO] [stdout] | [INFO] [stdout] 29 | for i in num_data { [INFO] [stdout] | ^^^^^^^^ `usize` is not an iterator [INFO] [stdout] | [INFO] [stdout] = help: the trait `Iterator` is not implemented for `usize` [INFO] [stdout] = note: if you want to iterate between `start` until a value `end`, use the exclusive range syntax `start..end` or the inclusive range syntax `start..=end` [INFO] [stdout] = note: required because of the requirements on the impl of `IntoIterator` for `usize` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `dyn std::error::Error` cannot be sent between threads safely [INFO] [stdout] --> src/request.rs:36:34 [INFO] [stdout] | [INFO] [stdout] 36 | Err(error) => panic!(error), [INFO] [stdout] | -------^^^^^- [INFO] [stdout] | | | [INFO] [stdout] | | `dyn std::error::Error` cannot be sent between threads safely [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] = help: the trait `Send` is not implemented for `dyn std::error::Error` [INFO] [stdout] = note: required because of the requirements on the impl of `Send` for `Unique` [INFO] [stdout] = note: required because it appears within the type `Box` [INFO] [stdout] note: required by a bound in `begin_panic` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `dyn std::error::Error` cannot be sent between threads safely [INFO] [stdout] --> src/request.rs:40:34 [INFO] [stdout] | [INFO] [stdout] 40 | Err(error) => panic!(error), [INFO] [stdout] | -------^^^^^- [INFO] [stdout] | | | [INFO] [stdout] | | `dyn std::error::Error` cannot be sent between threads safely [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] = help: the trait `Send` is not implemented for `dyn std::error::Error` [INFO] [stdout] = note: required because of the requirements on the impl of `Send` for `Unique` [INFO] [stdout] = note: required because it appears within the type `Box` [INFO] [stdout] note: required by a bound in `begin_panic` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 5 previous errors; 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0308, E0423. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: could not compile `test_drive` due to 6 previous errors; 3 warnings emitted [INFO] running `Command { std: "docker" "inspect" "daf429fed5a7684203f91ac5812c54c02f944f376cacf1b5e109e58bab742158", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "daf429fed5a7684203f91ac5812c54c02f944f376cacf1b5e109e58bab742158", kill_on_drop: false }` [INFO] [stdout] daf429fed5a7684203f91ac5812c54c02f944f376cacf1b5e109e58bab742158