[INFO] cloning repository https://github.com/AaronLeon/eecs395-rust-hw4 [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/AaronLeon/eecs395-rust-hw4" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAaronLeon%2Feecs395-rust-hw4", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAaronLeon%2Feecs395-rust-hw4'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] bb9565dc2f9b7fb45222cd68899960e2b442378b [INFO] checking AaronLeon/eecs395-rust-hw4 against master#2e6fc425411280c658d852813de01c5157255088 for pr-128013 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAaronLeon%2Feecs395-rust-hw4" "/workspace/builds/worker-2-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/AaronLeon/eecs395-rust-hw4 on toolchain 2e6fc425411280c658d852813de01c5157255088 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+2e6fc425411280c658d852813de01c5157255088" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/AaronLeon/eecs395-rust-hw4 [INFO] finished tweaking git repo https://github.com/AaronLeon/eecs395-rust-hw4 [INFO] tweaked toml for git repo https://github.com/AaronLeon/eecs395-rust-hw4 written to /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/AaronLeon/eecs395-rust-hw4 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" "+2e6fc425411280c658d852813de01c5157255088" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2021 [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded num-traits v0.1.37 [INFO] [stderr] Downloaded num v0.1.37 [INFO] [stderr] Downloaded chrono v0.3.1 [INFO] [stderr] Downloaded redox_syscall v0.1.17 [INFO] [stderr] Downloaded libc v0.2.22 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:dff56e7819e73ed36160586b3445e93eb0be776c16704aeeded9c3fb668b2384" "/opt/rustwide/cargo-home/bin/cargo" "+2e6fc425411280c658d852813de01c5157255088" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 53f43c4ba642d3b6c3b983951a8d11345bf8ac172c40dd585dcf1f06b793a506 [INFO] running `Command { std: "docker" "start" "-a" "53f43c4ba642d3b6c3b983951a8d11345bf8ac172c40dd585dcf1f06b793a506", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "53f43c4ba642d3b6c3b983951a8d11345bf8ac172c40dd585dcf1f06b793a506", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "53f43c4ba642d3b6c3b983951a8d11345bf8ac172c40dd585dcf1f06b793a506", kill_on_drop: false }` [INFO] [stdout] 53f43c4ba642d3b6c3b983951a8d11345bf8ac172c40dd585dcf1f06b793a506 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:dff56e7819e73ed36160586b3445e93eb0be776c16704aeeded9c3fb668b2384" "/opt/rustwide/cargo-home/bin/cargo" "+2e6fc425411280c658d852813de01c5157255088" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d172fa6e42c1c5682134fc6e27c684003cf3301897d91620fa12d7c672467e65 [INFO] running `Command { std: "docker" "start" "-a" "d172fa6e42c1c5682134fc6e27c684003cf3301897d91620fa12d7c672467e65", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2021 [INFO] [stderr] Checking num-traits v0.1.37 [INFO] [stderr] Checking libc v0.2.22 [INFO] [stderr] Checking time v0.1.37 [INFO] [stderr] Checking num-integer v0.1.34 [INFO] [stderr] Checking num-iter v0.1.33 [INFO] [stderr] Checking num v0.1.37 [INFO] [stderr] Checking chrono v0.3.1 [INFO] [stderr] Checking hw4 v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/main.rs:197:16 [INFO] [stdout] | [INFO] [stdout] 197 | let r = res.clone(); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: the type `Response` does not implement `Clone`, so calling `clone` on `&Response` copies the reference, which does not do anything and can be removed [INFO] [stdout] = note: `#[warn(noop_method_call)]` on by default [INFO] [stdout] help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] 197 - let r = res.clone(); [INFO] [stdout] 197 + let r = res; [INFO] [stdout] | [INFO] [stdout] help: if you meant to clone `Response`, implement `Clone` for it [INFO] [stdout] | [INFO] [stdout] 20 + #[derive(Clone)] [INFO] [stdout] 21 | struct Response { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/main.rs:197:16 [INFO] [stdout] | [INFO] [stdout] 197 | let r = res.clone(); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: the type `Response` does not implement `Clone`, so calling `clone` on `&Response` copies the reference, which does not do anything and can be removed [INFO] [stdout] = note: `#[warn(noop_method_call)]` on by default [INFO] [stdout] help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] 197 - let r = res.clone(); [INFO] [stdout] 197 + let r = res; [INFO] [stdout] | [INFO] [stdout] help: if you meant to clone `Response`, implement `Clone` for it [INFO] [stdout] | [INFO] [stdout] 20 + #[derive(Clone)] [INFO] [stdout] 21 | struct Response { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.79s [INFO] running `Command { std: "docker" "inspect" "d172fa6e42c1c5682134fc6e27c684003cf3301897d91620fa12d7c672467e65", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d172fa6e42c1c5682134fc6e27c684003cf3301897d91620fa12d7c672467e65", kill_on_drop: false }` [INFO] [stdout] d172fa6e42c1c5682134fc6e27c684003cf3301897d91620fa12d7c672467e65