[INFO] cloning repository https://github.com/defzky/my-first-rust
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/defzky/my-first-rust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdefzky%2Fmy-first-rust", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdefzky%2Fmy-first-rust'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 50129b58221831e9eeedff110483fe46d053df94
[INFO] checking defzky/my-first-rust against try#1c4199da70f816f2239f41c55168ff75a3663718 for pr-155499
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdefzky%2Fmy-first-rust" "/workspace/builds/worker-3-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/defzky/my-first-rust
[INFO] finished tweaking git repo https://github.com/defzky/my-first-rust
[INFO] tweaked toml for git repo https://github.com/defzky/my-first-rust written to /workspace/builds/worker-3-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/defzky/my-first-rust on toolchain 1c4199da70f816f2239f41c55168ff75a3663718
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1c4199da70f816f2239f41c55168ff75a3663718" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/defzky/my-first-rust 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" "+1c4199da70f816f2239f41c55168ff75a3663718" "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-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+1c4199da70f816f2239f41c55168ff75a3663718" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 27876ccb4bb58cf61cf9e92c68d7e412f9ffdea683395377d13792f7ee39c67d
[INFO] running `Command { std: "docker" "start" "-a" "27876ccb4bb58cf61cf9e92c68d7e412f9ffdea683395377d13792f7ee39c67d", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "27876ccb4bb58cf61cf9e92c68d7e412f9ffdea683395377d13792f7ee39c67d", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "27876ccb4bb58cf61cf9e92c68d7e412f9ffdea683395377d13792f7ee39c67d", kill_on_drop: false }`
[INFO] [stdout] 27876ccb4bb58cf61cf9e92c68d7e412f9ffdea683395377d13792f7ee39c67d
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+1c4199da70f816f2239f41c55168ff75a3663718" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] f602af9ca3ba0afc01c4f5c6f40b501bfe41cfdc5932990eb4b2af35139d4695
[INFO] running `Command { std: "docker" "start" "-a" "f602af9ca3ba0afc01c4f5c6f40b501bfe41cfdc5932990eb4b2af35139d4695", kill_on_drop: false }`
[INFO] [stderr]     Checking log v0.4.22
[INFO] [stderr]     Checking belajar-rust v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] error[E0425]: cannot find type `U` in this scope
[INFO] [stdout]     --> src/main.rs:2500:19
[INFO] [stdout]      |
[INFO] [stdout] 2500 | impl<T> Point3<T, U> where T: PartialOrd {
[INFO] [stdout]      |      -            ^
[INFO] [stdout]      |      |
[INFO] [stdout]      |      similarly named type parameter `T` defined here
[INFO] [stdout]      |
[INFO] [stdout] help: a type parameter with a similar name exists
[INFO] [stdout]      |
[INFO] [stdout] 2500 - impl<T> Point3<T, U> where T: PartialOrd {
[INFO] [stdout] 2500 + impl<T> Point3<T, T> where T: PartialOrd {
[INFO] [stdout]      |
[INFO] [stdout] help: you might be missing a type parameter
[INFO] [stdout]      |
[INFO] [stdout] 2500 | impl<T, U> Point3<T, U> where T: PartialOrd {
[INFO] [stdout]      |       +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `first::say_hello`
[INFO] [stdout]  --> src/main.rs:6:5
[INFO] [stdout]   |
[INFO] [stdout] 6 | use first::say_hello;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `second::say_hello as say_hello_second`
[INFO] [stdout]  --> src/main.rs:7:5
[INFO] [stdout]   |
[INFO] [stdout] 7 | use second::say_hello as say_hello_second;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]     --> src/main.rs:2502:9
[INFO] [stdout]      |
[INFO] [stdout] 2500 | impl<T> Point3<T, U> where T: PartialOrd {
[INFO] [stdout]      |      - found this type parameter
[INFO] [stdout] 2501 |     fn add(&self) -> &T {
[INFO] [stdout]      |                      -- expected `&T` because of return type
[INFO] [stdout] 2502 |         &self.x + &self.y
[INFO] [stdout]      |         ^^^^^^^^^^^^^^^^^ expected `&T`, found type parameter `T`
[INFO] [stdout]      |
[INFO] [stdout]      = note:   expected reference `&_`
[INFO] [stdout]              found type parameter `_`
[INFO] [stdout] help: consider borrowing here
[INFO] [stdout]      |
[INFO] [stdout] 2502 |         &(&self.x + &self.y)
[INFO] [stdout]      |         ++                 +
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function cannot return without recursing
[INFO] [stdout]     --> src/main.rs:2233:5
[INFO] [stdout]      |
[INFO] [stdout] 2233 |     fn good_bye(&self) -> String {
[INFO] [stdout]      |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot return without recursing
[INFO] [stdout] 2234 |         format!("Good bye: {}", self.good_bye())
[INFO] [stdout]      |                                 --------------- recursive call site
[INFO] [stdout]      |
[INFO] [stdout]      = help: a `loop` may express intention better if this is on purpose
[INFO] [stdout]      = note: `#[warn(unconditional_recursion)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `U` in this scope
[INFO] [stdout]     --> src/main.rs:2500:19
[INFO] [stdout]      |
[INFO] [stdout] 2500 | impl<T> Point3<T, U> where T: PartialOrd {
[INFO] [stdout]      |      -            ^
[INFO] [stdout]      |      |
[INFO] [stdout]      |      similarly named type parameter `T` defined here
[INFO] [stdout]      |
[INFO] [stdout] help: a type parameter with a similar name exists
[INFO] [stdout]      |
[INFO] [stdout] 2500 - impl<T> Point3<T, U> where T: PartialOrd {
[INFO] [stdout] 2500 + impl<T> Point3<T, T> where T: PartialOrd {
[INFO] [stdout]      |
[INFO] [stdout] help: you might be missing a type parameter
[INFO] [stdout]      |
[INFO] [stdout] 2500 | impl<T, U> Point3<T, U> where T: PartialOrd {
[INFO] [stdout]      |       +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0308, E0425.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0308`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `belajar-rust` (bin "belajar-rust") due to 2 previous errors; 3 warnings emitted
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]     --> src/main.rs:2502:9
[INFO] [stdout]      |
[INFO] [stdout] 2500 | impl<T> Point3<T, U> where T: PartialOrd {
[INFO] [stdout]      |      - found this type parameter
[INFO] [stdout] 2501 |     fn add(&self) -> &T {
[INFO] [stdout]      |                      -- expected `&T` because of return type
[INFO] [stdout] 2502 |         &self.x + &self.y
[INFO] [stdout]      |         ^^^^^^^^^^^^^^^^^ expected `&T`, found type parameter `T`
[INFO] [stdout]      |
[INFO] [stdout]      = note:   expected reference `&_`
[INFO] [stdout]              found type parameter `_`
[INFO] [stdout] help: consider borrowing here
[INFO] [stdout]      |
[INFO] [stdout] 2502 |         &(&self.x + &self.y)
[INFO] [stdout]      |         ++                 +
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `x` is never read
[INFO] [stdout]   --> src/main.rs:32:17
[INFO] [stdout]    |
[INFO] [stdout] 32 |     let mut x = 5;
[INFO] [stdout]    |                 ^ this value is reassigned later and never used
[INFO] [stdout] 33 |     x = 3;
[INFO] [stdout]    |     ----- `x` is overwritten here before the previous value is read
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/main.rs:39:9
[INFO] [stdout]    |
[INFO] [stdout] 39 |     let mut name = "David";
[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: unreachable pattern
[INFO] [stdout]     --> src/main.rs:1829:9
[INFO] [stdout]      |
[INFO] [stdout] 1826 |         Person { first_name, last_name, .. } => {
[INFO] [stdout]      |         ------------------------------------ matches any value
[INFO] [stdout] ...
[INFO] [stdout] 1829 |         Person { first_name, age,  .. } => {
[INFO] [stdout]      |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ no value can reach this
[INFO] [stdout]      |
[INFO] [stdout]      = note: `#[warn(unreachable_patterns)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function cannot return without recursing
[INFO] [stdout]     --> src/main.rs:2233:5
[INFO] [stdout]      |
[INFO] [stdout] 2233 |     fn good_bye(&self) -> String {
[INFO] [stdout]      |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot return without recursing
[INFO] [stdout] 2234 |         format!("Good bye: {}", self.good_bye())
[INFO] [stdout]      |                                 --------------- recursive call site
[INFO] [stdout]      |
[INFO] [stdout]      = help: a `loop` may express intention better if this is on purpose
[INFO] [stdout]      = note: `#[warn(unconditional_recursion)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0308, E0425.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0308`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `belajar-rust` (bin "belajar-rust" test) due to 2 previous errors; 4 warnings emitted
[INFO] running `Command { std: "docker" "inspect" "f602af9ca3ba0afc01c4f5c6f40b501bfe41cfdc5932990eb4b2af35139d4695", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "f602af9ca3ba0afc01c4f5c6f40b501bfe41cfdc5932990eb4b2af35139d4695", kill_on_drop: false }`
[INFO] [stdout] f602af9ca3ba0afc01c4f5c6f40b501bfe41cfdc5932990eb4b2af35139d4695
