[INFO] cloning repository https://github.com/rust-lang/libc [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/rust-lang/libc" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frust-lang%2Flibc", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frust-lang%2Flibc'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] e0dfb3ff6e6f3a4421c580e3b7f41fe20ae1b577 [INFO] checking rust-lang/libc against try#024378d9203a4009ed73d6db2681b88a8d74ce7a for pr-112160 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frust-lang%2Flibc" "/workspace/builds/worker-7-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/rust-lang/libc on toolchain 024378d9203a4009ed73d6db2681b88a8d74ce7a [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+024378d9203a4009ed73d6db2681b88a8d74ce7a" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/rust-lang/libc [INFO] finished tweaking git repo https://github.com/rust-lang/libc [INFO] tweaked toml for git repo https://github.com/rust-lang/libc written to /workspace/builds/worker-7-tc2/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+024378d9203a4009ed73d6db2681b88a8d74ce7a" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+024378d9203a4009ed73d6db2681b88a8d74ce7a" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:19e73879b68f455e41552ea35293514db52ea292d993f571636dbffedb77a1ee" "/opt/rustwide/cargo-home/bin/cargo" "+024378d9203a4009ed73d6db2681b88a8d74ce7a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 32ace096cceba9368ece9ba76819641f368fdba4301c1ff8427649b1e482cc67 [INFO] running `Command { std: "docker" "start" "-a" "32ace096cceba9368ece9ba76819641f368fdba4301c1ff8427649b1e482cc67", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "32ace096cceba9368ece9ba76819641f368fdba4301c1ff8427649b1e482cc67", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "32ace096cceba9368ece9ba76819641f368fdba4301c1ff8427649b1e482cc67", kill_on_drop: false }` [INFO] [stdout] 32ace096cceba9368ece9ba76819641f368fdba4301c1ff8427649b1e482cc67 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:19e73879b68f455e41552ea35293514db52ea292d993f571636dbffedb77a1ee" "/opt/rustwide/cargo-home/bin/cargo" "+024378d9203a4009ed73d6db2681b88a8d74ce7a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 377e9537c930e5f49447a6f4c5572155dc9786b22de6204e47be6d54a0defdac [INFO] running `Command { std: "docker" "start" "-a" "377e9537c930e5f49447a6f4c5572155dc9786b22de6204e47be6d54a0defdac", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.145 [INFO] [stderr] Compiling serde v1.0.163 [INFO] [stderr] Compiling cfg-if v0.1.10 [INFO] [stderr] Compiling serde_json v1.0.96 [INFO] [stderr] Compiling semver v1.0.17 [INFO] [stderr] Compiling log v0.4.18 [INFO] [stderr] Compiling itoa v1.0.6 [INFO] [stderr] Compiling unicode-xid v0.2.4 [INFO] [stderr] Compiling ryu v1.0.13 [INFO] [stderr] Compiling libc v0.2.145 (/opt/rustwide/workdir) [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Compiling cc v1.0.79 [INFO] [stderr] Compiling rustc_version v0.4.0 [INFO] [stderr] Compiling dirs-sys v0.3.7 [INFO] [stderr] Compiling dirs v2.0.2 [INFO] [stderr] Compiling term v0.6.1 [INFO] [stderr] Compiling garando_pos v0.1.0 [INFO] [stderr] Compiling garando_errors v0.1.0 [INFO] [stderr] Compiling garando_syntax v0.1.0 [INFO] [stderr] Compiling ctest2 v0.4.6 [INFO] [stderr] Compiling libc-test v0.2.145 (/opt/rustwide/workdir/libc-test) [INFO] [stdout] error: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> libc-test/build.rs:642:22 [INFO] [stdout] | [INFO] [stdout] 642 | if ty.clone().chars().next().unwrap().is_uppercase() { [INFO] [stdout] | ^^^^^^^^ unnecessary method call [INFO] [stdout] | [INFO] [stdout] = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed [INFO] [stdout] = note: `#[deny(noop_method_call)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `libc-test` (build script) due to 2 previous errors [INFO] running `Command { std: "docker" "inspect" "377e9537c930e5f49447a6f4c5572155dc9786b22de6204e47be6d54a0defdac", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "377e9537c930e5f49447a6f4c5572155dc9786b22de6204e47be6d54a0defdac", kill_on_drop: false }` [INFO] [stdout] 377e9537c930e5f49447a6f4c5572155dc9786b22de6204e47be6d54a0defdac