[INFO] fetching crate sexpr 0.1.0... [INFO] checking sexpr-0.1.0 against master#506512391b1a75ae450d36c9420978402a91abcc for pr-125384 [INFO] extracting crate sexpr 0.1.0 into /workspace/builds/worker-4-tc1/source [INFO] validating manifest of crates.io crate sexpr 0.1.0 on toolchain 506512391b1a75ae450d36c9420978402a91abcc [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+506512391b1a75ae450d36c9420978402a91abcc" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate sexpr 0.1.0 [INFO] finished tweaking crates.io crate sexpr 0.1.0 [INFO] tweaked toml for crates.io crate sexpr 0.1.0 written to /workspace/builds/worker-4-tc1/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+506512391b1a75ae450d36c9420978402a91abcc" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 7 packages to latest compatible versions [INFO] [stderr] Adding gc v0.2.1 (latest: v0.5.0) [INFO] [stderr] Adding gc_derive v0.2.0 (latest: v0.5.0) [INFO] [stderr] Adding quote v0.3.15 (latest: v1.0.36) [INFO] [stderr] Adding syn v0.9.2 (latest: v2.0.66) [INFO] [stderr] Adding synstructure v0.2.1 (latest: v0.13.1) [INFO] [stderr] Adding unicode-xid v0.0.3 (latest: v0.2.4) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+506512391b1a75ae450d36c9420978402a91abcc" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded synstructure v0.2.1 [INFO] [stderr] Downloaded gc v0.2.1 [INFO] [stderr] Downloaded gc_derive v0.2.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:59a85a07ab18ca8720692f8e61effa1c651d9e2ca591e072c2b212bb91a6b8b5" "/opt/rustwide/cargo-home/bin/cargo" "+506512391b1a75ae450d36c9420978402a91abcc" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 4644fb3cf87720ce2c8d165f5b8016fa251fc98f0a7a331d6b0326ab7f6f736d [INFO] running `Command { std: "docker" "start" "-a" "4644fb3cf87720ce2c8d165f5b8016fa251fc98f0a7a331d6b0326ab7f6f736d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "4644fb3cf87720ce2c8d165f5b8016fa251fc98f0a7a331d6b0326ab7f6f736d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4644fb3cf87720ce2c8d165f5b8016fa251fc98f0a7a331d6b0326ab7f6f736d", kill_on_drop: false }` [INFO] [stdout] 4644fb3cf87720ce2c8d165f5b8016fa251fc98f0a7a331d6b0326ab7f6f736d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:59a85a07ab18ca8720692f8e61effa1c651d9e2ca591e072c2b212bb91a6b8b5" "/opt/rustwide/cargo-home/bin/cargo" "+506512391b1a75ae450d36c9420978402a91abcc" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a260b79a0dc4caddc7c16347d5bffb30266195220bc805133e2ae7463542df67 [INFO] running `Command { std: "docker" "start" "-a" "a260b79a0dc4caddc7c16347d5bffb30266195220bc805133e2ae7463542df67", kill_on_drop: false }` [INFO] [stderr] Compiling quote v0.3.15 [INFO] [stderr] Compiling unicode-xid v0.0.3 [INFO] [stderr] Checking gc v0.2.1 [INFO] [stdout] error[E0557]: feature has been removed [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/gc-0.2.1/src/lib.rs:7:54 [INFO] [stdout] | [INFO] [stdout] 7 | #![feature(coerce_unsized, core_intrinsics, nonzero, optin_builtin_traits, shared, unsize, specialization)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ feature has been removed [INFO] [stdout] | [INFO] [stdout] = note: renamed to `auto_traits` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `core::nonzero` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/gc-0.2.1/src/lib.rs:11:11 [INFO] [stdout] | [INFO] [stdout] 11 | use core::nonzero::NonZero; [INFO] [stdout] | ^^^^^^^ could not find `nonzero` in `core` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `std::ptr::Shared` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/gc-0.2.1/src/gc.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::ptr::Shared; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ no `Shared` in `ptr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: negative trait bounds are not yet fully implemented; use marker types for now [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/gc-0.2.1/src/lib.rs:41:17 [INFO] [stdout] | [INFO] [stdout] 41 | impl !Send for Gc {} [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #68318 for more information [INFO] [stdout] = help: add `#![feature(negative_impls)]` to the crate attributes to enable [INFO] [stdout] = note: this compiler was built on 2024-05-21; consider upgrading it if it is out of date [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: negative trait bounds are not yet fully implemented; use marker types for now [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/gc-0.2.1/src/lib.rs:43:17 [INFO] [stdout] | [INFO] [stdout] 43 | impl !Sync for Gc {} [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #68318 for more information [INFO] [stdout] = help: add `#![feature(negative_impls)]` to the crate attributes to enable [INFO] [stdout] = note: this compiler was built on 2024-05-21; consider upgrading it if it is out of date [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: negative trait bounds are not yet fully implemented; use marker types for now [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/gc-0.2.1/src/lib.rs:541:17 [INFO] [stdout] | [INFO] [stdout] 541 | impl !Sync for GcCell {} [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #68318 for more information [INFO] [stdout] = help: add `#![feature(negative_impls)]` to the crate attributes to enable [INFO] [stdout] = note: this compiler was built on 2024-05-21; consider upgrading it if it is out of date [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0635]: unknown feature `shared` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/gc-0.2.1/src/lib.rs:7:76 [INFO] [stdout] | [INFO] [stdout] 7 | #![feature(coerce_unsized, core_intrinsics, nonzero, optin_builtin_traits, shared, unsize, specialization)] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0374]: the trait `CoerceUnsized` may only be implemented for a coercion between structures [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/gc-0.2.1/src/lib.rs:45:1 [INFO] [stdout] | [INFO] [stdout] 45 | impl, U: Trace + ?Sized> CoerceUnsized> for Gc {} [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected a single field to be coerced, none found [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the function or associated item `new` exists for struct `Key>`, but its trait bounds were not satisfied [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/gc-0.2.1/src/gc.rs:60:1 [INFO] [stdout] | [INFO] [stdout] 60 | / thread_local!(static GC_STATE: RefCell = RefCell::new(GcState { [INFO] [stdout] 61 | | bytes_allocated: 0, [INFO] [stdout] 62 | | threshold: INITIAL_THRESHOLD, [INFO] [stdout] 63 | | boxes_start: None, [INFO] [stdout] 64 | | })); [INFO] [stdout] | |___^ function or associated item cannot be called on `Key>` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `Key>`, consider using `Key::::new` which returns `Key<_>` [INFO] [stdout] --> /rustc/506512391b1a75ae450d36c9420978402a91abcc/library/std/src/sys/thread_local/fast_local.rs:152:5 [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `{type error}: Sized` [INFO] [stdout] which is required by `RefCell: Sized` [INFO] [stdout] = note: this error originates in the macro `$crate::thread::local_impl::thread_local_inner` which comes from the expansion of the macro `thread_local` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `header` on type `Box<_>` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/gc-0.2.1/src/gc.rs:34:41 [INFO] [stdout] | [INFO] [stdout] 34 | self.boxes_start = node.header.next; [INFO] [stdout] | ^^^^^^ unknown field [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `get` exists for struct `Key>`, but its trait bounds were not satisfied [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/gc-0.2.1/src/gc.rs:60:1 [INFO] [stdout] | [INFO] [stdout] 60 | / thread_local!(static GC_STATE: RefCell = RefCell::new(GcState { [INFO] [stdout] 61 | | bytes_allocated: 0, [INFO] [stdout] 62 | | threshold: INITIAL_THRESHOLD, [INFO] [stdout] 63 | | boxes_start: None, [INFO] [stdout] 64 | | })); [INFO] [stdout] | | ^ [INFO] [stdout] | |___| [INFO] [stdout] | method cannot be called on `Key>` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `{type error}: Sized` [INFO] [stdout] which is required by `RefCell: Sized` [INFO] [stdout] = note: this error originates in the macro `$crate::thread::local_impl::thread_local_inner` which comes from the expansion of the macro `thread_local` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `take` exists for mutable reference `&mut Option>`, but its trait bounds were not satisfied [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/gc-0.2.1/src/gc.rs:60:1 [INFO] [stdout] | [INFO] [stdout] 60 | / thread_local!(static GC_STATE: RefCell = RefCell::new(GcState { [INFO] [stdout] 61 | | bytes_allocated: 0, [INFO] [stdout] 62 | | threshold: INITIAL_THRESHOLD, [INFO] [stdout] 63 | | boxes_start: None, [INFO] [stdout] 64 | | })); [INFO] [stdout] | |___^ method cannot be called on `&mut Option>` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `{type error}: Sized` [INFO] [stdout] which is required by `RefCell: Sized` [INFO] [stdout] `Option>: Iterator` [INFO] [stdout] which is required by `&mut Option>: Iterator` [INFO] [stdout] `&mut Option>: Iterator` [INFO] [stdout] which is required by `&mut &mut Option>: Iterator` [INFO] [stdout] = note: this error originates in the macro `$crate::thread::local_impl::thread_local_inner` which comes from the expansion of the macro `thread_local` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `with` exists for struct `LocalKey>`, but its trait bounds were not satisfied [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/gc-0.2.1/src/gc.rs:86:18 [INFO] [stdout] | [INFO] [stdout] 86 | GC_STATE.with(|st| { [INFO] [stdout] | ---------^^^^ method cannot be called on `LocalKey>` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `{type error}: Sized` [INFO] [stdout] which is required by `RefCell: Sized` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `is_empty` exists for struct `Vec`, but its trait bounds were not satisfied [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/gc-0.2.1/src/gc.rs:205:21 [INFO] [stdout] | [INFO] [stdout] 156 | struct Unmarked { [INFO] [stdout] | --------------- doesn't satisfy `Unmarked: Sized` [INFO] [stdout] ... [INFO] [stdout] 205 | if unmarked.is_empty() { return } [INFO] [stdout] | ^^^^^^^^ method cannot be called on `Vec` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `{type error}: Sized` [INFO] [stdout] which is required by `Unmarked: Sized` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `&Vec` is not an iterator [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/gc-0.2.1/src/gc.rs:206:21 [INFO] [stdout] | [INFO] [stdout] 206 | for node in &unmarked { [INFO] [stdout] | ^^^^^^^^^ `&Vec` is not an iterator [INFO] [stdout] | [INFO] [stdout] = help: the trait `IntoIterator` is not implemented for `&Vec` [INFO] [stdout] = help: the following other types implement trait `IntoIterator`: [INFO] [stdout] &'a Vec [INFO] [stdout] &'a mut Vec [INFO] [stdout] Vec [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `into_iter` found for struct `Vec` in the current scope [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/gc-0.2.1/src/gc.rs:192:31 [INFO] [stdout] | [INFO] [stdout] 192 | for node in finalized.into_iter().rev() { [INFO] [stdout] | ^^^^^^^^^ method not found in `Vec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `with` exists for struct `LocalKey>`, but its trait bounds were not satisfied [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/gc-0.2.1/src/gc.rs:218:14 [INFO] [stdout] | [INFO] [stdout] 218 | GC_STATE.with(|st| { [INFO] [stdout] | ---------^^^^ method cannot be called on `LocalKey>` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `{type error}: Sized` [INFO] [stdout] which is required by `RefCell: Sized` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed for `Gc<_>` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/gc-0.2.1/src/lib.rs:71:17 [INFO] [stdout] | [INFO] [stdout] 71 | let gc = Gc { ptr_root: Cell::new(NonZero::new(*ptr)), marker: PhantomData }; [INFO] [stdout] | ^^ [INFO] [stdout] 72 | gc.set_root(); [INFO] [stdout] | -------- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `gc` an explicit type, where the type for type parameter `T` is specified [INFO] [stdout] | [INFO] [stdout] 71 | let gc: Gc = Gc { ptr_root: Cell::new(NonZero::new(*ptr)), marker: PhantomData }; [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed for `Gc<_>` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/gc-0.2.1/src/lib.rs:153:17 [INFO] [stdout] | [INFO] [stdout] 153 | let gc = Gc { ptr_root: Cell::new(self.ptr_root.get()), marker: PhantomData }; [INFO] [stdout] | ^^ [INFO] [stdout] 154 | gc.set_root(); [INFO] [stdout] | -------- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `gc` an explicit type, where the type for type parameter `T` is specified [INFO] [stdout] | [INFO] [stdout] 153 | let gc: Gc = Gc { ptr_root: Cell::new(self.ptr_root.get()), marker: PhantomData }; [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling syn v0.9.2 [INFO] [stdout] error: aborting due to 19 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0282, E0374, E0432, E0557, E0599, E0609, E0635, E0658. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: could not compile `gc` (lib) due to 20 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] running `Command { std: "docker" "inspect" "a260b79a0dc4caddc7c16347d5bffb30266195220bc805133e2ae7463542df67", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a260b79a0dc4caddc7c16347d5bffb30266195220bc805133e2ae7463542df67", kill_on_drop: false }` [INFO] [stdout] a260b79a0dc4caddc7c16347d5bffb30266195220bc805133e2ae7463542df67