[INFO] cloning repository https://github.com/JackPeterFletch/100-exercises-to-learn-rust [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/JackPeterFletch/100-exercises-to-learn-rust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FJackPeterFletch%2F100-exercises-to-learn-rust", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FJackPeterFletch%2F100-exercises-to-learn-rust'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 5fab3f9d086a4ab1833e8381b0dc965826f35dd8 [INFO] checking JackPeterFletch/100-exercises-to-learn-rust against 52995a223f2919dd3e2e427231db90a257350ded for pr-129249-4 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FJackPeterFletch%2F100-exercises-to-learn-rust" "/workspace/builds/worker-0-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/JackPeterFletch/100-exercises-to-learn-rust [INFO] finished tweaking git repo https://github.com/JackPeterFletch/100-exercises-to-learn-rust [INFO] tweaked toml for git repo https://github.com/JackPeterFletch/100-exercises-to-learn-rust written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/JackPeterFletch/100-exercises-to-learn-rust on toolchain 52995a223f2919dd3e2e427231db90a257350ded [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+52995a223f2919dd3e2e427231db90a257350ded" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/JackPeterFletch/100-exercises-to-learn-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" "+52995a223f2919dd3e2e427231db90a257350ded" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/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:77db811e55d90add9212f6832c23229e3de5f1c1f9905e8cb07319ea15df73ac" "sleep" "infinity", kill_on_drop: false }` [INFO] [stdout] a342599ac98448a9f9ee8ab97c52acc9f5c9cadcb371911e13f15cc846e389ba [INFO] running `Command { std: "docker" "start" "a342599ac98448a9f9ee8ab97c52acc9f5c9cadcb371911e13f15cc846e389ba", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a342599ac98448a9f9ee8ab97c52acc9f5c9cadcb371911e13f15cc846e389ba", 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" "a342599ac98448a9f9ee8ab97c52acc9f5c9cadcb371911e13f15cc846e389ba" "/opt/rustwide/cargo-home/bin/cargo" "+52995a223f2919dd3e2e427231db90a257350ded" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a342599ac98448a9f9ee8ab97c52acc9f5c9cadcb371911e13f15cc846e389ba", 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" "a342599ac98448a9f9ee8ab97c52acc9f5c9cadcb371911e13f15cc846e389ba" "/opt/rustwide/cargo-home/bin/cargo" "+52995a223f2919dd3e2e427231db90a257350ded" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.82 [INFO] [stderr] Compiling unicode-ident v1.0.12 [INFO] [stderr] Checking common v0.1.0 (/opt/rustwide/workdir/helpers/common) [INFO] [stderr] Compiling thiserror v1.0.61 [INFO] [stderr] Compiling libc v0.2.154 [INFO] [stderr] Compiling autocfg v1.3.0 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Checking smallvec v1.13.2 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Checking scopeguard v1.2.0 [INFO] [stderr] Checking pin-project-lite v0.2.14 [INFO] [stderr] Checking bytes v1.6.0 [INFO] [stderr] Compiling anyhow v1.0.86 [INFO] [stderr] Checking packages v0.1.0 (/opt/rustwide/workdir/exercises/05_ticket_v2/10_packages) [INFO] [stderr] Checking static_assertions v1.1.0 [INFO] [stderr] Checking outro_02 v0.1.0 (/opt/rustwide/workdir/exercises/03_ticket_v1/12_outro) [INFO] [stderr] Checking outro_03 v0.1.0 (/opt/rustwide/workdir/exercises/04_traits/13_outro) [INFO] [stderr] Checking orphan v0.1.0 (/opt/rustwide/workdir/exercises/04_traits/02_orphan_rule) [INFO] [stderr] Checking encapsulation v0.1.0 (/opt/rustwide/workdir/exercises/03_ticket_v1/05_encapsulation) [INFO] [stdout] error: useless conversion to the same type: `u16` [INFO] [stdout] --> exercises/04_traits/13_outro/src/lib.rs:23:23 [INFO] [stdout] | [INFO] [stdout] 23 | self.value == (*other).into() [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this method call relies on the `impl Into for T` blanket implementation and type inference, which is a semver hazard as a new `impl Into<_>` that affects your type might be added in the future causing type inference errors [INFO] [stdout] = note: `#[deny(self_type_conversion)]` on by default [INFO] [stdout] help: consider removing the conversion call [INFO] [stdout] | [INFO] [stdout] 23 - self.value == (*other).into() [INFO] [stdout] 23 + self.value == (*other) [INFO] [stdout] | [INFO] [stdout] help: you can use the fully-qualified path to avoid triggering this lint [INFO] [stdout] | [INFO] [stdout] 23 - self.value == (*other).into() [INFO] [stdout] 23 + self.value == >::into((*other)) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: useless conversion to the same type: `u16` [INFO] [stdout] --> exercises/04_traits/13_outro/src/lib.rs:91:20 [INFO] [stdout] | [INFO] [stdout] 91 | value: value.into(), [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this method call relies on the `impl Into for T` blanket implementation and type inference, which is a semver hazard as a new `impl Into<_>` that affects your type might be added in the future causing type inference errors [INFO] [stdout] help: consider removing the conversion call [INFO] [stdout] | [INFO] [stdout] 91 - value: value.into(), [INFO] [stdout] 91 + value: value, [INFO] [stdout] | [INFO] [stdout] help: you can use the fully-qualified path to avoid triggering this lint [INFO] [stdout] | [INFO] [stdout] 91 - value: value.into(), [INFO] [stdout] 91 + value: >::into(value), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking factorial v0.1.0 (/opt/rustwide/workdir/exercises/02_basic_calculator/05_factorial) [INFO] [stderr] Checking if_else v0.1.0 (/opt/rustwide/workdir/exercises/02_basic_calculator/03_if_else) [INFO] [stderr] Checking intro_03 v0.1.0 (/opt/rustwide/workdir/exercises/04_traits/00_intro) [INFO] [stderr] Checking variants_with_data v0.1.0 (/opt/rustwide/workdir/exercises/05_ticket_v2/03_variants_with_data) [INFO] [stderr] error: could not compile `outro_03` (lib) due to 2 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] running `Command { std: "docker" "inspect" "a342599ac98448a9f9ee8ab97c52acc9f5c9cadcb371911e13f15cc846e389ba", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a342599ac98448a9f9ee8ab97c52acc9f5c9cadcb371911e13f15cc846e389ba", kill_on_drop: false }` [INFO] [stdout] a342599ac98448a9f9ee8ab97c52acc9f5c9cadcb371911e13f15cc846e389ba