[INFO] cloning repository https://github.com/kungfucop/learnrust
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/kungfucop/learnrust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkungfucop%2Flearnrust", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkungfucop%2Flearnrust'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 32196911f8c4a6b2bca270b67a25078567b89b2e
[INFO] testing kungfucop/learnrust against 1.62.0 for beta-1.63-2
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkungfucop%2Flearnrust" "/workspace/builds/worker-0/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-0/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/kungfucop/learnrust on toolchain 1.62.0
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.62.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking git repo https://github.com/kungfucop/learnrust
[INFO] finished tweaking git repo https://github.com/kungfucop/learnrust
[INFO] tweaked toml for git repo https://github.com/kungfucop/learnrust written to /workspace/builds/worker-0/source/Cargo.toml
[INFO] crate git repo https://github.com/kungfucop/learnrust already has a lockfile, it will not be regenerated
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.62.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded smallvec v0.4.5
[INFO] [stderr]   Downloaded backtrace v0.3.26
[INFO] [stderr]   Downloaded ferris-says v0.1.1
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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:5873ed620acfc3295992aedd9294443d62a478a48ba243bc5e6c4f5abaffa05f" "/opt/rustwide/cargo-home/bin/cargo" "+1.62.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] b31beebd61f0af848b1fe75647781b63f2f992929062b3e5823108ad41541b71
[INFO] running `Command { std: "docker" "start" "-a" "b31beebd61f0af848b1fe75647781b63f2f992929062b3e5823108ad41541b71", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "b31beebd61f0af848b1fe75647781b63f2f992929062b3e5823108ad41541b71", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "b31beebd61f0af848b1fe75647781b63f2f992929062b3e5823108ad41541b71", kill_on_drop: false }`
[INFO] [stdout] b31beebd61f0af848b1fe75647781b63f2f992929062b3e5823108ad41541b71
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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:5873ed620acfc3295992aedd9294443d62a478a48ba243bc5e6c4f5abaffa05f" "/opt/rustwide/cargo-home/bin/cargo" "+1.62.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] f08434e444fe86fac8a2fe4da0ad5da4c0ede5fce554a14ee4a0107244a5cb13
[INFO] running `Command { std: "docker" "start" "-a" "f08434e444fe86fac8a2fe4da0ad5da4c0ede5fce554a14ee4a0107244a5cb13", kill_on_drop: false }`
[INFO] [stderr]    Compiling libc v0.2.55
[INFO] [stderr]    Compiling cc v1.0.37
[INFO] [stderr]    Compiling autocfg v0.1.4
[INFO] [stderr]    Compiling cfg-if v0.1.9
[INFO] [stderr]    Compiling unicode-width v0.1.5
[INFO] [stderr]    Compiling rustc-demangle v0.1.14
[INFO] [stderr]    Compiling ansi_term v0.11.0
[INFO] [stderr]    Compiling vec_map v0.8.1
[INFO] [stderr]    Compiling bitflags v1.0.4
[INFO] [stderr]    Compiling strsim v0.8.0
[INFO] [stderr]    Compiling smallvec v0.4.5
[INFO] [stderr]    Compiling textwrap v0.11.0
[INFO] [stderr]    Compiling backtrace v0.3.26
[INFO] [stderr]    Compiling backtrace-sys v0.1.28
[INFO] [stderr]    Compiling atty v0.2.11
[INFO] [stderr]    Compiling clap v2.33.0
[INFO] [stderr]    Compiling error-chain v0.10.0
[INFO] [stderr]    Compiling ferris-says v0.1.1
[INFO] [stderr]    Compiling Rust v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] error[E0583]: file not found for module `LearnErrorHandling`
[INFO] [stdout]  --> src/main.rs:8:1
[INFO] [stdout]   |
[INFO] [stdout] 8 | mod LearnErrorHandling;
[INFO] [stdout]   | ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = help: to create the module `LearnErrorHandling`, create file "src/LearnErrorHandling.rs" or "src/LearnErrorHandling/mod.rs"
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `core::fmt::Alignment::Left`
[INFO] [stdout]  --> src/main.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use core::fmt::Alignment::Left;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around method argument
[INFO] [stdout]   --> src/LearnIterator.rs:45:32
[INFO] [stdout]    |
[INFO] [stdout] 45 |     let result = v.iter().find((|idx| { *idx % 2 == 0 }));
[INFO] [stdout]    |                                ^                       ^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_parens)]` on by default
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]    |
[INFO] [stdout] 45 -     let result = v.iter().find((|idx| { *idx % 2 == 0 }));
[INFO] [stdout] 45 +     let result = v.iter().find(|idx| { *idx % 2 == 0 });
[INFO] [stdout]    | 
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::string::ToString`
[INFO] [stdout]  --> src/LearnTrait.rs:6:5
[INFO] [stdout]   |
[INFO] [stdout] 6 | use std::string::ToString;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around function argument
[INFO] [stdout]   --> src/LearnTrait.rs:60:27
[INFO] [stdout]    |
[INFO] [stdout] 60 |     traitReferenceSummary((student))
[INFO] [stdout]    |                           ^       ^
[INFO] [stdout]    |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]    |
[INFO] [stdout] 60 -     traitReferenceSummary((student))
[INFO] [stdout] 60 +     traitReferenceSummary(student)
[INFO] [stdout]    | 
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]    --> src/LearnTrait.rs:115:17
[INFO] [stdout]     |
[INFO] [stdout] 115 | fn foo() -> Box<Fn(i32) -> i32> {
[INFO] [stdout]     |                 ^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(bare_trait_objects)]` on by default
[INFO] [stdout]     = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021!
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: use `dyn`
[INFO] [stdout]     |
[INFO] [stdout] 115 - fn foo() -> Box<Fn(i32) -> i32> {
[INFO] [stdout] 115 + fn foo() -> Box<dyn Fn(i32) -> i32> {
[INFO] [stdout]     | 
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/Closure.rs:48:37
[INFO] [stdout]    |
[INFO] [stdout] 48 |     fn call_with_one(some_closure: &Fn(i32) -> i32) -> i32 {
[INFO] [stdout]    |                                     ^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 48 -     fn call_with_one(some_closure: &Fn(i32) -> i32) -> i32 {
[INFO] [stdout] 48 +     fn call_with_one(some_closure: &dyn Fn(i32) -> i32) -> i32 {
[INFO] [stdout]    | 
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/Closure.rs:62:32
[INFO] [stdout]    |
[INFO] [stdout] 62 |     fn callClousure(clousure: &Fn(i32) -> i32) -> i32 {
[INFO] [stdout]    |                                ^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 62 -     fn callClousure(clousure: &Fn(i32) -> i32) -> i32 {
[INFO] [stdout] 62 +     fn callClousure(clousure: &dyn Fn(i32) -> i32) -> i32 {
[INFO] [stdout]    | 
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/Closure.rs:72:25
[INFO] [stdout]    |
[INFO] [stdout] 72 |     fn factory() -> Box<Fn(i32) -> i32> {
[INFO] [stdout]    |                         ^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 72 -     fn factory() -> Box<Fn(i32) -> i32> {
[INFO] [stdout] 72 +     fn factory() -> Box<dyn Fn(i32) -> i32> {
[INFO] [stdout]    | 
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to previous error; 8 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0583`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `Rust` due to 2 previous errors; 8 warnings emitted
[INFO] running `Command { std: "docker" "inspect" "f08434e444fe86fac8a2fe4da0ad5da4c0ede5fce554a14ee4a0107244a5cb13", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "f08434e444fe86fac8a2fe4da0ad5da4c0ede5fce554a14ee4a0107244a5cb13", kill_on_drop: false }`
[INFO] [stdout] f08434e444fe86fac8a2fe4da0ad5da4c0ede5fce554a14ee4a0107244a5cb13
