[INFO] updating cached repository https://github.com/ghotiphud/rust-intro
[INFO] running `"git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "-c" "remote.origin.fetch=refs/heads/*:refs/heads/*" "fetch" "origin" "--force" "--prune"`
[INFO] running `"git" "rev-parse" "HEAD"`
[INFO] [stdout] c72640c3eb4a803d29bd3eb29798bcb85e9b4054
[INFO] testing ghotiphud/rust-intro against 1.40.0 for beta-1.41-1
[INFO] running `"git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fghotiphud%2Frust-intro" "/workspace/builds/worker-7/source"`
[INFO] [stderr] Cloning into '/workspace/builds/worker-7/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/ghotiphud/rust-intro on toolchain 1.40.0
[INFO] running `"/workspace/cargo-home/bin/cargo" "+1.40.0" "read-manifest" "--manifest-path" "Cargo.toml"`
[INFO] started tweaking git repo https://github.com/ghotiphud/rust-intro
[INFO] finished tweaking git repo https://github.com/ghotiphud/rust-intro
[INFO] tweaked toml for git repo https://github.com/ghotiphud/rust-intro written to /workspace/builds/worker-7/source/Cargo.toml
[INFO] crate git repo https://github.com/ghotiphud/rust-intro already has a lockfile, it will not be regenerated
[INFO] running `"/workspace/cargo-home/bin/cargo" "+1.40.0" "fetch" "--locked" "--manifest-path" "Cargo.toml"`
[INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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" "MAP_USER_ID=0" "-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" "--network" "none" "rustops/crates-build-env" "/opt/rustwide/cargo-home/bin/cargo" "+1.40.0" "build" "--frozen"`
[INFO] [stdout] 69f0ff07c8dcd5363c6d60c4a307405c66c4e17fddaa6cce4c2eaad38f6d2120
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] running `"docker" "start" "-a" "69f0ff07c8dcd5363c6d60c4a307405c66c4e17fddaa6cce4c2eaad38f6d2120"`
[INFO] [stderr]    Compiling rust_intro v0.1.0 (/opt/rustwide/workdir)
[INFO] [stderr] warning: unused variable: `y`
[INFO] [stderr]  --> src/safety.rs:3:9
[INFO] [stderr]   |
[INFO] [stderr] 3 |     let y = &x[0]; //Borrow(Reference) the first element of x
[INFO] [stderr]   |         ^ help: consider prefixing with an underscore: `_y`
[INFO] [stderr]   |
[INFO] [stderr]   = note: `#[warn(unused_variables)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: variable does not need to be mutable
[INFO] [stderr]  --> src/safety.rs:2:9
[INFO] [stderr]   |
[INFO] [stderr] 2 |     let mut x = vec![10, 20]; //Create vec owned by x
[INFO] [stderr]   |         ----^
[INFO] [stderr]   |         |
[INFO] [stderr]   |         help: remove this `mut`
[INFO] [stderr]   |
[INFO] [stderr]   = note: `#[warn(unused_mut)]` on by default
[INFO] [stderr] 
[INFO] [stderr] error[E0554]: `#![feature]` may not be used on the stable release channel
[INFO] [stderr]  --> src/types.rs:1:1
[INFO] [stderr]   |
[INFO] [stderr] 1 | #![feature(core_intrinsics)]
[INFO] [stderr]   | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] error: aborting due to previous error
[INFO] [stderr] 
[INFO] [stderr] warning: unused return value of `std::iter::Iterator::collect` that must be used
[INFO] [stderr]    --> src/concurrent.rs:140:5
[INFO] [stderr]     |
[INFO] [stderr] 140 |     handles.into_iter().map(|h| h.join().unwrap()).collect::<Vec<_>>();
[INFO] [stderr]     |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr]     |
[INFO] [stderr]     = note: `#[warn(unused_must_use)]` on by default
[INFO] [stderr]     = note: if you really need to exhaust the iterator, consider `.for_each(drop)` instead
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `y`
[INFO] [stderr]  --> src/main.rs:5:9
[INFO] [stderr]   |
[INFO] [stderr] 5 |     let y = &x[0]; //Borrow(Reference) the first element of x
[INFO] [stderr]   |         ^ help: consider prefixing with an underscore: `_y`
[INFO] [stderr]   |
[INFO] [stderr]   = note: `#[warn(unused_variables)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: function is never used: `iterator`
[INFO] [stderr]  --> src/main.rs:9:1
[INFO] [stderr]   |
[INFO] [stderr] 9 | fn iterator() {
[INFO] [stderr]   | ^^^^^^^^^^^^^
[INFO] [stderr]   |
[INFO] [stderr]   = note: `#[warn(dead_code)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: function is never used: `sum_pos`
[INFO] [stderr]   --> src/main.rs:16:1
[INFO] [stderr]    |
[INFO] [stderr] 16 | fn sum_pos(v: &Vec<i32>) -> i32 {
[INFO] [stderr]    | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] For more information about this error, try `rustc --explain E0554`.
[INFO] [stderr] error: could not compile `rust_intro`.
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stderr] error: build failed
[INFO] running `"docker" "inspect" "69f0ff07c8dcd5363c6d60c4a307405c66c4e17fddaa6cce4c2eaad38f6d2120"`
[INFO] running `"docker" "rm" "-f" "69f0ff07c8dcd5363c6d60c4a307405c66c4e17fddaa6cce4c2eaad38f6d2120"`
[INFO] [stdout] 69f0ff07c8dcd5363c6d60c4a307405c66c4e17fddaa6cce4c2eaad38f6d2120
