[INFO] cloning repository https://github.com/HiraokaTakuya/apery_rust [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/HiraokaTakuya/apery_rust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FHiraokaTakuya%2Fapery_rust", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FHiraokaTakuya%2Fapery_rust'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 8e64bc427bff033a38f1b60b9013ad2d62f88db7 [INFO] testing HiraokaTakuya/apery_rust against 1.85.0 for beta-1.86-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FHiraokaTakuya%2Fapery_rust" "/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/HiraokaTakuya/apery_rust on toolchain 1.85.0 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.85.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] removed /workspace/builds/worker-3-tc1/source/rust-toolchain [INFO] started tweaking git repo https://github.com/HiraokaTakuya/apery_rust [INFO] finished tweaking git repo https://github.com/HiraokaTakuya/apery_rust [INFO] tweaked toml for git repo https://github.com/HiraokaTakuya/apery_rust written to /workspace/builds/worker-3-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/HiraokaTakuya/apery_rust 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" "+1.85.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating git repository `https://github.com/sugyan/tsumeshogi-solver.git` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Updating git repository `https://github.com/sugyan/yasai` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded proc-macro2 v1.0.75 [INFO] [stderr] Downloaded bitintr v0.3.0 [INFO] [stderr] Downloaded clap_derive v3.2.25 [INFO] [stderr] Downloaded shogi v0.12.2 [INFO] [stderr] Downloaded syn v2.0.47 [INFO] [stderr] Downloaded csa v1.0.2 [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:3959728d45483eb673ba100a951a6b9f5012970368db2a9e08e0ac9b67c8a5ad" "/opt/rustwide/cargo-home/bin/cargo" "+1.85.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 393a6da18fb79cfb66f26f4148398b7cd2ae77eefe640c7199798153c63350d1 [INFO] running `Command { std: "docker" "start" "-a" "393a6da18fb79cfb66f26f4148398b7cd2ae77eefe640c7199798153c63350d1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "393a6da18fb79cfb66f26f4148398b7cd2ae77eefe640c7199798153c63350d1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "393a6da18fb79cfb66f26f4148398b7cd2ae77eefe640c7199798153c63350d1", kill_on_drop: false }` [INFO] [stdout] 393a6da18fb79cfb66f26f4148398b7cd2ae77eefe640c7199798153c63350d1 [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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:3959728d45483eb673ba100a951a6b9f5012970368db2a9e08e0ac9b67c8a5ad" "/opt/rustwide/cargo-home/bin/cargo" "+1.85.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 416c14f1b91413571b1fb2673e73b164c5adf1877b6b4e53b368ce79e91299f6 [INFO] running `Command { std: "docker" "start" "-a" "416c14f1b91413571b1fb2673e73b164c5adf1877b6b4e53b368ce79e91299f6", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.75 [INFO] [stderr] Compiling libc v0.2.151 [INFO] [stderr] Compiling memchr v2.7.1 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling bitintr v0.3.0 [INFO] [stderr] Compiling either v1.9.0 [INFO] [stderr] Compiling indexmap v1.9.3 [INFO] [stderr] Compiling time v0.3.36 [INFO] [stderr] Compiling itertools v0.10.5 [INFO] [stderr] Compiling os_str_bytes v6.6.1 [INFO] [stderr] Compiling clap_lex v0.2.4 [INFO] [stderr] Compiling quote v1.0.35 [INFO] [stderr] Compiling num-integer v0.1.46 [INFO] [stderr] Compiling nom v7.1.3 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Compiling syn v2.0.47 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling getrandom v0.2.11 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling num-bigint v0.4.5 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling serde v1.0.203 [INFO] [stderr] Compiling encoding_rs v0.8.34 [INFO] [stderr] Compiling instant v0.1.13 [INFO] [stderr] Compiling textwrap v0.16.1 [INFO] [stderr] Compiling regex-syntax v0.8.4 [INFO] [stderr] Compiling anyhow v1.0.86 [INFO] [stderr] Compiling strsim v0.10.0 [INFO] [stderr] Compiling csa v1.0.2 [INFO] [stderr] Compiling arrayvec v0.7.4 [INFO] [stderr] Compiling termcolor v1.4.1 [INFO] [stderr] Compiling dfpn v0.3.0 (https://github.com/sugyan/tsumeshogi-solver.git?tag=0.5.2#9852b121) [INFO] [stderr] Compiling shogi-converter v0.1.0 (https://github.com/sugyan/tsumeshogi-solver.git?tag=0.5.2#9852b121) [INFO] [stderr] Compiling yasai v0.2.0 (https://github.com/sugyan/yasai?tag=0.1.3#ed6cb850) [INFO] [stderr] Compiling num-rational v0.4.2 [INFO] [stderr] Compiling num-iter v0.1.45 [INFO] [stderr] Compiling num-complex v0.4.6 [INFO] [stderr] Compiling thiserror-impl v1.0.61 [INFO] [stderr] Compiling serde_derive v1.0.203 [INFO] [stderr] Compiling derive_more v0.99.18 [INFO] [stderr] Compiling rayon v1.10.0 [INFO] [stderr] Compiling regex-automata v0.4.7 [INFO] [stderr] Compiling num v0.4.3 [INFO] [stderr] Compiling custom_derive v0.1.7 [INFO] [stderr] Compiling enum_derive v0.1.7 [INFO] [stderr] Compiling clap_derive v3.2.25 [INFO] [stderr] Compiling thiserror v1.0.61 [INFO] [stderr] Compiling dfpn-extended v0.1.0 (https://github.com/sugyan/tsumeshogi-solver.git?tag=0.5.2#9852b121) [INFO] [stderr] Compiling shogi v0.12.2 [INFO] [stderr] Compiling regex v1.10.5 [INFO] [stderr] Compiling clap v3.2.25 [INFO] [stderr] Compiling tsumeshogi-solver v0.5.2 (https://github.com/sugyan/tsumeshogi-solver.git?tag=0.5.2#9852b121) [INFO] [stderr] Compiling serde_json v1.0.117 [INFO] [stderr] Compiling apery v2.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/evaluate/kppt.rs:637:14 [INFO] [stdout] | [INFO] [stdout] 637 | unsafe { EVALUATOR.load_kpp(&kpp_file_name) }.map_err(|e| anyhow!("{}: {}", e, kpp_file_name))?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] = note: `#[warn(static_mut_refs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/evaluate/kppt.rs:644:14 [INFO] [stdout] | [INFO] [stdout] 644 | unsafe { EVALUATOR.load_kkp(&kkp_file_name) }.map_err(|e| anyhow!("{}: {}", e, kkp_file_name))?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/evaluate/kppt.rs:652:14 [INFO] [stdout] | [INFO] [stdout] 652 | unsafe { EVALUATOR.write_kpp(kpp_file_name) }.map_err(|e| anyhow!("{}: {}", e, kpp_file_name))?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/evaluate/kppt.rs:653:14 [INFO] [stdout] | [INFO] [stdout] 653 | unsafe { EVALUATOR.write_kkp(kkp_file_name) }.map_err(|e| anyhow!("{}: {}", e, kkp_file_name))?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/evaluate/kppt.rs:658:14 [INFO] [stdout] | [INFO] [stdout] 658 | unsafe { EVALUATOR.evaluate_difference_calc(pos, stack, ehash) } [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 is discouraged [INFO] [stdout] --> src/evaluate/kppt.rs:662:14 [INFO] [stdout] | [INFO] [stdout] 662 | unsafe { EVALUATOR.evaluate_at_root(pos, stack) } [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 1m 14s [INFO] running `Command { std: "docker" "inspect" "416c14f1b91413571b1fb2673e73b164c5adf1877b6b4e53b368ce79e91299f6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "416c14f1b91413571b1fb2673e73b164c5adf1877b6b4e53b368ce79e91299f6", kill_on_drop: false }` [INFO] [stdout] 416c14f1b91413571b1fb2673e73b164c5adf1877b6b4e53b368ce79e91299f6 [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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:3959728d45483eb673ba100a951a6b9f5012970368db2a9e08e0ac9b67c8a5ad" "/opt/rustwide/cargo-home/bin/cargo" "+1.85.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 9e151d89abee583200a290d3bb20c56330d5d37583ae03ed24fdc48571c08a84 [INFO] running `Command { std: "docker" "start" "-a" "9e151d89abee583200a290d3bb20c56330d5d37583ae03ed24fdc48571c08a84", kill_on_drop: false }` [INFO] [stderr] Compiling apery v2.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/evaluate/kppt.rs:637:14 [INFO] [stdout] | [INFO] [stdout] 637 | unsafe { EVALUATOR.load_kpp(&kpp_file_name) }.map_err(|e| anyhow!("{}: {}", e, kpp_file_name))?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] = note: `#[warn(static_mut_refs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/evaluate/kppt.rs:644:14 [INFO] [stdout] | [INFO] [stdout] 644 | unsafe { EVALUATOR.load_kkp(&kkp_file_name) }.map_err(|e| anyhow!("{}: {}", e, kkp_file_name))?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/evaluate/kppt.rs:652:14 [INFO] [stdout] | [INFO] [stdout] 652 | unsafe { EVALUATOR.write_kpp(kpp_file_name) }.map_err(|e| anyhow!("{}: {}", e, kpp_file_name))?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/evaluate/kppt.rs:653:14 [INFO] [stdout] | [INFO] [stdout] 653 | unsafe { EVALUATOR.write_kkp(kkp_file_name) }.map_err(|e| anyhow!("{}: {}", e, kkp_file_name))?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/evaluate/kppt.rs:658:14 [INFO] [stdout] | [INFO] [stdout] 658 | unsafe { EVALUATOR.evaluate_difference_calc(pos, stack, ehash) } [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 is discouraged [INFO] [stdout] --> src/evaluate/kppt.rs:662:14 [INFO] [stdout] | [INFO] [stdout] 662 | unsafe { EVALUATOR.evaluate_at_root(pos, stack) } [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 mutable reference to mutable static is discouraged [INFO] [stdout] --> src/evaluate/kppt.rs:637:14 [INFO] [stdout] | [INFO] [stdout] 637 | unsafe { EVALUATOR.load_kpp(&kpp_file_name) }.map_err(|e| anyhow!("{}: {}", e, kpp_file_name))?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] = note: `#[warn(static_mut_refs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/evaluate/kppt.rs:644:14 [INFO] [stdout] | [INFO] [stdout] 644 | unsafe { EVALUATOR.load_kkp(&kkp_file_name) }.map_err(|e| anyhow!("{}: {}", e, kkp_file_name))?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/evaluate/kppt.rs:652:14 [INFO] [stdout] | [INFO] [stdout] 652 | unsafe { EVALUATOR.write_kpp(kpp_file_name) }.map_err(|e| anyhow!("{}: {}", e, kpp_file_name))?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/evaluate/kppt.rs:653:14 [INFO] [stdout] | [INFO] [stdout] 653 | unsafe { EVALUATOR.write_kkp(kkp_file_name) }.map_err(|e| anyhow!("{}: {}", e, kkp_file_name))?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/evaluate/kppt.rs:658:14 [INFO] [stdout] | [INFO] [stdout] 658 | unsafe { EVALUATOR.evaluate_difference_calc(pos, stack, ehash) } [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 is discouraged [INFO] [stdout] --> src/evaluate/kppt.rs:662:14 [INFO] [stdout] | [INFO] [stdout] 662 | unsafe { EVALUATOR.evaluate_at_root(pos, stack) } [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 `test` profile [unoptimized + debuginfo] target(s) in 8.07s [INFO] running `Command { std: "docker" "inspect" "9e151d89abee583200a290d3bb20c56330d5d37583ae03ed24fdc48571c08a84", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9e151d89abee583200a290d3bb20c56330d5d37583ae03ed24fdc48571c08a84", kill_on_drop: false }` [INFO] [stdout] 9e151d89abee583200a290d3bb20c56330d5d37583ae03ed24fdc48571c08a84 [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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:3959728d45483eb673ba100a951a6b9f5012970368db2a9e08e0ac9b67c8a5ad" "/opt/rustwide/cargo-home/bin/cargo" "+1.85.0" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] bc6804566d10d259c5a0e43773c56fbabc293afd5d368b87902d8ca50459f73a [INFO] running `Command { std: "docker" "start" "-a" "bc6804566d10d259c5a0e43773c56fbabc293afd5d368b87902d8ca50459f73a", kill_on_drop: false }` [INFO] [stderr] warning: creating a mutable reference to mutable static is discouraged [INFO] [stderr] --> src/evaluate/kppt.rs:637:14 [INFO] [stderr] | [INFO] [stderr] 637 | unsafe { EVALUATOR.load_kpp(&kpp_file_name) }.map_err(|e| anyhow!("{}: {}", e, kpp_file_name))?; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stderr] | [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stderr] = note: `#[warn(static_mut_refs)]` on by default [INFO] [stderr] [INFO] [stderr] warning: creating a mutable reference to mutable static is discouraged [INFO] [stderr] --> src/evaluate/kppt.rs:644:14 [INFO] [stderr] | [INFO] [stderr] 644 | unsafe { EVALUATOR.load_kkp(&kkp_file_name) }.map_err(|e| anyhow!("{}: {}", e, kkp_file_name))?; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stderr] | [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stderr] [INFO] [stderr] warning: creating a mutable reference to mutable static is discouraged [INFO] [stderr] --> src/evaluate/kppt.rs:652:14 [INFO] [stderr] | [INFO] [stderr] 652 | unsafe { EVALUATOR.write_kpp(kpp_file_name) }.map_err(|e| anyhow!("{}: {}", e, kpp_file_name))?; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stderr] | [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stderr] [INFO] [stderr] warning: creating a mutable reference to mutable static is discouraged [INFO] [stderr] --> src/evaluate/kppt.rs:653:14 [INFO] [stderr] | [INFO] [stderr] 653 | unsafe { EVALUATOR.write_kkp(kkp_file_name) }.map_err(|e| anyhow!("{}: {}", e, kkp_file_name))?; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stderr] | [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stderr] [INFO] [stderr] warning: creating a shared reference to mutable static is discouraged [INFO] [stderr] --> src/evaluate/kppt.rs:658:14 [INFO] [stderr] | [INFO] [stderr] 658 | unsafe { EVALUATOR.evaluate_difference_calc(pos, stack, ehash) } [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stderr] | [INFO] [stderr] = note: for more information, see [INFO] [stderr] = 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] [stderr] [INFO] [stderr] warning: creating a shared reference to mutable static is discouraged [INFO] [stderr] --> src/evaluate/kppt.rs:662:14 [INFO] [stderr] | [INFO] [stderr] 662 | unsafe { EVALUATOR.evaluate_at_root(pos, stack) } [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stderr] | [INFO] [stderr] = note: for more information, see [INFO] [stderr] = 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] [stderr] [INFO] [stderr] warning: `apery` (lib) generated 6 warnings [INFO] [stderr] warning: `apery` (lib test) generated 6 warnings (6 duplicates) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.10s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/apery-7f3a84ed5f1da5cd) [INFO] [stdout] [INFO] [stdout] running 89 tests [INFO] [stdout] test bitboard::tests::test_clone ... ok [INFO] [stdout] test bitboard::tests::test_bitboard_eq ... ok [INFO] [stdout] test bitboard::tests::test_bitboard_part ... ok [INFO] [stdout] test bitboard::tests::test_in_front_mask ... ok [INFO] [stdout] test bitboard::tests::test_opponent_field_mask ... ok [INFO] [stdout] test bitboard::tests::test_block_bits ... ok [INFO] [stdout] test bitboard::tests::test_rook_magic ... ok [INFO] [stdout] test bitboard::tests::test_pseudo_attack ... ok [INFO] [stdout] test bitboard::tests::test_piece_attack ... ok [INFO] [stdout] test bitboard::tests::test_bishop_magic ... ok [INFO] [stdout] test bitboard::tests::test_king_attack ... ok [INFO] [stdout] test bitboard::tests::test_lance_attack ... ok [INFO] [stdout] test bitboard::tests::test_sliding_attacks ... ok [INFO] [stdout] test evaluate::kppt::tests::test_eval_index_inverse ... ok [INFO] [stdout] test evaluate::kppt::tests::test_eval_index_new ... ok [INFO] [stdout] test hand::tests::test_hand_is_equal_or_superior ... ok [INFO] [stdout] test hand::tests::test_hand_num ... ok [INFO] [stdout] test hand::tests::test_hand_set ... ok [INFO] [stdout] test hand::tests::test_hand_shift_bits ... ok [INFO] [stdout] test book::tests::test_book_from_file ... ok [INFO] [stdout] test huffman_code::tests::test_huffmancodedpositionandeval_size ... ok [INFO] [stdout] test bitboard::tests::test_between_mask ... ok [INFO] [stdout] test book::tests::test_book_probe ... ok [INFO] [stdout] test movegen::tests::test_is_normal_move ... ok [INFO] [stdout] test movegen::tests::test_generate_recaptures ... ok [INFO] [stdout] test movegen::tests::test_generate_all ... ok [INFO] [stdout] test movegen::tests::test_move_new ... ok [INFO] [stdout] test movegen::tests::test_generate_evasion ... ok [INFO] [stdout] test movegen::tests::test_move_null ... ok [INFO] [stdout] test movegen::tests::test_move_piece_moved ... ok [INFO] [stdout] test movepick::tests::test_butterfly_history ... ok [INFO] [stdout] test book::tests::test_book ... ok [INFO] [stdout] test movegen::tests::test_move_new_from_csa_str ... ok [INFO] [stdout] test movepick::tests::test_move_picker_for_main_search_next_move_evasion ... ok [INFO] [stdout] test movegen::tests::test_pawn_drop_mate ... ok [INFO] [stdout] test movepick::tests::test_move_picker_for_main_search_next_move ... ok [INFO] [stdout] test movepick::tests::test_move_picker_for_prob_cut_next_move ... ok [INFO] [stdout] test movepick::tests::test_partial_insertion_sort ... ok [INFO] [stdout] test movepick::tests::test_pick_best ... ok [INFO] [stdout] test movegen::tests::test_generate_drop ... ok [INFO] [stdout] test piecevalue::tests::test_capture_piece_value ... ok [INFO] [stdout] test piecevalue::tests::test_piece_value ... ok [INFO] [stdout] test movepick::tests::test_move_list_select_best ... ok [INFO] [stdout] test piecevalue::tests::test_promote_piece_value ... ok [INFO] [stdout] test position::tests::test_check_info_new ... ok [INFO] [stdout] test movepick::tests::test_move_picker_for_qsearch_next_move ... ok [INFO] [stdout] test movepick::tests::test_move_picker_for_qsearch_next_move_evasion ... ok [INFO] [stdout] test movepick::tests::test_move_picker_for_qsearch_next_move_recapture ... ok [INFO] [stdout] test position::tests::test_effect_bb_of_checker_where_king_cannot_escape ... ok [INFO] [stdout] test position::tests::test_huffman_code ... ok [INFO] [stdout] test position::tests::test_check_info_do_move ... ok [INFO] [stdout] test position::tests::test_is_repetition ... ok [INFO] [stdout] test position::tests::test_position_attackers_to ... ok [INFO] [stdout] test position::tests::test_position_see_ge ... ok [INFO] [stdout] test position::tests::test_position_slider_blockers ... ok [INFO] [stdout] test position::tests::test_position_gives_check ... ok [INFO] [stdout] test position::tests::test_position_do_move ... ok [INFO] [stdout] test position::tests::test_pseudo_legal ... ok [INFO] [stdout] test thread::tests::test_start_thinking ... ok [INFO] [stdout] test bitboard::tests::test_proximity_check_mask ... ok [INFO] [stdout] test tt::tests::test_size ... ok [INFO] [stdout] test types::tests::test_bound ... ok [INFO] [stdout] test types::tests::test_color_inverse ... ok [INFO] [stdout] test position::tests::test_state_info ... ok [INFO] [stdout] test types::tests::test_file_inverse ... ok [INFO] [stdout] test types::tests::test_file_new_and_rank_new ... ok [INFO] [stdout] test types::tests::test_file_new ... ok [INFO] [stdout] test types::tests::test_is_aligned_and_sq2_is_not_between_sq0_and_sq1 ... ok [INFO] [stdout] test types::tests::test_is_opponent_field ... ok [INFO] [stdout] test types::tests::test_is_slider ... ok [INFO] [stdout] test types::tests::test_piece_inverse ... ok [INFO] [stdout] test types::tests::test_piece_new ... ok [INFO] [stdout] test types::tests::test_piece_type_new ... ok [INFO] [stdout] test types::tests::test_rank_inverse ... ok [INFO] [stdout] test types::tests::test_is_in_front_of ... ok [INFO] [stdout] test types::tests::test_rank_new ... ok [INFO] [stdout] test types::tests::test_relation_new ... ok [INFO] [stdout] test types::tests::test_square_inverse ... ok [INFO] [stdout] test types::tests::test_square_new ... ok [INFO] [stdout] test types::tests::test_square_inverse_file ... ok [INFO] [stdout] test types::tests::test_square_to_csa_string ... ok [INFO] [stdout] test types::tests::test_square_to_usi_string ... ok [INFO] [stdout] test usi::tests::test_csa_record_to_sfne ... ok [INFO] [stdout] test position::tests::test_position_set ... ok [INFO] [stdout] test tt::tests::test_cluster_index ... ok [INFO] [stdout] test movegen::tests::test_generate_for_piece ... ok [INFO] [stdout] test tt::tests::test_probe ... ok [INFO] [stdout] test position::tests::test_is_entering_king_win ... ok [INFO] [stdout] test position::tests::test_mate_move_in_1ply ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 89 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 5.38s [INFO] [stdout] [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/apery-46b35146ddb8b0cf) [INFO] [stderr] Doc-tests apery [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "bc6804566d10d259c5a0e43773c56fbabc293afd5d368b87902d8ca50459f73a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bc6804566d10d259c5a0e43773c56fbabc293afd5d368b87902d8ca50459f73a", kill_on_drop: false }` [INFO] [stdout] bc6804566d10d259c5a0e43773c56fbabc293afd5d368b87902d8ca50459f73a