[INFO] cloning repository https://github.com/mgattozzi/oxidizing-the-technical-interview [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/mgattozzi/oxidizing-the-technical-interview" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmgattozzi%2Foxidizing-the-technical-interview", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmgattozzi%2Foxidizing-the-technical-interview'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] b536ec33119b316c2527476541def377c63b14b4 [INFO] checking mgattozzi/oxidizing-the-technical-interview against try#cd420d8bda33494ba3cc45048d5f067484a32b94 for pr-140209-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmgattozzi%2Foxidizing-the-technical-interview" "/workspace/builds/worker-4-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/mgattozzi/oxidizing-the-technical-interview on toolchain cd420d8bda33494ba3cc45048d5f067484a32b94 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cd420d8bda33494ba3cc45048d5f067484a32b94" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] removed /workspace/builds/worker-4-tc2/source/rust-toolchain [INFO] started tweaking git repo https://github.com/mgattozzi/oxidizing-the-technical-interview [INFO] finished tweaking git repo https://github.com/mgattozzi/oxidizing-the-technical-interview [INFO] tweaked toml for git repo https://github.com/mgattozzi/oxidizing-the-technical-interview written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/mgattozzi/oxidizing-the-technical-interview already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cd420d8bda33494ba3cc45048d5f067484a32b94" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [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-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:b0b074c097205a61b89e8ad263052f976b2b332c4dc5f02aef1fe52501660d6e" "/opt/rustwide/cargo-home/bin/cargo" "+cd420d8bda33494ba3cc45048d5f067484a32b94" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] b2495308192203fbf7b60d3a1c0ecd731ed44affdfe21981aacb291e2b901238 [INFO] running `Command { std: "docker" "start" "-a" "b2495308192203fbf7b60d3a1c0ecd731ed44affdfe21981aacb291e2b901238", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b2495308192203fbf7b60d3a1c0ecd731ed44affdfe21981aacb291e2b901238", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b2495308192203fbf7b60d3a1c0ecd731ed44affdfe21981aacb291e2b901238", kill_on_drop: false }` [INFO] [stdout] b2495308192203fbf7b60d3a1c0ecd731ed44affdfe21981aacb291e2b901238 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:b0b074c097205a61b89e8ad263052f976b2b332c4dc5f02aef1fe52501660d6e" "/opt/rustwide/cargo-home/bin/cargo" "+cd420d8bda33494ba3cc45048d5f067484a32b94" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 6cba61d8720674cfc1e011f79872828be91dd652128c965b04a6306ee392b809 [INFO] running `Command { std: "docker" "start" "-a" "6cba61d8720674cfc1e011f79872828be91dd652128c965b04a6306ee392b809", kill_on_drop: false }` [INFO] [stderr] Checking oxidizing-the-interview v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0557]: feature has been removed [INFO] [stdout] --> src/main.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | #![feature(const_fn)] [INFO] [stdout] | ^^^^^^^^ feature has been removed [INFO] [stdout] | [INFO] [stdout] = note: split into finer-grained feature gates [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0557]: feature has been removed [INFO] [stdout] --> src/main.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | #![feature(const_fn)] [INFO] [stdout] | ^^^^^^^^ feature has been removed [INFO] [stdout] | [INFO] [stdout] = note: split into finer-grained feature gates [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0557]: feature has been removed [INFO] [stdout] --> src/main.rs:8:12 [INFO] [stdout] | [INFO] [stdout] 8 | #![feature(optin_builtin_traits)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ feature has been removed [INFO] [stdout] | [INFO] [stdout] = note: renamed to `auto_traits` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0557]: feature has been removed [INFO] [stdout] --> src/main.rs:8:12 [INFO] [stdout] | [INFO] [stdout] 8 | #![feature(optin_builtin_traits)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ feature has been removed [INFO] [stdout] | [INFO] [stdout] = note: renamed to `auto_traits` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0557]: feature has been removed [INFO] [stdout] --> src/main.rs:11:12 [INFO] [stdout] | [INFO] [stdout] 11 | #![feature(untagged_unions)] [INFO] [stdout] | ^^^^^^^^^^^^^^^ feature has been removed [INFO] [stdout] | [INFO] [stdout] = note: unions with `Copy` and `ManuallyDrop` fields are stable; there is no intent to stabilize more [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0557]: feature has been removed [INFO] [stdout] --> src/main.rs:11:12 [INFO] [stdout] | [INFO] [stdout] 11 | #![feature(untagged_unions)] [INFO] [stdout] | ^^^^^^^^^^^^^^^ feature has been removed [INFO] [stdout] | [INFO] [stdout] = note: unions with `Copy` and `ManuallyDrop` fields are stable; there is no intent to stabilize more [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: auto traits are experimental and possibly buggy [INFO] [stdout] --> src/main.rs:49:1 [INFO] [stdout] | [INFO] [stdout] 49 | auto trait Freeze {} [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #13231 for more information [INFO] [stdout] = help: add `#![feature(auto_traits)]` to the crate attributes to enable [INFO] [stdout] = note: this compiler was built on 2025-04-28; consider upgrading it if it is out of date [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: auto traits are experimental and possibly buggy [INFO] [stdout] --> src/main.rs:49:1 [INFO] [stdout] | [INFO] [stdout] 49 | auto trait Freeze {} [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #13231 for more information [INFO] [stdout] = help: add `#![feature(auto_traits)]` to the crate attributes to enable [INFO] [stdout] = note: this compiler was built on 2025-04-28; consider upgrading it if it is out of date [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `lang_items` is internal to the compiler or standard library [INFO] [stdout] --> src/main.rs:6:12 [INFO] [stdout] | [INFO] [stdout] 6 | #![feature(lang_items)] [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 `lang_items` is internal to the compiler or standard library [INFO] [stdout] --> src/main.rs:6:12 [INFO] [stdout] | [INFO] [stdout] 6 | #![feature(lang_items)] [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 `allow_internal_unstable` is internal to the compiler or standard library [INFO] [stdout] --> src/main.rs:9:12 [INFO] [stdout] | [INFO] [stdout] 9 | #![feature(allow_internal_unstable)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: using it is strongly discouraged [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `allow_internal_unstable` is internal to the compiler or standard library [INFO] [stdout] --> src/main.rs:9:12 [INFO] [stdout] | [INFO] [stdout] 9 | #![feature(allow_internal_unstable)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: using it is strongly discouraged [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `intrinsics` is internal to the compiler or standard library [INFO] [stdout] --> src/main.rs:10:12 [INFO] [stdout] | [INFO] [stdout] 10 | #![feature(intrinsics)] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: using it is strongly discouraged [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `intrinsics` is internal to the compiler or standard library [INFO] [stdout] --> src/main.rs:10:12 [INFO] [stdout] | [INFO] [stdout] 10 | #![feature(intrinsics)] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: using it is strongly discouraged [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0522]: definition of an unknown lang item: `slice` [INFO] [stdout] --> src/main.rs:128:1 [INFO] [stdout] | [INFO] [stdout] 128 | #[lang = "slice"] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ definition of unknown lang item `slice` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0522]: definition of an unknown lang item: `const_ptr` [INFO] [stdout] --> src/main.rs:145:1 [INFO] [stdout] | [INFO] [stdout] 145 | #[lang = "const_ptr"] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ definition of unknown lang item `const_ptr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0522]: definition of an unknown lang item: `mut_ptr` [INFO] [stdout] --> src/main.rs:161:1 [INFO] [stdout] | [INFO] [stdout] 161 | #[lang = "mut_ptr"] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ definition of unknown lang item `mut_ptr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0703]: invalid ABI: found `rust-intrinsic` [INFO] [stdout] --> src/main.rs:50:8 [INFO] [stdout] | [INFO] [stdout] 50 | extern "rust-intrinsic" { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ invalid ABI [INFO] [stdout] | [INFO] [stdout] = note: invoke `rustc --print=calling-conventions` for a full list of supported calling conventions [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0152]: found duplicate lang item `sized` [INFO] [stdout] --> src/main.rs:47:1 [INFO] [stdout] | [INFO] [stdout] 47 | pub trait Sized {} [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: the lang item is first defined in crate `core` (which `std` depends on) [INFO] [stdout] = note: first definition in `core` loaded from /opt/rustwide/rustup-home/toolchains/cd420d8bda33494ba3cc45048d5f067484a32b94/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcore-11d9a250f9da47d5.rlib [INFO] [stdout] = note: second definition in the local crate (`oxidizing_the_interview`) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: attribute should be applied to a macro [INFO] [stdout] --> src/main.rs:131:5 [INFO] [stdout] | [INFO] [stdout] 131 | #[allow_internal_unstable(const_fn_union)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 132 | / const fn len(&self) -> usize { [INFO] [stdout] 133 | | unsafe { Repr { rust: self }.raw.len } [INFO] [stdout] 134 | | } [INFO] [stdout] | |_____- not a macro [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `const_fn_union` has been stable since 1.56.0 and no longer requires an attribute to enable [INFO] [stdout] --> src/main.rs:2:12 [INFO] [stdout] | [INFO] [stdout] 2 | #![feature(const_fn_union)] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(stable_features)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `const_panic` has been stable since 1.57.0 and no longer requires an attribute to enable [INFO] [stdout] --> src/main.rs:3:12 [INFO] [stdout] | [INFO] [stdout] 3 | #![feature(const_panic)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `const_if_match` has been stable since 1.46.0 and no longer requires an attribute to enable [INFO] [stdout] --> src/main.rs:4:12 [INFO] [stdout] | [INFO] [stdout] 4 | #![feature(const_if_match)] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `const_raw_ptr_deref` has been stable since 1.58.0 and no longer requires an attribute to enable [INFO] [stdout] --> src/main.rs:5:12 [INFO] [stdout] | [INFO] [stdout] 5 | #![feature(const_raw_ptr_deref)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0044]: foreign items may not have type parameters [INFO] [stdout] --> src/main.rs:51:5 [INFO] [stdout] | [INFO] [stdout] 51 | fn offset(dst: *const T, offset: isize) -> *const T; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ can't have type parameters [INFO] [stdout] | [INFO] [stdout] = help: replace the type parameters with concrete types like `u32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0740]: field must implement `Copy` or be wrapped in `ManuallyDrop<...>` to be used in a union [INFO] [stdout] --> src/main.rs:255:5 [INFO] [stdout] | [INFO] [stdout] 255 | pub(crate) raw: FatPtr, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: union fields must not have drop side-effects, which is currently enforced via either `Copy` or `ManuallyDrop<...>` [INFO] [stdout] help: wrap the field type in `ManuallyDrop<...>` [INFO] [stdout] | [INFO] [stdout] 255 | pub(crate) raw: std::mem::ManuallyDrop>, [INFO] [stdout] | +++++++++++++++++++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: requires `legacy_receiver` lang_item [INFO] [stdout] --> src/main.rs:65:14 [INFO] [stdout] | [INFO] [stdout] 65 | fn index(&self, index: I) -> &I::Output { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: requires `legacy_receiver` lang_item [INFO] [stdout] --> src/main.rs:132:18 [INFO] [stdout] | [INFO] [stdout] 132 | const fn len(&self) -> usize { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: requires `legacy_receiver` lang_item [INFO] [stdout] --> src/main.rs:136:15 [INFO] [stdout] | [INFO] [stdout] 136 | fn as_ptr(&self) -> *const T { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: requires `legacy_receiver` lang_item [INFO] [stdout] --> src/main.rs:140:19 [INFO] [stdout] | [INFO] [stdout] 140 | fn as_mut_ptr(&mut self) -> *mut T { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: requires `legacy_receiver` lang_item [INFO] [stdout] --> src/main.rs:207:20 [INFO] [stdout] | [INFO] [stdout] 207 | fn partial_cmp(&self, other: &usize) -> Option { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: requires `legacy_receiver` lang_item [INFO] [stdout] --> src/main.rs:34:16 [INFO] [stdout] | [INFO] [stdout] 34 | fn clone(&self) -> Self { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 237 | copy_clone_eq_impls!(usize u64 bool); [INFO] [stdout] | ------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `copy_clone_eq_impls` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: requires `legacy_receiver` lang_item [INFO] [stdout] --> src/main.rs:39:15 [INFO] [stdout] | [INFO] [stdout] 39 | fn eq(&self, other: &$t) -> bool { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 237 | copy_clone_eq_impls!(usize u64 bool); [INFO] [stdout] | ------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `copy_clone_eq_impls` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0044, E0522, E0557, E0658, E0703, E0740. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0044`. [INFO] [stdout] [INFO] [stderr] error: could not compile `oxidizing-the-interview` (bin "oxidizing-the-interview") due to 18 previous errors; 7 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] Some errors have detailed explanations: E0152, E0557, E0658. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0152`. [INFO] [stdout] [INFO] [stderr] error: could not compile `oxidizing-the-interview` (bin "oxidizing-the-interview" test) due to 5 previous errors; 3 warnings emitted [INFO] running `Command { std: "docker" "inspect" "6cba61d8720674cfc1e011f79872828be91dd652128c965b04a6306ee392b809", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6cba61d8720674cfc1e011f79872828be91dd652128c965b04a6306ee392b809", kill_on_drop: false }` [INFO] [stdout] 6cba61d8720674cfc1e011f79872828be91dd652128c965b04a6306ee392b809