[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] checking nusic1/crash-course against master#af4a5a13a15fa0c60e06321077ef452f769b42fd for pr-122960-3 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnusic1%2Fcrash-course" "/workspace/builds/worker-5-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/nusic1/crash-course on toolchain af4a5a13a15fa0c60e06321077ef452f769b42fd [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [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-5-tc1/source/Cargo.toml [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" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] f06769c4b0303ec070429efe253f8dde29f8dd2b046ee09ac089576b322ca469 [INFO] running `Command { std: "docker" "start" "-a" "f06769c4b0303ec070429efe253f8dde29f8dd2b046ee09ac089576b322ca469", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f06769c4b0303ec070429efe253f8dde29f8dd2b046ee09ac089576b322ca469", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f06769c4b0303ec070429efe253f8dde29f8dd2b046ee09ac089576b322ca469", kill_on_drop: false }` [INFO] [stdout] f06769c4b0303ec070429efe253f8dde29f8dd2b046ee09ac089576b322ca469 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] aa5ae864919dde98c25d49d408f0f46ab259333f71b6b34c87e5599d49df8c3e [INFO] running `Command { std: "docker" "start" "-a" "aa5ae864919dde98c25d49d408f0f46ab259333f71b6b34c87e5599d49df8c3e", kill_on_drop: false }` [INFO] [stderr] Checking 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: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: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] 143 | | // This collects any command-line arguments into a vector of Strings. [INFO] [stdout] 144 | | // For example: [INFO] [stdout] 145 | | // [INFO] [stdout] ... | [INFO] [stdout] 173 | | } [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: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] 143 | | // This collects any command-line arguments into a vector of Strings. [INFO] [stdout] 144 | | // For example: [INFO] [stdout] 145 | | // [INFO] [stdout] ... | [INFO] [stdout] 173 | | } [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: 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 `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 `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 `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: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[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[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 undeclared crate or module `ding_machine` [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 undeclared crate or module `ding_machine` [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 one of these items [INFO] [stdout] | [INFO] [stdout] 85+ use core::future::ready; [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] 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 one of these items [INFO] [stdout] | [INFO] [stdout] 85+ use core::future::ready; [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)]` on by default [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)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 15 previous errors; 1 warning emitted [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] [stdout] error: aborting due to 15 previous errors; 1 warning emitted [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 16 previous errors; 1 warning emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `crash-course` (bin "crash-course" test) due to 16 previous errors; 1 warning emitted [INFO] running `Command { std: "docker" "inspect" "aa5ae864919dde98c25d49d408f0f46ab259333f71b6b34c87e5599d49df8c3e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "aa5ae864919dde98c25d49d408f0f46ab259333f71b6b34c87e5599d49df8c3e", kill_on_drop: false }` [INFO] [stdout] aa5ae864919dde98c25d49d408f0f46ab259333f71b6b34c87e5599d49df8c3e [INFO] checking nusic1/crash-course against try#36dbcaee1a55543dfc181be52a69d99ff46ff62f for pr-122960-3 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnusic1%2Fcrash-course" "/workspace/builds/worker-5-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/nusic1/crash-course on toolchain 36dbcaee1a55543dfc181be52a69d99ff46ff62f [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+36dbcaee1a55543dfc181be52a69d99ff46ff62f" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [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-5-tc2/source/Cargo.toml [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" "+36dbcaee1a55543dfc181be52a69d99ff46ff62f" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+36dbcaee1a55543dfc181be52a69d99ff46ff62f" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] d0c436c524ca3b7fcf22f203d716306f9e039778b17108e0f37f64c7f12f2550 [INFO] running `Command { std: "docker" "start" "-a" "d0c436c524ca3b7fcf22f203d716306f9e039778b17108e0f37f64c7f12f2550", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d0c436c524ca3b7fcf22f203d716306f9e039778b17108e0f37f64c7f12f2550", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d0c436c524ca3b7fcf22f203d716306f9e039778b17108e0f37f64c7f12f2550", kill_on_drop: false }` [INFO] [stdout] d0c436c524ca3b7fcf22f203d716306f9e039778b17108e0f37f64c7f12f2550 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+36dbcaee1a55543dfc181be52a69d99ff46ff62f" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 9c4dddafcf442d547ca903a271e5bf69e28d42bd96a15aecce5e27024dae073b [INFO] running `Command { std: "docker" "start" "-a" "9c4dddafcf442d547ca903a271e5bf69e28d42bd96a15aecce5e27024dae073b", kill_on_drop: false }` [INFO] [stderr] Copying to /tmp/fixit [INFO] [stderr] skipping non-2021 edition `2018` [INFO] running `Command { std: "docker" "inspect" "9c4dddafcf442d547ca903a271e5bf69e28d42bd96a15aecce5e27024dae073b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9c4dddafcf442d547ca903a271e5bf69e28d42bd96a15aecce5e27024dae073b", kill_on_drop: false }` [INFO] [stdout] 9c4dddafcf442d547ca903a271e5bf69e28d42bd96a15aecce5e27024dae073b