[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] [stderr] /workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdefzky%2Fmy-first-rust: No space left on device [WARN] Retrying crate fetch in 3 seconds (attempt 1) [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 master#2886b36df4a646dd8d82fb65bf0c9d8d96c1f71a for pr-145113 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdefzky%2Fmy-first-rust" "/workspace/builds/worker-1-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc1/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-1-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/defzky/my-first-rust on toolchain 2886b36df4a646dd8d82fb65bf0c9d8d96c1f71a [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+2886b36df4a646dd8d82fb65bf0c9d8d96c1f71a" "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" "+2886b36df4a646dd8d82fb65bf0c9d8d96c1f71a" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/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:ae6f63d130afcfff7f91f5ba9fdb2a74d52830289c6a2ea2d23a94dcfb480a0d" "/opt/rustwide/cargo-home/bin/cargo" "+2886b36df4a646dd8d82fb65bf0c9d8d96c1f71a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] dc8a8033e4cf6ecfa3888bbf276721ccb2946511ba4579c48445d72a59653326 [INFO] running `Command { std: "docker" "start" "-a" "dc8a8033e4cf6ecfa3888bbf276721ccb2946511ba4579c48445d72a59653326", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "dc8a8033e4cf6ecfa3888bbf276721ccb2946511ba4579c48445d72a59653326", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "dc8a8033e4cf6ecfa3888bbf276721ccb2946511ba4579c48445d72a59653326", kill_on_drop: false }` [INFO] [stdout] dc8a8033e4cf6ecfa3888bbf276721ccb2946511ba4579c48445d72a59653326 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/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:ae6f63d130afcfff7f91f5ba9fdb2a74d52830289c6a2ea2d23a94dcfb480a0d" "/opt/rustwide/cargo-home/bin/cargo" "+2886b36df4a646dd8d82fb65bf0c9d8d96c1f71a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] fe10031cec0277241a86a6db9fafcbffacb28b2c6fb3a35afbe5847b986a214f [INFO] running `Command { std: "docker" "start" "-a" "fe10031cec0277241a86a6db9fafcbffacb28b2c6fb3a35afbe5847b986a214f", 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[E0412]: cannot find type `U` in this scope [INFO] [stdout] --> src/main.rs:2500:19 [INFO] [stdout] | [INFO] [stdout] 2500 | impl Point3 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 Point3 where T: PartialOrd { [INFO] [stdout] 2500 + impl Point3 where T: PartialOrd { [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 2500 | impl Point3 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)]` 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[E0412]: cannot find type `U` in this scope [INFO] [stdout] --> src/main.rs:2500:19 [INFO] [stdout] | [INFO] [stdout] 2500 | impl Point3 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 Point3 where T: PartialOrd { [INFO] [stdout] 2500 + impl Point3 where T: PartialOrd { [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 2500 | impl Point3 where T: PartialOrd { [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 Point3 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] Some errors have detailed explanations: E0308, E0412. [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 Point3 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:13 [INFO] [stdout] | [INFO] [stdout] 32 | let mut x = 5; [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `belajar-rust` (bin "belajar-rust" test) due to 2 previous errors; 1 warning emitted [INFO] running `Command { std: "docker" "inspect" "fe10031cec0277241a86a6db9fafcbffacb28b2c6fb3a35afbe5847b986a214f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fe10031cec0277241a86a6db9fafcbffacb28b2c6fb3a35afbe5847b986a214f", kill_on_drop: false }` [INFO] [stdout] fe10031cec0277241a86a6db9fafcbffacb28b2c6fb3a35afbe5847b986a214f