[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 beta-2022-04-10 for beta-1.61-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnusic1%2Fcrash-course" "/workspace/builds/worker-2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/nusic1/crash-course 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/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/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: "/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-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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] [stdout] 0c23fe38e1da981bca58c174f16bc1c218f48825036fc9de3f75fc8f07e056b9 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "0c23fe38e1da981bca58c174f16bc1c218f48825036fc9de3f75fc8f07e056b9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "0c23fe38e1da981bca58c174f16bc1c218f48825036fc9de3f75fc8f07e056b9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0c23fe38e1da981bca58c174f16bc1c218f48825036fc9de3f75fc8f07e056b9", kill_on_drop: false }` [INFO] [stdout] 0c23fe38e1da981bca58c174f16bc1c218f48825036fc9de3f75fc8f07e056b9 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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] [stdout] c8cf41a09a0b4e107f93927b696027d805652641f793540a285ad0e099ac416b [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "c8cf41a09a0b4e107f93927b696027d805652641f793540a285ad0e099ac416b", 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] 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[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 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: aborting due to 15 previous errors [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` due to 16 previous errors [INFO] running `Command { std: "docker" "inspect" "c8cf41a09a0b4e107f93927b696027d805652641f793540a285ad0e099ac416b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c8cf41a09a0b4e107f93927b696027d805652641f793540a285ad0e099ac416b", kill_on_drop: false }` [INFO] [stdout] c8cf41a09a0b4e107f93927b696027d805652641f793540a285ad0e099ac416b