[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] checking bunnymatic/histogram-rust against try#b2c2190fa7bf856bb0ed5e8806266e3a2135c6f8 for pr-78363 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbunnymatic%2Fhistogram-rust" "/workspace/builds/worker-4/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/bunnymatic/histogram-rust on toolchain b2c2190fa7bf856bb0ed5e8806266e3a2135c6f8 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+b2c2190fa7bf856bb0ed5e8806266e3a2135c6f8" "read-manifest" "--manifest-path" "Cargo.toml", 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-4/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" "+b2c2190fa7bf856bb0ed5e8806266e3a2135c6f8" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded structopt v0.2.17 [INFO] [stderr] Downloaded structopt-derive v0.2.17 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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" "rustops/crates-build-env@sha256:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+b2c2190fa7bf856bb0ed5e8806266e3a2135c6f8" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 15dd7682c6c8b45c046c4ae3e1b043e01ddbcbb4103e31105448f9a6f3ad9104 [INFO] running `Command { std: "docker" "start" "-a" "15dd7682c6c8b45c046c4ae3e1b043e01ddbcbb4103e31105448f9a6f3ad9104", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "15dd7682c6c8b45c046c4ae3e1b043e01ddbcbb4103e31105448f9a6f3ad9104", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "15dd7682c6c8b45c046c4ae3e1b043e01ddbcbb4103e31105448f9a6f3ad9104", kill_on_drop: false }` [INFO] [stdout] 15dd7682c6c8b45c046c4ae3e1b043e01ddbcbb4103e31105448f9a6f3ad9104 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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" "rustops/crates-build-env@sha256:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+b2c2190fa7bf856bb0ed5e8806266e3a2135c6f8" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 056d719bd7f66120522d6aadac890567f10ddf8b7d8a4ea3095ccc2ea2ebbea2 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "056d719bd7f66120522d6aadac890567f10ddf8b7d8a4ea3095ccc2ea2ebbea2", kill_on_drop: false }` [INFO] [stderr] Compiling syn v0.15.34 [INFO] [stderr] Compiling unicode-segmentation v1.3.0 [INFO] [stderr] Compiling heck v0.3.1 [INFO] [stderr] Compiling structopt-derive v0.2.17 [INFO] [stderr] Checking structopt v0.2.17 [INFO] [stderr] Checking 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: 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[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] [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] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "056d719bd7f66120522d6aadac890567f10ddf8b7d8a4ea3095ccc2ea2ebbea2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "056d719bd7f66120522d6aadac890567f10ddf8b7d8a4ea3095ccc2ea2ebbea2", kill_on_drop: false }` [INFO] [stdout] 056d719bd7f66120522d6aadac890567f10ddf8b7d8a4ea3095ccc2ea2ebbea2