[INFO] cloning repository https://github.com/LuisCardosoOliveira/saturday_fun [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/LuisCardosoOliveira/saturday_fun" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FLuisCardosoOliveira%2Fsaturday_fun", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FLuisCardosoOliveira%2Fsaturday_fun'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 044dba78c8e07faae0f7a027e39a18ed596ce43d [INFO] checking LuisCardosoOliveira/saturday_fun against master#7606c13961ddc1174b70638e934df0439b7dc515 for pr-121979 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FLuisCardosoOliveira%2Fsaturday_fun" "/workspace/builds/worker-2-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/LuisCardosoOliveira/saturday_fun on toolchain 7606c13961ddc1174b70638e934df0439b7dc515 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+7606c13961ddc1174b70638e934df0439b7dc515" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/LuisCardosoOliveira/saturday_fun [INFO] finished tweaking git repo https://github.com/LuisCardosoOliveira/saturday_fun [INFO] tweaked toml for git repo https://github.com/LuisCardosoOliveira/saturday_fun written to /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/LuisCardosoOliveira/saturday_fun 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" "+7606c13961ddc1174b70638e934df0439b7dc515" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [ERROR] error running command: no output for 300 seconds [ERROR] this task or one of its parent failed! [ERROR] no output for 300 seconds [ERROR] note: run with `RUST_BACKTRACE=1` to display a backtrace. [INFO] checking LuisCardosoOliveira/saturday_fun against try#ae973628c64ab60398819bcc1fd9f08ae68ad5b5 for pr-121979 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FLuisCardosoOliveira%2Fsaturday_fun" "/workspace/builds/worker-2-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/LuisCardosoOliveira/saturday_fun on toolchain ae973628c64ab60398819bcc1fd9f08ae68ad5b5 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ae973628c64ab60398819bcc1fd9f08ae68ad5b5" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/LuisCardosoOliveira/saturday_fun [INFO] finished tweaking git repo https://github.com/LuisCardosoOliveira/saturday_fun [INFO] tweaked toml for git repo https://github.com/LuisCardosoOliveira/saturday_fun written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/LuisCardosoOliveira/saturday_fun 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" "+ae973628c64ab60398819bcc1fd9f08ae68ad5b5" "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-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+ae973628c64ab60398819bcc1fd9f08ae68ad5b5" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 8cdd58646a5e061e3ad4b690fa5502b8f1446569b149c308bf819148d015f1d9 [INFO] running `Command { std: "docker" "start" "-a" "8cdd58646a5e061e3ad4b690fa5502b8f1446569b149c308bf819148d015f1d9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "8cdd58646a5e061e3ad4b690fa5502b8f1446569b149c308bf819148d015f1d9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8cdd58646a5e061e3ad4b690fa5502b8f1446569b149c308bf819148d015f1d9", kill_on_drop: false }` [INFO] [stdout] 8cdd58646a5e061e3ad4b690fa5502b8f1446569b149c308bf819148d015f1d9 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+ae973628c64ab60398819bcc1fd9f08ae68ad5b5" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 6dd678734b0360363339a98f4405ed0b2a10f7fafe4e3d305b23997dbb3b3bbf [INFO] running `Command { std: "docker" "start" "-a" "6dd678734b0360363339a98f4405ed0b2a10f7fafe4e3d305b23997dbb3b3bbf", kill_on_drop: false }` [INFO] [stderr] Checking saturday_fun v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0557]: feature has been removed [INFO] [stdout] --> src/main.rs:7:12 [INFO] [stdout] | [INFO] [stdout] 7 | #![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:7:12 [INFO] [stdout] | [INFO] [stdout] 7 | #![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] warning: the feature `lang_items` is internal to the compiler or standard library [INFO] [stdout] --> src/main.rs:2:12 [INFO] [stdout] | [INFO] [stdout] 2 | #![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:5:12 [INFO] [stdout] | [INFO] [stdout] 5 | #![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:6:12 [INFO] [stdout] | [INFO] [stdout] 6 | #![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 language item: `slice` [INFO] [stdout] --> src/main.rs:132:1 [INFO] [stdout] | [INFO] [stdout] 132 | #[lang = "slice"] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ definition of unknown language item `slice` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0522]: definition of an unknown language item: `const_ptr` [INFO] [stdout] --> src/main.rs:148:1 [INFO] [stdout] | [INFO] [stdout] 148 | #[lang = "const_ptr"] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ definition of unknown language item `const_ptr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0522]: definition of an unknown language item: `mut_ptr` [INFO] [stdout] --> src/main.rs:164:1 [INFO] [stdout] | [INFO] [stdout] 164 | #[lang = "mut_ptr"] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ definition of unknown language item `mut_ptr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `lang_items` is internal to the compiler or standard library [INFO] [stdout] --> src/main.rs:2:12 [INFO] [stdout] | [INFO] [stdout] 2 | #![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:5:12 [INFO] [stdout] | [INFO] [stdout] 5 | #![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:6:12 [INFO] [stdout] | [INFO] [stdout] 6 | #![feature(intrinsics)] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: using it is strongly discouraged [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0152]: found duplicate lang item `sized` [INFO] [stdout] --> src/main.rs:51:1 [INFO] [stdout] | [INFO] [stdout] 51 | 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/ae973628c64ab60398819bcc1fd9f08ae68ad5b5/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcore-632ae0f28c5e55ff.rlib [INFO] [stdout] = note: second definition in the local crate (`saturday_fun`) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors; 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0390]: cannot define inherent `impl` for primitive types [INFO] [stdout] --> src/main.rs:133:1 [INFO] [stdout] | [INFO] [stdout] 133 | impl [T] { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using an extension trait instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0152, E0557. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0152`. [INFO] [stdout] [INFO] [stdout] error[E0390]: cannot define inherent `impl` for primitive types [INFO] [stdout] --> src/main.rs:149:1 [INFO] [stdout] | [INFO] [stdout] 149 | impl *const T { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using an extension trait instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0390]: cannot define inherent `impl` for primitive types [INFO] [stdout] --> src/main.rs:165:1 [INFO] [stdout] | [INFO] [stdout] 165 | impl *mut T { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using an extension trait instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0094]: intrinsic has wrong number of type parameters: found 1, expected 2 [INFO] [stdout] --> src/main.rs:55:14 [INFO] [stdout] | [INFO] [stdout] 55 | fn offset(dst: *const T, offset: isize) -> *const T; [INFO] [stdout] | ^^^ expected 2 type parameters [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:258:5 [INFO] [stdout] | [INFO] [stdout] 258 | pub(crate) rust: *const [T], [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] 258 | pub(crate) rust: std::mem::ManuallyDrop<*const [T]>, [INFO] [stdout] | +++++++++++++++++++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `offset` found for raw pointer `*const T` in the current scope [INFO] [stdout] --> src/main.rs:154:14 [INFO] [stdout] | [INFO] [stdout] 154 | self.offset(count as isize) [INFO] [stdout] | ^^^^^^ method not found in `*const T` [INFO] [stdout] | [INFO] [stdout] = note: try using `<*const T>::as_ref()` to get a reference to the type behind the pointer: https://doc.rust-lang.org/std/primitive.pointer.html#method.as_ref [INFO] [stdout] = note: using `<*const T>::as_ref()` on a pointer which is unaligned or points to invalid or uninitialized memory is undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `offset` found for raw pointer `*mut T` in the current scope [INFO] [stdout] --> src/main.rs:170:14 [INFO] [stdout] | [INFO] [stdout] 170 | self.offset(count as isize) [INFO] [stdout] | ^^^^^^ method not found in `*mut T` [INFO] [stdout] | [INFO] [stdout] = note: try using `<*const T>::as_ref()` to get a reference to the type behind the pointer: https://doc.rust-lang.org/std/primitive.pointer.html#method.as_ref [INFO] [stdout] = note: using `<*const T>::as_ref()` on a pointer which is unaligned or points to invalid or uninitialized memory is undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `saturday_fun` (bin "saturday_fun" test) due to 3 previous errors; 3 warnings emitted [INFO] [stdout] error[E0599]: no method named `len` found for reference `&[T]` in the current scope [INFO] [stdout] --> src/main.rs:182:25 [INFO] [stdout] | [INFO] [stdout] 182 | if self < slice.len() { [INFO] [stdout] | ^^^ method not found in `&[T]` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0599]: no method named `len` found for mutable reference `&mut [T]` in the current scope [INFO] [stdout] --> src/main.rs:189:25 [INFO] [stdout] | [INFO] [stdout] 189 | if self < slice.len() { [INFO] [stdout] | ^^^ method not found in `&mut [T]` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `as_ptr` found for reference `&[T]` in the current scope [INFO] [stdout] --> src/main.rs:196:17 [INFO] [stdout] | [INFO] [stdout] 196 | &*slice.as_ptr().add(self) [INFO] [stdout] | ^^^^^^ method not found in `&[T]` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `as_mut_ptr` found for mutable reference `&mut [T]` in the current scope [INFO] [stdout] --> src/main.rs:199:21 [INFO] [stdout] | [INFO] [stdout] 199 | &mut *slice.as_mut_ptr().add(self) [INFO] [stdout] | ^^^^^^^^^^ method not found in `&mut [T]` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: lang item `start` function has wrong type [INFO] [stdout] --> src/main.rs:269:1 [INFO] [stdout] | [INFO] [stdout] 269 | fn start(main: fn() -> T, _: isize, _: *const *const u8) -> isize { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ incorrect number of function parameters [INFO] [stdout] | [INFO] [stdout] = note: expected signature `fn(fn() -> T, isize, *const *const u8, u8) -> _` [INFO] [stdout] found signature `fn(fn() -> T, isize, *const *const u8) -> _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 16 previous errors; 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0094, E0308, E0390, E0522, E0557, E0599, E0740. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0094`. [INFO] [stdout] [INFO] [stderr] error: could not compile `saturday_fun` (bin "saturday_fun") due to 17 previous errors; 3 warnings emitted [INFO] running `Command { std: "docker" "inspect" "6dd678734b0360363339a98f4405ed0b2a10f7fafe4e3d305b23997dbb3b3bbf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6dd678734b0360363339a98f4405ed0b2a10f7fafe4e3d305b23997dbb3b3bbf", kill_on_drop: false }` [INFO] [stdout] 6dd678734b0360363339a98f4405ed0b2a10f7fafe4e3d305b23997dbb3b3bbf