[INFO] cloning repository https://github.com/Avi-D-coder/gc-generic-std [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Avi-D-coder/gc-generic-std" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAvi-D-coder%2Fgc-generic-std", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAvi-D-coder%2Fgc-generic-std'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] d0a094a47d2a4e57efcf9b222d91bbda431475f4 [INFO] checking Avi-D-coder/gc-generic-std against master#af4a5a13a15fa0c60e06321077ef452f769b42fd for pr-122960-3 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAvi-D-coder%2Fgc-generic-std" "/workspace/builds/worker-4-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Avi-D-coder/gc-generic-std on toolchain af4a5a13a15fa0c60e06321077ef452f769b42fd [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/Avi-D-coder/gc-generic-std [INFO] finished tweaking git repo https://github.com/Avi-D-coder/gc-generic-std [INFO] tweaked toml for git repo https://github.com/Avi-D-coder/gc-generic-std written to /workspace/builds/worker-4-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/Avi-D-coder/gc-generic-std 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" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded generic-std v0.1.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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 1a3ac41788d14c456ee17a7fcf74454063c31fa7b3835b663157b0e755dfa49f [INFO] running `Command { std: "docker" "start" "-a" "1a3ac41788d14c456ee17a7fcf74454063c31fa7b3835b663157b0e755dfa49f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "1a3ac41788d14c456ee17a7fcf74454063c31fa7b3835b663157b0e755dfa49f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1a3ac41788d14c456ee17a7fcf74454063c31fa7b3835b663157b0e755dfa49f", kill_on_drop: false }` [INFO] [stdout] 1a3ac41788d14c456ee17a7fcf74454063c31fa7b3835b663157b0e755dfa49f [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=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" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 0299dcf5884cd2bfbc73a758b27a065d8cabb2a1de7d6b874cfe51384321fcd4 [INFO] running `Command { std: "docker" "start" "-a" "0299dcf5884cd2bfbc73a758b27a065d8cabb2a1de7d6b874cfe51384321fcd4", kill_on_drop: false }` [INFO] [stderr] Checking generic-std v0.1.0 [INFO] [stderr] Checking gc-generic-std v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0557]: feature has been removed [INFO] [stdout] --> src/main.rs:5:12 [INFO] [stdout] | [INFO] [stdout] 5 | #![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:5:12 [INFO] [stdout] | [INFO] [stdout] 5 | #![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[E0658]: auto traits are experimental and possibly buggy [INFO] [stdout] --> src/main.rs:137:5 [INFO] [stdout] | [INFO] [stdout] 137 | pub unsafe auto trait NoGc {} [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 2024-03-29; 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:155:5 [INFO] [stdout] | [INFO] [stdout] 155 | pub unsafe auto trait Immutable {} [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 2024-03-29; 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:163:5 [INFO] [stdout] | [INFO] [stdout] 163 | pub auto trait NotDerived {} [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 2024-03-29; 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:137:5 [INFO] [stdout] | [INFO] [stdout] 137 | pub unsafe auto trait NoGc {} [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 2024-03-29; 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:155:5 [INFO] [stdout] | [INFO] [stdout] 155 | pub unsafe auto trait Immutable {} [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 2024-03-29; 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:163:5 [INFO] [stdout] | [INFO] [stdout] 163 | pub auto trait NotDerived {} [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 2024-03-29; consider upgrading it if it is out of date [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/main.rs:201:17 [INFO] [stdout] | [INFO] [stdout] 201 | let e = todo!(); [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `arena` [INFO] [stdout] --> src/main.rs:197:13 [INFO] [stdout] | [INFO] [stdout] 197 | arena: &'a Arena, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_arena` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `next` [INFO] [stdout] --> src/main.rs:198:13 [INFO] [stdout] | [INFO] [stdout] 198 | next: impl TyEq>, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_next` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `value` [INFO] [stdout] --> src/main.rs:199:13 [INFO] [stdout] | [INFO] [stdout] 199 | value: impl TyEq, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_value` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `next` [INFO] [stdout] --> src/main.rs:233:27 [INFO] [stdout] | [INFO] [stdout] 233 | Gc(Elem { next, value: v }) => { [INFO] [stdout] | ^^^^ help: try ignoring the field: `next: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function cannot return without recursing [INFO] [stdout] --> src/main.rs:243:9 [INFO] [stdout] | [INFO] [stdout] 243 | / pub fn insert<'r, 'a: 'r>( [INFO] [stdout] 244 | | self, [INFO] [stdout] 245 | | index: usize, [INFO] [stdout] 246 | | arena: &'a Arena>>, [INFO] [stdout] 247 | | ) -> List<'r, Ty<'r, T>> { [INFO] [stdout] | |________________________________^ cannot return without recursing [INFO] [stdout] 248 | let Gc(Elem { value, next }) = self.0.unwrap(); [INFO] [stdout] 249 | let next = next.insert(index - 1, arena); [INFO] [stdout] | ----------------------------- recursive call site [INFO] [stdout] | [INFO] [stdout] = help: a `loop` may express intention better if this is on purpose [INFO] [stdout] = note: `#[warn(unconditional_recursion)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `t` [INFO] [stdout] --> src/main.rs:34:14 [INFO] [stdout] | [INFO] [stdout] 34 | fn a<'a>(t: ::T) {} [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_t` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `t` [INFO] [stdout] --> src/main.rs:35:14 [INFO] [stdout] | [INFO] [stdout] 35 | fn b<'a>(t: ::T) {} [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_t` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `t` [INFO] [stdout] --> src/main.rs:36:29 [INFO] [stdout] | [INFO] [stdout] 36 | fn c<'a, T: UnPlugLife>(t: as UnPlugLife>::T) {} [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_t` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors; 6 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0557, E0658. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0557`. [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/main.rs:201:17 [INFO] [stdout] | [INFO] [stdout] 201 | let e = todo!(); [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `arena` [INFO] [stdout] --> src/main.rs:197:13 [INFO] [stdout] | [INFO] [stdout] 197 | arena: &'a Arena, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_arena` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `next` [INFO] [stdout] --> src/main.rs:198:13 [INFO] [stdout] | [INFO] [stdout] 198 | next: impl TyEq>, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_next` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `value` [INFO] [stdout] --> src/main.rs:199:13 [INFO] [stdout] | [INFO] [stdout] 199 | value: impl TyEq, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_value` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `next` [INFO] [stdout] --> src/main.rs:233:27 [INFO] [stdout] | [INFO] [stdout] 233 | Gc(Elem { next, value: v }) => { [INFO] [stdout] | ^^^^ help: try ignoring the field: `next: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function cannot return without recursing [INFO] [stdout] --> src/main.rs:243:9 [INFO] [stdout] | [INFO] [stdout] 243 | / pub fn insert<'r, 'a: 'r>( [INFO] [stdout] 244 | | self, [INFO] [stdout] 245 | | index: usize, [INFO] [stdout] 246 | | arena: &'a Arena>>, [INFO] [stdout] 247 | | ) -> List<'r, Ty<'r, T>> { [INFO] [stdout] | |________________________________^ cannot return without recursing [INFO] [stdout] 248 | let Gc(Elem { value, next }) = self.0.unwrap(); [INFO] [stdout] 249 | let next = next.insert(index - 1, arena); [INFO] [stdout] | ----------------------------- recursive call site [INFO] [stdout] | [INFO] [stdout] = help: a `loop` may express intention better if this is on purpose [INFO] [stdout] = note: `#[warn(unconditional_recursion)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `t` [INFO] [stdout] --> src/main.rs:357:17 [INFO] [stdout] | [INFO] [stdout] 357 | let t: Gc>> = b; [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_t` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `a` [INFO] [stdout] --> src/main.rs:356:45 [INFO] [stdout] | [INFO] [stdout] 356 | fn bad1<'a, 'b, T: Eq + UnPlugLife>(a: Gc<'a, Gc<'a, T>>, b: Ty<'b, Gc>>) -> bool { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_a` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `gc-generic-std` (bin "gc-generic-std") due to 5 previous errors; 6 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: aborting due to 4 previous errors; 11 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0557, E0658. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0557`. [INFO] [stdout] [INFO] [stderr] error: could not compile `gc-generic-std` (bin "gc-generic-std" test) due to 5 previous errors; 11 warnings emitted [INFO] running `Command { std: "docker" "inspect" "0299dcf5884cd2bfbc73a758b27a065d8cabb2a1de7d6b874cfe51384321fcd4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0299dcf5884cd2bfbc73a758b27a065d8cabb2a1de7d6b874cfe51384321fcd4", kill_on_drop: false }` [INFO] [stdout] 0299dcf5884cd2bfbc73a758b27a065d8cabb2a1de7d6b874cfe51384321fcd4