[INFO] cloning repository https://github.com/shaofengmo/lightcode-vscode [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/shaofengmo/lightcode-vscode" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fshaofengmo%2Flightcode-vscode", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fshaofengmo%2Flightcode-vscode'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 302d590bc62d5d9b32d4c832a2e8a8cdc606d646 [INFO] checking shaofengmo/lightcode-vscode against try#024378d9203a4009ed73d6db2681b88a8d74ce7a for pr-112160 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fshaofengmo%2Flightcode-vscode" "/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/shaofengmo/lightcode-vscode 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] removed /workspace/builds/worker-7-tc2/source/.cargo/config [INFO] started tweaking git repo https://github.com/shaofengmo/lightcode-vscode [INFO] finished tweaking git repo https://github.com/shaofengmo/lightcode-vscode [INFO] tweaked toml for git repo https://github.com/shaofengmo/lightcode-vscode written to /workspace/builds/worker-7-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/shaofengmo/lightcode-vscode 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" "+024378d9203a4009ed73d6db2681b88a8d74ce7a" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: /workspace/builds/worker-7-tc2/source/debuggee/Cargo.toml: file `/workspace/builds/worker-7-tc2/source/debuggee/rust/types.rs` found to be present in multiple build targets: [INFO] [stderr] * `lib` target `types_lib` [INFO] [stderr] * `bin` target `rust-debuggee` [INFO] [stderr] * `bin` target `types` [INFO] [stderr] * `bin` target `types2` [INFO] [stderr] * `example` target `example1` [INFO] [stderr] * `integration-test` target `types_test` [INFO] [stderr] * `bench` target `bench1` [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] fd629abec68801d3bce3b01be6f8e91efa9de0f6aafdfefffc31614d98bdd919 [INFO] running `Command { std: "docker" "start" "-a" "fd629abec68801d3bce3b01be6f8e91efa9de0f6aafdfefffc31614d98bdd919", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "fd629abec68801d3bce3b01be6f8e91efa9de0f6aafdfefffc31614d98bdd919", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fd629abec68801d3bce3b01be6f8e91efa9de0f6aafdfefffc31614d98bdd919", kill_on_drop: false }` [INFO] [stdout] fd629abec68801d3bce3b01be6f8e91efa9de0f6aafdfefffc31614d98bdd919 [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] cd6f69ebd94956e3cb9bc63ef21aa97a91d4edd82cd2f04f29724ca48e8069f9 [INFO] running `Command { std: "docker" "start" "-a" "cd6f69ebd94956e3cb9bc63ef21aa97a91d4edd82cd2f04f29724ca48e8069f9", kill_on_drop: false }` [INFO] [stderr] warning: /opt/rustwide/workdir/debuggee/Cargo.toml: file `/opt/rustwide/workdir/debuggee/rust/types.rs` found to be present in multiple build targets: [INFO] [stderr] * `lib` target `types_lib` [INFO] [stderr] * `bin` target `rust-debuggee` [INFO] [stderr] * `bin` target `types` [INFO] [stderr] * `bin` target `types2` [INFO] [stderr] * `example` target `example1` [INFO] [stderr] * `integration-test` target `types_test` [INFO] [stderr] * `bench` target `bench1` [INFO] [stderr] Compiling syn v1.0.76 [INFO] [stderr] Compiling libc v0.2.101 [INFO] [stderr] Compiling serde_derive v1.0.130 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Compiling memchr v2.3.4 [INFO] [stderr] Compiling serde v1.0.130 [INFO] [stderr] Compiling cc v1.0.70 [INFO] [stderr] Compiling rust-debuggee v0.1.0 (/opt/rustwide/workdir/debuggee) [INFO] [stderr] Compiling serde_json v1.0.67 [INFO] [stderr] Compiling aho-corasick v0.7.15 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Compiling itoa v0.4.8 [INFO] [stdout] error: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> debuggee/rust/types.rs:179:18 [INFO] [stdout] | [INFO] [stdout] 179 | str_slice.clone(), [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: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> debuggee/rust/types.rs:181:13 [INFO] [stdout] | [INFO] [stdout] 181 | cstr.clone(), [INFO] [stdout] | ^^^^^^^^ unnecessary method call [INFO] [stdout] | [INFO] [stdout] = note: the type `CStr` does not implement `Clone`, so calling `clone` on `&CStr` copies the reference, which does not do anything and can be removed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> debuggee/rust/types.rs:183:14 [INFO] [stdout] | [INFO] [stdout] 183 | osstr.clone(), [INFO] [stdout] | ^^^^^^^^ unnecessary method call [INFO] [stdout] | [INFO] [stdout] = note: the type `OsStr` does not implement `Clone`, so calling `clone` on `&OsStr` copies the reference, which does not do anything and can be removed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> debuggee/rust/types.rs:185:13 [INFO] [stdout] | [INFO] [stdout] 185 | path.clone(), [INFO] [stdout] | ^^^^^^^^ unnecessary method call [INFO] [stdout] | [INFO] [stdout] = note: the type `Path` does not implement `Clone`, so calling `clone` on `&Path` copies the reference, which does not do anything and can be removed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `rust-debuggee` (lib) due to 5 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] running `Command { std: "docker" "inspect" "cd6f69ebd94956e3cb9bc63ef21aa97a91d4edd82cd2f04f29724ca48e8069f9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cd6f69ebd94956e3cb9bc63ef21aa97a91d4edd82cd2f04f29724ca48e8069f9", kill_on_drop: false }` [INFO] [stdout] cd6f69ebd94956e3cb9bc63ef21aa97a91d4edd82cd2f04f29724ca48e8069f9