[INFO] cloning repository https://github.com/yukun-impa/sysy_compiler [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/yukun-impa/sysy_compiler" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fyukun-impa%2Fsysy_compiler", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fyukun-impa%2Fsysy_compiler'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] c4b7ecd65a6cc073192b6717e596243d75b03533 [INFO] checking yukun-impa/sysy_compiler against nightly-2024-02-05 for check-cfg-2 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fyukun-impa%2Fsysy_compiler" "/workspace/builds/worker-3-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/yukun-impa/sysy_compiler on toolchain nightly-2024-02-05 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+nightly-2024-02-05" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/yukun-impa/sysy_compiler [INFO] finished tweaking git repo https://github.com/yukun-impa/sysy_compiler [INFO] tweaked toml for git repo https://github.com/yukun-impa/sysy_compiler written to /workspace/builds/worker-3-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/yukun-impa/sysy_compiler 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" "+nightly-2024-02-05" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded indexmap v1.9.2 [INFO] [stderr] Downloaded pico-args v0.4.2 [INFO] [stderr] Downloaded colored v2.0.0 [INFO] [stderr] Downloaded thiserror-impl v1.0.37 [INFO] [stderr] Downloaded parking_lot_core v0.9.4 [INFO] [stderr] Downloaded proc-macro2 v1.0.47 [INFO] [stderr] Downloaded koopa v0.0.5 [INFO] [stderr] Downloaded syn v1.0.103 [INFO] [stderr] Downloaded windows_i686_msvc v0.42.0 [INFO] [stderr] Downloaded windows_x86_64_gnu v0.42.0 [INFO] [stderr] Downloaded windows_x86_64_gnullvm v0.42.0 [INFO] [stderr] Downloaded windows_x86_64_msvc v0.42.0 [INFO] [stderr] Downloaded libc v0.2.137 [INFO] [stderr] Downloaded windows_aarch64_gnullvm v0.42.0 [INFO] [stderr] Downloaded windows_aarch64_msvc v0.42.0 [INFO] [stderr] Downloaded windows_i686_gnu v0.42.0 [INFO] [stderr] Downloaded regex v1.7.0 [INFO] [stderr] Downloaded lalrpop v0.19.8 [INFO] [stderr] Downloaded ena v0.14.0 [INFO] [stderr] Downloaded unicode-ident v1.0.5 [INFO] [stderr] Downloaded thiserror v1.0.37 [INFO] [stderr] Downloaded rustversion v1.0.9 [INFO] [stderr] Downloaded lalrpop-util v0.19.8 [INFO] [stderr] Downloaded once_cell v1.16.0 [INFO] [stderr] Downloaded key-node-list v0.0.4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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" "+nightly-2024-02-05" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 44fa5a592f6185417371134df9e172ae5bd15e58783eee9958561c1f799cf913 [INFO] running `Command { std: "docker" "start" "-a" "44fa5a592f6185417371134df9e172ae5bd15e58783eee9958561c1f799cf913", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "44fa5a592f6185417371134df9e172ae5bd15e58783eee9958561c1f799cf913", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "44fa5a592f6185417371134df9e172ae5bd15e58783eee9958561c1f799cf913", kill_on_drop: false }` [INFO] [stdout] 44fa5a592f6185417371134df9e172ae5bd15e58783eee9958561c1f799cf913 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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" "+nightly-2024-02-05" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] eab5842584a4c6cc85919ba528c9cfef180ffaeca0e00ae67c84c69fae6bbc3b [INFO] running `Command { std: "docker" "start" "-a" "eab5842584a4c6cc85919ba528c9cfef180ffaeca0e00ae67c84c69fae6bbc3b", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.137 [INFO] [stderr] Compiling memchr v2.5.0 [INFO] [stderr] Compiling parking_lot_core v0.9.4 [INFO] [stderr] Compiling log v0.4.17 [INFO] [stderr] Compiling crunchy v0.2.2 [INFO] [stderr] Compiling scopeguard v1.1.0 [INFO] [stderr] Compiling smallvec v1.10.0 [INFO] [stderr] Compiling hashbrown v0.12.3 [INFO] [stderr] Compiling tiny-keccak v2.0.2 [INFO] [stderr] Compiling siphasher v0.3.10 [INFO] [stderr] Compiling regex-syntax v0.6.28 [INFO] [stderr] Compiling either v1.8.0 [INFO] [stderr] Compiling new_debug_unreachable v1.0.4 [INFO] [stderr] Compiling lock_api v0.4.9 [INFO] [stderr] Compiling indexmap v1.9.2 [INFO] [stderr] Compiling precomputed-hash v0.1.1 [INFO] [stderr] Compiling fixedbitset v0.4.2 [INFO] [stderr] Compiling bit-vec v0.6.3 [INFO] [stderr] Compiling once_cell v1.16.0 [INFO] [stderr] Compiling phf_shared v0.10.0 [INFO] [stderr] Compiling itertools v0.10.5 [INFO] [stderr] Compiling unicode-xid v0.2.4 [INFO] [stderr] Compiling pico-args v0.4.2 [INFO] [stderr] Compiling bit-set v0.5.3 [INFO] [stderr] Compiling diff v0.1.13 [INFO] [stderr] Checking key-node-list v0.0.4 [INFO] [stderr] Compiling ena v0.14.0 [INFO] [stderr] Compiling dirs-sys-next v0.1.2 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Checking aho-corasick v0.7.20 [INFO] [stderr] Compiling parking_lot v0.12.1 [INFO] [stderr] Compiling dirs-next v2.0.0 [INFO] [stderr] Compiling term v0.7.0 [INFO] [stderr] Compiling ascii-canvas v3.0.0 [INFO] [stderr] Compiling string_cache v0.8.4 [INFO] [stderr] Compiling petgraph v0.6.2 [INFO] [stderr] Checking colored v2.0.0 [INFO] [stderr] Checking koopa v0.0.5 [INFO] [stderr] Checking regex v1.7.0 [INFO] [stderr] Checking lalrpop-util v0.19.8 [INFO] [stderr] Compiling lalrpop v0.19.8 [INFO] [stderr] Compiling sysy_compiler v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/ast.rs:23:13 [INFO] [stdout] | [INFO] [stdout] 23 | _ => "not defined".to_string(), [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/ast.rs:23:13 [INFO] [stdout] | [INFO] [stdout] 23 | _ => "not defined".to_string(), [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `mode` [INFO] [stdout] --> src/main.rs:13:9 [INFO] [stdout] | [INFO] [stdout] 13 | let mode = args.next().unwrap(); [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_mode` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `output` [INFO] [stdout] --> src/main.rs:16:9 [INFO] [stdout] | [INFO] [stdout] 16 | let output = args.next().unwrap(); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_output` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `func_data` [INFO] [stdout] --> src/main.rs:25:13 [INFO] [stdout] | [INFO] [stdout] 25 | let func_data = program.func(func); [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_func_data` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `mode` [INFO] [stdout] --> src/main.rs:13:9 [INFO] [stdout] | [INFO] [stdout] 13 | let mode = args.next().unwrap(); [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_mode` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `output` [INFO] [stdout] --> src/main.rs:16:9 [INFO] [stdout] | [INFO] [stdout] 16 | let output = args.next().unwrap(); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_output` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `func_data` [INFO] [stdout] --> src/main.rs:25:13 [INFO] [stdout] | [INFO] [stdout] 25 | let func_data = program.func(func); [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_func_data` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 23.86s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: lalrpop v0.19.8 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1` [INFO] running `Command { std: "docker" "inspect" "eab5842584a4c6cc85919ba528c9cfef180ffaeca0e00ae67c84c69fae6bbc3b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "eab5842584a4c6cc85919ba528c9cfef180ffaeca0e00ae67c84c69fae6bbc3b", kill_on_drop: false }` [INFO] [stdout] eab5842584a4c6cc85919ba528c9cfef180ffaeca0e00ae67c84c69fae6bbc3b [INFO] checking yukun-impa/sysy_compiler against nightly-2024-02-05+rustflags=-Dunexpected_cfgs+cargoflags=-Zcheck-cfg for check-cfg-2 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fyukun-impa%2Fsysy_compiler" "/workspace/builds/worker-3-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/yukun-impa/sysy_compiler on toolchain nightly-2024-02-05 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+nightly-2024-02-05" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/yukun-impa/sysy_compiler [INFO] finished tweaking git repo https://github.com/yukun-impa/sysy_compiler [INFO] tweaked toml for git repo https://github.com/yukun-impa/sysy_compiler written to /workspace/builds/worker-3-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/yukun-impa/sysy_compiler 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" "+nightly-2024-02-05" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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" "+nightly-2024-02-05" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] b83360779e777656ecb7124c15c0e4044e0345cbc9ede7c75d880f6c14079b75 [INFO] running `Command { std: "docker" "start" "-a" "b83360779e777656ecb7124c15c0e4044e0345cbc9ede7c75d880f6c14079b75", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b83360779e777656ecb7124c15c0e4044e0345cbc9ede7c75d880f6c14079b75", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b83360779e777656ecb7124c15c0e4044e0345cbc9ede7c75d880f6c14079b75", kill_on_drop: false }` [INFO] [stdout] b83360779e777656ecb7124c15c0e4044e0345cbc9ede7c75d880f6c14079b75 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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 -Dunexpected_cfgs" "-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" "+nightly-2024-02-05" "check" "--frozen" "--all" "--all-targets" "--message-format=json" "-Zcheck-cfg", kill_on_drop: false }` [INFO] [stdout] c82d375c9e2bf65ed28077d8b770b01990f3743802e2501de93dacb6bc8f97fb [INFO] running `Command { std: "docker" "start" "-a" "c82d375c9e2bf65ed28077d8b770b01990f3743802e2501de93dacb6bc8f97fb", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.137 [INFO] [stderr] Compiling memchr v2.5.0 [INFO] [stderr] Compiling lock_api v0.4.9 [INFO] [stderr] Compiling parking_lot_core v0.9.4 [INFO] [stderr] Compiling indexmap v1.9.2 [INFO] [stderr] Compiling scopeguard v1.1.0 [INFO] [stderr] Compiling log v0.4.17 [INFO] [stderr] Compiling smallvec v1.10.0 [INFO] [stderr] Compiling crunchy v0.2.2 [INFO] [stderr] Compiling regex-syntax v0.6.28 [INFO] [stderr] Compiling siphasher v0.3.10 [INFO] [stderr] Compiling tiny-keccak v2.0.2 [INFO] [stderr] Compiling hashbrown v0.12.3 [INFO] [stderr] Compiling bit-vec v0.6.3 [INFO] [stderr] Compiling fixedbitset v0.4.2 [INFO] [stderr] Compiling precomputed-hash v0.1.1 [INFO] [stderr] Compiling once_cell v1.16.0 [INFO] [stderr] Compiling phf_shared v0.10.0 [INFO] [stderr] Compiling either v1.8.0 [INFO] [stderr] Compiling new_debug_unreachable v1.0.4 [INFO] [stderr] Compiling bit-set v0.5.3 [INFO] [stderr] Compiling diff v0.1.13 [INFO] [stderr] Compiling pico-args v0.4.2 [INFO] [stderr] Compiling itertools v0.10.5 [INFO] [stderr] Compiling unicode-xid v0.2.4 [INFO] [stderr] Checking key-node-list v0.0.4 [INFO] [stderr] Compiling ena v0.14.0 [INFO] [stderr] Compiling aho-corasick v0.7.20 [INFO] [stderr] Compiling dirs-sys-next v0.1.2 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling dirs-next v2.0.0 [INFO] [stderr] Compiling term v0.7.0 [INFO] [stderr] Compiling parking_lot v0.12.1 [INFO] [stderr] Compiling ascii-canvas v3.0.0 [INFO] [stderr] Compiling string_cache v0.8.4 [INFO] [stderr] Checking colored v2.0.0 [INFO] [stderr] Checking koopa v0.0.5 [INFO] [stderr] Compiling petgraph v0.6.2 [INFO] [stderr] Compiling regex v1.7.0 [INFO] [stderr] Compiling lalrpop-util v0.19.8 [INFO] [stderr] Compiling lalrpop v0.19.8 [INFO] [stderr] Compiling sysy_compiler v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error: unexpected `cfg` condition name: `rustfmt` [INFO] [stdout] --> /opt/rustwide/target/debug/build/sysy_compiler-2b4adef9715de01a/out/sysy.rs:11:12 [INFO] [stdout] | [INFO] [stdout] 11 | #[cfg_attr(rustfmt, rustfmt_skip)] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: expected names are: `debug_assertions`, `doc`, `doctest`, `feature`, `miri`, `overflow_checks`, `panic`, `proc_macro`, `relocation_model`, `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`, `unix`, `windows` [INFO] [stdout] = help: consider using a Cargo feature instead or adding `println!("cargo:rustc-check-cfg=cfg(rustfmt)");` to the top of a `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: requested on the command line with `-D unexpected-cfgs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unexpected `cfg` condition name: `rustfmt` [INFO] [stdout] --> /opt/rustwide/target/debug/build/sysy_compiler-2b4adef9715de01a/out/sysy.rs:659:12 [INFO] [stdout] | [INFO] [stdout] 659 | #[cfg_attr(rustfmt, rustfmt_skip)] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead or adding `println!("cargo:rustc-check-cfg=cfg(rustfmt)");` to the top of a `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unexpected `cfg` condition name: `rustfmt` [INFO] [stdout] --> /opt/rustwide/target/debug/build/sysy_compiler-2b4adef9715de01a/out/sysy.rs:11:12 [INFO] [stdout] | [INFO] [stdout] 11 | #[cfg_attr(rustfmt, rustfmt_skip)] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: expected names are: `debug_assertions`, `doc`, `doctest`, `feature`, `miri`, `overflow_checks`, `panic`, `proc_macro`, `relocation_model`, `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`, `unix`, `windows` [INFO] [stdout] = help: consider using a Cargo feature instead or adding `println!("cargo:rustc-check-cfg=cfg(rustfmt)");` to the top of a `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: requested on the command line with `-D unexpected-cfgs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unexpected `cfg` condition name: `rustfmt` [INFO] [stdout] --> /opt/rustwide/target/debug/build/sysy_compiler-2b4adef9715de01a/out/sysy.rs:659:12 [INFO] [stdout] | [INFO] [stdout] 659 | #[cfg_attr(rustfmt, rustfmt_skip)] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead or adding `println!("cargo:rustc-check-cfg=cfg(rustfmt)");` to the top of a `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/ast.rs:23:13 [INFO] [stdout] | [INFO] [stdout] 23 | _ => "not defined".to_string(), [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/ast.rs:23:13 [INFO] [stdout] | [INFO] [stdout] 23 | _ => "not defined".to_string(), [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `mode` [INFO] [stdout] --> src/main.rs:13:9 [INFO] [stdout] | [INFO] [stdout] 13 | let mode = args.next().unwrap(); [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_mode` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `output` [INFO] [stdout] --> src/main.rs:16:9 [INFO] [stdout] | [INFO] [stdout] 16 | let output = args.next().unwrap(); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_output` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `func_data` [INFO] [stdout] --> src/main.rs:25:13 [INFO] [stdout] | [INFO] [stdout] 25 | let func_data = program.func(func); [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_func_data` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors; 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `mode` [INFO] [stdout] --> src/main.rs:13:9 [INFO] [stdout] | [INFO] [stdout] 13 | let mode = args.next().unwrap(); [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_mode` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `output` [INFO] [stdout] --> src/main.rs:16:9 [INFO] [stdout] | [INFO] [stdout] 16 | let output = args.next().unwrap(); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_output` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `func_data` [INFO] [stdout] --> src/main.rs:25:13 [INFO] [stdout] | [INFO] [stdout] 25 | let func_data = program.func(func); [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_func_data` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `sysy_compiler` (bin "sysy_compiler") due to 3 previous errors; 4 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: aborting due to 2 previous errors; 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `sysy_compiler` (bin "sysy_compiler" test) due to 3 previous errors; 4 warnings emitted [INFO] running `Command { std: "docker" "inspect" "c82d375c9e2bf65ed28077d8b770b01990f3743802e2501de93dacb6bc8f97fb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c82d375c9e2bf65ed28077d8b770b01990f3743802e2501de93dacb6bc8f97fb", kill_on_drop: false }` [INFO] [stdout] c82d375c9e2bf65ed28077d8b770b01990f3743802e2501de93dacb6bc8f97fb