[INFO] cloning repository https://github.com/chinedu360/rust_stack [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/chinedu360/rust_stack" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fchinedu360%2Frust_stack", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fchinedu360%2Frust_stack'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] cf7982c67ccc2d8fea5e5e61ed27cf8c9fec5eb6 [INFO] checking chinedu360/rust_stack against try#d7b15db413fd2070daa09a2c5b7f2ab38417429f for pr-144544 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fchinedu360%2Frust_stack" "/workspace/builds/worker-4-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/chinedu360/rust_stack [INFO] finished tweaking git repo https://github.com/chinedu360/rust_stack [INFO] tweaked toml for git repo https://github.com/chinedu360/rust_stack written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/chinedu360/rust_stack on toolchain d7b15db413fd2070daa09a2c5b7f2ab38417429f [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+d7b15db413fd2070daa09a2c5b7f2ab38417429f" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/chinedu360/rust_stack 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" "+d7b15db413fd2070daa09a2c5b7f2ab38417429f" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:cf8efcab8866f2cf4285301c7418e2f4f2a9b088c91ba69c40d5b659f81557f7" "/opt/rustwide/cargo-home/bin/cargo" "+d7b15db413fd2070daa09a2c5b7f2ab38417429f" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] f8cb3d6a8e0cd63afd9933a8bc5fc27f6e09acc9edf20ecdaefb2cfb11f00201 [INFO] running `Command { std: "docker" "start" "-a" "f8cb3d6a8e0cd63afd9933a8bc5fc27f6e09acc9edf20ecdaefb2cfb11f00201", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f8cb3d6a8e0cd63afd9933a8bc5fc27f6e09acc9edf20ecdaefb2cfb11f00201", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f8cb3d6a8e0cd63afd9933a8bc5fc27f6e09acc9edf20ecdaefb2cfb11f00201", kill_on_drop: false }` [INFO] [stdout] f8cb3d6a8e0cd63afd9933a8bc5fc27f6e09acc9edf20ecdaefb2cfb11f00201 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:cf8efcab8866f2cf4285301c7418e2f4f2a9b088c91ba69c40d5b659f81557f7" "/opt/rustwide/cargo-home/bin/cargo" "+d7b15db413fd2070daa09a2c5b7f2ab38417429f" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 0411055dcfdb478ae823be0554c6ed3d8a3b1617e5415e2d8aaca35ddd1674fc [INFO] running `Command { std: "docker" "start" "-a" "0411055dcfdb478ae823be0554c6ed3d8a3b1617e5415e2d8aaca35ddd1674fc", kill_on_drop: false }` [INFO] [stderr] Checking stacks v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:93:37 [INFO] [stdout] | [INFO] [stdout] 93 | (*tail).next = Some(new_node); [INFO] [stdout] | ---- ^^^^^^^^ expected `Box`, found `Box` [INFO] [stdout] | | [INFO] [stdout] | arguments to this enum variant are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected struct `Box` [INFO] [stdout] found struct `Box` [INFO] [stdout] help: the type constructed contains `Box` due to the type of the argument passed [INFO] [stdout] --> src/main.rs:93:32 [INFO] [stdout] | [INFO] [stdout] 93 | (*tail).next = Some(new_node); [INFO] [stdout] | ^^^^^--------^ [INFO] [stdout] | | [INFO] [stdout] | this argument influences the type of `Some` [INFO] [stdout] note: tuple variant defined here [INFO] [stdout] --> /rustc/d7b15db413fd2070daa09a2c5b7f2ab38417429f/library/core/src/option.rs:601:5 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:94:38 [INFO] [stdout] | [INFO] [stdout] 94 | new_node.prev = Some(tail); [INFO] [stdout] | ---- ^^^^ expected `*mut Node`, found `*mut DoubleNode` [INFO] [stdout] | | [INFO] [stdout] | arguments to this enum variant are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected raw pointer `*mut Node` [INFO] [stdout] found raw pointer `*mut DoubleNode` [INFO] [stdout] help: the type constructed contains `*mut DoubleNode` due to the type of the argument passed [INFO] [stdout] --> src/main.rs:94:33 [INFO] [stdout] | [INFO] [stdout] 94 | new_node.prev = Some(tail); [INFO] [stdout] | ^^^^^----^ [INFO] [stdout] | | [INFO] [stdout] | this argument influences the type of `Some` [INFO] [stdout] note: tuple variant defined here [INFO] [stdout] --> /rustc/d7b15db413fd2070daa09a2c5b7f2ab38417429f/library/core/src/option.rs:601:5 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:107:23 [INFO] [stdout] | [INFO] [stdout] 104 | let mut current = self.head.as_ref(); [INFO] [stdout] | ------------------ expected due to this value [INFO] [stdout] ... [INFO] [stdout] 107 | current = node.next.as_ref(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ expected `Option<&Box>`, found `Option<&Box>` [INFO] [stdout] | [INFO] [stdout] = note: expected enum `Option<&Box>` [INFO] [stdout] found enum `Option<&Box>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `value` on type `*mut DoubleNode` [INFO] [stdout] --> src/main.rs:115:45 [INFO] [stdout] | [INFO] [stdout] 115 | print!("{} ->", unsafe {(*node).value}); [INFO] [stdout] | ^^^^^ unknown field [INFO] [stdout] | [INFO] [stdout] help: `(*node)` is a raw pointer; try dereferencing it [INFO] [stdout] | [INFO] [stdout] 115 | print!("{} ->", unsafe {(*(*node)).value}); [INFO] [stdout] | ++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `prev` on type `*mut DoubleNode` [INFO] [stdout] --> src/main.rs:116:39 [INFO] [stdout] | [INFO] [stdout] 116 | current = unsafe {(*node).prev}; [INFO] [stdout] | ^^^^ unknown field [INFO] [stdout] | [INFO] [stdout] help: `(*node)` is a raw pointer; try dereferencing it [INFO] [stdout] | [INFO] [stdout] 116 | current = unsafe {(*(*node)).prev}; [INFO] [stdout] | ++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:93:37 [INFO] [stdout] | [INFO] [stdout] 93 | (*tail).next = Some(new_node); [INFO] [stdout] | ---- ^^^^^^^^ expected `Box`, found `Box` [INFO] [stdout] | | [INFO] [stdout] | arguments to this enum variant are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected struct `Box` [INFO] [stdout] found struct `Box` [INFO] [stdout] help: the type constructed contains `Box` due to the type of the argument passed [INFO] [stdout] --> src/main.rs:93:32 [INFO] [stdout] | [INFO] [stdout] 93 | (*tail).next = Some(new_node); [INFO] [stdout] | ^^^^^--------^ [INFO] [stdout] | | [INFO] [stdout] | this argument influences the type of `Some` [INFO] [stdout] note: tuple variant defined here [INFO] [stdout] --> /rustc/d7b15db413fd2070daa09a2c5b7f2ab38417429f/library/core/src/option.rs:601:5 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0308, E0609. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:94:38 [INFO] [stdout] | [INFO] [stdout] 94 | new_node.prev = Some(tail); [INFO] [stdout] | ---- ^^^^ expected `*mut Node`, found `*mut DoubleNode` [INFO] [stdout] | | [INFO] [stdout] | arguments to this enum variant are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected raw pointer `*mut Node` [INFO] [stdout] found raw pointer `*mut DoubleNode` [INFO] [stdout] help: the type constructed contains `*mut DoubleNode` due to the type of the argument passed [INFO] [stdout] --> src/main.rs:94:33 [INFO] [stdout] | [INFO] [stdout] 94 | new_node.prev = Some(tail); [INFO] [stdout] | ^^^^^----^ [INFO] [stdout] | | [INFO] [stdout] | this argument influences the type of `Some` [INFO] [stdout] note: tuple variant defined here [INFO] [stdout] --> /rustc/d7b15db413fd2070daa09a2c5b7f2ab38417429f/library/core/src/option.rs:601:5 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:107:23 [INFO] [stdout] | [INFO] [stdout] 104 | let mut current = self.head.as_ref(); [INFO] [stdout] | ------------------ expected due to this value [INFO] [stdout] ... [INFO] [stdout] 107 | current = node.next.as_ref(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ expected `Option<&Box>`, found `Option<&Box>` [INFO] [stdout] | [INFO] [stdout] = note: expected enum `Option<&Box>` [INFO] [stdout] found enum `Option<&Box>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `value` on type `*mut DoubleNode` [INFO] [stdout] --> src/main.rs:115:45 [INFO] [stdout] | [INFO] [stdout] 115 | print!("{} ->", unsafe {(*node).value}); [INFO] [stdout] | ^^^^^ unknown field [INFO] [stdout] | [INFO] [stdout] help: `(*node)` is a raw pointer; try dereferencing it [INFO] [stdout] | [INFO] [stdout] 115 | print!("{} ->", unsafe {(*(*node)).value}); [INFO] [stdout] | ++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `prev` on type `*mut DoubleNode` [INFO] [stdout] --> src/main.rs:116:39 [INFO] [stdout] | [INFO] [stdout] 116 | current = unsafe {(*node).prev}; [INFO] [stdout] | ^^^^ unknown field [INFO] [stdout] | [INFO] [stdout] help: `(*node)` is a raw pointer; try dereferencing it [INFO] [stdout] | [INFO] [stdout] 116 | current = unsafe {(*(*node)).prev}; [INFO] [stdout] | ++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0308, E0609. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stderr] error: could not compile `stacks` (bin "stacks") due to 5 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `stacks` (bin "stacks" test) due to 5 previous errors [INFO] running `Command { std: "docker" "inspect" "0411055dcfdb478ae823be0554c6ed3d8a3b1617e5415e2d8aaca35ddd1674fc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0411055dcfdb478ae823be0554c6ed3d8a3b1617e5415e2d8aaca35ddd1674fc", kill_on_drop: false }` [INFO] [stdout] 0411055dcfdb478ae823be0554c6ed3d8a3b1617e5415e2d8aaca35ddd1674fc