[INFO] cloning repository https://github.com/nusic1/crash-course
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/nusic1/crash-course" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnusic1%2Fcrash-course", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnusic1%2Fcrash-course'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] d20c05f784ec6cf57e6e838981cb6d1f3612a9dd
[INFO] testing nusic1/crash-course against master#c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38 for pr-146098-7
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnusic1%2Fcrash-course" "/workspace/builds/worker-2-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc1/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/nusic1/crash-course
[INFO] finished tweaking git repo https://github.com/nusic1/crash-course
[INFO] tweaked toml for git repo https://github.com/nusic1/crash-course written to /workspace/builds/worker-2-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/nusic1/crash-course on toolchain c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/nusic1/crash-course already has a lockfile, it will not be regenerated
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "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-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] b1bb454d8280b337f1eb2c5574c7718f1e5bdf991763964b9d45c932c7ec7c31
[INFO] running `Command { std: "docker" "start" "-a" "b1bb454d8280b337f1eb2c5574c7718f1e5bdf991763964b9d45c932c7ec7c31", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "b1bb454d8280b337f1eb2c5574c7718f1e5bdf991763964b9d45c932c7ec7c31", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "b1bb454d8280b337f1eb2c5574c7718f1e5bdf991763964b9d45c932c7ec7c31", kill_on_drop: false }`
[INFO] [stdout] b1bb454d8280b337f1eb2c5574c7718f1e5bdf991763964b9d45c932c7ec7c31
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/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" "RUSTDOCFLAGS=--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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] e9256cf1f9de4021b73c6871af485d10a89fa0c5e5305f86de12f12eeacc5b11
[INFO] running `Command { std: "docker" "start" "-a" "e9256cf1f9de4021b73c6871af485d10a89fa0c5e5305f86de12f12eeacc5b11", kill_on_drop: false }`
[INFO] [stderr]    Compiling crash-course v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] error: an inner attribute is not permitted in this context
[INFO] [stdout]   --> src/main.rs:38:1
[INFO] [stdout]    |
[INFO] [stdout] 38 |   #![allow(unused_variables)]
[INFO] [stdout]    |   ^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 39 |
[INFO] [stdout] 40 | / fn main() {
[INFO] [stdout] 41 | |     let width = 4;
[INFO] [stdout] 42 | |     let height = 7;
[INFO] [stdout] 43 | |     let depth = 10;
[INFO] [stdout] ...  |
[INFO] [stdout] 63 | |     println!("Volume is {}", volume(width, height, depth));
[INFO] [stdout] 64 | | }
[INFO] [stdout]    | |_- the inner attribute doesn't annotate this function
[INFO] [stdout]    |
[INFO] [stdout]    = note: inner attributes, like `#![no_std]`, annotate the item enclosing them, and are usually found at the beginning of source files
[INFO] [stdout] help: to annotate the function, change the attribute from inner to outer style
[INFO] [stdout]    |
[INFO] [stdout] 38 - #![allow(unused_variables)]
[INFO] [stdout] 38 + #[allow(unused_variables)]
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: an inner attribute is not permitted in this context
[INFO] [stdout]   --> src/main.rs:84:1
[INFO] [stdout]    |
[INFO] [stdout] 84 | #![allow(dead_code, unused_variables)]
[INFO] [stdout]    | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 85 | use ding_machine::{on_off, print_difference, print_array, ding, print_distance};
[INFO] [stdout]    | -------------------------------------------------------------------------------- the inner attribute doesn't annotate this `use` import
[INFO] [stdout]    |
[INFO] [stdout]    = note: inner attributes, like `#![no_std]`, annotate the item enclosing them, and are usually found at the beginning of source files
[INFO] [stdout] help: to annotate the `use` import, change the attribute from inner to outer style
[INFO] [stdout]    |
[INFO] [stdout] 84 - #![allow(dead_code, unused_variables)]
[INFO] [stdout] 84 + #[allow(dead_code, unused_variables)]
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: an inner attribute is not permitted in this context
[INFO] [stdout]    --> src/main.rs:140:1
[INFO] [stdout]     |
[INFO] [stdout] 140 |   #![allow(dead_code, unused_mut, unused_variables)]
[INFO] [stdout]     |   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 141 |
[INFO] [stdout] 142 | / fn main() {
[INFO] [stdout] ...   |
[INFO] [stdout] 174 | | }
[INFO] [stdout]     | |_- the inner attribute doesn't annotate this function
[INFO] [stdout]     |
[INFO] [stdout]     = note: inner attributes, like `#![no_std]`, annotate the item enclosing them, and are usually found at the beginning of source files
[INFO] [stdout] help: to annotate the function, change the attribute from inner to outer style
[INFO] [stdout]     |
[INFO] [stdout] 140 - #![allow(dead_code, unused_mut, unused_variables)]
[INFO] [stdout] 140 + #[allow(dead_code, unused_mut, unused_variables)]
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: an inner attribute is not permitted in this context
[INFO] [stdout]    --> src/main.rs:222:1
[INFO] [stdout]     |
[INFO] [stdout] 222 |   #![allow(unused_mut)]
[INFO] [stdout]     |   ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 223 |
[INFO] [stdout] 224 | / fn main() {
[INFO] [stdout] 225 | |     // This fancy stuff either gets the first argument as a String, or prints
[INFO] [stdout] 226 | |     // usage and exits if an argument was not supplied to the program.
[INFO] [stdout] 227 | |     let mut arg: String = std::env::args().nth(1).unwrap_or_else(|| {
[INFO] [stdout] ...   |
[INFO] [stdout] 278 | |     println!("1 + 2 = {}, even via references", add(&1, &2));
[INFO] [stdout] 279 | | }
[INFO] [stdout]     | |_- the inner attribute doesn't annotate this function
[INFO] [stdout]     |
[INFO] [stdout]     = note: inner attributes, like `#![no_std]`, annotate the item enclosing them, and are usually found at the beginning of source files
[INFO] [stdout] help: to annotate the function, change the attribute from inner to outer style
[INFO] [stdout]     |
[INFO] [stdout] 222 - #![allow(unused_mut)]
[INFO] [stdout] 222 + #[allow(unused_mut)]
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0428]: the name `main` is defined multiple times
[INFO] [stdout]   --> src/main.rs:14:1
[INFO] [stdout]    |
[INFO] [stdout]  4 | fn main() {
[INFO] [stdout]    | --------- previous definition of the value `main` here
[INFO] [stdout] ...
[INFO] [stdout] 14 | fn main() {
[INFO] [stdout]    | ^^^^^^^^^ `main` redefined here
[INFO] [stdout]    |
[INFO] [stdout]    = note: `main` must be defined only once in the value namespace of this module
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0428]: the name `STARTING_MISSILES` is defined multiple times
[INFO] [stdout]   --> src/main.rs:24:1
[INFO] [stdout]    |
[INFO] [stdout] 11 | const STARTING_MISSILES: i32 = 8;
[INFO] [stdout]    | --------------------------------- previous definition of the value `STARTING_MISSILES` here
[INFO] [stdout] ...
[INFO] [stdout] 24 | const STARTING_MISSILES: i32 = 8;
[INFO] [stdout]    | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `STARTING_MISSILES` redefined here
[INFO] [stdout]    |
[INFO] [stdout]    = note: `STARTING_MISSILES` must be defined only once in the value namespace of this module
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0428]: the name `READY_AMOUNT` is defined multiple times
[INFO] [stdout]   --> src/main.rs:25:1
[INFO] [stdout]    |
[INFO] [stdout] 12 | const READY_AMOUNT: i32 = 2;
[INFO] [stdout]    | ---------------------------- previous definition of the value `READY_AMOUNT` here
[INFO] [stdout] ...
[INFO] [stdout] 25 | const READY_AMOUNT: i32 = 2;
[INFO] [stdout]    | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `READY_AMOUNT` redefined here
[INFO] [stdout]    |
[INFO] [stdout]    = note: `READY_AMOUNT` must be defined only once in the value namespace of this module
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0428]: the name `main` is defined multiple times
[INFO] [stdout]   --> src/main.rs:27:1
[INFO] [stdout]    |
[INFO] [stdout]  4 | fn main() {
[INFO] [stdout]    | --------- previous definition of the value `main` here
[INFO] [stdout] ...
[INFO] [stdout] 27 | fn main() {
[INFO] [stdout]    | ^^^^^^^^^ `main` redefined here
[INFO] [stdout]    |
[INFO] [stdout]    = note: `main` must be defined only once in the value namespace of this module
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0428]: the name `main` is defined multiple times
[INFO] [stdout]   --> src/main.rs:40:1
[INFO] [stdout]    |
[INFO] [stdout]  4 | fn main() {
[INFO] [stdout]    | --------- previous definition of the value `main` here
[INFO] [stdout] ...
[INFO] [stdout] 40 | fn main() {
[INFO] [stdout]    | ^^^^^^^^^ `main` redefined here
[INFO] [stdout]    |
[INFO] [stdout]    = note: `main` must be defined only once in the value namespace of this module
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0428]: the name `main` is defined multiple times
[INFO] [stdout]   --> src/main.rs:87:1
[INFO] [stdout]    |
[INFO] [stdout]  4 | fn main() {
[INFO] [stdout]    | --------- previous definition of the value `main` here
[INFO] [stdout] ...
[INFO] [stdout] 87 | fn main() {
[INFO] [stdout]    | ^^^^^^^^^ `main` redefined here
[INFO] [stdout]    |
[INFO] [stdout]    = note: `main` must be defined only once in the value namespace of this module
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0428]: the name `main` is defined multiple times
[INFO] [stdout]    --> src/main.rs:142:1
[INFO] [stdout]     |
[INFO] [stdout]   4 | fn main() {
[INFO] [stdout]     | --------- previous definition of the value `main` here
[INFO] [stdout] ...
[INFO] [stdout] 142 | fn main() {
[INFO] [stdout]     | ^^^^^^^^^ `main` redefined here
[INFO] [stdout]     |
[INFO] [stdout]     = note: `main` must be defined only once in the value namespace of this module
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0428]: the name `main` is defined multiple times
[INFO] [stdout]    --> src/main.rs:224:1
[INFO] [stdout]     |
[INFO] [stdout]   4 | fn main() {
[INFO] [stdout]     | --------- previous definition of the value `main` here
[INFO] [stdout] ...
[INFO] [stdout] 224 | fn main() {
[INFO] [stdout]     | ^^^^^^^^^ `main` redefined here
[INFO] [stdout]     |
[INFO] [stdout]     = note: `main` must be defined only once in the value namespace of this module
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `ding_machine`
[INFO] [stdout]   --> src/main.rs:85:5
[INFO] [stdout]    |
[INFO] [stdout] 85 | use ding_machine::{on_off, print_difference, print_array, ding, print_distance};
[INFO] [stdout]    |     ^^^^^^^^^^^^ use of unresolved module or unlinked crate `ding_machine`
[INFO] [stdout]    |
[INFO] [stdout]    = help: if you wanted to use a crate named `ding_machine`, use `cargo add ding_machine` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `ready` in this scope
[INFO] [stdout]   --> src/main.rs:5:48
[INFO] [stdout]    |
[INFO] [stdout]  5 |     println!("Firing {} of my {} missiles...", ready, missiles);
[INFO] [stdout]    |                                                ^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this function
[INFO] [stdout]    |
[INFO] [stdout] 85 + use std::future::ready;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `missiles` in this scope
[INFO] [stdout]  --> src/main.rs:5:55
[INFO] [stdout]   |
[INFO] [stdout] 5 |     println!("Firing {} of my {} missiles...", ready, missiles);
[INFO] [stdout]   |                                                       ^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `ready`
[INFO] [stdout]   --> src/main.rs:28:24
[INFO] [stdout]    |
[INFO] [stdout] 28 |     let (mut missiles, ready): (i32, i32) = (STARTING_MISSILES, READY_AMOUNT);
[INFO] [stdout]    |                        ^^^^^ help: if this is intentional, prefix it with an underscore: `_ready`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0425, E0428, E0432.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0425`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `crash-course` (bin "crash-course") due to 15 previous errors; 1 warning emitted
[INFO] running `Command { std: "docker" "inspect" "e9256cf1f9de4021b73c6871af485d10a89fa0c5e5305f86de12f12eeacc5b11", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "e9256cf1f9de4021b73c6871af485d10a89fa0c5e5305f86de12f12eeacc5b11", kill_on_drop: false }`
[INFO] [stdout] e9256cf1f9de4021b73c6871af485d10a89fa0c5e5305f86de12f12eeacc5b11
