[INFO] cloning repository https://github.com/wty92911/sysy-cargo [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/wty92911/sysy-cargo" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fwty92911%2Fsysy-cargo", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fwty92911%2Fsysy-cargo'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 434a2804423b4e11e0151cf25e9fb0415a9ce211 [INFO] checking wty92911/sysy-cargo against try#9543f8ea2aae74b8f13ac2a6e6c0ecdca9810869 for pr-129249 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fwty92911%2Fsysy-cargo" "/workspace/builds/worker-1-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/wty92911/sysy-cargo on toolchain 9543f8ea2aae74b8f13ac2a6e6c0ecdca9810869 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+9543f8ea2aae74b8f13ac2a6e6c0ecdca9810869" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/wty92911/sysy-cargo [INFO] finished tweaking git repo https://github.com/wty92911/sysy-cargo [INFO] tweaked toml for git repo https://github.com/wty92911/sysy-cargo written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/wty92911/sysy-cargo 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" "+9543f8ea2aae74b8f13ac2a6e6c0ecdca9810869" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+9543f8ea2aae74b8f13ac2a6e6c0ecdca9810869" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 5579ca32c06396ac69cb3192c7a4afe0488e4f6d579ed8b8e817dd6fc0242dae [INFO] running `Command { std: "docker" "start" "-a" "5579ca32c06396ac69cb3192c7a4afe0488e4f6d579ed8b8e817dd6fc0242dae", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "5579ca32c06396ac69cb3192c7a4afe0488e4f6d579ed8b8e817dd6fc0242dae", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5579ca32c06396ac69cb3192c7a4afe0488e4f6d579ed8b8e817dd6fc0242dae", kill_on_drop: false }` [INFO] [stdout] 5579ca32c06396ac69cb3192c7a4afe0488e4f6d579ed8b8e817dd6fc0242dae [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+9543f8ea2aae74b8f13ac2a6e6c0ecdca9810869" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 3ecc07128d6680416a529adaebcd75dd9bba3bf65674b750764a552095bb4489 [INFO] running `Command { std: "docker" "start" "-a" "3ecc07128d6680416a529adaebcd75dd9bba3bf65674b750764a552095bb4489", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.167 [INFO] [stderr] Compiling version_check v0.9.5 [INFO] [stderr] Compiling typenum v1.17.0 [INFO] [stderr] Compiling proc-macro2 v1.0.92 [INFO] [stderr] Compiling unicode-ident v1.0.14 [INFO] [stderr] Compiling autocfg v1.4.0 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Compiling memchr v2.7.4 [INFO] [stderr] Compiling rustversion v1.0.18 [INFO] [stderr] Compiling regex-syntax v0.8.5 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling smallvec v1.13.2 [INFO] [stderr] Compiling lock_api v0.4.12 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Compiling scopeguard v1.2.0 [INFO] [stderr] Compiling quote v1.0.37 [INFO] [stderr] Compiling equivalent v1.0.1 [INFO] [stderr] Compiling siphasher v0.3.11 [INFO] [stderr] Compiling home v0.5.9 [INFO] [stderr] Compiling syn v2.0.91 [INFO] [stderr] Compiling hashbrown v0.15.2 [INFO] [stderr] Compiling zerocopy v0.8.14 [INFO] [stderr] Compiling phf_shared v0.10.0 [INFO] [stderr] Compiling parking_lot v0.12.3 [INFO] [stderr] Compiling term v1.0.0 [INFO] [stderr] Compiling bit-vec v0.8.0 [INFO] [stderr] Compiling indexmap v2.7.0 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling block-buffer v0.10.4 [INFO] [stderr] Compiling regex-automata v0.4.9 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling keccak v0.1.5 [INFO] [stderr] Checking byteorder v1.5.0 [INFO] [stderr] Compiling precomputed-hash v0.1.1 [INFO] [stderr] Compiling either v1.13.0 [INFO] [stderr] Compiling once_cell v1.20.2 [INFO] [stderr] Compiling same-file v1.0.6 [INFO] [stderr] Compiling fixedbitset v0.4.2 [INFO] [stderr] Compiling log v0.4.22 [INFO] [stderr] Compiling new_debug_unreachable v1.0.6 [INFO] [stderr] Compiling string_cache v0.8.7 [INFO] [stderr] Checking getrandom v0.3.0-rc.0 [INFO] [stderr] Compiling ena v0.14.3 [INFO] [stderr] Compiling petgraph v0.6.5 [INFO] [stderr] Compiling itertools v0.13.0 [INFO] [stderr] Compiling walkdir v2.5.0 [INFO] [stderr] Compiling sha3 v0.10.8 [INFO] [stderr] Compiling bit-set v0.8.0 [INFO] [stderr] Compiling ascii-canvas v4.0.0 [INFO] [stderr] Compiling unicode-xid v0.2.6 [INFO] [stderr] Compiling pico-args v0.5.0 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Checking colored v2.1.0 [INFO] [stderr] Checking key-node-list v0.0.5 [INFO] [stderr] Checking koopa v0.0.8 [INFO] [stderr] Compiling regex v1.11.1 [INFO] [stderr] Compiling lalrpop-util v0.22.0 [INFO] [stderr] Checking rand_core v0.9.0-beta.1 [INFO] [stderr] Compiling lalrpop v0.22.0 [INFO] [stderr] Compiling zerocopy-derive v0.7.35 [INFO] [stderr] Checking zerocopy v0.7.35 [INFO] [stderr] Checking ppv-lite86 v0.2.20 [INFO] [stderr] Checking rand_chacha v0.9.0-beta.1 [INFO] [stderr] Checking rand v0.9.0-beta.1 [INFO] [stderr] Compiling compiler v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `std::ptr::write` [INFO] [stdout] --> src/asm/visitor.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use std::ptr::write; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::ptr::write` [INFO] [stdout] --> src/asm/visitor.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use std::ptr::write; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `value` [INFO] [stdout] --> src/asm/vm.rs:239:25 [INFO] [stdout] | [INFO] [stdout] 239 | if let Some(value) = node.value { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_value` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `value` [INFO] [stdout] --> src/asm/vm.rs:239:25 [INFO] [stdout] | [INFO] [stdout] 239 | if let Some(value) = node.value { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_value` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `bb` [INFO] [stdout] --> src/asm/visitor.rs:58:19 [INFO] [stdout] | [INFO] [stdout] 58 | for (_i, (bb, node)) in func.layout().bbs().iter().enumerate() { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_bb` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `bb` [INFO] [stdout] --> src/asm/visitor.rs:58:19 [INFO] [stdout] | [INFO] [stdout] 58 | for (_i, (bb, node)) in func.layout().bbs().iter().enumerate() { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_bb` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this conversion is useless `compiler::ir::structs::Exp` to `compiler::ir::structs::Exp` [INFO] [stdout] --> /opt/rustwide/target/debug/build/compiler-c9b4e80211f8ee79/out/sysy.rs:37113:5 [INFO] [stdout] | [INFO] [stdout] 37113 | exp.into() [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[deny(self_type_conversion)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this conversion is useless `String` to `String` [INFO] [stdout] --> /opt/rustwide/target/debug/build/compiler-c9b4e80211f8ee79/out/sysy.rs:37422:5 [INFO] [stdout] | [INFO] [stdout] 37422 | ident.into() [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `compiler` (bin "compiler" test) due to 2 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: this conversion is useless `compiler::ir::structs::Exp` to `compiler::ir::structs::Exp` [INFO] [stdout] --> /opt/rustwide/target/debug/build/compiler-c9b4e80211f8ee79/out/sysy.rs:37113:5 [INFO] [stdout] | [INFO] [stdout] 37113 | exp.into() [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[deny(self_type_conversion)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this conversion is useless `String` to `String` [INFO] [stdout] --> /opt/rustwide/target/debug/build/compiler-c9b4e80211f8ee79/out/sysy.rs:37422:5 [INFO] [stdout] | [INFO] [stdout] 37422 | ident.into() [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `compiler` (bin "compiler") due to 2 previous errors [INFO] running `Command { std: "docker" "inspect" "3ecc07128d6680416a529adaebcd75dd9bba3bf65674b750764a552095bb4489", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3ecc07128d6680416a529adaebcd75dd9bba3bf65674b750764a552095bb4489", kill_on_drop: false }` [INFO] [stdout] 3ecc07128d6680416a529adaebcd75dd9bba3bf65674b750764a552095bb4489