[INFO] cloning repository https://github.com/focusaurus/cody [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/focusaurus/cody" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ffocusaurus%2Fcody", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ffocusaurus%2Fcody'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 1db811550b3a72acf935d387db0172947272d564 [INFO] checking focusaurus/cody against master#af4a5a13a15fa0c60e06321077ef452f769b42fd for pr-122960-3 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ffocusaurus%2Fcody" "/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/focusaurus/cody on toolchain af4a5a13a15fa0c60e06321077ef452f769b42fd [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/focusaurus/cody [INFO] finished tweaking git repo https://github.com/focusaurus/cody [INFO] tweaked toml for git repo https://github.com/focusaurus/cody written to /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/focusaurus/cody 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" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] a1fc7af1580c3efe870d80fe1958439baaecddc4c86c6a0fa9c7cd5e454c583e [INFO] running `Command { std: "docker" "start" "-a" "a1fc7af1580c3efe870d80fe1958439baaecddc4c86c6a0fa9c7cd5e454c583e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a1fc7af1580c3efe870d80fe1958439baaecddc4c86c6a0fa9c7cd5e454c583e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a1fc7af1580c3efe870d80fe1958439baaecddc4c86c6a0fa9c7cd5e454c583e", kill_on_drop: false }` [INFO] [stdout] a1fc7af1580c3efe870d80fe1958439baaecddc4c86c6a0fa9c7cd5e454c583e [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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 2fc753974afe30abfc6a919abe135daa5a4b333678a854ccf85871b71f8c54d1 [INFO] running `Command { std: "docker" "start" "-a" "2fc753974afe30abfc6a919abe135daa5a4b333678a854ccf85871b71f8c54d1", kill_on_drop: false }` [INFO] [stderr] Checking safemem v0.2.0 [INFO] [stderr] Checking byteorder v1.2.3 [INFO] [stderr] Checking hex v0.3.2 [INFO] [stderr] Checking base64 v0.6.0 [INFO] [stderr] Checking cody v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: the item `base64` is imported redundantly [INFO] [stdout] --> src/error.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use base64; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | extern crate base64; [INFO] [stdout] | -------------------- the item `base64` is already imported here [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `hex` is imported redundantly [INFO] [stdout] --> src/error.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use hex; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | extern crate hex; [INFO] [stdout] | ----------------- the item `hex` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `std` is imported redundantly [INFO] [stdout] --> src/error.rs:3:11 [INFO] [stdout] | [INFO] [stdout] 3 | use std::{self, fmt, io}; [INFO] [stdout] | ^^^^ the item `std` is already imported by prelude [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unexpected string literal [INFO] [stdout] --> src/lib.rs:168:57 [INFO] [stdout] | [INFO] [stdout] 168 | assert!(hexadecimal_decimal(b"0".to_vec()).is_err() "Must have even number of hex chars"); [INFO] [stdout] | -^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: try adding a comma [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unexpected string literal [INFO] [stdout] --> src/lib.rs:169:59 [INFO] [stdout] | [INFO] [stdout] 169 | assert!(hexadecimal_decimal(b"000".to_vec()).is_err() "Must have even number of hex chars"); [INFO] [stdout] | -^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: try adding a comma [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unexpected string literal [INFO] [stdout] --> src/lib.rs:170:61 [INFO] [stdout] | [INFO] [stdout] 170 | assert!(hexadecimal_decimal(b"00000".to_vec()).is_err() "Must have even number of hex chars"); [INFO] [stdout] | -^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: try adding a comma [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `base64` is imported redundantly [INFO] [stdout] --> src/error.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use base64; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | extern crate base64; [INFO] [stdout] | -------------------- the item `base64` is already imported here [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `hex` is imported redundantly [INFO] [stdout] --> src/error.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use hex; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | extern crate hex; [INFO] [stdout] | ----------------- the item `hex` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `std` is imported redundantly [INFO] [stdout] --> src/error.rs:3:11 [INFO] [stdout] | [INFO] [stdout] 3 | use std::{self, fmt, io}; [INFO] [stdout] | ^^^^ the item `std` is already imported by prelude [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors; 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `cody` (lib test) due to 4 previous errors; 3 warnings emitted [INFO] running `Command { std: "docker" "inspect" "2fc753974afe30abfc6a919abe135daa5a4b333678a854ccf85871b71f8c54d1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2fc753974afe30abfc6a919abe135daa5a4b333678a854ccf85871b71f8c54d1", kill_on_drop: false }` [INFO] [stdout] 2fc753974afe30abfc6a919abe135daa5a4b333678a854ccf85871b71f8c54d1