[INFO] cloning repository https://github.com/HVHO/rust-study [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/HVHO/rust-study" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FHVHO%2Frust-study", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FHVHO%2Frust-study'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] d08ee95907fd2548326649e3a6de6283e4e8ed8d [INFO] checking HVHO/rust-study/d08ee95907fd2548326649e3a6de6283e4e8ed8d against master#ff1737bb00913444173658b4e0b274fd79aabf66 for pr-132712-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FHVHO%2Frust-study" "/workspace/builds/worker-6-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/HVHO/rust-study on toolchain ff1737bb00913444173658b4e0b274fd79aabf66 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ff1737bb00913444173658b4e0b274fd79aabf66" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/HVHO/rust-study [INFO] finished tweaking git repo https://github.com/HVHO/rust-study [INFO] tweaked toml for git repo https://github.com/HVHO/rust-study written to /workspace/builds/worker-6-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/HVHO/rust-study 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" "+ff1737bb00913444173658b4e0b274fd79aabf66" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:4a844ea9eb2546a2d2c7022eacef16ef2e8229c7fbb2c7d4d55a9ceca922f72d" "/opt/rustwide/cargo-home/bin/cargo" "+ff1737bb00913444173658b4e0b274fd79aabf66" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] e4560b8df4be11b6f46c5df9aa1f9cac529689b80eb391397c96a4dbe9d4e314 [INFO] running `Command { std: "docker" "start" "-a" "e4560b8df4be11b6f46c5df9aa1f9cac529689b80eb391397c96a4dbe9d4e314", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e4560b8df4be11b6f46c5df9aa1f9cac529689b80eb391397c96a4dbe9d4e314", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e4560b8df4be11b6f46c5df9aa1f9cac529689b80eb391397c96a4dbe9d4e314", kill_on_drop: false }` [INFO] [stdout] e4560b8df4be11b6f46c5df9aa1f9cac529689b80eb391397c96a4dbe9d4e314 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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=allow" "-e" "RUSTDOCFLAGS=--cap-lints=allow" "-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:4a844ea9eb2546a2d2c7022eacef16ef2e8229c7fbb2c7d4d55a9ceca922f72d" "/opt/rustwide/cargo-home/bin/cargo" "+ff1737bb00913444173658b4e0b274fd79aabf66" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] efd58dda93620177a45440c08ca1a83c50fa14a939fe5844e3f189f9e0cb9b6b [INFO] running `Command { std: "docker" "start" "-a" "efd58dda93620177a45440c08ca1a83c50fa14a939fe5844e3f189f9e0cb9b6b", kill_on_drop: false }` [INFO] [stderr] Checking rust_study v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0277]: the size for values of type `str` cannot be known at compilation time [INFO] [stdout] --> src/main.rs:14:15 [INFO] [stdout] | [INFO] [stdout] 14 | Some(&x)if x == y => println!("case 1"), [INFO] [stdout] | ^ doesn't have a size known at compile-time [INFO] [stdout] | [INFO] [stdout] = help: the trait `Sized` is not implemented for `str` [INFO] [stdout] = note: all local variables must have a statically known size [INFO] [stdout] = help: unsized locals are gated as an unstable feature [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the size for values of type `str` cannot be known at compilation time [INFO] [stdout] --> src/main.rs:14:15 [INFO] [stdout] | [INFO] [stdout] 14 | Some(&x)if x == y => println!("case 1"), [INFO] [stdout] | ^ doesn't have a size known at compile-time [INFO] [stdout] | [INFO] [stdout] = help: the trait `Sized` is not implemented for `str` [INFO] [stdout] = note: all local variables must have a statically known size [INFO] [stdout] = help: unsized locals are gated as an unstable feature [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: can't compare `str` with `{integer}` [INFO] [stdout] --> src/main.rs:14:22 [INFO] [stdout] | [INFO] [stdout] 14 | Some(&x)if x == y => println!("case 1"), [INFO] [stdout] | ^^ no implementation for `str == {integer}` [INFO] [stdout] | [INFO] [stdout] = help: the trait `PartialEq<{integer}>` is not implemented for `str` [INFO] [stdout] = help: the following other types implement trait `PartialEq`: [INFO] [stdout] `&str` implements `PartialEq>` [INFO] [stdout] `&str` implements `PartialEq` [INFO] [stdout] `&str` implements `PartialEq` [INFO] [stdout] `str` implements `PartialEq>` [INFO] [stdout] `str` implements `PartialEq` [INFO] [stdout] `str` implements `PartialEq` [INFO] [stdout] `str` implements `PartialEq` [INFO] [stdout] `str` implements `PartialEq` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: can't compare `str` with `{integer}` [INFO] [stdout] --> src/main.rs:14:22 [INFO] [stdout] | [INFO] [stdout] 14 | Some(&x)if x == y => println!("case 1"), [INFO] [stdout] | ^^ no implementation for `str == {integer}` [INFO] [stdout] | [INFO] [stdout] = help: the trait `PartialEq<{integer}>` is not implemented for `str` [INFO] [stdout] = help: the following other types implement trait `PartialEq`: [INFO] [stdout] `&str` implements `PartialEq>` [INFO] [stdout] `&str` implements `PartialEq` [INFO] [stdout] `&str` implements `PartialEq` [INFO] [stdout] `str` implements `PartialEq>` [INFO] [stdout] `str` implements `PartialEq` [INFO] [stdout] `str` implements `PartialEq` [INFO] [stdout] `str` implements `PartialEq` [INFO] [stdout] `str` implements `PartialEq` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: could not compile `rust_study` (bin "rust_study") due to 2 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `rust_study` (bin "rust_study" test) due to 2 previous errors [INFO] running `Command { std: "docker" "inspect" "efd58dda93620177a45440c08ca1a83c50fa14a939fe5844e3f189f9e0cb9b6b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "efd58dda93620177a45440c08ca1a83c50fa14a939fe5844e3f189f9e0cb9b6b", kill_on_drop: false }` [INFO] [stdout] efd58dda93620177a45440c08ca1a83c50fa14a939fe5844e3f189f9e0cb9b6b