[INFO] cloning repository https://github.com/veber-alex/rust_clox [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/veber-alex/rust_clox" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fveber-alex%2Frust_clox", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fveber-alex%2Frust_clox'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] f3cdb9135db3ea6d5569a1ae3c3c20d703f4a420 [INFO] checking veber-alex/rust_clox against try#b047d5f4496a7526d91d0dddea494c05853f2a7b for pr-122661-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fveber-alex%2Frust_clox" "/workspace/builds/worker-0-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc2/source'... [INFO] [stderr] done. [INFO] removed /workspace/builds/worker-0-tc2/source/.cargo/config.toml [INFO] started tweaking git repo https://github.com/veber-alex/rust_clox [INFO] finished tweaking git repo https://github.com/veber-alex/rust_clox [INFO] tweaked toml for git repo https://github.com/veber-alex/rust_clox written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/veber-alex/rust_clox on toolchain b047d5f4496a7526d91d0dddea494c05853f2a7b [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b047d5f4496a7526d91d0dddea494c05853f2a7b" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/veber-alex/rust_clox 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" "+b047d5f4496a7526d91d0dddea494c05853f2a7b" "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] [stderr] Downloading crates ... [INFO] [stderr] Downloaded rustyline v11.0.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:cf8efcab8866f2cf4285301c7418e2f4f2a9b088c91ba69c40d5b659f81557f7" "/opt/rustwide/cargo-home/bin/cargo" "+b047d5f4496a7526d91d0dddea494c05853f2a7b" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 39cc4cb32261452b993de7dfc3289a24e0ebb8d6fdcd74d4e6474b8fbd41fa9e [INFO] running `Command { std: "docker" "start" "-a" "39cc4cb32261452b993de7dfc3289a24e0ebb8d6fdcd74d4e6474b8fbd41fa9e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "39cc4cb32261452b993de7dfc3289a24e0ebb8d6fdcd74d4e6474b8fbd41fa9e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "39cc4cb32261452b993de7dfc3289a24e0ebb8d6fdcd74d4e6474b8fbd41fa9e", kill_on_drop: false }` [INFO] [stdout] 39cc4cb32261452b993de7dfc3289a24e0ebb8d6fdcd74d4e6474b8fbd41fa9e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:cf8efcab8866f2cf4285301c7418e2f4f2a9b088c91ba69c40d5b659f81557f7" "/opt/rustwide/cargo-home/bin/cargo" "+b047d5f4496a7526d91d0dddea494c05853f2a7b" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 7227c8c5a4b866ba45543aef87c5155b38e0d61a2b6ac032c6a841e840a814ce [INFO] running `Command { std: "docker" "start" "-a" "7227c8c5a4b866ba45543aef87c5155b38e0d61a2b6ac032c6a841e840a814ce", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.139 [INFO] [stderr] Compiling memchr v2.5.0 [INFO] [stderr] Compiling log v0.4.17 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Checking static_assertions v1.1.0 [INFO] [stderr] Checking bitflags v1.3.2 [INFO] [stderr] Checking unicode-segmentation v1.10.1 [INFO] [stderr] Checking unicode-width v0.1.10 [INFO] [stderr] Checking utf8parse v0.2.0 [INFO] [stderr] Checking nix v0.26.2 [INFO] [stderr] Checking rustyline v11.0.0 [INFO] [stderr] Checking rust_clox v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `slice` [INFO] [stdout] --> src/vm.rs:4:10 [INFO] [stdout] | [INFO] [stdout] 4 | ptr, slice, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `let_chains` has been stable since 1.88.0 and no longer requires an attribute to enable [INFO] [stdout] --> src/main.rs:3:12 [INFO] [stdout] | [INFO] [stdout] 3 | #![feature(let_chains)] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(stable_features)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `char_indices_offset` has been stable since 1.82.0 and no longer requires an attribute to enable [INFO] [stdout] --> src/main.rs:2:12 [INFO] [stdout] | [INFO] [stdout] 2 | #![feature(char_indices_offset)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `slice` [INFO] [stdout] --> src/vm.rs:4:10 [INFO] [stdout] | [INFO] [stdout] 4 | ptr, slice, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `let_chains` has been stable since 1.88.0 and no longer requires an attribute to enable [INFO] [stdout] --> src/main.rs:3:12 [INFO] [stdout] | [INFO] [stdout] 3 | #![feature(let_chains)] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(stable_features)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `char_indices_offset` has been stable since 1.82.0 and no longer requires an attribute to enable [INFO] [stdout] --> src/main.rs:2:12 [INFO] [stdout] | [INFO] [stdout] 2 | #![feature(char_indices_offset)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `PREC_PRIMARY` is never used [INFO] [stdout] --> src/compiler.rs:47:15 [INFO] [stdout] | [INFO] [stdout] 47 | pub const PREC_PRIMARY: u8 = 10; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `identifier_type2` is never used [INFO] [stdout] --> src/scanner.rs:282:8 [INFO] [stdout] | [INFO] [stdout] 98 | impl<'a> Scanner<'a> { [INFO] [stdout] | -------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 282 | fn identifier_type2(&self) -> TokenKind { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `table_add_all` is never used [INFO] [stdout] --> src/table.rs:168:8 [INFO] [stdout] | [INFO] [stdout] 168 | pub fn table_add_all(from: *const Table, to: *mut Table) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: implicit autoref creates a reference to the dereference of a raw pointer [INFO] [stdout] --> src/compiler.rs:603:26 [INFO] [stdout] | [INFO] [stdout] 603 | for local in (*self.compiler).locals[..(*self.compiler).local_count] [INFO] [stdout] | ^^-------------^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this raw pointer has type `*mut Compiler<'_>` [INFO] [stdout] | [INFO] [stdout] = note: creating a reference requires the pointer target to be valid and imposes aliasing requirements [INFO] [stdout] note: autoref is being applied to this expression, resulting in: `&[Local<'_>; 256]` [INFO] [stdout] --> src/compiler.rs:603:26 [INFO] [stdout] | [INFO] [stdout] 603 | for local in (*self.compiler).locals[..(*self.compiler).local_count] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: `#[deny(dangerous_implicit_autorefs)]` on by default [INFO] [stdout] help: try using a raw pointer method instead; or if this reference is intentional, make it explicit [INFO] [stdout] | [INFO] [stdout] 603 | for local in (&(*self.compiler).locals)[..(*self.compiler).local_count] [INFO] [stdout] | ++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: implicit autoref creates a reference to the dereference of a raw pointer [INFO] [stdout] --> src/compiler.rs:700:19 [INFO] [stdout] | [INFO] [stdout] 700 | match (*compiler).locals[..(*compiler).local_count] [INFO] [stdout] | ^^--------^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this raw pointer has type `*mut Compiler<'_>` [INFO] [stdout] | [INFO] [stdout] = note: creating a reference requires the pointer target to be valid and imposes aliasing requirements [INFO] [stdout] note: autoref is being applied to this expression, resulting in: `&[Local<'_>; 256]` [INFO] [stdout] --> src/compiler.rs:700:19 [INFO] [stdout] | [INFO] [stdout] 700 | match (*compiler).locals[..(*compiler).local_count] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: try using a raw pointer method instead; or if this reference is intentional, make it explicit [INFO] [stdout] | [INFO] [stdout] 700 | match (&(*compiler).locals)[..(*compiler).local_count] [INFO] [stdout] | ++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: implicit autoref creates a reference to the dereference of a raw pointer [INFO] [stdout] --> src/compiler.rs:720:39 [INFO] [stdout] | [INFO] [stdout] 720 | if let Some((index, _)) = (*compiler).upvalues[..upvalue_count] [INFO] [stdout] | ^^--------^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this raw pointer has type `*mut Compiler<'_>` [INFO] [stdout] | [INFO] [stdout] = note: creating a reference requires the pointer target to be valid and imposes aliasing requirements [INFO] [stdout] note: autoref is being applied to this expression, resulting in: `&[UpValue; 256]` [INFO] [stdout] --> src/compiler.rs:720:39 [INFO] [stdout] | [INFO] [stdout] 720 | if let Some((index, _)) = (*compiler).upvalues[..upvalue_count] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: try using a raw pointer method instead; or if this reference is intentional, make it explicit [INFO] [stdout] | [INFO] [stdout] 720 | if let Some((index, _)) = (&(*compiler).upvalues)[..upvalue_count] [INFO] [stdout] | ++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `rust_clox` (bin "rust_clox" test) due to 3 previous errors; 6 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: constant `PREC_PRIMARY` is never used [INFO] [stdout] --> src/compiler.rs:47:15 [INFO] [stdout] | [INFO] [stdout] 47 | pub const PREC_PRIMARY: u8 = 10; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `identifier_type2` is never used [INFO] [stdout] --> src/scanner.rs:282:8 [INFO] [stdout] | [INFO] [stdout] 98 | impl<'a> Scanner<'a> { [INFO] [stdout] | -------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 282 | fn identifier_type2(&self) -> TokenKind { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `table_add_all` is never used [INFO] [stdout] --> src/table.rs:168:8 [INFO] [stdout] | [INFO] [stdout] 168 | pub fn table_add_all(from: *const Table, to: *mut Table) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: implicit autoref creates a reference to the dereference of a raw pointer [INFO] [stdout] --> src/compiler.rs:603:26 [INFO] [stdout] | [INFO] [stdout] 603 | for local in (*self.compiler).locals[..(*self.compiler).local_count] [INFO] [stdout] | ^^-------------^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this raw pointer has type `*mut Compiler<'_>` [INFO] [stdout] | [INFO] [stdout] = note: creating a reference requires the pointer target to be valid and imposes aliasing requirements [INFO] [stdout] note: autoref is being applied to this expression, resulting in: `&[Local<'_>; 256]` [INFO] [stdout] --> src/compiler.rs:603:26 [INFO] [stdout] | [INFO] [stdout] 603 | for local in (*self.compiler).locals[..(*self.compiler).local_count] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: `#[deny(dangerous_implicit_autorefs)]` on by default [INFO] [stdout] help: try using a raw pointer method instead; or if this reference is intentional, make it explicit [INFO] [stdout] | [INFO] [stdout] 603 | for local in (&(*self.compiler).locals)[..(*self.compiler).local_count] [INFO] [stdout] | ++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: implicit autoref creates a reference to the dereference of a raw pointer [INFO] [stdout] --> src/compiler.rs:700:19 [INFO] [stdout] | [INFO] [stdout] 700 | match (*compiler).locals[..(*compiler).local_count] [INFO] [stdout] | ^^--------^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this raw pointer has type `*mut Compiler<'_>` [INFO] [stdout] | [INFO] [stdout] = note: creating a reference requires the pointer target to be valid and imposes aliasing requirements [INFO] [stdout] note: autoref is being applied to this expression, resulting in: `&[Local<'_>; 256]` [INFO] [stdout] --> src/compiler.rs:700:19 [INFO] [stdout] | [INFO] [stdout] 700 | match (*compiler).locals[..(*compiler).local_count] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: try using a raw pointer method instead; or if this reference is intentional, make it explicit [INFO] [stdout] | [INFO] [stdout] 700 | match (&(*compiler).locals)[..(*compiler).local_count] [INFO] [stdout] | ++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: implicit autoref creates a reference to the dereference of a raw pointer [INFO] [stdout] --> src/compiler.rs:720:39 [INFO] [stdout] | [INFO] [stdout] 720 | if let Some((index, _)) = (*compiler).upvalues[..upvalue_count] [INFO] [stdout] | ^^--------^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this raw pointer has type `*mut Compiler<'_>` [INFO] [stdout] | [INFO] [stdout] = note: creating a reference requires the pointer target to be valid and imposes aliasing requirements [INFO] [stdout] note: autoref is being applied to this expression, resulting in: `&[UpValue; 256]` [INFO] [stdout] --> src/compiler.rs:720:39 [INFO] [stdout] | [INFO] [stdout] 720 | if let Some((index, _)) = (*compiler).upvalues[..upvalue_count] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: try using a raw pointer method instead; or if this reference is intentional, make it explicit [INFO] [stdout] | [INFO] [stdout] 720 | if let Some((index, _)) = (&(*compiler).upvalues)[..upvalue_count] [INFO] [stdout] | ++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `rust_clox` (bin "rust_clox") due to 3 previous errors; 6 warnings emitted [INFO] running `Command { std: "docker" "inspect" "7227c8c5a4b866ba45543aef87c5155b38e0d61a2b6ac032c6a841e840a814ce", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7227c8c5a4b866ba45543aef87c5155b38e0d61a2b6ac032c6a841e840a814ce", kill_on_drop: false }` [INFO] [stdout] 7227c8c5a4b866ba45543aef87c5155b38e0d61a2b6ac032c6a841e840a814ce