[INFO] cloning repository https://github.com/MubarakOke/rustify [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/MubarakOke/rustify" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMubarakOke%2Frustify", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMubarakOke%2Frustify'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] be5e5f5917912353dd9f83cd404c20085bf8c566 [INFO] testing MubarakOke/rustify against master#d7bd9cd469ff6871420007f091ef52fc32d2ca99 for pr-121417 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMubarakOke%2Frustify" "/workspace/builds/worker-0-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/MubarakOke/rustify on toolchain d7bd9cd469ff6871420007f091ef52fc32d2ca99 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+d7bd9cd469ff6871420007f091ef52fc32d2ca99" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/MubarakOke/rustify [INFO] finished tweaking git repo https://github.com/MubarakOke/rustify [INFO] tweaked toml for git repo https://github.com/MubarakOke/rustify written to /workspace/builds/worker-0-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/MubarakOke/rustify 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" "+d7bd9cd469ff6871420007f091ef52fc32d2ca99" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [ERROR] error running command: no output for 300 seconds [ERROR] this task or one of its parent failed! [ERROR] no output for 300 seconds [ERROR] note: run with `RUST_BACKTRACE=1` to display a backtrace. [INFO] testing MubarakOke/rustify against try#393ef12c970fbc7f294cd96c35cb76f9591bc1d6 for pr-121417 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMubarakOke%2Frustify" "/workspace/builds/worker-0-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/MubarakOke/rustify on toolchain 393ef12c970fbc7f294cd96c35cb76f9591bc1d6 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+393ef12c970fbc7f294cd96c35cb76f9591bc1d6" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/MubarakOke/rustify [INFO] finished tweaking git repo https://github.com/MubarakOke/rustify [INFO] tweaked toml for git repo https://github.com/MubarakOke/rustify written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/MubarakOke/rustify 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" "+393ef12c970fbc7f294cd96c35cb76f9591bc1d6" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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" "+393ef12c970fbc7f294cd96c35cb76f9591bc1d6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 81098f7c81a0cb32c0322168941f0764b38337a1e494e90602cba232dfe3ef3b [INFO] running `Command { std: "docker" "start" "-a" "81098f7c81a0cb32c0322168941f0764b38337a1e494e90602cba232dfe3ef3b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "81098f7c81a0cb32c0322168941f0764b38337a1e494e90602cba232dfe3ef3b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "81098f7c81a0cb32c0322168941f0764b38337a1e494e90602cba232dfe3ef3b", kill_on_drop: false }` [INFO] [stdout] 81098f7c81a0cb32c0322168941f0764b38337a1e494e90602cba232dfe3ef3b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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" "+393ef12c970fbc7f294cd96c35cb76f9591bc1d6" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f4e66fdd6eacee150531fbfd52f0d9dfe4389e3160ada4767c3c1717d66eaa46 [INFO] running `Command { std: "docker" "start" "-a" "f4e66fdd6eacee150531fbfd52f0d9dfe4389e3160ada4767c3c1717d66eaa46", kill_on_drop: false }` [INFO] [stderr] Compiling proj_1 v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error: expected `;`, found keyword `let` [INFO] [stdout] --> src/main.rs:180:80 [INFO] [stdout] | [INFO] [stdout] 180 | file.write_all("\thiii and helllo \n".as_bytes()).expect("unable to write") [INFO] [stdout] | ^ help: add `;` here [INFO] [stdout] 181 | let mut file= File::open("./src/check.txt").unwrap(); [INFO] [stdout] | --- unexpected token [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected expression, found `let` statement [INFO] [stdout] --> src/main.rs:242:4 [INFO] [stdout] | [INFO] [stdout] 242 | let my_result1= cube(is_even, 4); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: only supported directly in conditions of `if` and `while` expressions [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected expression, found `let` statement [INFO] [stdout] --> src/main.rs:248:4 [INFO] [stdout] | [INFO] [stdout] 248 | let my_close= |x| {x}; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: only supported directly in conditions of `if` and `while` expressions [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected pattern, found `-` [INFO] [stdout] --> src/main.rs:251:37 [INFO] [stdout] | [INFO] [stdout] 251 | -----------------------------for----------------------------- [INFO] [stdout] | ^ expected pattern [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0428]: the name `check_num` is defined multiple times [INFO] [stdout] --> src/main.rs:314:1 [INFO] [stdout] | [INFO] [stdout] 310 | fn check_num(val: [i32;T]){ [INFO] [stdout] | ------------------------------------------ previous definition of the value `check_num` here [INFO] [stdout] ... [INFO] [stdout] 314 | fn check_num(val: [i32;4]){ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ `check_num` redefined here [INFO] [stdout] | [INFO] [stdout] = note: `check_num` must be defined only once in the value namespace of this module [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0428]: the name `check_num` is defined multiple times [INFO] [stdout] --> src/main.rs:325:1 [INFO] [stdout] | [INFO] [stdout] 310 | fn check_num(val: [i32;T]){ [INFO] [stdout] | ------------------------------------------ previous definition of the value `check_num` here [INFO] [stdout] ... [INFO] [stdout] 325 | fn check_num(val: &[i32; N]){ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `check_num` redefined here [INFO] [stdout] | [INFO] [stdout] = note: `check_num` must be defined only once in the value namespace of this module [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0428]: the name `check_num` is defined multiple times [INFO] [stdout] --> src/main.rs:332:1 [INFO] [stdout] | [INFO] [stdout] 310 | fn check_num(val: [i32;T]){ [INFO] [stdout] | ------------------------------------------ previous definition of the value `check_num` here [INFO] [stdout] ... [INFO] [stdout] 332 | fn check_num(val: Vec){ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ `check_num` redefined here [INFO] [stdout] | [INFO] [stdout] = note: `check_num` 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:14:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::io; [INFO] [stdout] | ------- previous import of the module `io` here [INFO] [stdout] ... [INFO] [stdout] 14 | 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[E0425]: cannot find value `macros` in this scope [INFO] [stdout] --> src/main.rs:231:27 [INFO] [stdout] | [INFO] [stdout] 231 | -----------------------macros-------------------------- [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `hof` in this scope [INFO] [stdout] --> src/main.rs:241:31 [INFO] [stdout] | [INFO] [stdout] 241 | ---------------------------hof--------------------------- [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `closures` in this scope [INFO] [stdout] --> src/main.rs:247:31 [INFO] [stdout] | [INFO] [stdout] 247 | ---------------------------closures----------------------------- [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::res::hel::hi::say_name` [INFO] [stdout] --> src/main.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::res::hel::hi::say_name; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::Food::Red` [INFO] [stdout] --> src/main.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use crate::Food::Red; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::io` [INFO] [stdout] --> src/main.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | use std::io; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `dyn Che` doesn't implement `Debug` [INFO] [stdout] --> src/main.rs:204:21 [INFO] [stdout] | [INFO] [stdout] 204 | println!("{:?}", get_youth(youth)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ `dyn Che` cannot be formatted using `{:?}` because it doesn't implement `Debug` [INFO] [stdout] | [INFO] [stdout] = help: the trait `Debug` is not implemented for `dyn Che`, which is required by `Box: Debug` [INFO] [stdout] = help: the following other types implement trait `Debug`: [INFO] [stdout] (dyn Any + 'static) [INFO] [stdout] (dyn Any + Send + 'static) [INFO] [stdout] (dyn Any + Send + Sync + 'static) [INFO] [stdout] = note: this error originates in the macro `$crate::format_args_nl` which comes from the expansion of the macro `println` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0034]: multiple applicable items in scope [INFO] [stdout] --> src/main.rs:207:10 [INFO] [stdout] | [INFO] [stdout] 207 | youth.talk(); [INFO] [stdout] | ^^^^ multiple `talk` found [INFO] [stdout] | [INFO] [stdout] note: candidate #1 is defined in an impl of the trait `Human` for the type `Youth` [INFO] [stdout] --> src/main.rs:136:4 [INFO] [stdout] | [INFO] [stdout] 136 | fn talk(&self) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] note: candidate #2 is defined in an impl of the trait `Che` for the type `Youth` [INFO] [stdout] --> src/main.rs:154:4 [INFO] [stdout] | [INFO] [stdout] 154 | fn talk(&self) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] help: disambiguate the method for candidate #1 [INFO] [stdout] | [INFO] [stdout] 207 | Human::talk(&youth); [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] help: disambiguate the method for candidate #2 [INFO] [stdout] | [INFO] [stdout] 207 | Che::talk(&youth); [INFO] [stdout] | ~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0034]: multiple applicable items in scope [INFO] [stdout] --> src/main.rs:208:10 [INFO] [stdout] | [INFO] [stdout] 208 | youth.sing(); [INFO] [stdout] | ^^^^ multiple `sing` found [INFO] [stdout] | [INFO] [stdout] note: candidate #1 is defined in an impl of the trait `Human` for the type `Youth` [INFO] [stdout] --> src/main.rs:144:4 [INFO] [stdout] | [INFO] [stdout] 144 | fn sing(&self) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] note: candidate #2 is defined in an impl of the trait `Che` for the type `Youth` [INFO] [stdout] --> src/main.rs:91:4 [INFO] [stdout] | [INFO] [stdout] 91 | fn sing(&self){ [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] help: disambiguate the method for candidate #1 [INFO] [stdout] | [INFO] [stdout] 208 | Human::sing(&youth); [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] help: disambiguate the method for candidate #2 [INFO] [stdout] | [INFO] [stdout] 208 | Che::sing(&youth); [INFO] [stdout] | ~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0034]: multiple applicable items in scope [INFO] [stdout] --> src/main.rs:210:9 [INFO] [stdout] | [INFO] [stdout] 210 | baby.talk(); [INFO] [stdout] | ^^^^ multiple `talk` found [INFO] [stdout] | [INFO] [stdout] note: candidate #1 is defined in an impl of the trait `Human` for the type `Baby` [INFO] [stdout] --> src/main.rs:111:4 [INFO] [stdout] | [INFO] [stdout] 111 | fn talk(&self) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] note: candidate #2 is defined in an impl of the trait `Che` for the type `Baby` [INFO] [stdout] --> src/main.rs:116:4 [INFO] [stdout] | [INFO] [stdout] 116 | fn talk(&self) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] help: disambiguate the method for candidate #1 [INFO] [stdout] | [INFO] [stdout] 210 | Human::talk(&baby); [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~ [INFO] [stdout] help: disambiguate the method for candidate #2 [INFO] [stdout] | [INFO] [stdout] 210 | Che::talk(&baby); [INFO] [stdout] | ~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0034]: multiple applicable items in scope [INFO] [stdout] --> src/main.rs:211:9 [INFO] [stdout] | [INFO] [stdout] 211 | baby.sing(); [INFO] [stdout] | ^^^^ multiple `sing` found [INFO] [stdout] | [INFO] [stdout] note: candidate #1 is defined in an impl of the trait `Human` for the type `Baby` [INFO] [stdout] --> src/main.rs:77:4 [INFO] [stdout] | [INFO] [stdout] 77 | fn sing(&self){ [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] note: candidate #2 is defined in an impl of the trait `Che` for the type `Baby` [INFO] [stdout] --> src/main.rs:91:4 [INFO] [stdout] | [INFO] [stdout] 91 | fn sing(&self){ [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] help: disambiguate the method for candidate #1 [INFO] [stdout] | [INFO] [stdout] 211 | Human::sing(&baby); [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~ [INFO] [stdout] help: disambiguate the method for candidate #2 [INFO] [stdout] | [INFO] [stdout] 211 | Che::sing(&baby); [INFO] [stdout] | ~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0600]: cannot apply unary operator `-` to type `()` [INFO] [stdout] --> src/main.rs:231:58 [INFO] [stdout] | [INFO] [stdout] 231 | -----------------------macros-------------------------- [INFO] [stdout] | __________________________________________________________^ [INFO] [stdout] 232 | | my_macro!(); [INFO] [stdout] | |______________^ cannot apply unary operator `-` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 17 previous errors; 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0034, E0252, E0277, E0425, E0428, E0600. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0034`. [INFO] [stdout] [INFO] [stderr] error: could not compile `proj_1` (bin "proj_1") due to 18 previous errors; 3 warnings emitted [INFO] running `Command { std: "docker" "inspect" "f4e66fdd6eacee150531fbfd52f0d9dfe4389e3160ada4767c3c1717d66eaa46", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f4e66fdd6eacee150531fbfd52f0d9dfe4389e3160ada4767c3c1717d66eaa46", kill_on_drop: false }` [INFO] [stdout] f4e66fdd6eacee150531fbfd52f0d9dfe4389e3160ada4767c3c1717d66eaa46