[INFO] cloning repository https://github.com/krollchristensen/svarPaaOpgsaver [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/krollchristensen/svarPaaOpgsaver" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkrollchristensen%2FsvarPaaOpgsaver", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkrollchristensen%2FsvarPaaOpgsaver'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] e3d3ce7064466533ec07d8b21151b1c26fb9e5ef [INFO] checking krollchristensen/svarPaaOpgsaver against try#5fee451ebd94296ea05214e819c311e164b30af6 for pr-139042 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkrollchristensen%2FsvarPaaOpgsaver" "/workspace/builds/worker-2-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/krollchristensen/svarPaaOpgsaver on toolchain 5fee451ebd94296ea05214e819c311e164b30af6 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+5fee451ebd94296ea05214e819c311e164b30af6" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/krollchristensen/svarPaaOpgsaver [INFO] finished tweaking git repo https://github.com/krollchristensen/svarPaaOpgsaver [INFO] tweaked toml for git repo https://github.com/krollchristensen/svarPaaOpgsaver written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/krollchristensen/svarPaaOpgsaver 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" "+5fee451ebd94296ea05214e819c311e164b30af6" "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-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:4b26683ee3c49f365255c425c23003cbf4366de097804722c29c5bbbee3624d2" "/opt/rustwide/cargo-home/bin/cargo" "+5fee451ebd94296ea05214e819c311e164b30af6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 27d090ad3f5c3a2e91916eba9b69f114c6190ba5542db14b04c9ad8ad05b9213 [INFO] running `Command { std: "docker" "start" "-a" "27d090ad3f5c3a2e91916eba9b69f114c6190ba5542db14b04c9ad8ad05b9213", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "27d090ad3f5c3a2e91916eba9b69f114c6190ba5542db14b04c9ad8ad05b9213", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "27d090ad3f5c3a2e91916eba9b69f114c6190ba5542db14b04c9ad8ad05b9213", kill_on_drop: false }` [INFO] [stdout] 27d090ad3f5c3a2e91916eba9b69f114c6190ba5542db14b04c9ad8ad05b9213 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:4b26683ee3c49f365255c425c23003cbf4366de097804722c29c5bbbee3624d2" "/opt/rustwide/cargo-home/bin/cargo" "+5fee451ebd94296ea05214e819c311e164b30af6" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d10cff163f0a71cece3377d15fd6a2ce4a34e4cdcbd619af8a5d95bc580b2c10 [INFO] running `Command { std: "docker" "start" "-a" "d10cff163f0a71cece3377d15fd6a2ce4a34e4cdcbd619af8a5d95bc580b2c10", kill_on_drop: false }` [INFO] [stderr] Checking svarPaaOpgsaver v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0428]: the name `main` is defined multiple times [INFO] [stdout] --> src/main.rs:37:1 [INFO] [stdout] | [INFO] [stdout] 6 | fn main() { [INFO] [stdout] | --------- previous definition of the value `main` here [INFO] [stdout] ... [INFO] [stdout] 37 | 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:37:1 [INFO] [stdout] | [INFO] [stdout] 6 | fn main() { [INFO] [stdout] | --------- previous definition of the value `main` here [INFO] [stdout] ... [INFO] [stdout] 37 | 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:66:1 [INFO] [stdout] | [INFO] [stdout] 6 | fn main() { [INFO] [stdout] | --------- previous definition of the value `main` here [INFO] [stdout] ... [INFO] [stdout] 66 | 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:85:1 [INFO] [stdout] | [INFO] [stdout] 6 | fn main() { [INFO] [stdout] | --------- previous definition of the value `main` here [INFO] [stdout] ... [INFO] [stdout] 85 | 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:66:1 [INFO] [stdout] | [INFO] [stdout] 6 | fn main() { [INFO] [stdout] | --------- previous definition of the value `main` here [INFO] [stdout] ... [INFO] [stdout] 66 | 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:85:1 [INFO] [stdout] | [INFO] [stdout] 6 | fn main() { [INFO] [stdout] | --------- previous definition of the value `main` here [INFO] [stdout] ... [INFO] [stdout] 85 | 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[E0252]: the name `io` is defined multiple times [INFO] [stdout] --> src/main.rs:35:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::io; [INFO] [stdout] | ------- previous import of the module `io` here [INFO] [stdout] ... [INFO] [stdout] 35 | use std::io; [INFO] [stdout] | ^^^^^^^ `io` reimported here [INFO] [stdout] | [INFO] [stdout] = note: `io` must be defined only once in the type namespace of this module [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0252]: the name `io` is defined multiple times [INFO] [stdout] --> src/main.rs:35:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::io; [INFO] [stdout] | ------- previous import of the module `io` here [INFO] [stdout] ... [INFO] [stdout] 35 | use std::io; [INFO] [stdout] | ^^^^^^^ `io` reimported here [INFO] [stdout] | [INFO] [stdout] = note: `io` must be defined only once in the type namespace of this module [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0252]: the name `io` is defined multiple times [INFO] [stdout] --> src/main.rs:83:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::io; [INFO] [stdout] | ------- previous import of the module `io` here [INFO] [stdout] ... [INFO] [stdout] 83 | use std::io; [INFO] [stdout] | ^^^^^^^ `io` reimported here [INFO] [stdout] | [INFO] [stdout] = note: `io` must be defined only once in the type namespace of this module [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0252]: the name `io` is defined multiple times [INFO] [stdout] --> src/main.rs:83:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::io; [INFO] [stdout] | ------- previous import of the module `io` here [INFO] [stdout] ... [INFO] [stdout] 83 | use std::io; [INFO] [stdout] | ^^^^^^^ `io` reimported here [INFO] [stdout] | [INFO] [stdout] = note: `io` must be defined only once in the type namespace of this module [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `rand` [INFO] [stdout] --> src/main.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use rand::Rng; // Til at generere tilfældige tal [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `rand` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `rand`, use `cargo add rand` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `rand` [INFO] [stdout] --> src/main.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use rand::Rng; // Til at generere tilfældige tal [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `rand` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `rand`, use `cargo add rand` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::io` [INFO] [stdout] --> src/main.rs:35:5 [INFO] [stdout] | [INFO] [stdout] 35 | use std::io; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::io` [INFO] [stdout] --> src/main.rs:83:5 [INFO] [stdout] | [INFO] [stdout] 83 | use std::io; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::io` [INFO] [stdout] --> src/main.rs:35:5 [INFO] [stdout] | [INFO] [stdout] 35 | use std::io; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::io` [INFO] [stdout] --> src/main.rs:83:5 [INFO] [stdout] | [INFO] [stdout] 83 | use std::io; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `rand` [INFO] [stdout] --> src/main.rs:15:19 [INFO] [stdout] | [INFO] [stdout] 15 | let mut rng = rand::thread_rng(); [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `rand` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `rand`, use `cargo add rand` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `rand` [INFO] [stdout] --> src/main.rs:15:19 [INFO] [stdout] | [INFO] [stdout] 15 | let mut rng = rand::thread_rng(); [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `rand` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `rand`, use `cargo add rand` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0252, E0428, E0432, E0433. [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0252, E0428, E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0252`. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0252`. [INFO] [stdout] [INFO] [stderr] error: could not compile `svarPaaOpgsaver` (bin "svarPaaOpgsaver" test) due to 7 previous errors; 2 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `svarPaaOpgsaver` (bin "svarPaaOpgsaver") due to 7 previous errors; 2 warnings emitted [INFO] running `Command { std: "docker" "inspect" "d10cff163f0a71cece3377d15fd6a2ce4a34e4cdcbd619af8a5d95bc580b2c10", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d10cff163f0a71cece3377d15fd6a2ce4a34e4cdcbd619af8a5d95bc580b2c10", kill_on_drop: false }` [INFO] [stdout] d10cff163f0a71cece3377d15fd6a2ce4a34e4cdcbd619af8a5d95bc580b2c10