[INFO] cloning repository https://github.com/toy-lang/toy [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/toy-lang/toy" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftoy-lang%2Ftoy", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftoy-lang%2Ftoy'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 5d636cffddd881b93445c80937f6e170af3def21 [INFO] building toy-lang/toy against master#70591dc15db32941fe3595fdbf98e58d6975f95e for pr-127731 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftoy-lang%2Ftoy" "/workspace/builds/worker-1-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/toy-lang/toy on toolchain 70591dc15db32941fe3595fdbf98e58d6975f95e [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+70591dc15db32941fe3595fdbf98e58d6975f95e" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/toy-lang/toy [INFO] finished tweaking git repo https://github.com/toy-lang/toy [INFO] tweaked toml for git repo https://github.com/toy-lang/toy written to /workspace/builds/worker-1-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/toy-lang/toy 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" "+70591dc15db32941fe3595fdbf98e58d6975f95e" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+70591dc15db32941fe3595fdbf98e58d6975f95e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 41392c2d49cc0f1c431dc0e6b52946ebaba94451f597ffc4a2f9446708683dcc [INFO] running `Command { std: "docker" "start" "-a" "41392c2d49cc0f1c431dc0e6b52946ebaba94451f597ffc4a2f9446708683dcc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "41392c2d49cc0f1c431dc0e6b52946ebaba94451f597ffc4a2f9446708683dcc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "41392c2d49cc0f1c431dc0e6b52946ebaba94451f597ffc4a2f9446708683dcc", kill_on_drop: false }` [INFO] [stdout] 41392c2d49cc0f1c431dc0e6b52946ebaba94451f597ffc4a2f9446708683dcc [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+70591dc15db32941fe3595fdbf98e58d6975f95e" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 3456f7ea56605a47f88dbb24d2e90a7de02624bf2dc0fcae96363b88c1e8523c [INFO] running `Command { std: "docker" "start" "-a" "3456f7ea56605a47f88dbb24d2e90a7de02624bf2dc0fcae96363b88c1e8523c", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.66 [INFO] [stderr] Compiling unicode-ident v1.0.8 [INFO] [stderr] Compiling libc v0.2.147 [INFO] [stderr] Compiling rustix v0.38.7 [INFO] [stderr] Compiling linux-raw-sys v0.4.5 [INFO] [stderr] Compiling memchr v2.5.0 [INFO] [stderr] Compiling bitflags v2.3.3 [INFO] [stderr] Compiling gimli v0.27.3 [INFO] [stderr] Compiling adler v1.0.2 [INFO] [stderr] Compiling miniz_oxide v0.7.1 [INFO] [stderr] Compiling thiserror v1.0.44 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling regex-syntax v0.6.29 [INFO] [stderr] Compiling beef v0.5.2 [INFO] [stderr] Compiling rustc-demangle v0.1.23 [INFO] [stderr] Compiling object v0.31.1 [INFO] [stderr] Compiling quote v1.0.32 [INFO] [stderr] Compiling syn v2.0.28 [INFO] [stderr] Compiling cc v1.0.82 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling is_ci v1.1.1 [INFO] [stderr] Compiling is-terminal v0.4.9 [INFO] [stderr] Compiling unicode-linebreak v0.1.5 [INFO] [stderr] Compiling smawk v0.3.1 [INFO] [stderr] Compiling unicode-width v0.1.10 [INFO] [stderr] Compiling supports-hyperlinks v2.1.0 [INFO] [stderr] Compiling textwrap v0.15.2 [INFO] [stderr] Compiling supports-unicode v2.0.0 [INFO] [stderr] Compiling supports-color v2.0.0 [INFO] [stderr] Compiling terminal_size v0.1.17 [INFO] [stderr] Compiling once_cell v1.18.0 [INFO] [stderr] Compiling owo-colors v3.5.0 [INFO] [stderr] Compiling toylang v0.1.4 (/opt/rustwide/workdir/toylang) [INFO] [stderr] Compiling toy_codegen v0.1.0 (/opt/rustwide/workdir/toy_codegen) [INFO] [stderr] Compiling backtrace v0.3.68 [INFO] [stderr] Compiling addr2line v0.20.0 [INFO] [stderr] Compiling logos-codegen v0.13.0 [INFO] [stderr] Compiling thiserror-impl v1.0.44 [INFO] [stderr] Compiling miette-derive v5.10.0 [INFO] [stderr] Compiling toy_macros v0.1.4 (/opt/rustwide/workdir/toy_macros) [INFO] [stderr] Compiling backtrace-ext v0.2.1 [INFO] [stderr] Compiling logos-derive v0.13.0 [INFO] [stderr] Compiling logos v0.13.0 [INFO] [stderr] Compiling miette v5.10.0 [INFO] [stderr] Compiling toyc v0.1.4 (/opt/rustwide/workdir/toyc) [INFO] [stdout] warning: function `lex` is never used [INFO] [stdout] --> toyc/src/lexer.rs:124:8 [INFO] [stdout] | [INFO] [stdout] 124 | pub fn lex<'a>(input: &'a str) -> TokenStream<'a> { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Parser` is never constructed [INFO] [stdout] --> toyc/src/parser/mod.rs:7:12 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct Parser<'a> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `err_ty` is never read [INFO] [stdout] --> toyc/src/parser/mod.rs:72:5 [INFO] [stdout] | [INFO] [stdout] 71 | pub struct SyntaxError { [INFO] [stdout] | ----------- field in this struct [INFO] [stdout] 72 | err_ty: SyntaxErrorType [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `0` and `1` are never read [INFO] [stdout] --> toyc/src/parser/mod.rs:88:14 [INFO] [stdout] | [INFO] [stdout] 88 | Expected(String, Option), [INFO] [stdout] | -------- ^^^^^^ ^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this variant [INFO] [stdout] | [INFO] [stdout] help: consider changing the fields to be of unit type to suppress this warning while preserving the field numbering, or remove the fields [INFO] [stdout] | [INFO] [stdout] 88 | Expected((), ()), [INFO] [stdout] | ~~ ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> toyc/src/parser/mod.rs:89:12 [INFO] [stdout] | [INFO] [stdout] 89 | Custom(String), [INFO] [stdout] | ------ ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 89 | Custom(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 4.92s [INFO] running `Command { std: "docker" "inspect" "3456f7ea56605a47f88dbb24d2e90a7de02624bf2dc0fcae96363b88c1e8523c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3456f7ea56605a47f88dbb24d2e90a7de02624bf2dc0fcae96363b88c1e8523c", kill_on_drop: false }` [INFO] [stdout] 3456f7ea56605a47f88dbb24d2e90a7de02624bf2dc0fcae96363b88c1e8523c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+70591dc15db32941fe3595fdbf98e58d6975f95e" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 5f31ffab1d269ad260b5f7c3c622870c6cf089cadede181759978eafa500f8fe [INFO] running `Command { std: "docker" "start" "-a" "5f31ffab1d269ad260b5f7c3c622870c6cf089cadede181759978eafa500f8fe", kill_on_drop: false }` [INFO] [stderr] Compiling toy_macros v0.1.4 (/opt/rustwide/workdir/toy_macros) [INFO] [stderr] Compiling toylang v0.1.4 (/opt/rustwide/workdir/toylang) [INFO] [stderr] Compiling toy_codegen v0.1.0 (/opt/rustwide/workdir/toy_codegen) [INFO] [stderr] Compiling tests v0.1.0 (/opt/rustwide/workdir/tests) [INFO] [stderr] Compiling toyc v0.1.4 (/opt/rustwide/workdir/toyc) [INFO] [stdout] warning: function `lex` is never used [INFO] [stdout] --> toyc/src/lexer.rs:124:8 [INFO] [stdout] | [INFO] [stdout] 124 | pub fn lex<'a>(input: &'a str) -> TokenStream<'a> { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Parser` is never constructed [INFO] [stdout] --> toyc/src/parser/mod.rs:7:12 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct Parser<'a> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `err_ty` is never read [INFO] [stdout] --> toyc/src/parser/mod.rs:72:5 [INFO] [stdout] | [INFO] [stdout] 71 | pub struct SyntaxError { [INFO] [stdout] | ----------- field in this struct [INFO] [stdout] 72 | err_ty: SyntaxErrorType [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `0` and `1` are never read [INFO] [stdout] --> toyc/src/parser/mod.rs:88:14 [INFO] [stdout] | [INFO] [stdout] 88 | Expected(String, Option), [INFO] [stdout] | -------- ^^^^^^ ^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this variant [INFO] [stdout] | [INFO] [stdout] help: consider changing the fields to be of unit type to suppress this warning while preserving the field numbering, or remove the fields [INFO] [stdout] | [INFO] [stdout] 88 | Expected((), ()), [INFO] [stdout] | ~~ ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> toyc/src/parser/mod.rs:89:12 [INFO] [stdout] | [INFO] [stdout] 89 | Custom(String), [INFO] [stdout] | ------ ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 89 | Custom(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.53s [INFO] running `Command { std: "docker" "inspect" "5f31ffab1d269ad260b5f7c3c622870c6cf089cadede181759978eafa500f8fe", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5f31ffab1d269ad260b5f7c3c622870c6cf089cadede181759978eafa500f8fe", kill_on_drop: false }` [INFO] [stdout] 5f31ffab1d269ad260b5f7c3c622870c6cf089cadede181759978eafa500f8fe