[INFO] cloning repository https://github.com/drpacman/nand2tetris [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/drpacman/nand2tetris" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdrpacman%2Fnand2tetris", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdrpacman%2Fnand2tetris'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 40ba9ff3c2631c6a9daeef804ff6489f9961a25e [INFO] checking drpacman/nand2tetris against master#bca37a20bd376ce3fd138e7cdee7fe704e0f8814 for pr-139493-3 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdrpacman%2Fnand2tetris" "/workspace/builds/worker-6-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/drpacman/nand2tetris [INFO] finished tweaking git repo https://github.com/drpacman/nand2tetris [INFO] tweaked toml for git repo https://github.com/drpacman/nand2tetris written to /workspace/builds/worker-6-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/drpacman/nand2tetris on toolchain bca37a20bd376ce3fd138e7cdee7fe704e0f8814 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+bca37a20bd376ce3fd138e7cdee7fe704e0f8814" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/drpacman/nand2tetris 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" "+bca37a20bd376ce3fd138e7cdee7fe704e0f8814" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: virtual workspace defaulting to `resolver = "1"` despite one or more workspace members being on edition 2021 which implies `resolver = "2"` [INFO] [stderr] | [INFO] [stderr] = note: to keep the current resolver, specify `workspace.resolver = "1"` in the workspace root's manifest [INFO] [stderr] = note: to use the edition 2021 resolver, specify `workspace.resolver = "2"` in the workspace root's manifest [INFO] [stderr] = note: for more details see https://doc.rust-lang.org/cargo/reference/resolver.html#resolver-versions [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded regex v1.7.3 [INFO] [stderr] Downloaded regex-syntax v0.6.29 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/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:aa71247004a7fa38d13ec170f48f06cdedf5bc50b2a8645e56ed7e992e6fa513" "/opt/rustwide/cargo-home/bin/cargo" "+bca37a20bd376ce3fd138e7cdee7fe704e0f8814" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 518da0696ed511cf58111dfa86423f192d9cc76c1b9a6f38bc851b90290cd8f1 [INFO] running `Command { std: "docker" "start" "-a" "518da0696ed511cf58111dfa86423f192d9cc76c1b9a6f38bc851b90290cd8f1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "518da0696ed511cf58111dfa86423f192d9cc76c1b9a6f38bc851b90290cd8f1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "518da0696ed511cf58111dfa86423f192d9cc76c1b9a6f38bc851b90290cd8f1", kill_on_drop: false }` [INFO] [stdout] 518da0696ed511cf58111dfa86423f192d9cc76c1b9a6f38bc851b90290cd8f1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/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:aa71247004a7fa38d13ec170f48f06cdedf5bc50b2a8645e56ed7e992e6fa513" "/opt/rustwide/cargo-home/bin/cargo" "+bca37a20bd376ce3fd138e7cdee7fe704e0f8814" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] cb90732f0973215dc140432fe1cf21ad52d36928b1e58211bff4704d4b096cb3 [INFO] running `Command { std: "docker" "start" "-a" "cb90732f0973215dc140432fe1cf21ad52d36928b1e58211bff4704d4b096cb3", kill_on_drop: false }` [INFO] [stderr] warning: virtual workspace defaulting to `resolver = "1"` despite one or more workspace members being on edition 2021 which implies `resolver = "2"` [INFO] [stderr] | [INFO] [stderr] = note: to keep the current resolver, specify `workspace.resolver = "1"` in the workspace root's manifest [INFO] [stderr] = note: to use the edition 2021 resolver, specify `workspace.resolver = "2"` in the workspace root's manifest [INFO] [stderr] = note: for more details see https://doc.rust-lang.org/cargo/reference/resolver.html#resolver-versions [INFO] [stderr] Compiling memchr v2.5.0 [INFO] [stderr] Checking assembler v0.1.0 (/opt/rustwide/workdir/projects/assembler) [INFO] [stderr] Checking regex-syntax v0.6.29 [INFO] [stderr] Checking aho-corasick v0.7.20 [INFO] [stderr] Checking regex v1.7.3 [INFO] [stderr] Checking vmtranslator v0.1.0 (/opt/rustwide/workdir/projects/vmtranslator) [INFO] [stderr] Checking compiler v0.1.0 (/opt/rustwide/workdir/projects/compiler) [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> projects/compiler/src/vmcompiler.rs:520:76 [INFO] [stdout] | [INFO] [stdout] 520 | let symbol_entry = self.lookup_symbol(&id).unwrap().clone(); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: the type `SymbolTableEntry` does not implement `Clone`, so calling `clone` on `&SymbolTableEntry` copies the reference, which does not do anything and can be removed [INFO] [stdout] = note: `#[warn(noop_method_call)]` on by default [INFO] [stdout] help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] 520 - let symbol_entry = self.lookup_symbol(&id).unwrap().clone(); [INFO] [stdout] 520 + let symbol_entry = self.lookup_symbol(&id).unwrap(); [INFO] [stdout] | [INFO] [stdout] help: if you meant to clone `SymbolTableEntry`, implement `Clone` for it [INFO] [stdout] | [INFO] [stdout] 135 + #[derive(Clone)] [INFO] [stdout] 136 | struct SymbolTableEntry { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> projects/compiler/src/vmcompiler.rs:586:76 [INFO] [stdout] | [INFO] [stdout] 586 | let symbol_entry = self.lookup_symbol(&id).unwrap().clone(); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: the type `SymbolTableEntry` does not implement `Clone`, so calling `clone` on `&SymbolTableEntry` copies the reference, which does not do anything and can be removed [INFO] [stdout] help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] 586 - let symbol_entry = self.lookup_symbol(&id).unwrap().clone(); [INFO] [stdout] 586 + let symbol_entry = self.lookup_symbol(&id).unwrap(); [INFO] [stdout] | [INFO] [stdout] help: if you meant to clone `SymbolTableEntry`, implement `Clone` for it [INFO] [stdout] | [INFO] [stdout] 135 + #[derive(Clone)] [INFO] [stdout] 136 | struct SymbolTableEntry { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> projects/compiler/src/vmcompiler.rs:520:76 [INFO] [stdout] | [INFO] [stdout] 520 | let symbol_entry = self.lookup_symbol(&id).unwrap().clone(); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: the type `SymbolTableEntry` does not implement `Clone`, so calling `clone` on `&SymbolTableEntry` copies the reference, which does not do anything and can be removed [INFO] [stdout] = note: `#[warn(noop_method_call)]` on by default [INFO] [stdout] help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] 520 - let symbol_entry = self.lookup_symbol(&id).unwrap().clone(); [INFO] [stdout] 520 + let symbol_entry = self.lookup_symbol(&id).unwrap(); [INFO] [stdout] | [INFO] [stdout] help: if you meant to clone `SymbolTableEntry`, implement `Clone` for it [INFO] [stdout] | [INFO] [stdout] 135 + #[derive(Clone)] [INFO] [stdout] 136 | struct SymbolTableEntry { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> projects/compiler/src/vmcompiler.rs:586:76 [INFO] [stdout] | [INFO] [stdout] 586 | let symbol_entry = self.lookup_symbol(&id).unwrap().clone(); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: the type `SymbolTableEntry` does not implement `Clone`, so calling `clone` on `&SymbolTableEntry` copies the reference, which does not do anything and can be removed [INFO] [stdout] help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] 586 - let symbol_entry = self.lookup_symbol(&id).unwrap().clone(); [INFO] [stdout] 586 + let symbol_entry = self.lookup_symbol(&id).unwrap(); [INFO] [stdout] | [INFO] [stdout] help: if you meant to clone `SymbolTableEntry`, implement `Clone` for it [INFO] [stdout] | [INFO] [stdout] 135 + #[derive(Clone)] [INFO] [stdout] 136 | struct SymbolTableEntry { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 4.13s [INFO] running `Command { std: "docker" "inspect" "cb90732f0973215dc140432fe1cf21ad52d36928b1e58211bff4704d4b096cb3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cb90732f0973215dc140432fe1cf21ad52d36928b1e58211bff4704d4b096cb3", kill_on_drop: false }` [INFO] [stdout] cb90732f0973215dc140432fe1cf21ad52d36928b1e58211bff4704d4b096cb3