[INFO] cloning repository https://github.com/johantell/what_the_color [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/johantell/what_the_color" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjohantell%2Fwhat_the_color", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjohantell%2Fwhat_the_color'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 72496302b5c5468270c1177e12632f3a338bd04e [INFO] checking johantell/what_the_color against master#af4a5a13a15fa0c60e06321077ef452f769b42fd for pr-122960-3 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjohantell%2Fwhat_the_color" "/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/johantell/what_the_color 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/johantell/what_the_color [INFO] finished tweaking git repo https://github.com/johantell/what_the_color [INFO] tweaked toml for git repo https://github.com/johantell/what_the_color written to /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/johantell/what_the_color 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] b29e2967538d1286fa53ceaf06c73bf3349c78da8d4bdcf039967f94decb3376 [INFO] running `Command { std: "docker" "start" "-a" "b29e2967538d1286fa53ceaf06c73bf3349c78da8d4bdcf039967f94decb3376", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b29e2967538d1286fa53ceaf06c73bf3349c78da8d4bdcf039967f94decb3376", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b29e2967538d1286fa53ceaf06c73bf3349c78da8d4bdcf039967f94decb3376", kill_on_drop: false }` [INFO] [stdout] b29e2967538d1286fa53ceaf06c73bf3349c78da8d4bdcf039967f94decb3376 [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] 9e9aa389cfaa30d7311963bca3b20dcdfa8546d2cb5c7be862d2548aecc9d226 [INFO] running `Command { std: "docker" "start" "-a" "9e9aa389cfaa30d7311963bca3b20dcdfa8546d2cb5c7be862d2548aecc9d226", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.19 [INFO] [stderr] Compiling libc v0.2.74 [INFO] [stderr] Compiling unicode-xid v0.2.1 [INFO] [stderr] Compiling syn v1.0.36 [INFO] [stderr] Compiling failure_derive v0.1.8 [INFO] [stderr] Checking adler v0.2.3 [INFO] [stderr] Checking gimli v0.22.0 [INFO] [stderr] Checking cfg-if v0.1.10 [INFO] [stderr] Checking rustc-demangle v0.1.16 [INFO] [stderr] Checking object v0.20.0 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Checking miniz_oxide v0.4.0 [INFO] [stderr] Compiling quote v1.0.7 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking colored v2.0.0 [INFO] [stderr] Checking addr2line v0.13.0 [INFO] [stderr] Checking backtrace v0.3.50 [INFO] [stderr] Compiling synstructure v0.12.4 [INFO] [stderr] Checking failure v0.1.8 [INFO] [stderr] Checking exitfailure v0.5.1 [INFO] [stderr] Checking what_the_color v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/color/rgb.rs:69:29 [INFO] [stdout] | [INFO] [stdout] 69 | assert_eq!(from_hex("#00FF99"), RGB(0, 255, 153)); [INFO] [stdout] | -------- ^^^^^^^^^ expected `u8`, found `&str` [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] note: function defined here [INFO] [stdout] --> src/color/rgb.rs:54:4 [INFO] [stdout] | [INFO] [stdout] 54 | fn from_hex(c: u8) -> Result { [INFO] [stdout] | ^^^^^^^^ ----- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/color/rgb.rs:69:41 [INFO] [stdout] | [INFO] [stdout] 69 | assert_eq!(from_hex("#00FF99"), RGB(0, 255, 153)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ expected `Result`, found `RGB` [INFO] [stdout] | [INFO] [stdout] = note: expected enum `Result` [INFO] [stdout] found struct `rgb::RGB` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/color/rgb.rs:70:29 [INFO] [stdout] | [INFO] [stdout] 70 | assert_eq!(from_hex("#000000"), RGB(0, 0, 0)); [INFO] [stdout] | -------- ^^^^^^^^^ expected `u8`, found `&str` [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] note: function defined here [INFO] [stdout] --> src/color/rgb.rs:54:4 [INFO] [stdout] | [INFO] [stdout] 54 | fn from_hex(c: u8) -> Result { [INFO] [stdout] | ^^^^^^^^ ----- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/color/rgb.rs:70:41 [INFO] [stdout] | [INFO] [stdout] 70 | assert_eq!(from_hex("#000000"), RGB(0, 0, 0)); [INFO] [stdout] | ^^^^^^^^^^^^ expected `Result`, found `RGB` [INFO] [stdout] | [INFO] [stdout] = note: expected enum `Result` [INFO] [stdout] found struct `rgb::RGB` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/color/rgb.rs:71:29 [INFO] [stdout] | [INFO] [stdout] 71 | assert_eq!(from_hex("#FFFFFF"), RGB(255, 255, 255)); [INFO] [stdout] | -------- ^^^^^^^^^ expected `u8`, found `&str` [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] note: function defined here [INFO] [stdout] --> src/color/rgb.rs:54:4 [INFO] [stdout] | [INFO] [stdout] 54 | fn from_hex(c: u8) -> Result { [INFO] [stdout] | ^^^^^^^^ ----- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/color/rgb.rs:71:41 [INFO] [stdout] | [INFO] [stdout] 71 | assert_eq!(from_hex("#FFFFFF"), RGB(255, 255, 255)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ expected `Result`, found `RGB` [INFO] [stdout] | [INFO] [stdout] = note: expected enum `Result` [INFO] [stdout] found struct `rgb::RGB` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 6 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stderr] error: could not compile `what_the_color` (bin "what_the_color" test) due to 7 previous errors [INFO] running `Command { std: "docker" "inspect" "9e9aa389cfaa30d7311963bca3b20dcdfa8546d2cb5c7be862d2548aecc9d226", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9e9aa389cfaa30d7311963bca3b20dcdfa8546d2cb5c7be862d2548aecc9d226", kill_on_drop: false }` [INFO] [stdout] 9e9aa389cfaa30d7311963bca3b20dcdfa8546d2cb5c7be862d2548aecc9d226