[INFO] cloning repository https://github.com/Xiao-Suda/codegen [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Xiao-Suda/codegen" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FXiao-Suda%2Fcodegen", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FXiao-Suda%2Fcodegen'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] c26c310c8c147fcff89d4a6b8798eada102d0d0e [INFO] checking Xiao-Suda/codegen/c26c310c8c147fcff89d4a6b8798eada102d0d0e against master#ab869e094a907cc5d19b4080f22eccaf347f1f95 for pr-129604 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FXiao-Suda%2Fcodegen" "/workspace/builds/worker-6-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Xiao-Suda/codegen on toolchain ab869e094a907cc5d19b4080f22eccaf347f1f95 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/Xiao-Suda/codegen [INFO] finished tweaking git repo https://github.com/Xiao-Suda/codegen [INFO] tweaked toml for git repo https://github.com/Xiao-Suda/codegen written to /workspace/builds/worker-6-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/Xiao-Suda/codegen 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" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded rustyline v8.2.0 [INFO] [stderr] Downloaded ron v0.6.6 [INFO] [stderr] Downloaded fd-lock v2.0.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 94565d9bb663cbfb929e1358a8d947f67d1ff1a280b136a8b90a8b821a81af47 [INFO] running `Command { std: "docker" "start" "-a" "94565d9bb663cbfb929e1358a8d947f67d1ff1a280b136a8b90a8b821a81af47", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "94565d9bb663cbfb929e1358a8d947f67d1ff1a280b136a8b90a8b821a81af47", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "94565d9bb663cbfb929e1358a8d947f67d1ff1a280b136a8b90a8b821a81af47", kill_on_drop: false }` [INFO] [stdout] 94565d9bb663cbfb929e1358a8d947f67d1ff1a280b136a8b90a8b821a81af47 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 5686d9cce75377d5503b17b95a0578a34e173d413f1a50d95515d8cd4cb08cb7 [INFO] running `Command { std: "docker" "start" "-a" "5686d9cce75377d5503b17b95a0578a34e173d413f1a50d95515d8cd4cb08cb7", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.126 [INFO] [stderr] Compiling proc-macro2 v1.0.40 [INFO] [stderr] Compiling unicode-ident v1.0.2 [INFO] [stderr] Compiling quote v1.0.20 [INFO] [stderr] Compiling syn v1.0.98 [INFO] [stderr] Compiling serde_derive v1.0.139 [INFO] [stderr] Compiling serde v1.0.139 [INFO] [stderr] Compiling memchr v2.5.0 [INFO] [stderr] Compiling log v0.4.17 [INFO] [stderr] Checking endian-type v0.1.2 [INFO] [stderr] Checking utf8parse v0.2.0 [INFO] [stderr] Compiling memoffset v0.6.5 [INFO] [stderr] Checking nibble_vec v0.1.0 [INFO] [stderr] Checking unicode-segmentation v1.9.0 [INFO] [stderr] Checking radix_trie v0.2.1 [INFO] [stderr] Checking dirs-sys-next v0.1.2 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking fd-lock v2.0.0 [INFO] [stderr] Checking nix v0.20.2 [INFO] [stderr] Checking colored v2.0.0 [INFO] [stderr] Checking dirs-next v2.0.0 [INFO] [stderr] Checking rustyline v8.2.0 [INFO] [stderr] Checking ron v0.6.6 [INFO] [stderr] Checking codegen-proj v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unexpected `cfg` condition name: `none` [INFO] [stdout] --> src/cg/mips/stdlib.rs:251:7 [INFO] [stdout] | [INFO] [stdout] 251 | #[cfg(none)] [INFO] [stdout] | ^^^^ help: found config with similar value: `target_os = "none"` [INFO] [stdout] | [INFO] [stdout] = help: expected names are: `clippy`, `debug_assertions`, `doc`, `docsrs`, `doctest`, `feature`, `miri`, `overflow_checks`, `panic`, `proc_macro`, `relocation_model`, `rustfmt`, `sanitize`, `sanitizer_cfi_generalize_pointers`, `sanitizer_cfi_normalize_integers`, `target_abi`, `target_arch`, `target_endian`, `target_env`, `target_family`, `target_feature`, `target_has_atomic`, `target_has_atomic_equal_alignment`, `target_has_atomic_load_store`, `target_os`, `target_pointer_width`, `target_thread_local`, `target_vendor`, `test`, `ub_checks`, `unix`, and `windows` [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(none)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(none)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `none` [INFO] [stdout] --> src/cg/mips/stdlib.rs:251:7 [INFO] [stdout] | [INFO] [stdout] 251 | #[cfg(none)] [INFO] [stdout] | ^^^^ help: found config with similar value: `target_os = "none"` [INFO] [stdout] | [INFO] [stdout] = help: expected names are: `clippy`, `debug_assertions`, `doc`, `docsrs`, `doctest`, `feature`, `miri`, `overflow_checks`, `panic`, `proc_macro`, `relocation_model`, `rustfmt`, `sanitize`, `sanitizer_cfi_generalize_pointers`, `sanitizer_cfi_normalize_integers`, `target_abi`, `target_arch`, `target_endian`, `target_env`, `target_family`, `target_feature`, `target_has_atomic`, `target_has_atomic_equal_alignment`, `target_has_atomic_load_store`, `target_os`, `target_pointer_width`, `target_thread_local`, `target_vendor`, `test`, `ub_checks`, `unix`, and `windows` [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(none)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(none)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable statement [INFO] [stdout] --> src/parse/exp.rs:52:3 [INFO] [stdout] | [INFO] [stdout] 32 | / match self.cur() { [INFO] [stdout] 33 | | [INFO] [stdout] 34 | | TokenKind::Minus => { [INFO] [stdout] 35 | | self.next(); [INFO] [stdout] ... | [INFO] [stdout] 49 | | } [INFO] [stdout] 50 | | } [INFO] [stdout] | |_________- any code following this `match` expression is unreachable, as all arms diverge [INFO] [stdout] 51 | [INFO] [stdout] 52 | return Err(ParseError::bad_expression(self.loc(), self.cur())); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ unreachable statement [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable statement [INFO] [stdout] --> src/parse/stmt.rs:61:3 [INFO] [stdout] | [INFO] [stdout] 10 | / match self.cur() { [INFO] [stdout] 11 | | [INFO] [stdout] 12 | | TokenKind:: LBrace => { [INFO] [stdout] 13 | | return self.parse_block(); [INFO] [stdout] ... | [INFO] [stdout] 58 | | } [INFO] [stdout] 59 | | } [INFO] [stdout] | |_________- any code following this `match` expression is unreachable, as all arms diverge [INFO] [stdout] 60 | [INFO] [stdout] 61 | return Err(ParseError::bad_statement(self.loc(), self.cur())); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ unreachable statement [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable statement [INFO] [stdout] --> src/parse/exp.rs:52:3 [INFO] [stdout] | [INFO] [stdout] 32 | / match self.cur() { [INFO] [stdout] 33 | | [INFO] [stdout] 34 | | TokenKind::Minus => { [INFO] [stdout] 35 | | self.next(); [INFO] [stdout] ... | [INFO] [stdout] 49 | | } [INFO] [stdout] 50 | | } [INFO] [stdout] | |_________- any code following this `match` expression is unreachable, as all arms diverge [INFO] [stdout] 51 | [INFO] [stdout] 52 | return Err(ParseError::bad_expression(self.loc(), self.cur())); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ unreachable statement [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable statement [INFO] [stdout] --> src/parse/stmt.rs:61:3 [INFO] [stdout] | [INFO] [stdout] 10 | / match self.cur() { [INFO] [stdout] 11 | | [INFO] [stdout] 12 | | TokenKind:: LBrace => { [INFO] [stdout] 13 | | return self.parse_block(); [INFO] [stdout] ... | [INFO] [stdout] 58 | | } [INFO] [stdout] 59 | | } [INFO] [stdout] | |_________- any code following this `match` expression is unreachable, as all arms diverge [INFO] [stdout] 60 | [INFO] [stdout] 61 | return Err(ParseError::bad_statement(self.loc(), self.cur())); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ unreachable statement [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `fields` is never read [INFO] [stdout] --> src/parse/decl.rs:117:11 [INFO] [stdout] | [INFO] [stdout] 117 | let mut fields = vec![]; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `fields` is never read [INFO] [stdout] --> src/parse/decl.rs:117:11 [INFO] [stdout] | [INFO] [stdout] 117 | let mut fields = vec![]; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 15.01s [INFO] running `Command { std: "docker" "inspect" "5686d9cce75377d5503b17b95a0578a34e173d413f1a50d95515d8cd4cb08cb7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5686d9cce75377d5503b17b95a0578a34e173d413f1a50d95515d8cd4cb08cb7", kill_on_drop: false }` [INFO] [stdout] 5686d9cce75377d5503b17b95a0578a34e173d413f1a50d95515d8cd4cb08cb7