[INFO] cloning repository https://github.com/fredrikaverpil/rust-syntax [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/fredrikaverpil/rust-syntax" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ffredrikaverpil%2Frust-syntax", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ffredrikaverpil%2Frust-syntax'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] ee8e7e219e12329c15589f7f6ed875cbed0e0f6e [INFO] checking fredrikaverpil/rust-syntax against try#9543f8ea2aae74b8f13ac2a6e6c0ecdca9810869 for pr-129249 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ffredrikaverpil%2Frust-syntax" "/workspace/builds/worker-6-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/fredrikaverpil/rust-syntax 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/fredrikaverpil/rust-syntax [INFO] finished tweaking git repo https://github.com/fredrikaverpil/rust-syntax [INFO] tweaked toml for git repo https://github.com/fredrikaverpil/rust-syntax written to /workspace/builds/worker-6-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/fredrikaverpil/rust-syntax 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-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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] d233d1492be1fac37a7cfda29045dd17dca45dd744834ae4ac0127857b8ded59 [INFO] running `Command { std: "docker" "start" "-a" "d233d1492be1fac37a7cfda29045dd17dca45dd744834ae4ac0127857b8ded59", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d233d1492be1fac37a7cfda29045dd17dca45dd744834ae4ac0127857b8ded59", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d233d1492be1fac37a7cfda29045dd17dca45dd744834ae4ac0127857b8ded59", kill_on_drop: false }` [INFO] [stdout] d233d1492be1fac37a7cfda29045dd17dca45dd744834ae4ac0127857b8ded59 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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] d195cee4bf9125e6c7b90ac2eb5f32dda2e856d7762fd8f36ed257c3d28fd803 [INFO] running `Command { std: "docker" "start" "-a" "d195cee4bf9125e6c7b90ac2eb5f32dda2e856d7762fd8f36ed257c3d28fd803", kill_on_drop: false }` [INFO] [stderr] Checking rand_core v0.4.0 [INFO] [stderr] Compiling autocfg v0.1.4 [INFO] [stderr] Compiling libc v0.2.58 [INFO] [stderr] Checking phrases v0.1.0 (/opt/rustwide/workdir/phrases) [INFO] [stderr] Checking rand_core v0.3.1 [INFO] [stderr] Checking rand_jitter v0.1.4 [INFO] [stderr] Checking rand_isaac v0.1.1 [INFO] [stderr] Checking rand_xorshift v0.1.1 [INFO] [stderr] Checking rand_hc v0.1.0 [INFO] [stderr] Compiling rand_pcg v0.1.2 [INFO] [stderr] Compiling rand_chacha v0.1.1 [INFO] [stderr] Compiling rand v0.6.5 [INFO] [stderr] Checking rand_os v0.1.3 [INFO] [stderr] Checking rust-syntax v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error: this conversion is useless `&str` to `&str` [INFO] [stdout] --> src/mod17_hashmaps.rs:11:46 [INFO] [stdout] | [INFO] [stdout] 11 | 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] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/mod04_global_variables.rs:10:24 [INFO] [stdout] | [INFO] [stdout] 10 | println!("{}", Z); [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-syntax` (bin "rust-syntax") due to 1 previous error; 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/mod17_hashmaps.rs:11:46 [INFO] [stdout] | [INFO] [stdout] 11 | 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] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/mod04_global_variables.rs:10:24 [INFO] [stdout] | [INFO] [stdout] 10 | println!("{}", Z); [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-syntax` (bin "rust-syntax" test) due to 1 previous error; 1 warning emitted [INFO] running `Command { std: "docker" "inspect" "d195cee4bf9125e6c7b90ac2eb5f32dda2e856d7762fd8f36ed257c3d28fd803", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d195cee4bf9125e6c7b90ac2eb5f32dda2e856d7762fd8f36ed257c3d28fd803", kill_on_drop: false }` [INFO] [stdout] d195cee4bf9125e6c7b90ac2eb5f32dda2e856d7762fd8f36ed257c3d28fd803