[INFO] fetching crate tagged_ptr 0.1.0... [INFO] checking tagged_ptr-0.1.0 against master#af4a5a13a15fa0c60e06321077ef452f769b42fd for pr-122960-4 [INFO] extracting crate tagged_ptr 0.1.0 into /workspace/builds/worker-6-tc1/source [INFO] validating manifest of crates.io crate tagged_ptr 0.1.0 on toolchain af4a5a13a15fa0c60e06321077ef452f769b42fd [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate tagged_ptr 0.1.0 [INFO] finished tweaking crates.io crate tagged_ptr 0.1.0 [INFO] tweaked toml for crates.io crate tagged_ptr 0.1.0 written to /workspace/builds/worker-6-tc1/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 79f4fe4ed0cbd42462d255b5ee49c1b4e7973a0c73d19e2afe1fd99e6d5ab243 [INFO] running `Command { std: "docker" "start" "-a" "79f4fe4ed0cbd42462d255b5ee49c1b4e7973a0c73d19e2afe1fd99e6d5ab243", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "79f4fe4ed0cbd42462d255b5ee49c1b4e7973a0c73d19e2afe1fd99e6d5ab243", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "79f4fe4ed0cbd42462d255b5ee49c1b4e7973a0c73d19e2afe1fd99e6d5ab243", kill_on_drop: false }` [INFO] [stdout] 79f4fe4ed0cbd42462d255b5ee49c1b4e7973a0c73d19e2afe1fd99e6d5ab243 [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=allow" "-e" "RUSTDOCFLAGS=--cap-lints=allow" "-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 72223d7ad1aa5f2ff60693114547a39b4c7fc95d5d23e830d4423dc7f367d145 [INFO] running `Command { std: "docker" "start" "-a" "72223d7ad1aa5f2ff60693114547a39b4c7fc95d5d23e830d4423dc7f367d145", kill_on_drop: false }` [INFO] [stderr] Checking tagged_ptr v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/tagged_ptr.rs:217:32 [INFO] [stdout] | [INFO] [stdout] 217 | let x: X = Unpacked::B(rc); [INFO] [stdout] | ----------- ^^ expected `Rc`, found `Box>` [INFO] [stdout] | | [INFO] [stdout] | arguments to this enum variant are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected struct `Rc` [INFO] [stdout] found struct `Box>` [INFO] [stdout] help: the type constructed contains `Box>` due to the type of the argument passed [INFO] [stdout] --> src/tagged_ptr.rs:217:20 [INFO] [stdout] | [INFO] [stdout] 217 | let x: X = Unpacked::B(rc); [INFO] [stdout] | ^^^^^^^^^^^^--^ [INFO] [stdout] | | [INFO] [stdout] | this argument influences the type of `Unpacked` [INFO] [stdout] note: tuple variant defined here [INFO] [stdout] --> src/tagged_ptr.rs:12:11 [INFO] [stdout] | [INFO] [stdout] 12 | A(A), B(B), C(C), D(D), [INFO] [stdout] | ^ [INFO] [stdout] help: consider unboxing the value [INFO] [stdout] | [INFO] [stdout] 217 | let x: X = Unpacked::B(*rc); [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/tagged_ptr.rs:230:32 [INFO] [stdout] | [INFO] [stdout] 230 | let x: X = Unpacked::B(rc); [INFO] [stdout] | ----------- ^^ expected `Rc`, found `Box>` [INFO] [stdout] | | [INFO] [stdout] | arguments to this enum variant are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected struct `Rc` [INFO] [stdout] found struct `Box>` [INFO] [stdout] help: the type constructed contains `Box>` due to the type of the argument passed [INFO] [stdout] --> src/tagged_ptr.rs:230:20 [INFO] [stdout] | [INFO] [stdout] 230 | let x: X = Unpacked::B(rc); [INFO] [stdout] | ^^^^^^^^^^^^--^ [INFO] [stdout] | | [INFO] [stdout] | this argument influences the type of `Unpacked` [INFO] [stdout] note: tuple variant defined here [INFO] [stdout] --> src/tagged_ptr.rs:12:11 [INFO] [stdout] | [INFO] [stdout] 12 | A(A), B(B), C(C), D(D), [INFO] [stdout] | ^ [INFO] [stdout] help: consider unboxing the value [INFO] [stdout] | [INFO] [stdout] 230 | let x: X = Unpacked::B(*rc); [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stderr] error: could not compile `tagged_ptr` (lib test) due to 3 previous errors [INFO] running `Command { std: "docker" "inspect" "72223d7ad1aa5f2ff60693114547a39b4c7fc95d5d23e830d4423dc7f367d145", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "72223d7ad1aa5f2ff60693114547a39b4c7fc95d5d23e830d4423dc7f367d145", kill_on_drop: false }` [INFO] [stdout] 72223d7ad1aa5f2ff60693114547a39b4c7fc95d5d23e830d4423dc7f367d145