[INFO] cloning repository https://github.com/avalokkumar/rust-programming
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/avalokkumar/rust-programming" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Favalokkumar%2Frust-programming", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Favalokkumar%2Frust-programming'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 5e01546329d0400cc2dc253750d181dbd7ec1a0d
[INFO] checking avalokkumar/rust-programming against dfbea5bc945a9d7ff017d3d4bfbd1af9295fe5b8 for pr-133502-27
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Favalokkumar%2Frust-programming" "/workspace/builds/worker-6-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc1/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/avalokkumar/rust-programming
[INFO] finished tweaking git repo https://github.com/avalokkumar/rust-programming
[INFO] tweaked toml for git repo https://github.com/avalokkumar/rust-programming written to /workspace/builds/worker-6-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/avalokkumar/rust-programming on toolchain dfbea5bc945a9d7ff017d3d4bfbd1af9295fe5b8
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+dfbea5bc945a9d7ff017d3d4bfbd1af9295fe5b8" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/avalokkumar/rust-programming 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" "+dfbea5bc945a9d7ff017d3d4bfbd1af9295fe5b8" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]      Locking 19 packages to latest compatible versions
[INFO] [stderr]       Adding aho-corasick v1.1.4
[INFO] [stderr]       Adding cfg-if v1.0.4
[INFO] [stderr]       Adding getrandom v0.2.17
[INFO] [stderr]       Adding libc v0.2.189
[INFO] [stderr]       Adding memchr v2.8.3
[INFO] [stderr]       Adding ppv-lite86 v0.2.21
[INFO] [stderr]       Adding proc-macro2 v1.0.107
[INFO] [stderr]       Adding quote v1.0.47
[INFO] [stderr]       Adding rand v0.8.7 (available: v0.10.2)
[INFO] [stderr]       Adding rand_chacha v0.3.1
[INFO] [stderr]       Adding rand_core v0.6.4
[INFO] [stderr]       Adding regex v1.13.1
[INFO] [stderr]       Adding regex-automata v0.4.16
[INFO] [stderr]       Adding regex-syntax v0.8.11
[INFO] [stderr]       Adding syn v2.0.119
[INFO] [stderr]       Adding unicode-ident v1.0.24
[INFO] [stderr]       Adding wasi v0.11.1+wasi-snapshot-preview1
[INFO] [stderr]       Adding zerocopy v0.8.55
[INFO] [stderr]       Adding zerocopy-derive v0.8.55
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded zerocopy-derive v0.8.55
[INFO] [stderr]   Downloaded rand v0.8.7
[INFO] [stderr]   Downloaded zerocopy v0.8.55
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,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" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:c36f533e8924a726b63f9d01e781fa8c8c28c96d1d595403829afb31452ee0f5" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] 3a716ecf04a716bac2eb5398b68ef12a0d991d3ba0a5c642abf51baa565e919d
[INFO] running `Command { std: "docker" "start" "3a716ecf04a716bac2eb5398b68ef12a0d991d3ba0a5c642abf51baa565e919d", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "3a716ecf04a716bac2eb5398b68ef12a0d991d3ba0a5c642abf51baa565e919d", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "3a716ecf04a716bac2eb5398b68ef12a0d991d3ba0a5c642abf51baa565e919d" "/opt/rustwide/cargo-home/bin/cargo" "+dfbea5bc945a9d7ff017d3d4bfbd1af9295fe5b8" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "3a716ecf04a716bac2eb5398b68ef12a0d991d3ba0a5c642abf51baa565e919d", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-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" "-w" "/opt/rustwide/workdir" "--user" "0:0" "3a716ecf04a716bac2eb5398b68ef12a0d991d3ba0a5c642abf51baa565e919d" "/opt/rustwide/cargo-home/bin/cargo" "+dfbea5bc945a9d7ff017d3d4bfbd1af9295fe5b8" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stderr]    Compiling libc v0.2.189
[INFO] [stderr]    Compiling zerocopy v0.8.55
[INFO] [stderr]     Checking memchr v2.8.3
[INFO] [stderr]     Checking regex-syntax v0.8.11
[INFO] [stderr]     Checking aho-corasick v1.1.4
[INFO] [stderr]     Checking regex-automata v0.4.16
[INFO] [stderr]     Checking getrandom v0.2.17
[INFO] [stderr]     Checking rand_core v0.6.4
[INFO] [stderr]     Checking regex v1.13.1
[INFO] [stderr]     Checking ppv-lite86 v0.2.21
[INFO] [stderr]     Checking rand_chacha v0.3.1
[INFO] [stderr]     Checking rand v0.8.7
[INFO] [stderr]     Checking rust-programming v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] error[E0271]: type mismatch resolving `<i32 as FromStr>::Err == String`
[INFO] [stdout]   --> src/day1/generics.rs:94:27
[INFO] [stdout]    |
[INFO] [stdout] 94 |         let number = line.parse().map_err(MyError::Parse)?;
[INFO] [stdout]    |                           ^^^^^ expected `String`, found `ParseIntError`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0271]: type mismatch resolving `<i32 as FromStr>::Err == String`
[INFO] [stdout]   --> src/day1/generics.rs:94:27
[INFO] [stdout]    |
[INFO] [stdout] 94 |         let number = line.parse().map_err(MyError::Parse)?;
[INFO] [stdout]    |                           ^^^^^ expected `String`, found `ParseIntError`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `rust-programming` (bin "rust-programming-day1") due to 1 previous error
[INFO] [stdout] For more information about this error, try `rustc --explain E0271`.
[INFO] [stdout] 
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] For more information about this error, try `rustc --explain E0271`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `rust-programming` (bin "rust-programming-day1" test) due to 1 previous error
[INFO] [stdout] error[E0433]: cannot find module or crate `bar` in this scope
[INFO] [stdout]   --> src/day2/main.rs:63:18
[INFO] [stdout]    |
[INFO] [stdout] 63 |     let person = bar::Person::new("Alice", 25);
[INFO] [stdout]    |                  ^^^ use of unresolved module or unlinked crate `bar`
[INFO] [stdout]    |
[INFO] [stdout]    = help: if you wanted to use a crate named `bar`, use `cargo add bar` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/day4/main.rs:11:9
[INFO] [stdout]    |
[INFO] [stdout] 11 |     let mut menu = Menu::new();
[INFO] [stdout]    |         ----^^^^
[INFO] [stdout]    |         |
[INFO] [stdout]    |         help: remove this `mut`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `duration` is never read
[INFO] [stdout]  --> src/day4/song.rs:4:9
[INFO] [stdout]   |
[INFO] [stdout] 1 | pub struct Song {
[INFO] [stdout]   |            ---- field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 4 |     pub duration: u32,
[INFO] [stdout]   |         ^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find module or crate `foo` in this scope
[INFO] [stdout]   --> src/day2/main.rs:60:5
[INFO] [stdout]    |
[INFO] [stdout] 60 |     foo::greet();
[INFO] [stdout]    |     ^^^ use of unresolved module or unlinked crate `foo`
[INFO] [stdout]    |
[INFO] [stdout]    = help: if you wanted to use a crate named `foo`, use `cargo add foo` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find module or crate `bar` in this scope
[INFO] [stdout]   --> src/day2/main.rs:63:18
[INFO] [stdout]    |
[INFO] [stdout] 63 |     let person = bar::Person::new("Alice", 25);
[INFO] [stdout]    |                  ^^^ use of unresolved module or unlinked crate `bar`
[INFO] [stdout]    |
[INFO] [stdout]    = help: if you wanted to use a crate named `bar`, use `cargo add bar` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/day4/main.rs:11:9
[INFO] [stdout]    |
[INFO] [stdout] 11 |     let mut menu = Menu::new();
[INFO] [stdout]    |         ----^^^^
[INFO] [stdout]    |         |
[INFO] [stdout]    |         help: remove this `mut`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find module or crate `foo` in this scope
[INFO] [stdout]   --> src/day2/main.rs:60:5
[INFO] [stdout]    |
[INFO] [stdout] 60 |     foo::greet();
[INFO] [stdout]    |     ^^^ use of unresolved module or unlinked crate `foo`
[INFO] [stdout]    |
[INFO] [stdout]    = help: if you wanted to use a crate named `foo`, use `cargo add foo` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `duration` is never read
[INFO] [stdout]  --> src/day4/song.rs:4:9
[INFO] [stdout]   |
[INFO] [stdout] 1 | pub struct Song {
[INFO] [stdout]   |            ---- field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 4 |     pub duration: u32,
[INFO] [stdout]   |         ^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: cannot write into `Stderr`
[INFO] [stdout]   --> src/day2/main.rs:68:14
[INFO] [stdout]    |
[INFO] [stdout] 68 |     writeln!(std::io::stderr(), "An error occurred").unwrap();
[INFO] [stdout]    |              ^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]   --> /rustc/dfbea5bc945a9d7ff017d3d4bfbd1af9295fe5b8/library/core/src/io/write.rs:331:7
[INFO] [stdout]    |
[INFO] [stdout]    = note: the method is available for `Stderr` here
[INFO] [stdout] note: must implement `io::Write`, `fmt::Write`, or have a `write_fmt` method
[INFO] [stdout]   --> src/day2/main.rs:68:14
[INFO] [stdout]    |
[INFO] [stdout] 68 |     writeln!(std::io::stderr(), "An error occurred").unwrap();
[INFO] [stdout]    |              ^^^^^^^^^^^^^^^^^
[INFO] [stdout]    = help: items from traits can only be used if the trait is in scope
[INFO] [stdout] help: trait `Write` which provides `write_fmt` is implemented but not in scope; perhaps you want to import it
[INFO] [stdout]    |
[INFO] [stdout] 12 + use std::io::Write;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0433, E0599.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0433`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `rust-programming` (bin "rust-programming-day2") due to 3 previous errors
[INFO] [stdout] error[E0599]: cannot write into `Stderr`
[INFO] [stdout]   --> src/day2/main.rs:68:14
[INFO] [stdout]    |
[INFO] [stdout] 68 |     writeln!(std::io::stderr(), "An error occurred").unwrap();
[INFO] [stdout]    |              ^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]   --> /rustc/dfbea5bc945a9d7ff017d3d4bfbd1af9295fe5b8/library/core/src/io/write.rs:331:7
[INFO] [stdout]    |
[INFO] [stdout]    = note: the method is available for `Stderr` here
[INFO] [stdout] note: must implement `io::Write`, `fmt::Write`, or have a `write_fmt` method
[INFO] [stdout]   --> src/day2/main.rs:68:14
[INFO] [stdout]    |
[INFO] [stdout] 68 |     writeln!(std::io::stderr(), "An error occurred").unwrap();
[INFO] [stdout]    |              ^^^^^^^^^^^^^^^^^
[INFO] [stdout]    = help: items from traits can only be used if the trait is in scope
[INFO] [stdout] help: trait `Write` which provides `write_fmt` is implemented but not in scope; perhaps you want to import it
[INFO] [stdout]    |
[INFO] [stdout] 12 + use std::io::Write;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0433, E0599.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0433`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `rust-programming` (bin "rust-programming-day2" test) due to 3 previous errors
[INFO] running `Command { std: "docker" "inspect" "3a716ecf04a716bac2eb5398b68ef12a0d991d3ba0a5c642abf51baa565e919d", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "3a716ecf04a716bac2eb5398b68ef12a0d991d3ba0a5c642abf51baa565e919d", kill_on_drop: false }`
[INFO] [stdout] 3a716ecf04a716bac2eb5398b68ef12a0d991d3ba0a5c642abf51baa565e919d
