[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] testing monisj/Rust_Examples against beta-2022-04-10 for beta-1.61-1 [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 beta-2022-04-10 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "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" "+beta-2022-04-10" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [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:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "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] 31d2287b826cdc1b1ed3d3ef580da7f8b888866941e1ac53bb1dcef9e2f6ba7e [INFO] running `Command { std: "docker" "start" "-a" "31d2287b826cdc1b1ed3d3ef580da7f8b888866941e1ac53bb1dcef9e2f6ba7e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "31d2287b826cdc1b1ed3d3ef580da7f8b888866941e1ac53bb1dcef9e2f6ba7e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "31d2287b826cdc1b1ed3d3ef580da7f8b888866941e1ac53bb1dcef9e2f6ba7e", kill_on_drop: false }` [INFO] [stdout] 31d2287b826cdc1b1ed3d3ef580da7f8b888866941e1ac53bb1dcef9e2f6ba7e [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=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:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "build" "--frozen" "--message-format=json", 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] 255961b216e7f02ae7896565c6754f0a5c412c668fb059618acd43c04c48666b [INFO] running `Command { std: "docker" "start" "-a" "255961b216e7f02ae7896565c6754f0a5c412c668fb059618acd43c04c48666b", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.87 [INFO] [stderr] Compiling object v0.23.0 [INFO] [stderr] Compiling smallvec v0.4.5 [INFO] [stderr] Compiling addr2line v0.14.1 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling clap v2.33.3 [INFO] [stderr] Compiling backtrace v0.3.56 [INFO] [stderr] Compiling error-chain v0.10.0 [INFO] [stderr] Compiling ferris-says v0.2.0 [INFO] [stderr] Compiling 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] = note: `Vec` is in scope, but it is a struct, not a macro [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] running `Command { std: "docker" "inspect" "255961b216e7f02ae7896565c6754f0a5c412c668fb059618acd43c04c48666b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "255961b216e7f02ae7896565c6754f0a5c412c668fb059618acd43c04c48666b", kill_on_drop: false }` [INFO] [stdout] 255961b216e7f02ae7896565c6754f0a5c412c668fb059618acd43c04c48666b