[INFO] fetching crate hkalbasi-rustc-ap-rustc_serialize 0.0.20230517... [INFO] checking hkalbasi-rustc-ap-rustc_serialize-0.0.20230517 against try#998b6603a58e47f42ccce7a67943234e96b6839e for pr-143170 [INFO] extracting crate hkalbasi-rustc-ap-rustc_serialize 0.0.20230517 into /workspace/builds/worker-5-tc2/source [INFO] started tweaking crates.io crate hkalbasi-rustc-ap-rustc_serialize 0.0.20230517 [INFO] finished tweaking crates.io crate hkalbasi-rustc-ap-rustc_serialize 0.0.20230517 [INFO] tweaked toml for crates.io crate hkalbasi-rustc-ap-rustc_serialize 0.0.20230517 written to /workspace/builds/worker-5-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate hkalbasi-rustc-ap-rustc_serialize 0.0.20230517 on toolchain 998b6603a58e47f42ccce7a67943234e96b6839e [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+998b6603a58e47f42ccce7a67943234e96b6839e" "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" "+998b6603a58e47f42ccce7a67943234e96b6839e" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 38 packages to latest compatible versions [INFO] [stderr] Adding indexmap v1.9.3 (available: v2.10.0) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+998b6603a58e47f42ccce7a67943234e96b6839e" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+998b6603a58e47f42ccce7a67943234e96b6839e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] c39028e75e0b48fd9809840c82a5b6d7d9590e71f1b2863d6512e1cc60ca9622 [INFO] running `Command { std: "docker" "start" "-a" "c39028e75e0b48fd9809840c82a5b6d7d9590e71f1b2863d6512e1cc60ca9622", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c39028e75e0b48fd9809840c82a5b6d7d9590e71f1b2863d6512e1cc60ca9622", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c39028e75e0b48fd9809840c82a5b6d7d9590e71f1b2863d6512e1cc60ca9622", kill_on_drop: false }` [INFO] [stdout] c39028e75e0b48fd9809840c82a5b6d7d9590e71f1b2863d6512e1cc60ca9622 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+998b6603a58e47f42ccce7a67943234e96b6839e" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 44d04226f0d00fe6ac11bb920e2c269d697accb29f69389b1e6c1769d149a8a4 [INFO] running `Command { std: "docker" "start" "-a" "44d04226f0d00fe6ac11bb920e2c269d697accb29f69389b1e6c1769d149a8a4", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.174 [INFO] [stderr] Compiling getrandom v0.3.3 [INFO] [stderr] Compiling rustix v1.0.7 [INFO] [stderr] Checking bitflags v2.9.1 [INFO] [stderr] Checking linux-raw-sys v0.9.4 [INFO] [stderr] Checking hashbrown v0.12.3 [INFO] [stderr] Checking once_cell v1.21.3 [INFO] [stderr] Checking thin-vec v0.2.14 [INFO] [stderr] Checking fastrand v2.3.0 [INFO] [stderr] Checking smallvec v1.15.1 [INFO] [stderr] Compiling indexmap v1.9.3 [INFO] [stderr] Checking hkalbasi-rustc-ap-rustc_serialize v0.0.20230517 (/opt/rustwide/workdir) [INFO] [stdout] warning: the feature `core_intrinsics` is internal to the compiler or standard library [INFO] [stdout] --> src/lib.rs:15:12 [INFO] [stdout] | [INFO] [stdout] 15 | #![feature(core_intrinsics)] [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: using it is strongly discouraged [INFO] [stdout] = note: `#[warn(internal_features)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `associated_type_bounds` has been stable since 1.79.0 and no longer requires an attribute to enable [INFO] [stdout] --> src/lib.rs:13:12 [INFO] [stdout] | [INFO] [stdout] 13 | #![feature(associated_type_bounds)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(stable_features)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `ptr_sub_ptr` has been stable since 1.87.0 and no longer requires an attribute to enable [INFO] [stdout] --> src/lib.rs:19:12 [INFO] [stdout] | [INFO] [stdout] 19 | #![feature(ptr_sub_ptr)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `new_uninit` has been stable since 1.82.0 and no longer requires an attribute to enable [INFO] [stdout] --> src/lib.rs:17:12 [INFO] [stdout] | [INFO] [stdout] 17 | #![feature(new_uninit)] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::mem::MaybeUninit::::slice_assume_init_ref`: replaced by inherent assume_init_ref method; will eventually be removed [INFO] [stdout] --> src/leb128.rs:42:47 [INFO] [stdout] | [INFO] [stdout] 42 | unsafe { ::std::mem::MaybeUninit::slice_assume_init_ref(&out.get_unchecked(..i)) } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 47 | impl_write_unsigned_leb128!(write_u16_leb128, u16); [INFO] [stdout] | -------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] = note: this warning originates in the macro `impl_write_unsigned_leb128` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::mem::MaybeUninit::::slice_assume_init_ref`: replaced by inherent assume_init_ref method; will eventually be removed [INFO] [stdout] --> src/leb128.rs:42:47 [INFO] [stdout] | [INFO] [stdout] 42 | unsafe { ::std::mem::MaybeUninit::slice_assume_init_ref(&out.get_unchecked(..i)) } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 48 | impl_write_unsigned_leb128!(write_u32_leb128, u32); [INFO] [stdout] | -------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `impl_write_unsigned_leb128` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::mem::MaybeUninit::::slice_assume_init_ref`: replaced by inherent assume_init_ref method; will eventually be removed [INFO] [stdout] --> src/leb128.rs:42:47 [INFO] [stdout] | [INFO] [stdout] 42 | unsafe { ::std::mem::MaybeUninit::slice_assume_init_ref(&out.get_unchecked(..i)) } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 49 | impl_write_unsigned_leb128!(write_u64_leb128, u64); [INFO] [stdout] | -------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `impl_write_unsigned_leb128` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::mem::MaybeUninit::::slice_assume_init_ref`: replaced by inherent assume_init_ref method; will eventually be removed [INFO] [stdout] --> src/leb128.rs:42:47 [INFO] [stdout] | [INFO] [stdout] 42 | unsafe { ::std::mem::MaybeUninit::slice_assume_init_ref(&out.get_unchecked(..i)) } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 50 | impl_write_unsigned_leb128!(write_u128_leb128, u128); [INFO] [stdout] | ---------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `impl_write_unsigned_leb128` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::mem::MaybeUninit::::slice_assume_init_ref`: replaced by inherent assume_init_ref method; will eventually be removed [INFO] [stdout] --> src/leb128.rs:42:47 [INFO] [stdout] | [INFO] [stdout] 42 | unsafe { ::std::mem::MaybeUninit::slice_assume_init_ref(&out.get_unchecked(..i)) } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 51 | impl_write_unsigned_leb128!(write_usize_leb128, usize); [INFO] [stdout] | ------------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `impl_write_unsigned_leb128` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::mem::MaybeUninit::::slice_assume_init_ref`: replaced by inherent assume_init_ref method; will eventually be removed [INFO] [stdout] --> src/leb128.rs:117:47 [INFO] [stdout] | [INFO] [stdout] 117 | unsafe { ::std::mem::MaybeUninit::slice_assume_init_ref(&out.get_unchecked(..i)) } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 122 | impl_write_signed_leb128!(write_i16_leb128, i16); [INFO] [stdout] | ------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `impl_write_signed_leb128` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::mem::MaybeUninit::::slice_assume_init_ref`: replaced by inherent assume_init_ref method; will eventually be removed [INFO] [stdout] --> src/leb128.rs:117:47 [INFO] [stdout] | [INFO] [stdout] 117 | unsafe { ::std::mem::MaybeUninit::slice_assume_init_ref(&out.get_unchecked(..i)) } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 123 | impl_write_signed_leb128!(write_i32_leb128, i32); [INFO] [stdout] | ------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `impl_write_signed_leb128` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::mem::MaybeUninit::::slice_assume_init_ref`: replaced by inherent assume_init_ref method; will eventually be removed [INFO] [stdout] --> src/leb128.rs:117:47 [INFO] [stdout] | [INFO] [stdout] 117 | unsafe { ::std::mem::MaybeUninit::slice_assume_init_ref(&out.get_unchecked(..i)) } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 124 | impl_write_signed_leb128!(write_i64_leb128, i64); [INFO] [stdout] | ------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `impl_write_signed_leb128` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::mem::MaybeUninit::::slice_assume_init_ref`: replaced by inherent assume_init_ref method; will eventually be removed [INFO] [stdout] --> src/leb128.rs:117:47 [INFO] [stdout] | [INFO] [stdout] 117 | unsafe { ::std::mem::MaybeUninit::slice_assume_init_ref(&out.get_unchecked(..i)) } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 125 | impl_write_signed_leb128!(write_i128_leb128, i128); [INFO] [stdout] | -------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `impl_write_signed_leb128` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::mem::MaybeUninit::::slice_assume_init_ref`: replaced by inherent assume_init_ref method; will eventually be removed [INFO] [stdout] --> src/leb128.rs:117:47 [INFO] [stdout] | [INFO] [stdout] 117 | unsafe { ::std::mem::MaybeUninit::slice_assume_init_ref(&out.get_unchecked(..i)) } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 126 | impl_write_signed_leb128!(write_isize_leb128, isize); [INFO] [stdout] | ---------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `impl_write_signed_leb128` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::mem::MaybeUninit::::slice_assume_init_mut`: replaced by inherent assume_init_mut method; will eventually be removed [INFO] [stdout] --> src/opaque.rs:123:35 [INFO] [stdout] | [INFO] [stdout] 123 | unsafe { MaybeUninit::slice_assume_init_mut(&mut self.buf[..self.buffered]) }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `sub_ptr` found for raw pointer `*const u8` in the current scope [INFO] [stdout] --> src/opaque.rs:340:27 [INFO] [stdout] | [INFO] [stdout] 340 | unsafe { self.end.sub_ptr(self.start) } [INFO] [stdout] | ^^^^^^^ method not found in `*const u8` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `sub_ptr` found for raw pointer `*const u8` in the current scope [INFO] [stdout] --> src/opaque.rs:346:27 [INFO] [stdout] | [INFO] [stdout] 346 | unsafe { self.end.sub_ptr(self.current) } [INFO] [stdout] | ^^^^^^^ method not found in `*const u8` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `sub_ptr` found for raw pointer `*const u8` in the current scope [INFO] [stdout] --> src/opaque.rs:460:31 [INFO] [stdout] | [INFO] [stdout] 460 | unsafe { self.current.sub_ptr(self.start) } [INFO] [stdout] | ^^^^^^^ method not found in `*const u8` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0599`. [INFO] [stdout] [INFO] [stderr] error: could not compile `hkalbasi-rustc-ap-rustc_serialize` (lib) due to 3 previous errors; 15 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] running `Command { std: "docker" "inspect" "44d04226f0d00fe6ac11bb920e2c269d697accb29f69389b1e6c1769d149a8a4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "44d04226f0d00fe6ac11bb920e2c269d697accb29f69389b1e6c1769d149a8a4", kill_on_drop: false }` [INFO] [stdout] 44d04226f0d00fe6ac11bb920e2c269d697accb29f69389b1e6c1769d149a8a4