[INFO] cloning repository https://github.com/HashirAKB/Rust-Hello-World
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/HashirAKB/Rust-Hello-World" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FHashirAKB%2FRust-Hello-World", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FHashirAKB%2FRust-Hello-World'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 39d3d74b298f4502ea5e52edbeaffcc456945e75
[INFO] building HashirAKB/Rust-Hello-World against try#334963c956d25708feab489a3816ae63f639355d for pr-135216
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FHashirAKB%2FRust-Hello-World" "/workspace/builds/worker-4-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc2/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/HashirAKB/Rust-Hello-World on toolchain 334963c956d25708feab489a3816ae63f639355d
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+334963c956d25708feab489a3816ae63f639355d" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking git repo https://github.com/HashirAKB/Rust-Hello-World
[INFO] finished tweaking git repo https://github.com/HashirAKB/Rust-Hello-World
[INFO] tweaked toml for git repo https://github.com/HashirAKB/Rust-Hello-World written to /workspace/builds/worker-4-tc2/source/Cargo.toml
[INFO] crate git repo https://github.com/HashirAKB/Rust-Hello-World 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" "+334963c956d25708feab489a3816ae63f639355d" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+334963c956d25708feab489a3816ae63f639355d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 18d9785712600a1784e847b8c19eade933662a116b90e8228ec9109d70dbfeef
[INFO] running `Command { std: "docker" "start" "-a" "18d9785712600a1784e847b8c19eade933662a116b90e8228ec9109d70dbfeef", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "18d9785712600a1784e847b8c19eade933662a116b90e8228ec9109d70dbfeef", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "18d9785712600a1784e847b8c19eade933662a116b90e8228ec9109d70dbfeef", kill_on_drop: false }`
[INFO] [stdout] 18d9785712600a1784e847b8c19eade933662a116b90e8228ec9109d70dbfeef
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+334963c956d25708feab489a3816ae63f639355d" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 5dddf78ef7057e4eadd71aa6020b01fb7e03a0f505d54ce2845c4be74875043d
[INFO] running `Command { std: "docker" "start" "-a" "5dddf78ef7057e4eadd71aa6020b01fb7e03a0f505d54ce2845c4be74875043d", kill_on_drop: false }`
[INFO] [stderr]    Compiling rust-hello-world v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]    --> src/main.rs:313:49
[INFO] [stdout]     |
[INFO] [stdout] 313 |         let mut my_backpack = Backpack { snack: None };
[INFO] [stdout]     |                                                 ^^^^ expected `Option<&str>`, found `Option<_>`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `std::option::Option<_>` and `main::Option<&str>` have similar names, but are actually distinct types
[INFO] [stdout] note: `std::option::Option<_>` is defined in crate `core`
[INFO] [stdout]    --> /rustc/334963c956d25708feab489a3816ae63f639355d/library/core/src/option.rs:572:1
[INFO] [stdout] note: `main::Option<&str>` is defined in the current crate
[INFO] [stdout]    --> src/main.rs:460:5
[INFO] [stdout]     |
[INFO] [stdout] 460 |     pub enum Option<T> {
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]    --> src/main.rs:315:29
[INFO] [stdout]     |
[INFO] [stdout] 315 |         my_backpack.snack = Some(&apple);
[INFO] [stdout]     |         -----------------   ^^^^^^^^^^^^ expected `Option<&str>`, found `Option<&String>`
[INFO] [stdout]     |         |
[INFO] [stdout]     |         expected due to the type of this binding
[INFO] [stdout]     |
[INFO] [stdout]     = note: `std::option::Option<&String>` and `main::Option<&str>` have similar names, but are actually distinct types
[INFO] [stdout] note: `std::option::Option<&String>` is defined in crate `core`
[INFO] [stdout]    --> /rustc/334963c956d25708feab489a3816ae63f639355d/library/core/src/option.rs:572:1
[INFO] [stdout] note: `main::Option<&str>` is defined in the current crate
[INFO] [stdout]    --> src/main.rs:460:5
[INFO] [stdout]     |
[INFO] [stdout] 460 |     pub enum Option<T> {
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: `main::Option<&str>` doesn't implement `Debug`
[INFO] [stdout]    --> src/main.rs:316:39
[INFO] [stdout]     |
[INFO] [stdout] 316 |         println!("My snack is: {:?}", my_backpack.snack);
[INFO] [stdout]     |                                       ^^^^^^^^^^^^^^^^^ `main::Option<&str>` cannot be formatted using `{:?}`
[INFO] [stdout]     |
[INFO] [stdout]     = help: the trait `Debug` is not implemented for `main::Option<&str>`
[INFO] [stdout]     = note: add `#[derive(Debug)]` to `main::Option<&str>` or manually `impl Debug for main::Option<&str>`
[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] help: consider annotating `main::Option<&str>` with `#[derive(Debug)]`
[INFO] [stdout]     |
[INFO] [stdout] 460 +     #[derive(Debug)]
[INFO] [stdout] 461 |     pub enum Option<T> {
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]    --> src/main.rs:468:24
[INFO] [stdout]     |
[INFO] [stdout] 465 |     fn find_first_a(s: String) -> Option<i32> {
[INFO] [stdout]     |                                   ----------- expected `main::Option<i32>` because of return type
[INFO] [stdout] ...
[INFO] [stdout] 468 |                 return Some(index as i32);
[INFO] [stdout]     |                        ^^^^^^^^^^^^^^^^^^ expected `main::Option<i32>`, found `std::option::Option<i32>`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `std::option::Option<i32>` and `main::Option<i32>` have similar names, but are actually distinct types
[INFO] [stdout] note: `std::option::Option<i32>` is defined in crate `core`
[INFO] [stdout]    --> /rustc/334963c956d25708feab489a3816ae63f639355d/library/core/src/option.rs:572:1
[INFO] [stdout] note: `main::Option<i32>` is defined in the current crate
[INFO] [stdout]    --> src/main.rs:460:5
[INFO] [stdout]     |
[INFO] [stdout] 460 |     pub enum Option<T> {
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]    --> src/main.rs:477:13
[INFO] [stdout]     |
[INFO] [stdout] 476 |         match find_first_a(my_string) {
[INFO] [stdout]     |               ----------------------- this expression has type `main::Option<i32>`
[INFO] [stdout] 477 |             Some(index) => println!("The letter 'a' is found at index: {}", index),
[INFO] [stdout]     |             ^^^^^^^^^^^ expected `Option<i32>`, found `Option<_>`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `std::option::Option<_>` and `main::Option<i32>` have similar names, but are actually distinct types
[INFO] [stdout] note: `std::option::Option<_>` is defined in crate `core`
[INFO] [stdout]    --> /rustc/334963c956d25708feab489a3816ae63f639355d/library/core/src/option.rs:572:1
[INFO] [stdout] note: `main::Option<i32>` is defined in the current crate
[INFO] [stdout]    --> src/main.rs:460:5
[INFO] [stdout]     |
[INFO] [stdout] 460 |     pub enum Option<T> {
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]    --> src/main.rs:478:13
[INFO] [stdout]     |
[INFO] [stdout] 476 |         match find_first_a(my_string) {
[INFO] [stdout]     |               ----------------------- this expression has type `main::Option<i32>`
[INFO] [stdout] 477 |             Some(index) => println!("The letter 'a' is found at index: {}", index),
[INFO] [stdout] 478 |             None => println!("The letter 'a' is not found in the string."),
[INFO] [stdout]     |             ^^^^ expected `Option<i32>`, found `Option<_>`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `std::option::Option<_>` and `main::Option<i32>` have similar names, but are actually distinct types
[INFO] [stdout] note: `std::option::Option<_>` is defined in crate `core`
[INFO] [stdout]    --> /rustc/334963c956d25708feab489a3816ae63f639355d/library/core/src/option.rs:572:1
[INFO] [stdout] note: `main::Option<i32>` is defined in the current crate
[INFO] [stdout]    --> src/main.rs:460:5
[INFO] [stdout]     |
[INFO] [stdout] 460 |     pub enum Option<T> {
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0277, E0308.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0277`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `rust-hello-world` (bin "rust-hello-world") due to 6 previous errors
[INFO] running `Command { std: "docker" "inspect" "5dddf78ef7057e4eadd71aa6020b01fb7e03a0f505d54ce2845c4be74875043d", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "5dddf78ef7057e4eadd71aa6020b01fb7e03a0f505d54ce2845c4be74875043d", kill_on_drop: false }`
[INFO] [stdout] 5dddf78ef7057e4eadd71aa6020b01fb7e03a0f505d54ce2845c4be74875043d
