[INFO] cloning repository https://github.com/fasidOnGit/rust-first-look [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/fasidOnGit/rust-first-look" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FfasidOnGit%2Frust-first-look", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FfasidOnGit%2Frust-first-look'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 81b289eb9c7416317e39f69a29ac4426eaa3ad4d [INFO] checking fasidOnGit/rust-first-look against try#9543f8ea2aae74b8f13ac2a6e6c0ecdca9810869 for pr-129249 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FfasidOnGit%2Frust-first-look" "/workspace/builds/worker-0-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/fasidOnGit/rust-first-look on toolchain 9543f8ea2aae74b8f13ac2a6e6c0ecdca9810869 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+9543f8ea2aae74b8f13ac2a6e6c0ecdca9810869" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/fasidOnGit/rust-first-look [INFO] finished tweaking git repo https://github.com/fasidOnGit/rust-first-look [INFO] tweaked toml for git repo https://github.com/fasidOnGit/rust-first-look written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/fasidOnGit/rust-first-look 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" "+9543f8ea2aae74b8f13ac2a6e6c0ecdca9810869" "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/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+9543f8ea2aae74b8f13ac2a6e6c0ecdca9810869" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 437506b014545b75f894ec44ca07df10c5d1d638abd68590b66c1475cef30450 [INFO] running `Command { std: "docker" "start" "-a" "437506b014545b75f894ec44ca07df10c5d1d638abd68590b66c1475cef30450", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "437506b014545b75f894ec44ca07df10c5d1d638abd68590b66c1475cef30450", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "437506b014545b75f894ec44ca07df10c5d1d638abd68590b66c1475cef30450", kill_on_drop: false }` [INFO] [stdout] 437506b014545b75f894ec44ca07df10c5d1d638abd68590b66c1475cef30450 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+9543f8ea2aae74b8f13ac2a6e6c0ecdca9810869" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c11d2dba32d1d2eda4b98a8c31247d32dca19603142e1783e5cdb8895aeede9a [INFO] running `Command { std: "docker" "start" "-a" "c11d2dba32d1d2eda4b98a8c31247d32dca19603142e1783e5cdb8895aeede9a", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.67 [INFO] [stderr] Checking phrases v0.1.0 (/opt/rustwide/workdir/src/Phrases) [INFO] [stderr] Checking rand v0.4.6 [INFO] [stderr] Checking rand v0.3.23 [INFO] [stderr] Checking rust-first-look v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error: this conversion is useless `&str` to `&str` [INFO] [stdout] --> src/data_structure.rs:261:46 [INFO] [stdout] | [INFO] [stdout] 261 | println!("a square has {} sides", shapes["square".into()]); [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[deny(self_type_conversion)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this conversion is useless `&str` to `&str` [INFO] [stdout] --> src/data_structure.rs:262:48 [INFO] [stdout] | [INFO] [stdout] 262 | println!("a triangle has {} sides", shapes["triangle".into()]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/main.rs:49:24 [INFO] [stdout] | [INFO] [stdout] 49 | println!("{}", AA); // You are promising that you are not messing things up. which is why we specify `unsafe` [INFO] [stdout] | ^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] = note: `#[warn(static_mut_refs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `rust-first-look` (bin "rust-first-look" test) due to 2 previous errors; 1 warning emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: this conversion is useless `&str` to `&str` [INFO] [stdout] --> src/data_structure.rs:261:46 [INFO] [stdout] | [INFO] [stdout] 261 | println!("a square has {} sides", shapes["square".into()]); [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[deny(self_type_conversion)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this conversion is useless `&str` to `&str` [INFO] [stdout] --> src/data_structure.rs:262:48 [INFO] [stdout] | [INFO] [stdout] 262 | println!("a triangle has {} sides", shapes["triangle".into()]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/main.rs:49:24 [INFO] [stdout] | [INFO] [stdout] 49 | println!("{}", AA); // You are promising that you are not messing things up. which is why we specify `unsafe` [INFO] [stdout] | ^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] = note: `#[warn(static_mut_refs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `rust-first-look` (bin "rust-first-look") due to 2 previous errors; 1 warning emitted [INFO] running `Command { std: "docker" "inspect" "c11d2dba32d1d2eda4b98a8c31247d32dca19603142e1783e5cdb8895aeede9a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c11d2dba32d1d2eda4b98a8c31247d32dca19603142e1783e5cdb8895aeede9a", kill_on_drop: false }` [INFO] [stdout] c11d2dba32d1d2eda4b98a8c31247d32dca19603142e1783e5cdb8895aeede9a