[INFO] fetching crate cycle_map 0.2.0... [INFO] testing cycle_map-0.2.0 against try#b83b707f97d809763b7861afa7638871f3339a33 for pr-145838-1 [INFO] extracting crate cycle_map 0.2.0 into /workspace/builds/worker-0-tc2/source [INFO] started tweaking crates.io crate cycle_map 0.2.0 [INFO] finished tweaking crates.io crate cycle_map 0.2.0 [INFO] tweaked toml for crates.io crate cycle_map 0.2.0 written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate cycle_map 0.2.0 on toolchain b83b707f97d809763b7861afa7638871f3339a33 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 18 packages to latest compatible versions [INFO] [stderr] Adding hashbrown v0.12.3 (available: v0.16.0) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] cc9c14971dbf173bc2c96ba4ce49b03c34f2c7c031b57528af6c02eb30d44757 [INFO] running `Command { std: "docker" "start" "-a" "cc9c14971dbf173bc2c96ba4ce49b03c34f2c7c031b57528af6c02eb30d44757", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "cc9c14971dbf173bc2c96ba4ce49b03c34f2c7c031b57528af6c02eb30d44757", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cc9c14971dbf173bc2c96ba4ce49b03c34f2c7c031b57528af6c02eb30d44757", kill_on_drop: false }` [INFO] [stdout] cc9c14971dbf173bc2c96ba4ce49b03c34f2c7c031b57528af6c02eb30d44757 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 5c70576aaa9a61eb9cc27d546474dadf69f6710ed1ec130e2b15983f651f4646 [INFO] running `Command { std: "docker" "start" "-a" "5c70576aaa9a61eb9cc27d546474dadf69f6710ed1ec130e2b15983f651f4646", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.175 [INFO] [stderr] Compiling once_cell v1.21.3 [INFO] [stderr] Compiling ahash v0.7.8 [INFO] [stderr] Compiling getrandom v0.2.16 [INFO] [stderr] Compiling hashbrown v0.12.3 [INFO] [stderr] Compiling cycle_map v0.2.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0277]: the size for values of type `Q` cannot be known at compilation time [INFO] [stdout] --> src/cycle_map.rs:40:11 [INFO] [stdout] | [INFO] [stdout] 36 | pub(crate) fn hash_and_id<'a, Q: PartialEq + ?Sized>( [INFO] [stdout] | - this type parameter needs to be `Sized` [INFO] [stdout] ... [INFO] [stdout] 40 | move |x| id == x.id && hash == x.hash [INFO] [stdout] | ^ doesn't have a size known at compile-time [INFO] [stdout] | [INFO] [stdout] note: required by an implicit `Sized` bound in `cycle_map::MappingPair` [INFO] [stdout] --> src/cycle_map.rs:24:31 [INFO] [stdout] | [INFO] [stdout] 24 | pub(crate) struct MappingPair { [INFO] [stdout] | ^ required by the implicit `Sized` requirement on this type parameter in `MappingPair` [INFO] [stdout] help: you could relax the implicit `Sized` bound on `T` if it were used through indirection like `&T` or `Box` [INFO] [stdout] --> src/cycle_map.rs:24:31 [INFO] [stdout] | [INFO] [stdout] 24 | pub(crate) struct MappingPair { [INFO] [stdout] | ^ this could be changed to `T: ?Sized`... [INFO] [stdout] 25 | pub(crate) value: T, [INFO] [stdout] | - ...if indirection were used here: `Box` [INFO] [stdout] help: consider removing the `?Sized` bound to make the type parameter `Sized` [INFO] [stdout] | [INFO] [stdout] 36 - pub(crate) fn hash_and_id<'a, Q: PartialEq + ?Sized>( [INFO] [stdout] 36 + pub(crate) fn hash_and_id<'a, Q: PartialEq>( [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the size for values of type `Q` cannot be known at compilation time [INFO] [stdout] --> src/cycle_map.rs:44:11 [INFO] [stdout] | [INFO] [stdout] 43 | pub(crate) fn just_id<'a, Q: PartialEq + ?Sized>(id: u64) -> impl Fn(&MappingPair) -> bool + 'a { [INFO] [stdout] | - this type parameter needs to be `Sized` [INFO] [stdout] 44 | move |x| id == x.id [INFO] [stdout] | ^ doesn't have a size known at compile-time [INFO] [stdout] | [INFO] [stdout] note: required by an implicit `Sized` bound in `cycle_map::MappingPair` [INFO] [stdout] --> src/cycle_map.rs:24:31 [INFO] [stdout] | [INFO] [stdout] 24 | pub(crate) struct MappingPair { [INFO] [stdout] | ^ required by the implicit `Sized` requirement on this type parameter in `MappingPair` [INFO] [stdout] help: you could relax the implicit `Sized` bound on `T` if it were used through indirection like `&T` or `Box` [INFO] [stdout] --> src/cycle_map.rs:24:31 [INFO] [stdout] | [INFO] [stdout] 24 | pub(crate) struct MappingPair { [INFO] [stdout] | ^ this could be changed to `T: ?Sized`... [INFO] [stdout] 25 | pub(crate) value: T, [INFO] [stdout] | - ...if indirection were used here: `Box` [INFO] [stdout] help: consider removing the `?Sized` bound to make the type parameter `Sized` [INFO] [stdout] | [INFO] [stdout] 43 - pub(crate) fn just_id<'a, Q: PartialEq + ?Sized>(id: u64) -> impl Fn(&MappingPair) -> bool + 'a { [INFO] [stdout] 43 + pub(crate) fn just_id<'a, Q: PartialEq>(id: u64) -> impl Fn(&MappingPair) -> bool + 'a { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the size for values of type `Q` cannot be known at compilation time [INFO] [stdout] --> src/partial_cycle_map.rs:41:11 [INFO] [stdout] | [INFO] [stdout] 37 | pub(crate) fn hash_and_id<'a, Q: PartialEq + ?Sized>( [INFO] [stdout] | - this type parameter needs to be `Sized` [INFO] [stdout] ... [INFO] [stdout] 41 | move |x| id == x.id && Some(hash) == x.hash [INFO] [stdout] | ^ doesn't have a size known at compile-time [INFO] [stdout] | [INFO] [stdout] note: required by an implicit `Sized` bound in `partial_cycle_map::MappingPair` [INFO] [stdout] --> src/partial_cycle_map.rs:25:31 [INFO] [stdout] | [INFO] [stdout] 25 | pub(crate) struct MappingPair { [INFO] [stdout] | ^ required by the implicit `Sized` requirement on this type parameter in `MappingPair` [INFO] [stdout] help: you could relax the implicit `Sized` bound on `T` if it were used through indirection like `&T` or `Box` [INFO] [stdout] --> src/partial_cycle_map.rs:25:31 [INFO] [stdout] | [INFO] [stdout] 25 | pub(crate) struct MappingPair { [INFO] [stdout] | ^ this could be changed to `T: ?Sized`... [INFO] [stdout] 26 | pub(crate) value: T, [INFO] [stdout] | - ...if indirection were used here: `Box` [INFO] [stdout] help: consider removing the `?Sized` bound to make the type parameter `Sized` [INFO] [stdout] | [INFO] [stdout] 37 - pub(crate) fn hash_and_id<'a, Q: PartialEq + ?Sized>( [INFO] [stdout] 37 + pub(crate) fn hash_and_id<'a, Q: PartialEq>( [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the size for values of type `Q` cannot be known at compilation time [INFO] [stdout] --> src/partial_cycle_map.rs:46:11 [INFO] [stdout] | [INFO] [stdout] 45 | pub(crate) fn just_id<'a, Q: PartialEq + ?Sized>(id: u64) -> impl Fn(&MappingPair) -> bool + 'a { [INFO] [stdout] | - this type parameter needs to be `Sized` [INFO] [stdout] 46 | move |x| id == x.id [INFO] [stdout] | ^ doesn't have a size known at compile-time [INFO] [stdout] | [INFO] [stdout] note: required by an implicit `Sized` bound in `partial_cycle_map::MappingPair` [INFO] [stdout] --> src/partial_cycle_map.rs:25:31 [INFO] [stdout] | [INFO] [stdout] 25 | pub(crate) struct MappingPair { [INFO] [stdout] | ^ required by the implicit `Sized` requirement on this type parameter in `MappingPair` [INFO] [stdout] help: you could relax the implicit `Sized` bound on `T` if it were used through indirection like `&T` or `Box` [INFO] [stdout] --> src/partial_cycle_map.rs:25:31 [INFO] [stdout] | [INFO] [stdout] 25 | pub(crate) struct MappingPair { [INFO] [stdout] | ^ this could be changed to `T: ?Sized`... [INFO] [stdout] 26 | pub(crate) value: T, [INFO] [stdout] | - ...if indirection were used here: `Box` [INFO] [stdout] help: consider removing the `?Sized` bound to make the type parameter `Sized` [INFO] [stdout] | [INFO] [stdout] 45 - pub(crate) fn just_id<'a, Q: PartialEq + ?Sized>(id: u64) -> impl Fn(&MappingPair) -> bool + 'a { [INFO] [stdout] 45 + pub(crate) fn just_id<'a, Q: PartialEq>(id: u64) -> impl Fn(&MappingPair) -> bool + 'a { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the size for values of type `T` cannot be known at compilation time [INFO] [stdout] --> src/group_map.rs:36:11 [INFO] [stdout] | [INFO] [stdout] 35 | pub(crate) fn left_with_left_id(id: ID) -> impl Fn(&LeftItem) -> bool { [INFO] [stdout] | - this type parameter needs to be `Sized` [INFO] [stdout] 36 | move |x| x.id == id [INFO] [stdout] | ^ doesn't have a size known at compile-time [INFO] [stdout] | [INFO] [stdout] note: required by an implicit `Sized` bound in `LeftItem` [INFO] [stdout] --> src/group_map.rs:60:28 [INFO] [stdout] | [INFO] [stdout] 60 | pub(crate) struct LeftItem { [INFO] [stdout] | ^ required by the implicit `Sized` requirement on this type parameter in `LeftItem` [INFO] [stdout] help: you could relax the implicit `Sized` bound on `T` if it were used through indirection like `&T` or `Box` [INFO] [stdout] --> src/group_map.rs:60:28 [INFO] [stdout] | [INFO] [stdout] 60 | pub(crate) struct LeftItem { [INFO] [stdout] | ^ this could be changed to `T: ?Sized`... [INFO] [stdout] 61 | pub(crate) value: T, [INFO] [stdout] | - ...if indirection were used here: `Box` [INFO] [stdout] help: consider removing the `?Sized` bound to make the type parameter `Sized` [INFO] [stdout] | [INFO] [stdout] 35 - pub(crate) fn left_with_left_id(id: ID) -> impl Fn(&LeftItem) -> bool { [INFO] [stdout] 35 + pub(crate) fn left_with_left_id(id: ID) -> impl Fn(&LeftItem) -> bool { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the size for values of type `T` cannot be known at compilation time [INFO] [stdout] --> src/group_map.rs:48:11 [INFO] [stdout] | [INFO] [stdout] 45 | pub(crate) fn right_with_left_pair( [INFO] [stdout] | - this type parameter needs to be `Sized` [INFO] [stdout] ... [INFO] [stdout] 48 | move |x| x.pairs.contains(pair) [INFO] [stdout] | ^ doesn't have a size known at compile-time [INFO] [stdout] | [INFO] [stdout] note: required by an implicit `Sized` bound in `RightItem` [INFO] [stdout] --> src/group_map.rs:68:29 [INFO] [stdout] | [INFO] [stdout] 68 | pub(crate) struct RightItem { [INFO] [stdout] | ^ required by the implicit `Sized` requirement on this type parameter in `RightItem` [INFO] [stdout] help: you could relax the implicit `Sized` bound on `T` if it were used through indirection like `&T` or `Box` [INFO] [stdout] --> src/group_map.rs:68:29 [INFO] [stdout] | [INFO] [stdout] 68 | pub(crate) struct RightItem { [INFO] [stdout] | ^ this could be changed to `T: ?Sized`... [INFO] [stdout] 69 | pub(crate) value: T, [INFO] [stdout] | - ...if indirection were used here: `Box` [INFO] [stdout] help: consider removing the `?Sized` bound to make the type parameter `Sized` [INFO] [stdout] | [INFO] [stdout] 45 - pub(crate) fn right_with_left_pair( [INFO] [stdout] 45 + pub(crate) fn right_with_left_pair( [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the size for values of type `T` cannot be known at compilation time [INFO] [stdout] --> src/group_map.rs:52:11 [INFO] [stdout] | [INFO] [stdout] 51 | pub(crate) fn right_with_right_id(id: ID) -> impl Fn(&RightItem) -> bool { [INFO] [stdout] | - this type parameter needs to be `Sized` [INFO] [stdout] 52 | move |x| x.id == id [INFO] [stdout] | ^ doesn't have a size known at compile-time [INFO] [stdout] | [INFO] [stdout] note: required by an implicit `Sized` bound in `RightItem` [INFO] [stdout] --> src/group_map.rs:68:29 [INFO] [stdout] | [INFO] [stdout] 68 | pub(crate) struct RightItem { [INFO] [stdout] | ^ required by the implicit `Sized` requirement on this type parameter in `RightItem` [INFO] [stdout] help: you could relax the implicit `Sized` bound on `T` if it were used through indirection like `&T` or `Box` [INFO] [stdout] --> src/group_map.rs:68:29 [INFO] [stdout] | [INFO] [stdout] 68 | pub(crate) struct RightItem { [INFO] [stdout] | ^ this could be changed to `T: ?Sized`... [INFO] [stdout] 69 | pub(crate) value: T, [INFO] [stdout] | - ...if indirection were used here: `Box` [INFO] [stdout] help: consider removing the `?Sized` bound to make the type parameter `Sized` [INFO] [stdout] | [INFO] [stdout] 51 - pub(crate) fn right_with_right_id(id: ID) -> impl Fn(&RightItem) -> bool { [INFO] [stdout] 51 + pub(crate) fn right_with_right_id(id: ID) -> impl Fn(&RightItem) -> bool { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: could not compile `cycle_map` (lib) due to 7 previous errors [INFO] running `Command { std: "docker" "inspect" "5c70576aaa9a61eb9cc27d546474dadf69f6710ed1ec130e2b15983f651f4646", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5c70576aaa9a61eb9cc27d546474dadf69f6710ed1ec130e2b15983f651f4646", kill_on_drop: false }` [INFO] [stdout] 5c70576aaa9a61eb9cc27d546474dadf69f6710ed1ec130e2b15983f651f4646