[INFO] cloning repository https://github.com/zaphar/ucg [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/zaphar/ucg" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fzaphar%2Fucg", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fzaphar%2Fucg'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 383addf48e8b54e95a713970d0b1740449ea719c [INFO] checking zaphar/ucg against try#024378d9203a4009ed73d6db2681b88a8d74ce7a for pr-112160 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fzaphar%2Fucg" "/workspace/builds/worker-1-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/zaphar/ucg 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/zaphar/ucg [INFO] finished tweaking git repo https://github.com/zaphar/ucg [INFO] tweaked toml for git repo https://github.com/zaphar/ucg written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/zaphar/ucg 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] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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] 081d0f35044b9fe95d9a4c76230c67dc8e075a2a3ffae4a975729e1907b52eb4 [INFO] running `Command { std: "docker" "start" "-a" "081d0f35044b9fe95d9a4c76230c67dc8e075a2a3ffae4a975729e1907b52eb4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "081d0f35044b9fe95d9a4c76230c67dc8e075a2a3ffae4a975729e1907b52eb4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "081d0f35044b9fe95d9a4c76230c67dc8e075a2a3ffae4a975729e1907b52eb4", kill_on_drop: false }` [INFO] [stdout] 081d0f35044b9fe95d9a4c76230c67dc8e075a2a3ffae4a975729e1907b52eb4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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] 3a6e0818b798cb8cca94c8a87bfc6b0bd52cfed2bc54a15dcde1c58a528b558d [INFO] running `Command { std: "docker" "start" "-a" "3a6e0818b798cb8cca94c8a87bfc6b0bd52cfed2bc54a15dcde1c58a528b558d", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.139 [INFO] [stderr] Compiling io-lifetimes v1.0.4 [INFO] [stderr] Compiling memchr v2.5.0 [INFO] [stderr] Checking bitflags v1.3.2 [INFO] [stderr] Compiling serde v1.0.152 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Compiling rustix v0.36.6 [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Checking linux-raw-sys v0.1.4 [INFO] [stderr] Compiling same-file v1.0.6 [INFO] [stderr] Checking unicode-width v0.1.10 [INFO] [stderr] Checking smallvec v1.10.0 [INFO] [stderr] Compiling log v0.4.17 [INFO] [stderr] Checking hashbrown v0.12.3 [INFO] [stderr] Checking static_assertions v1.1.0 [INFO] [stderr] Checking endian-type v0.1.2 [INFO] [stderr] Compiling serde_json v1.0.91 [INFO] [stderr] Checking ryu v1.0.12 [INFO] [stderr] Checking itoa v1.0.5 [INFO] [stderr] Compiling walkdir v2.3.2 [INFO] [stderr] Checking textwrap v0.11.0 [INFO] [stderr] Checking unicode-segmentation v1.10.0 [INFO] [stderr] Checking regex-syntax v0.6.28 [INFO] [stderr] Checking nibble_vec v0.1.0 [INFO] [stderr] Checking ansi_term v0.11.0 [INFO] [stderr] Checking radix_trie v0.2.1 [INFO] [stderr] Checking vec_map v0.8.2 [INFO] [stderr] Checking unsafe-libyaml v0.2.5 [INFO] [stderr] Checking utf8parse v0.2.0 [INFO] [stderr] Checking strsim v0.8.0 [INFO] [stderr] Checking simple-error v0.2.3 [INFO] [stderr] Checking base64 v0.21.0 [INFO] [stderr] Checking xml-rs v0.8.4 [INFO] [stderr] Compiling indexmap v1.9.2 [INFO] [stderr] Checking abortable_parser v0.2.3 [INFO] [stderr] Checking bencher v0.1.5 [INFO] [stderr] Checking aho-corasick v0.7.20 [INFO] [stderr] Compiling dirs-sys v0.3.7 [INFO] [stderr] Compiling dirs v4.0.0 [INFO] [stderr] Compiling ucg v0.7.3 (/opt/rustwide/workdir) [INFO] [stderr] Checking dirs-sys-next v0.1.2 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking nix v0.26.1 [INFO] [stderr] Checking clap v2.33.4 [INFO] [stderr] Checking dirs-next v2.0.0 [INFO] [stderr] Checking regex v1.7.1 [INFO] [stderr] Checking fd-lock v3.0.8 [INFO] [stderr] Checking serde_yaml v0.9.16 [INFO] [stderr] Checking toml v0.5.10 [INFO] [stderr] Checking rustyline v10.1.0 [INFO] [stdout] error: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/build/mod.rs:125:42 [INFO] [stdout] | [INFO] [stdout] 125 | environment: self.environment.clone(), [INFO] [stdout] | ^^^^^^^^ unnecessary method call [INFO] [stdout] | [INFO] [stdout] = note: the type `RefCell>` does not implement `Clone`, so calling `clone` on `&RefCell>` 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] --> src/build/opcode/runtime.rs:424:66 [INFO] [stdout] | [INFO] [stdout] 424 | VM::fcall_impl(f, self.strict, stack, env.clone(), import_stack))?; [INFO] [stdout] | ^^^^^^^^ unnecessary method call [INFO] [stdout] | [INFO] [stdout] = note: the type `RefCell>` does not implement `Clone`, so calling `clone` on `&RefCell>` 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] --> src/build/opcode/runtime.rs:441:66 [INFO] [stdout] | [INFO] [stdout] 441 | VM::fcall_impl(f, self.strict, stack, env.clone(), import_stack))?; [INFO] [stdout] | ^^^^^^^^ unnecessary method call [INFO] [stdout] | [INFO] [stdout] = note: the type `RefCell>` does not implement `Clone`, so calling `clone` on `&RefCell>` 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] --> src/build/opcode/runtime.rs:473:66 [INFO] [stdout] | [INFO] [stdout] 473 | VM::fcall_impl(f, self.strict, stack, env.clone(), import_stack))?; [INFO] [stdout] | ^^^^^^^^ unnecessary method call [INFO] [stdout] | [INFO] [stdout] = note: the type `RefCell>` does not implement `Clone`, so calling `clone` on `&RefCell>` 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] --> src/build/opcode/runtime.rs:536:66 [INFO] [stdout] | [INFO] [stdout] 536 | VM::fcall_impl(f, self.strict, stack, env.clone(), import_stack))?; [INFO] [stdout] | ^^^^^^^^ unnecessary method call [INFO] [stdout] | [INFO] [stdout] = note: the type `RefCell>` does not implement `Clone`, so calling `clone` on `&RefCell>` 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] --> src/build/opcode/runtime.rs:562:66 [INFO] [stdout] | [INFO] [stdout] 562 | VM::fcall_impl(f, self.strict, stack, env.clone(), import_stack))?; [INFO] [stdout] | ^^^^^^^^ unnecessary method call [INFO] [stdout] | [INFO] [stdout] = note: the type `RefCell>` does not implement `Clone`, so calling `clone` on `&RefCell>` 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] --> src/build/opcode/runtime.rs:584:66 [INFO] [stdout] | [INFO] [stdout] 584 | VM::fcall_impl(f, self.strict, stack, env.clone(), import_stack))?; [INFO] [stdout] | ^^^^^^^^ unnecessary method call [INFO] [stdout] | [INFO] [stdout] = note: the type `RefCell>` does not implement `Clone`, so calling `clone` on `&RefCell>` 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] --> src/build/opcode/runtime.rs:687:66 [INFO] [stdout] | [INFO] [stdout] 687 | VM::fcall_impl(f, self.strict, stack, env.clone(), import_stack))?; [INFO] [stdout] | ^^^^^^^^ unnecessary method call [INFO] [stdout] | [INFO] [stdout] = note: the type `RefCell>` does not implement `Clone`, so calling `clone` on `&RefCell>` 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] --> src/build/opcode/runtime.rs:704:66 [INFO] [stdout] | [INFO] [stdout] 704 | VM::fcall_impl(f, self.strict, stack, env.clone(), import_stack))?; [INFO] [stdout] | ^^^^^^^^ unnecessary method call [INFO] [stdout] | [INFO] [stdout] = note: the type `RefCell>` does not implement `Clone`, so calling `clone` on `&RefCell>` 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] --> src/build/opcode/runtime.rs:717:66 [INFO] [stdout] | [INFO] [stdout] 717 | VM::fcall_impl(f, self.strict, stack, env.clone(), import_stack))?; [INFO] [stdout] | ^^^^^^^^ unnecessary method call [INFO] [stdout] | [INFO] [stdout] = note: the type `RefCell>` does not implement `Clone`, so calling `clone` on `&RefCell>` 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] --> src/build/opcode/vm.rs:549:78 [INFO] [stdout] | [INFO] [stdout] 549 | Self::fcall_impl(f, self.runtime.strict, &mut self.stack, env.clone(), &self.import_stack))?; [INFO] [stdout] | ^^^^^^^^ unnecessary method call [INFO] [stdout] | [INFO] [stdout] = note: the type `RefCell>` does not implement `Clone`, so calling `clone` on `&RefCell>` copies the reference, which does not do anything and can be removed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 11 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `ucg` (lib) due to 12 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/build/mod.rs:125:42 [INFO] [stdout] | [INFO] [stdout] 125 | environment: self.environment.clone(), [INFO] [stdout] | ^^^^^^^^ unnecessary method call [INFO] [stdout] | [INFO] [stdout] = note: the type `RefCell>` does not implement `Clone`, so calling `clone` on `&RefCell>` 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] --> src/build/opcode/runtime.rs:424:66 [INFO] [stdout] | [INFO] [stdout] 424 | VM::fcall_impl(f, self.strict, stack, env.clone(), import_stack))?; [INFO] [stdout] | ^^^^^^^^ unnecessary method call [INFO] [stdout] | [INFO] [stdout] = note: the type `RefCell>` does not implement `Clone`, so calling `clone` on `&RefCell>` 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] --> src/build/opcode/runtime.rs:441:66 [INFO] [stdout] | [INFO] [stdout] 441 | VM::fcall_impl(f, self.strict, stack, env.clone(), import_stack))?; [INFO] [stdout] | ^^^^^^^^ unnecessary method call [INFO] [stdout] | [INFO] [stdout] = note: the type `RefCell>` does not implement `Clone`, so calling `clone` on `&RefCell>` 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] --> src/build/opcode/runtime.rs:473:66 [INFO] [stdout] | [INFO] [stdout] 473 | VM::fcall_impl(f, self.strict, stack, env.clone(), import_stack))?; [INFO] [stdout] | ^^^^^^^^ unnecessary method call [INFO] [stdout] | [INFO] [stdout] = note: the type `RefCell>` does not implement `Clone`, so calling `clone` on `&RefCell>` 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] --> src/build/opcode/runtime.rs:536:66 [INFO] [stdout] | [INFO] [stdout] 536 | VM::fcall_impl(f, self.strict, stack, env.clone(), import_stack))?; [INFO] [stdout] | ^^^^^^^^ unnecessary method call [INFO] [stdout] | [INFO] [stdout] = note: the type `RefCell>` does not implement `Clone`, so calling `clone` on `&RefCell>` 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] --> src/build/opcode/runtime.rs:562:66 [INFO] [stdout] | [INFO] [stdout] 562 | VM::fcall_impl(f, self.strict, stack, env.clone(), import_stack))?; [INFO] [stdout] | ^^^^^^^^ unnecessary method call [INFO] [stdout] | [INFO] [stdout] = note: the type `RefCell>` does not implement `Clone`, so calling `clone` on `&RefCell>` 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] --> src/build/opcode/runtime.rs:584:66 [INFO] [stdout] | [INFO] [stdout] 584 | VM::fcall_impl(f, self.strict, stack, env.clone(), import_stack))?; [INFO] [stdout] | ^^^^^^^^ unnecessary method call [INFO] [stdout] | [INFO] [stdout] = note: the type `RefCell>` does not implement `Clone`, so calling `clone` on `&RefCell>` 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] --> src/build/opcode/runtime.rs:687:66 [INFO] [stdout] | [INFO] [stdout] 687 | VM::fcall_impl(f, self.strict, stack, env.clone(), import_stack))?; [INFO] [stdout] | ^^^^^^^^ unnecessary method call [INFO] [stdout] | [INFO] [stdout] = note: the type `RefCell>` does not implement `Clone`, so calling `clone` on `&RefCell>` 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] --> src/build/opcode/runtime.rs:704:66 [INFO] [stdout] | [INFO] [stdout] 704 | VM::fcall_impl(f, self.strict, stack, env.clone(), import_stack))?; [INFO] [stdout] | ^^^^^^^^ unnecessary method call [INFO] [stdout] | [INFO] [stdout] = note: the type `RefCell>` does not implement `Clone`, so calling `clone` on `&RefCell>` 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] --> src/build/opcode/runtime.rs:717:66 [INFO] [stdout] | [INFO] [stdout] 717 | VM::fcall_impl(f, self.strict, stack, env.clone(), import_stack))?; [INFO] [stdout] | ^^^^^^^^ unnecessary method call [INFO] [stdout] | [INFO] [stdout] = note: the type `RefCell>` does not implement `Clone`, so calling `clone` on `&RefCell>` 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] --> src/build/opcode/vm.rs:549:78 [INFO] [stdout] | [INFO] [stdout] 549 | Self::fcall_impl(f, self.runtime.strict, &mut self.stack, env.clone(), &self.import_stack))?; [INFO] [stdout] | ^^^^^^^^ unnecessary method call [INFO] [stdout] | [INFO] [stdout] = note: the type `RefCell>` does not implement `Clone`, so calling `clone` on `&RefCell>` copies the reference, which does not do anything and can be removed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 11 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `ucg` (lib test) due to 12 previous errors [INFO] running `Command { std: "docker" "inspect" "3a6e0818b798cb8cca94c8a87bfc6b0bd52cfed2bc54a15dcde1c58a528b558d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3a6e0818b798cb8cca94c8a87bfc6b0bd52cfed2bc54a15dcde1c58a528b558d", kill_on_drop: false }` [INFO] [stdout] 3a6e0818b798cb8cca94c8a87bfc6b0bd52cfed2bc54a15dcde1c58a528b558d