[INFO] cloning repository https://github.com/bunnymatic/histogram-rust [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/bunnymatic/histogram-rust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbunnymatic%2Fhistogram-rust", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbunnymatic%2Fhistogram-rust'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 5e785041e235e03fbec69320e6803972576fde4d [INFO] testing bunnymatic/histogram-rust against master#99e3aef02079e9c10583638520cd0c134dc3a01d for pr-85530 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbunnymatic%2Fhistogram-rust" "/workspace/builds/worker-10/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-10/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/bunnymatic/histogram-rust on toolchain 99e3aef02079e9c10583638520cd0c134dc3a01d [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+99e3aef02079e9c10583638520cd0c134dc3a01d" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/bunnymatic/histogram-rust [INFO] finished tweaking git repo https://github.com/bunnymatic/histogram-rust [INFO] tweaked toml for git repo https://github.com/bunnymatic/histogram-rust written to /workspace/builds/worker-10/source/Cargo.toml [INFO] crate git repo https://github.com/bunnymatic/histogram-rust already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+99e3aef02079e9c10583638520cd0c134dc3a01d" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/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:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+99e3aef02079e9c10583638520cd0c134dc3a01d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] a6295843bd8f7750b10c2ccdbfe0afb384a558d6199451412980961ea5c1407c [INFO] running `Command { std: "docker" "start" "-a" "a6295843bd8f7750b10c2ccdbfe0afb384a558d6199451412980961ea5c1407c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a6295843bd8f7750b10c2ccdbfe0afb384a558d6199451412980961ea5c1407c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a6295843bd8f7750b10c2ccdbfe0afb384a558d6199451412980961ea5c1407c", kill_on_drop: false }` [INFO] [stdout] a6295843bd8f7750b10c2ccdbfe0afb384a558d6199451412980961ea5c1407c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/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:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+99e3aef02079e9c10583638520cd0c134dc3a01d" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] bc606e2c1fa4501d60930ad818e4fbf27ce48f9c7b38626b2b66dd06ba139788 [INFO] running `Command { std: "docker" "start" "-a" "bc606e2c1fa4501d60930ad818e4fbf27ce48f9c7b38626b2b66dd06ba139788", 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] [stderr] Compiling libc v0.2.58 [INFO] [stderr] Compiling syn v0.15.34 [INFO] [stderr] Compiling unicode-segmentation v1.3.0 [INFO] [stderr] Compiling unicode-width v0.1.5 [INFO] [stderr] Compiling bitflags v1.0.4 [INFO] [stderr] Compiling ansi_term v0.11.0 [INFO] [stderr] Compiling strsim v0.8.0 [INFO] [stderr] Compiling vec_map v0.8.1 [INFO] [stderr] Compiling proc-macro2 v0.4.30 [INFO] [stderr] Compiling textwrap v0.11.0 [INFO] [stderr] Compiling quote v0.6.12 [INFO] [stderr] Compiling heck v0.3.1 [INFO] [stderr] Compiling atty v0.2.11 [INFO] [stderr] Compiling clap v2.33.0 [INFO] [stderr] Compiling structopt-derive v0.2.17 [INFO] [stderr] Compiling structopt v0.2.17 [INFO] [stderr] Compiling histogram v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error: unknown start of token: \ [INFO] [stdout] --> src/main.rs:24:42 [INFO] [stdout] | [INFO] [stdout] 24 | let words = line.unwrap().split(/\s+/); [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected expression, found `/` [INFO] [stdout] --> src/main.rs:24:41 [INFO] [stdout] | [INFO] [stdout] 24 | let words = line.unwrap().split(/\s+/); [INFO] [stdout] | ^ expected expression [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `File` [INFO] [stdout] --> src/main.rs:20:14 [INFO] [stdout] | [INFO] [stdout] 20 | let fp = File::open(opt.file).unwrap(); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 3 | use std::fs::File; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `BufReader` [INFO] [stdout] --> src/main.rs:22:16 [INFO] [stdout] | [INFO] [stdout] 22 | let file = BufReader::new(&f); [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 3 | use std::io::BufReader; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `f` in this scope [INFO] [stdout] --> src/main.rs:22:32 [INFO] [stdout] | [INFO] [stdout] 22 | let file = BufReader::new(&f); [INFO] [stdout] | ^ help: a local variable with a similar name exists: `fp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 5 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] [INFO] [stderr] error: could not compile `histogram` [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `Command { std: "docker" "inspect" "bc606e2c1fa4501d60930ad818e4fbf27ce48f9c7b38626b2b66dd06ba139788", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bc606e2c1fa4501d60930ad818e4fbf27ce48f9c7b38626b2b66dd06ba139788", kill_on_drop: false }` [INFO] [stdout] bc606e2c1fa4501d60930ad818e4fbf27ce48f9c7b38626b2b66dd06ba139788