[INFO] cloning repository https://github.com/makutamoto/ttygraph [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/makutamoto/ttygraph" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmakutamoto%2Fttygraph", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmakutamoto%2Fttygraph'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] c6030e0d5048f13acf2e30c4a22e4c547702612a [INFO] checking makutamoto/ttygraph against master#b56aaec52bc0fa35591a872fb4aac81f606e265c for pr-122661-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmakutamoto%2Fttygraph" "/workspace/builds/worker-2-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/makutamoto/ttygraph [INFO] finished tweaking git repo https://github.com/makutamoto/ttygraph [INFO] tweaked toml for git repo https://github.com/makutamoto/ttygraph written to /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/makutamoto/ttygraph on toolchain b56aaec52bc0fa35591a872fb4aac81f606e265c [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b56aaec52bc0fa35591a872fb4aac81f606e265c" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/makutamoto/ttygraph 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" "+b56aaec52bc0fa35591a872fb4aac81f606e265c" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded simplelog v0.5.3 [INFO] [stderr] Downloaded ncurses v5.97.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:cf8efcab8866f2cf4285301c7418e2f4f2a9b088c91ba69c40d5b659f81557f7" "/opt/rustwide/cargo-home/bin/cargo" "+b56aaec52bc0fa35591a872fb4aac81f606e265c" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] ebd6d59151d1a6543592ac0b91a5b5dd52c1c392d1af80b99cb5055cabd42fd1 [INFO] running `Command { std: "docker" "start" "-a" "ebd6d59151d1a6543592ac0b91a5b5dd52c1c392d1af80b99cb5055cabd42fd1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ebd6d59151d1a6543592ac0b91a5b5dd52c1c392d1af80b99cb5055cabd42fd1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ebd6d59151d1a6543592ac0b91a5b5dd52c1c392d1af80b99cb5055cabd42fd1", kill_on_drop: false }` [INFO] [stdout] ebd6d59151d1a6543592ac0b91a5b5dd52c1c392d1af80b99cb5055cabd42fd1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:cf8efcab8866f2cf4285301c7418e2f4f2a9b088c91ba69c40d5b659f81557f7" "/opt/rustwide/cargo-home/bin/cargo" "+b56aaec52bc0fa35591a872fb4aac81f606e265c" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 664ecc0a01c57deb7bccd4c276ba7d5ca95686f80e5fa7539964bcdebca5bea7 [INFO] running `Command { std: "docker" "start" "-a" "664ecc0a01c57deb7bccd4c276ba7d5ca95686f80e5fa7539964bcdebca5bea7", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Compiling semver-parser v0.7.0 [INFO] [stderr] Compiling libc v0.2.44 [INFO] [stderr] Checking rand_core v0.3.0 [INFO] [stderr] Checking cfg-if v0.1.6 [INFO] [stderr] Compiling num-traits v0.2.6 [INFO] [stderr] Compiling version_check v0.1.5 [INFO] [stderr] Compiling num-integer v0.1.39 [INFO] [stderr] Compiling pkg-config v0.3.14 [INFO] [stderr] Compiling cc v1.0.25 [INFO] [stderr] Compiling regex v1.1.0 [INFO] [stderr] Compiling memchr v2.1.1 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Checking byteorder v1.2.7 [INFO] [stderr] Checking ucd-util v0.1.3 [INFO] [stderr] Checking lazy_static v1.2.0 [INFO] [stderr] Checking regex-syntax v0.6.4 [INFO] [stderr] Checking thread_local v0.3.6 [INFO] [stderr] Checking rand_xorshift v0.1.0 [INFO] [stderr] Compiling rustc_version v0.2.3 [INFO] [stderr] Checking rand_isaac v0.1.1 [INFO] [stderr] Checking term v0.5.1 [INFO] [stderr] Checking rand_hc v0.1.0 [INFO] [stderr] Checking log v0.4.6 [INFO] [stderr] Checking utf8-ranges v1.0.2 [INFO] [stderr] Compiling rand_chacha v0.1.0 [INFO] [stderr] Compiling rand_pcg v0.1.1 [INFO] [stderr] Compiling rand v0.6.1 [INFO] [stderr] Checking time v0.1.41 [INFO] [stderr] Compiling ncurses v5.97.0 [INFO] [stderr] Checking aho-corasick v0.6.9 [INFO] [stderr] Checking chrono v0.4.6 [INFO] [stderr] Checking simplelog v0.5.3 [INFO] [stderr] Checking ttygraph v1.0.2 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `std::f64` [INFO] [stdout] --> src/formula.rs:473:9 [INFO] [stdout] | [INFO] [stdout] 473 | use std::f64; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/formula.rs:88:36 [INFO] [stdout] | [INFO] [stdout] 88 | let sides = match unsafe { SIDES.as_ref().unwrap().captures(formula) } { [INFO] [stdout] | ^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] = note: `#[warn(static_mut_refs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/formula.rs:222:24 [INFO] [stdout] | [INFO] [stdout] 222 | match unsafe { PARENTHESES.as_ref().unwrap().captures(&formula) } { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/formula.rs:263:32 [INFO] [stdout] | [INFO] [stdout] 263 | match unsafe { ARGUMENTS.as_ref().unwrap().find(&content) } { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/formula.rs:293:76 [INFO] [stdout] | [INFO] [stdout] 293 | generate_instructions(&mut formula, instructions, nof_stacks, unsafe { POWER.as_ref().unwrap() }, |a, b| a.powf(b), Operation::Power); [INFO] [stdout] | ^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/formula.rs:294:76 [INFO] [stdout] | [INFO] [stdout] 294 | generate_instructions(&mut formula, instructions, nof_stacks, unsafe { MULTIPLE.as_ref().unwrap() }, |a, b| a * b, Operation::Multiple); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/formula.rs:295:76 [INFO] [stdout] | [INFO] [stdout] 295 | generate_instructions(&mut formula, instructions, nof_stacks, unsafe { DIVIDE.as_ref().unwrap() }, |a, b| a / b, Operation::Divide); [INFO] [stdout] | ^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/formula.rs:296:76 [INFO] [stdout] | [INFO] [stdout] 296 | generate_instructions(&mut formula, instructions, nof_stacks, unsafe { MODULUS.as_ref().unwrap() }, |a, b| a % b, Operation::Modulus); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/formula.rs:297:76 [INFO] [stdout] | [INFO] [stdout] 297 | generate_instructions(&mut formula, instructions, nof_stacks, unsafe { ADD.as_ref().unwrap() }, |a, b| a + b, Operation::Add); [INFO] [stdout] | ^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/formula.rs:298:20 [INFO] [stdout] | [INFO] [stdout] 298 | match unsafe { UNARY.as_ref().unwrap().captures(&formula) } { [INFO] [stdout] | ^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/formula.rs:88:36 [INFO] [stdout] | [INFO] [stdout] 88 | let sides = match unsafe { SIDES.as_ref().unwrap().captures(formula) } { [INFO] [stdout] | ^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] = note: `#[warn(static_mut_refs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/formula.rs:222:24 [INFO] [stdout] | [INFO] [stdout] 222 | match unsafe { PARENTHESES.as_ref().unwrap().captures(&formula) } { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/formula.rs:263:32 [INFO] [stdout] | [INFO] [stdout] 263 | match unsafe { ARGUMENTS.as_ref().unwrap().find(&content) } { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/formula.rs:293:76 [INFO] [stdout] | [INFO] [stdout] 293 | generate_instructions(&mut formula, instructions, nof_stacks, unsafe { POWER.as_ref().unwrap() }, |a, b| a.powf(b), Operation::Power); [INFO] [stdout] | ^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/formula.rs:294:76 [INFO] [stdout] | [INFO] [stdout] 294 | generate_instructions(&mut formula, instructions, nof_stacks, unsafe { MULTIPLE.as_ref().unwrap() }, |a, b| a * b, Operation::Multiple); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/formula.rs:295:76 [INFO] [stdout] | [INFO] [stdout] 295 | generate_instructions(&mut formula, instructions, nof_stacks, unsafe { DIVIDE.as_ref().unwrap() }, |a, b| a / b, Operation::Divide); [INFO] [stdout] | ^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/formula.rs:296:76 [INFO] [stdout] | [INFO] [stdout] 296 | generate_instructions(&mut formula, instructions, nof_stacks, unsafe { MODULUS.as_ref().unwrap() }, |a, b| a % b, Operation::Modulus); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/formula.rs:297:76 [INFO] [stdout] | [INFO] [stdout] 297 | generate_instructions(&mut formula, instructions, nof_stacks, unsafe { ADD.as_ref().unwrap() }, |a, b| a + b, Operation::Add); [INFO] [stdout] | ^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/formula.rs:298:20 [INFO] [stdout] | [INFO] [stdout] 298 | match unsafe { UNARY.as_ref().unwrap().captures(&formula) } { [INFO] [stdout] | ^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 11.70s [INFO] running `Command { std: "docker" "inspect" "664ecc0a01c57deb7bccd4c276ba7d5ca95686f80e5fa7539964bcdebca5bea7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "664ecc0a01c57deb7bccd4c276ba7d5ca95686f80e5fa7539964bcdebca5bea7", kill_on_drop: false }` [INFO] [stdout] 664ecc0a01c57deb7bccd4c276ba7d5ca95686f80e5fa7539964bcdebca5bea7