[INFO] cloning repository https://github.com/monisj/Rust_Examples [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/monisj/Rust_Examples" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmonisj%2FRust_Examples", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmonisj%2FRust_Examples'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 5cec683f6d91f0d9ff288282a2878cc0afb9659c [INFO] checking monisj/Rust_Examples against try#3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f for pr-87248 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmonisj%2FRust_Examples" "/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/monisj/Rust_Examples on toolchain 3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/monisj/Rust_Examples [INFO] finished tweaking git repo https://github.com/monisj/Rust_Examples [INFO] tweaked toml for git repo https://github.com/monisj/Rust_Examples written to /workspace/builds/worker-10/source/Cargo.toml [INFO] crate git repo https://github.com/monisj/Rust_Examples already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded ferris-says v0.2.0 [INFO] [stderr] Downloaded smallvec v0.4.5 [INFO] [stderr] Downloaded libc v0.2.87 [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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 8dc672bf7e9084676aed9de739eb5d57ca5970a55dd6d28f7d3bc710b1b89e5a [INFO] running `Command { std: "docker" "start" "-a" "8dc672bf7e9084676aed9de739eb5d57ca5970a55dd6d28f7d3bc710b1b89e5a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "8dc672bf7e9084676aed9de739eb5d57ca5970a55dd6d28f7d3bc710b1b89e5a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8dc672bf7e9084676aed9de739eb5d57ca5970a55dd6d28f7d3bc710b1b89e5a", kill_on_drop: false }` [INFO] [stdout] 8dc672bf7e9084676aed9de739eb5d57ca5970a55dd6d28f7d3bc710b1b89e5a [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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ae5ed70f73c87312072f7cdc9243d99f6d80614fd69f6115a53976caa2a86c2e [INFO] running `Command { std: "docker" "start" "-a" "ae5ed70f73c87312072f7cdc9243d99f6d80614fd69f6115a53976caa2a86c2e", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling libc v0.2.87 [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Checking adler v1.0.2 [INFO] [stderr] Checking object v0.23.0 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Checking unicode-width v0.1.8 [INFO] [stderr] Checking vec_map v0.8.2 [INFO] [stderr] Checking smallvec v0.4.5 [INFO] [stderr] Checking textwrap v0.11.0 [INFO] [stderr] Compiling miniz_oxide v0.4.4 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking clap v2.33.3 [INFO] [stderr] Checking backtrace v0.3.56 [INFO] [stderr] Checking error-chain v0.10.0 [INFO] [stderr] Checking ferris-says v0.2.0 [INFO] [stderr] Checking hello v2.3.4 (/opt/rustwide/workdir) [INFO] [stdout] error: cannot find macro `Vec` in this scope [INFO] [stdout] --> src/main.rs:131:20 [INFO] [stdout] | [INFO] [stdout] 131 | let mut vect = Vec![1,2,3,4]; //Another way to initilize Vector [INFO] [stdout] | ^^^ help: a macro with a similar name exists (notice the capitalization): `vec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0423]: expected function, found macro `println` [INFO] [stdout] --> src/main.rs:132:5 [INFO] [stdout] | [INFO] [stdout] 132 | println("{} = Value 1",vect[1]); [INFO] [stdout] | ^^^^^^^ not a function [INFO] [stdout] | [INFO] [stdout] help: use `!` to invoke the macro [INFO] [stdout] | [INFO] [stdout] 132 | println!("{} = Value 1",vect[1]); [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HashMap` in this scope [INFO] [stdout] --> src/main.rs:134:16 [INFO] [stdout] | [INFO] [stdout] 134 | let mut h: HashMap = HashMap::new(); //Create a HashMap sort of a Dictonary with key [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 9 | use std::collections::HashMap; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `HashMap` [INFO] [stdout] --> src/main.rs:134:35 [INFO] [stdout] | [INFO] [stdout] 134 | let mut h: HashMap = HashMap::new(); //Create a HashMap sort of a Dictonary with key [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 9 | use std::collections::HashMap; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `Vec` in this scope [INFO] [stdout] --> src/main.rs:131:20 [INFO] [stdout] | [INFO] [stdout] 131 | let mut vect = Vec![1,2,3,4]; //Another way to initilize Vector [INFO] [stdout] | ^^^ help: a macro with a similar name exists (notice the capitalization): `vec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0423]: expected function, found macro `println` [INFO] [stdout] --> src/main.rs:132:5 [INFO] [stdout] | [INFO] [stdout] 132 | println("{} = Value 1",vect[1]); [INFO] [stdout] | ^^^^^^^ not a function [INFO] [stdout] | [INFO] [stdout] help: use `!` to invoke the macro [INFO] [stdout] | [INFO] [stdout] 132 | println!("{} = Value 1",vect[1]); [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HashMap` in this scope [INFO] [stdout] --> src/main.rs:134:16 [INFO] [stdout] | [INFO] [stdout] 134 | let mut h: HashMap = HashMap::new(); //Create a HashMap sort of a Dictonary with key [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 9 | use std::collections::HashMap; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `HashMap` [INFO] [stdout] --> src/main.rs:134:35 [INFO] [stdout] | [INFO] [stdout] 134 | let mut h: HashMap = HashMap::new(); //Create a HashMap sort of a Dictonary with key [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 9 | use std::collections::HashMap; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0423, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] [INFO] [stderr] error: could not compile `hello` due to 5 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: aborting due to 4 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0423, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "ae5ed70f73c87312072f7cdc9243d99f6d80614fd69f6115a53976caa2a86c2e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ae5ed70f73c87312072f7cdc9243d99f6d80614fd69f6115a53976caa2a86c2e", kill_on_drop: false }` [INFO] [stdout] ae5ed70f73c87312072f7cdc9243d99f6d80614fd69f6115a53976caa2a86c2e