[INFO] cloning repository https://github.com/blainekasten/rs-node [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/blainekasten/rs-node" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fblainekasten%2Frs-node", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fblainekasten%2Frs-node'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 6ab2f3024430ffcb831c90ba588f0058043481bb [INFO] checking blainekasten/rs-node against master#350d0ef0ec0493e6d21cfb265cb8211a0e74d766 for pr-145342-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fblainekasten%2Frs-node" "/workspace/builds/worker-2-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/blainekasten/rs-node [INFO] finished tweaking git repo https://github.com/blainekasten/rs-node [INFO] tweaked toml for git repo https://github.com/blainekasten/rs-node written to /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/blainekasten/rs-node on toolchain 350d0ef0ec0493e6d21cfb265cb8211a0e74d766 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/blainekasten/rs-node 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" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded libc v0.2.137 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] cb5bbecdbeb8c53fd9d5628536c423b6f9d102fe8c06a16d4750d1395aeedc52 [INFO] running `Command { std: "docker" "start" "-a" "cb5bbecdbeb8c53fd9d5628536c423b6f9d102fe8c06a16d4750d1395aeedc52", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "cb5bbecdbeb8c53fd9d5628536c423b6f9d102fe8c06a16d4750d1395aeedc52", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cb5bbecdbeb8c53fd9d5628536c423b6f9d102fe8c06a16d4750d1395aeedc52", kill_on_drop: false }` [INFO] [stdout] cb5bbecdbeb8c53fd9d5628536c423b6f9d102fe8c06a16d4750d1395aeedc52 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b91b2aee514529dc9e73db84fd971b5e09300c1293a164f5bd3d431adf646385 [INFO] running `Command { std: "docker" "start" "-a" "b91b2aee514529dc9e73db84fd971b5e09300c1293a164f5bd3d431adf646385", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.137 [INFO] [stderr] Checking ts-node v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: variants `BacktickQuote` and `FunctionClosingParenthesis` are never constructed [INFO] [stdout] --> src/./ast.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 4 | pub enum NodeASTType { [INFO] [stdout] | ----------- variants in this enum [INFO] [stdout] ... [INFO] [stdout] 7 | BacktickQuote, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 29 | FunctionClosingParenthesis, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `NodeASTType` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `NotPauser` is never constructed [INFO] [stdout] --> src/./pauser.rs:7:12 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct NotPauser {} [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `BacktickQuote` and `FunctionClosingParenthesis` are never constructed [INFO] [stdout] --> src/./ast.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 4 | pub enum NodeASTType { [INFO] [stdout] | ----------- variants in this enum [INFO] [stdout] ... [INFO] [stdout] 7 | BacktickQuote, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 29 | FunctionClosingParenthesis, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `NodeASTType` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `NotPauser` is never constructed [INFO] [stdout] --> src/./pauser.rs:7:12 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct NotPauser {} [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::cell::Cell` [INFO] [stdout] --> src/main.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::cell::Cell; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::cell::Cell` [INFO] [stdout] --> src/main.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::cell::Cell; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0596]: cannot borrow data in an `Rc` as mutable [INFO] [stdout] --> src/main.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 23 | g.nodes.insert( [INFO] [stdout] | ^^^^^^^ cannot borrow as mutable [INFO] [stdout] | [INFO] [stdout] = help: trait `DerefMut` is required to modify through a dereference, but it is not implemented for `Rc>>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0382]: borrow of moved value: `g` [INFO] [stdout] --> src/main.rs:32:41 [INFO] [stdout] | [INFO] [stdout] 16 | let g = Graph { [INFO] [stdout] | - move occurs because `g` has type `Graph<'_>`, which does not implement the `Copy` trait [INFO] [stdout] ... [INFO] [stdout] 21 | let state = State { current: g }; [INFO] [stdout] | - value moved here [INFO] [stdout] ... [INFO] [stdout] 32 | println!("{} {}", state.current.id, g.nodes.len()); [INFO] [stdout] | ^^^^^^^ value borrowed here after move [INFO] [stdout] | [INFO] [stdout] note: if `Graph<'_>` implemented `Clone`, you could clone the value [INFO] [stdout] --> src/main.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | struct Graph<'a> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ consider implementing `Clone` for this type [INFO] [stdout] ... [INFO] [stdout] 21 | let state = State { current: g }; [INFO] [stdout] | - you could clone this value [INFO] [stdout] = note: borrow occurs due to deref coercion to `HashMap<&str, Graph<'_>>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0382, E0596. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0382`. [INFO] [stdout] [INFO] [stdout] error[E0596]: cannot borrow data in an `Rc` as mutable [INFO] [stdout] --> src/main.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 23 | g.nodes.insert( [INFO] [stdout] | ^^^^^^^ cannot borrow as mutable [INFO] [stdout] | [INFO] [stdout] = help: trait `DerefMut` is required to modify through a dereference, but it is not implemented for `Rc>>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0382]: borrow of moved value: `g` [INFO] [stdout] --> src/main.rs:32:41 [INFO] [stdout] | [INFO] [stdout] 16 | let g = Graph { [INFO] [stdout] | - move occurs because `g` has type `Graph<'_>`, which does not implement the `Copy` trait [INFO] [stdout] ... [INFO] [stdout] 21 | let state = State { current: g }; [INFO] [stdout] | - value moved here [INFO] [stdout] ... [INFO] [stdout] 32 | println!("{} {}", state.current.id, g.nodes.len()); [INFO] [stdout] | ^^^^^^^ value borrowed here after move [INFO] [stdout] | [INFO] [stdout] note: if `Graph<'_>` implemented `Clone`, you could clone the value [INFO] [stdout] --> src/main.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | struct Graph<'a> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ consider implementing `Clone` for this type [INFO] [stdout] ... [INFO] [stdout] 21 | let state = State { current: g }; [INFO] [stdout] | - you could clone this value [INFO] [stdout] = note: borrow occurs due to deref coercion to `HashMap<&str, Graph<'_>>` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `ts-node` (bin "ts-node" test) due to 2 previous errors; 1 warning emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] Some errors have detailed explanations: E0382, E0596. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0382`. [INFO] [stdout] [INFO] [stderr] error: could not compile `ts-node` (bin "ts-node") due to 2 previous errors; 1 warning emitted [INFO] running `Command { std: "docker" "inspect" "b91b2aee514529dc9e73db84fd971b5e09300c1293a164f5bd3d431adf646385", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b91b2aee514529dc9e73db84fd971b5e09300c1293a164f5bd3d431adf646385", kill_on_drop: false }` [INFO] [stdout] b91b2aee514529dc9e73db84fd971b5e09300c1293a164f5bd3d431adf646385