[INFO] fetching crate discrimination 0.0.2... [INFO] checking discrimination-0.0.2 against try#f6d7c613ae2d161ff37dbc63cc5abd809c878597 for pr-83850 [INFO] extracting crate discrimination 0.0.2 into /workspace/builds/worker-4/source [INFO] validating manifest of crates.io crate discrimination 0.0.2 on toolchain f6d7c613ae2d161ff37dbc63cc5abd809c878597 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+f6d7c613ae2d161ff37dbc63cc5abd809c878597" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate discrimination 0.0.2 [INFO] finished tweaking crates.io crate discrimination 0.0.2 [INFO] tweaked toml for crates.io crate discrimination 0.0.2 written to /workspace/builds/worker-4/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+f6d7c613ae2d161ff37dbc63cc5abd809c878597" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+f6d7c613ae2d161ff37dbc63cc5abd809c878597" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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:ac0d0aa6ec8ed129e241004a6179c99fa0d2616f50ba759c5b60bd26d0fafa02" "/opt/rustwide/cargo-home/bin/cargo" "+f6d7c613ae2d161ff37dbc63cc5abd809c878597" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] d124e389ef754670643525bdbabfd5d0e2c1e5843351b109974fff271dd69f50 [INFO] running `Command { std: "docker" "start" "-a" "d124e389ef754670643525bdbabfd5d0e2c1e5843351b109974fff271dd69f50", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d124e389ef754670643525bdbabfd5d0e2c1e5843351b109974fff271dd69f50", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d124e389ef754670643525bdbabfd5d0e2c1e5843351b109974fff271dd69f50", kill_on_drop: false }` [INFO] [stdout] d124e389ef754670643525bdbabfd5d0e2c1e5843351b109974fff271dd69f50 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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" "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:ac0d0aa6ec8ed129e241004a6179c99fa0d2616f50ba759c5b60bd26d0fafa02" "/opt/rustwide/cargo-home/bin/cargo" "+f6d7c613ae2d161ff37dbc63cc5abd809c878597" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 5f85f3d2f386c4034d25f4d676d802928d0dd0fc16a9799e8830021482aeb682 [INFO] running `Command { std: "docker" "start" "-a" "5f85f3d2f386c4034d25f4d676d802928d0dd0fc16a9799e8830021482aeb682", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.126 [INFO] [stderr] Compiling maybe-uninit v2.0.0 [INFO] [stderr] Checking owning_ref v0.2.4 [INFO] [stderr] Checking either v1.6.1 [INFO] [stderr] Checking smallvec v0.6.14 [INFO] [stderr] Checking rand v0.4.6 [INFO] [stderr] Checking thread-id v3.3.0 [INFO] [stderr] Checking parking_lot_core v0.2.14 [INFO] [stderr] Checking parking_lot v0.3.8 [INFO] [stderr] Checking discrimination v0.0.2 (/opt/rustwide/workdir) [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/discriminator.rs:98:24 [INFO] [stdout] | [INFO] [stdout] 98 | Trivial(Option + 'a>>), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 98 - Trivial(Option + 'a>>), [INFO] [stdout] 98 + Trivial(Option + 'a>>), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/discriminator.rs:101:16 [INFO] [stdout] | [INFO] [stdout] 101 | Opaque(Box> + 'a>), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 101 - Opaque(Box> + 'a>), [INFO] [stdout] 101 + Opaque(Box> + 'a>), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/discriminator.rs:227:17 [INFO] [stdout] | [INFO] [stdout] 227 | Trivial(Box + 'a>), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 227 - Trivial(Box + 'a>), [INFO] [stdout] 227 + Trivial(Box + 'a>), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/discriminator.rs:229:16 [INFO] [stdout] | [INFO] [stdout] 229 | Opaque(Box + 'a>), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 229 - Opaque(Box + 'a>), [INFO] [stdout] 229 + Opaque(Box + 'a>), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/discriminator.rs:98:24 [INFO] [stdout] | [INFO] [stdout] 98 | Trivial(Option + 'a>>), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 98 - Trivial(Option + 'a>>), [INFO] [stdout] 98 + Trivial(Option + 'a>>), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/discriminator.rs:101:16 [INFO] [stdout] | [INFO] [stdout] 101 | Opaque(Box> + 'a>), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 101 - Opaque(Box> + 'a>), [INFO] [stdout] 101 + Opaque(Box> + 'a>), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/discriminator.rs:227:17 [INFO] [stdout] | [INFO] [stdout] 227 | Trivial(Box + 'a>), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 227 - Trivial(Box + 'a>), [INFO] [stdout] 227 + Trivial(Box + 'a>), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/discriminator.rs:229:16 [INFO] [stdout] | [INFO] [stdout] 229 | Opaque(Box + 'a>), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 229 - Opaque(Box + 'a>), [INFO] [stdout] 229 + Opaque(Box + 'a>), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/discriminator.rs:449:13 [INFO] [stdout] | [INFO] [stdout] 449 | / &Map(conv, [INFO] [stdout] 450 | | Natural { limit: ::std::u8::MAX as usize, [INFO] [stdout] 451 | | is_unchecked: true, }); [INFO] [stdout] | |_________________________________________________^ expected fn pointer, found fn item [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&'static discriminator::Map usize, Natural>` [INFO] [stdout] found reference `&discriminator::Map usize {>::discriminate_sorted::conv}, Natural>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/discriminator.rs:449:13 [INFO] [stdout] | [INFO] [stdout] 449 | / &Map(conv, [INFO] [stdout] 450 | | Natural { limit: ::std::u8::MAX as usize, [INFO] [stdout] 451 | | is_unchecked: true, }); [INFO] [stdout] | |_________________________________________________^ expected fn pointer, found fn item [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&'static discriminator::Map usize, Natural>` [INFO] [stdout] found reference `&discriminator::Map usize {>::discriminate_sorted::conv}, Natural>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/discriminator.rs:479:17 [INFO] [stdout] | [INFO] [stdout] 479 | / &Map(conv, [INFO] [stdout] 480 | | Natural { limit: ::std::u16::MAX as usize, [INFO] [stdout] 481 | | is_unchecked: true, }); [INFO] [stdout] | |_____________________________________________________^ expected fn pointer, found fn item [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&'static discriminator::Map usize, Natural>` [INFO] [stdout] found reference `&discriminator::Map usize {>::discriminate_sorted::conv}, Natural>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/discriminator.rs:479:17 [INFO] [stdout] | [INFO] [stdout] 479 | / &Map(conv, [INFO] [stdout] 480 | | Natural { limit: ::std::u16::MAX as usize, [INFO] [stdout] 481 | | is_unchecked: true, }); [INFO] [stdout] | |_____________________________________________________^ expected fn pointer, found fn item [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&'static discriminator::Map usize, Natural>` [INFO] [stdout] found reference `&discriminator::Map usize {>::discriminate_sorted::conv}, Natural>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors; 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stderr] error: could not compile `discrimination` due to 3 previous errors; 4 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: aborting due to 2 previous errors; 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stderr] error: could not compile `discrimination` due to 3 previous errors; 4 warnings emitted [INFO] running `Command { std: "docker" "inspect" "5f85f3d2f386c4034d25f4d676d802928d0dd0fc16a9799e8830021482aeb682", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5f85f3d2f386c4034d25f4d676d802928d0dd0fc16a9799e8830021482aeb682", kill_on_drop: false }` [INFO] [stdout] 5f85f3d2f386c4034d25f4d676d802928d0dd0fc16a9799e8830021482aeb682