[INFO] cloning repository https://github.com/CrystalAnalyst/Sysy-alpha
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/CrystalAnalyst/Sysy-alpha" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FCrystalAnalyst%2FSysy-alpha", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FCrystalAnalyst%2FSysy-alpha'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 0128efc58bb49e378cb37553a4b0ab4b14aa2262
[INFO] checking CrystalAnalyst/Sysy-alpha against master#5518eaa946291f00471af8b254b2a1715f234882 for pr-120393
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FCrystalAnalyst%2FSysy-alpha" "/workspace/builds/worker-4-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc1/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/CrystalAnalyst/Sysy-alpha on toolchain 5518eaa946291f00471af8b254b2a1715f234882
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+5518eaa946291f00471af8b254b2a1715f234882" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking git repo https://github.com/CrystalAnalyst/Sysy-alpha
[INFO] finished tweaking git repo https://github.com/CrystalAnalyst/Sysy-alpha
[INFO] tweaked toml for git repo https://github.com/CrystalAnalyst/Sysy-alpha written to /workspace/builds/worker-4-tc1/source/Cargo.toml
[INFO] crate git repo https://github.com/CrystalAnalyst/Sysy-alpha 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" "+5518eaa946291f00471af8b254b2a1715f234882" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr] warning: unused manifest key: package.author
[INFO] [stderr] warning: unused manifest key: package.email
[INFO] [stderr] warning: unused manifest key: package.nickname
[INFO] [stderr] warning: unused manifest key: package.school
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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" "+5518eaa946291f00471af8b254b2a1715f234882" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 0841b191e1162a4909d8401d5b40088ab107d737ba899057ee014d9a59310612
[INFO] running `Command { std: "docker" "start" "-a" "0841b191e1162a4909d8401d5b40088ab107d737ba899057ee014d9a59310612", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "0841b191e1162a4909d8401d5b40088ab107d737ba899057ee014d9a59310612", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "0841b191e1162a4909d8401d5b40088ab107d737ba899057ee014d9a59310612", kill_on_drop: false }`
[INFO] [stdout] 0841b191e1162a4909d8401d5b40088ab107d737ba899057ee014d9a59310612
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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" "+5518eaa946291f00471af8b254b2a1715f234882" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] da5e64de9e696c9054f4c312d5de3a5d5a2b5440da6e4e3ea691c5ffe11d86b1
[INFO] running `Command { std: "docker" "start" "-a" "da5e64de9e696c9054f4c312d5de3a5d5a2b5440da6e4e3ea691c5ffe11d86b1", kill_on_drop: false }`
[INFO] [stderr] warning: unused manifest key: package.author
[INFO] [stderr] warning: unused manifest key: package.email
[INFO] [stderr] warning: unused manifest key: package.nickname
[INFO] [stderr] warning: unused manifest key: package.school
[INFO] [stderr]     Checking colored v2.1.0
[INFO] [stderr]     Checking sysy_alpha v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: shared reference of mutable static is discouraged
[INFO] [stdout]    --> src/semantics.rs:150:39
[INFO] [stdout]     |
[INFO] [stdout] 150 |         let path = unsafe { Path::new(&FILEPATH) };
[INFO] [stdout]     |                                       ^^^^^^^^^ shared reference of mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: for more information, see issue #114447 <https://github.com/rust-lang/rust/issues/114447>
[INFO] [stdout]     = note: reference of mutable static is a hard error from 2024 edition
[INFO] [stdout]     = note: mutable statics can be written to by multiple threads: aliasing violations or data races will cause undefined behavior
[INFO] [stdout]     = note: `#[warn(static_mut_ref)]` on by default
[INFO] [stdout] help: shared references are dangerous since if there's any kind of mutation of that static while the reference lives, that's UB; use `addr_of!` instead to create a raw pointer
[INFO] [stdout]     |
[INFO] [stdout] 150 |         let path = unsafe { Path::new(addr_of!(FILEPATH)) };
[INFO] [stdout]     |                                       ~~~~~~~~~~~~~~~~~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: shared reference of mutable static is discouraged
[INFO] [stdout]    --> src/semantics.rs:150:39
[INFO] [stdout]     |
[INFO] [stdout] 150 |         let path = unsafe { Path::new(&FILEPATH) };
[INFO] [stdout]     |                                       ^^^^^^^^^ shared reference of mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: for more information, see issue #114447 <https://github.com/rust-lang/rust/issues/114447>
[INFO] [stdout]     = note: reference of mutable static is a hard error from 2024 edition
[INFO] [stdout]     = note: mutable statics can be written to by multiple threads: aliasing violations or data races will cause undefined behavior
[INFO] [stdout]     = note: `#[warn(static_mut_ref)]` on by default
[INFO] [stdout] help: shared references are dangerous since if there's any kind of mutation of that static while the reference lives, that's UB; use `addr_of!` instead to create a raw pointer
[INFO] [stdout]     |
[INFO] [stdout] 150 |         let path = unsafe { Path::new(addr_of!(FILEPATH)) };
[INFO] [stdout]     |                                       ~~~~~~~~~~~~~~~~~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 1 warning emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 1 warning emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished dev [unoptimized + debuginfo] target(s) in 0.33s
[INFO] running `Command { std: "docker" "inspect" "da5e64de9e696c9054f4c312d5de3a5d5a2b5440da6e4e3ea691c5ffe11d86b1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "da5e64de9e696c9054f4c312d5de3a5d5a2b5440da6e4e3ea691c5ffe11d86b1", kill_on_drop: false }`
[INFO] [stdout] da5e64de9e696c9054f4c312d5de3a5d5a2b5440da6e4e3ea691c5ffe11d86b1
[INFO] checking CrystalAnalyst/Sysy-alpha against try#7622c0f807a4e13c4db886a1681bf343795692df+rustflags=-Dnon_local_definitions for pr-120393
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FCrystalAnalyst%2FSysy-alpha" "/workspace/builds/worker-4-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc2/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/CrystalAnalyst/Sysy-alpha on toolchain 7622c0f807a4e13c4db886a1681bf343795692df
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+7622c0f807a4e13c4db886a1681bf343795692df" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking git repo https://github.com/CrystalAnalyst/Sysy-alpha
[INFO] finished tweaking git repo https://github.com/CrystalAnalyst/Sysy-alpha
[INFO] tweaked toml for git repo https://github.com/CrystalAnalyst/Sysy-alpha written to /workspace/builds/worker-4-tc2/source/Cargo.toml
[INFO] crate git repo https://github.com/CrystalAnalyst/Sysy-alpha 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" "+7622c0f807a4e13c4db886a1681bf343795692df" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr] warning: unused manifest key: package.author
[INFO] [stderr] warning: unused manifest key: package.email
[INFO] [stderr] warning: unused manifest key: package.nickname
[INFO] [stderr] warning: unused manifest key: package.school
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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" "+7622c0f807a4e13c4db886a1681bf343795692df" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] cc8b44f4bfbb85f561f2f0c70a96bc57232bf9db419022ad9cd5c52aed2271f3
[INFO] running `Command { std: "docker" "start" "-a" "cc8b44f4bfbb85f561f2f0c70a96bc57232bf9db419022ad9cd5c52aed2271f3", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "cc8b44f4bfbb85f561f2f0c70a96bc57232bf9db419022ad9cd5c52aed2271f3", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "cc8b44f4bfbb85f561f2f0c70a96bc57232bf9db419022ad9cd5c52aed2271f3", kill_on_drop: false }`
[INFO] [stdout] cc8b44f4bfbb85f561f2f0c70a96bc57232bf9db419022ad9cd5c52aed2271f3
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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 -Dnon_local_definitions" "-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" "+7622c0f807a4e13c4db886a1681bf343795692df" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 7f8b274cde9a2de937aca1eaf0cee56edd754c9a848022db28b67c6982db89e4
[INFO] running `Command { std: "docker" "start" "-a" "7f8b274cde9a2de937aca1eaf0cee56edd754c9a848022db28b67c6982db89e4", kill_on_drop: false }`
[INFO] [stderr] warning: unused manifest key: package.author
[INFO] [stderr] warning: unused manifest key: package.email
[INFO] [stderr] warning: unused manifest key: package.nickname
[INFO] [stderr] warning: unused manifest key: package.school
[INFO] [stderr]     Checking colored v2.1.0
[INFO] [stderr]     Checking sysy_alpha v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: shared reference of mutable static is discouraged
[INFO] [stdout]    --> src/semantics.rs:150:39
[INFO] [stdout]     |
[INFO] [stdout] 150 |         let path = unsafe { Path::new(&FILEPATH) };
[INFO] [stdout]     |                                       ^^^^^^^^^ shared reference of mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: for more information, see issue #114447 <https://github.com/rust-lang/rust/issues/114447>
[INFO] [stdout]     = note: reference of mutable static is a hard error from 2024 edition
[INFO] [stdout]     = note: mutable statics can be written to by multiple threads: aliasing violations or data races will cause undefined behavior
[INFO] [stdout]     = note: `#[warn(static_mut_ref)]` on by default
[INFO] [stdout] help: shared references are dangerous since if there's any kind of mutation of that static while the reference lives, that's UB; use `addr_of!` instead to create a raw pointer
[INFO] [stdout]     |
[INFO] [stdout] 150 |         let path = unsafe { Path::new(addr_of!(FILEPATH)) };
[INFO] [stdout]     |                                       ~~~~~~~~~~~~~~~~~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: shared reference of mutable static is discouraged
[INFO] [stdout]    --> src/semantics.rs:150:39
[INFO] [stdout]     |
[INFO] [stdout] 150 |         let path = unsafe { Path::new(&FILEPATH) };
[INFO] [stdout]     |                                       ^^^^^^^^^ shared reference of mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: for more information, see issue #114447 <https://github.com/rust-lang/rust/issues/114447>
[INFO] [stdout]     = note: reference of mutable static is a hard error from 2024 edition
[INFO] [stdout]     = note: mutable statics can be written to by multiple threads: aliasing violations or data races will cause undefined behavior
[INFO] [stdout]     = note: `#[warn(static_mut_ref)]` on by default
[INFO] [stdout] help: shared references are dangerous since if there's any kind of mutation of that static while the reference lives, that's UB; use `addr_of!` instead to create a raw pointer
[INFO] [stdout]     |
[INFO] [stdout] 150 |         let path = unsafe { Path::new(addr_of!(FILEPATH)) };
[INFO] [stdout]     |                                       ~~~~~~~~~~~~~~~~~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation
[INFO] [stdout]    --> src/semantics.rs:727:5
[INFO] [stdout]     |
[INFO] [stdout] 727 | /     impl TokenType {
[INFO] [stdout] 728 | |         fn calc(&self, lhs: i32, rhs: i32) -> i32 {
[INFO] [stdout] 729 | |             use TokenType::*;
[INFO] [stdout] 730 | |             match self {
[INFO] [stdout] ...   |
[INFO] [stdout] 749 | |         }
[INFO] [stdout] 750 | |     }
[INFO] [stdout]     | |_____^
[INFO] [stdout]     |
[INFO] [stdout]     = help: move this `impl` block outside the of the current function `eval`
[INFO] [stdout]     = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block
[INFO] [stdout]     = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue <https://github.com/rust-lang/rust/issues/120363>
[INFO] [stdout]     = note: requested on the command line with `-D non-local-definitions`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation
[INFO] [stdout]    --> src/semantics.rs:727:5
[INFO] [stdout]     |
[INFO] [stdout] 727 | /     impl TokenType {
[INFO] [stdout] 728 | |         fn calc(&self, lhs: i32, rhs: i32) -> i32 {
[INFO] [stdout] 729 | |             use TokenType::*;
[INFO] [stdout] 730 | |             match self {
[INFO] [stdout] ...   |
[INFO] [stdout] 749 | |         }
[INFO] [stdout] 750 | |     }
[INFO] [stdout]     | |_____^
[INFO] [stdout]     |
[INFO] [stdout]     = help: move this `impl` block outside the of the current function `eval`
[INFO] [stdout]     = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block
[INFO] [stdout]     = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue <https://github.com/rust-lang/rust/issues/120363>
[INFO] [stdout]     = note: requested on the command line with `-D non-local-definitions`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 1 previous error; 1 warning emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 1 previous error; 1 warning emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `sysy_alpha` (lib) due to 2 previous errors; 1 warning emitted
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stderr] error: could not compile `sysy_alpha` (lib test) due to 2 previous errors; 1 warning emitted
[INFO] running `Command { std: "docker" "inspect" "7f8b274cde9a2de937aca1eaf0cee56edd754c9a848022db28b67c6982db89e4", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "7f8b274cde9a2de937aca1eaf0cee56edd754c9a848022db28b67c6982db89e4", kill_on_drop: false }`
[INFO] [stdout] 7f8b274cde9a2de937aca1eaf0cee56edd754c9a848022db28b67c6982db89e4
