[INFO] cloning repository https://github.com/EgorKulikov/rust_algo [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/EgorKulikov/rust_algo" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FEgorKulikov%2Frust_algo", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FEgorKulikov%2Frust_algo'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 18629cee36f668d68f57a317025d813bea4ff516 [INFO] checking EgorKulikov/rust_algo/18629cee36f668d68f57a317025d813bea4ff516 against master#38352b01ae4af9300be03b805d6db68c45e51068 for pr-129864 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FEgorKulikov%2Frust_algo" "/workspace/builds/worker-1-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/EgorKulikov/rust_algo on toolchain 38352b01ae4af9300be03b805d6db68c45e51068 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+38352b01ae4af9300be03b805d6db68c45e51068" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] removed /workspace/builds/worker-1-tc1/source/.cargo/config.toml [INFO] started tweaking git repo https://github.com/EgorKulikov/rust_algo [INFO] finished tweaking git repo https://github.com/EgorKulikov/rust_algo [INFO] tweaked toml for git repo https://github.com/EgorKulikov/rust_algo written to /workspace/builds/worker-1-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/EgorKulikov/rust_algo 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" "+38352b01ae4af9300be03b805d6db68c45e51068" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+38352b01ae4af9300be03b805d6db68c45e51068" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 12315dc5237e72f09aaec3f0c9ec415bf03a1c1a981f5d24c7c51b342051dd60 [INFO] running `Command { std: "docker" "start" "-a" "12315dc5237e72f09aaec3f0c9ec415bf03a1c1a981f5d24c7c51b342051dd60", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "12315dc5237e72f09aaec3f0c9ec415bf03a1c1a981f5d24c7c51b342051dd60", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "12315dc5237e72f09aaec3f0c9ec415bf03a1c1a981f5d24c7c51b342051dd60", kill_on_drop: false }` [INFO] [stdout] 12315dc5237e72f09aaec3f0c9ec415bf03a1c1a981f5d24c7c51b342051dd60 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+38352b01ae4af9300be03b805d6db68c45e51068" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 732b3cc25fcf23cf54111891465aa37a840db3ce0af1e71eba18cae5bda32c2d [INFO] running `Command { std: "docker" "start" "-a" "732b3cc25fcf23cf54111891465aa37a840db3ce0af1e71eba18cae5bda32c2d", kill_on_drop: false }` [INFO] [stderr] Compiling memoffset v0.6.5 [INFO] [stderr] Compiling crossbeam-utils v0.8.5 [INFO] [stderr] Compiling crossbeam-epoch v0.9.5 [INFO] [stderr] Compiling libc v0.2.108 [INFO] [stderr] Checking either v1.6.1 [INFO] [stderr] Checking memchr v2.7.1 [INFO] [stderr] Checking regex-syntax v0.8.2 [INFO] [stderr] Checking aho-corasick v1.1.2 [INFO] [stderr] Checking crossbeam-deque v0.8.1 [INFO] [stderr] Checking getrandom v0.2.3 [INFO] [stderr] Checking rayon-core v1.12.1 [INFO] [stderr] Checking rand_core v0.6.3 [INFO] [stderr] Checking rayon v1.8.1 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking regex-automata v0.4.5 [INFO] [stderr] Checking algo_lib v0.1.0 (/opt/rustwide/workdir/algo_lib) [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> algo_lib/src/io/output.rs:270:12 [INFO] [stdout] | [INFO] [stdout] 270 | if ERR.is_none() { [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 mutable reference to mutable static is discouraged [INFO] [stdout] --> algo_lib/src/io/output.rs:273:37 [INFO] [stdout] | [INFO] [stdout] 273 | Output::new_with_auto_flush(ERR.as_mut().unwrap()) [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] --> algo_lib/src/misc/random.rs:77:12 [INFO] [stdout] | [INFO] [stdout] 77 | if RAND.is_none() { [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] --> algo_lib/src/misc/random.rs:82:9 [INFO] [stdout] | [INFO] [stdout] 82 | RAND.as_mut().unwrap() [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] --> algo_lib/src/misc/value_ref.rs:40:26 [INFO] [stdout] | [INFO] [stdout] 40 | unsafe { $val_name.as_ref().unwrap() } [INFO] [stdout] | ^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] ::: algo_lib/src/string/hash.rs:17:1 [INFO] [stdout] | [INFO] [stdout] 17 | value_ref!(HashBaseContainer HBCS: HashBase); [INFO] [stdout] | -------------------------------------------- in this macro invocation [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: this warning originates in the macro `value_ref` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> algo_lib/src/misc/value_ref.rs:50:26 [INFO] [stdout] | [INFO] [stdout] 50 | unsafe { $val_name.as_mut().unwrap() } [INFO] [stdout] | ^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] ::: algo_lib/src/string/hash.rs:17:1 [INFO] [stdout] | [INFO] [stdout] 17 | value_ref!(HashBaseContainer HBCS: HashBase); [INFO] [stdout] | -------------------------------------------- in this macro invocation [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: this warning originates in the macro `value_ref` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> algo_lib/src/string/hash.rs:28:21 [INFO] [stdout] | [INFO] [stdout] 28 | if unsafe { HBCS.is_some() } { [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: 7 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking regex v1.10.3 [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> algo_lib/src/io/output.rs:270:12 [INFO] [stdout] | [INFO] [stdout] 270 | if ERR.is_none() { [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 mutable reference to mutable static is discouraged [INFO] [stdout] --> algo_lib/src/io/output.rs:273:37 [INFO] [stdout] | [INFO] [stdout] 273 | Output::new_with_auto_flush(ERR.as_mut().unwrap()) [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] --> algo_lib/src/misc/random.rs:77:12 [INFO] [stdout] | [INFO] [stdout] 77 | if RAND.is_none() { [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] --> algo_lib/src/misc/random.rs:82:9 [INFO] [stdout] | [INFO] [stdout] 82 | RAND.as_mut().unwrap() [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] --> algo_lib/src/misc/value_ref.rs:40:26 [INFO] [stdout] | [INFO] [stdout] 40 | unsafe { $val_name.as_ref().unwrap() } [INFO] [stdout] | ^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] ::: algo_lib/src/string/hash.rs:17:1 [INFO] [stdout] | [INFO] [stdout] 17 | value_ref!(HashBaseContainer HBCS: HashBase); [INFO] [stdout] | -------------------------------------------- in this macro invocation [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: this warning originates in the macro `value_ref` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> algo_lib/src/misc/value_ref.rs:50:26 [INFO] [stdout] | [INFO] [stdout] 50 | unsafe { $val_name.as_mut().unwrap() } [INFO] [stdout] | ^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] ::: algo_lib/src/string/hash.rs:17:1 [INFO] [stdout] | [INFO] [stdout] 17 | value_ref!(HashBaseContainer HBCS: HashBase); [INFO] [stdout] | -------------------------------------------- in this macro invocation [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: this warning originates in the macro `value_ref` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> algo_lib/src/string/hash.rs:28:21 [INFO] [stdout] | [INFO] [stdout] 28 | if unsafe { HBCS.is_some() } { [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: 7 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking tester v0.1.0 (/opt/rustwide/workdir/tester) [INFO] [stderr] Checking main v0.1.0 (/opt/rustwide/workdir/main) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 12.49s [INFO] running `Command { std: "docker" "inspect" "732b3cc25fcf23cf54111891465aa37a840db3ce0af1e71eba18cae5bda32c2d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "732b3cc25fcf23cf54111891465aa37a840db3ce0af1e71eba18cae5bda32c2d", kill_on_drop: false }` [INFO] [stdout] 732b3cc25fcf23cf54111891465aa37a840db3ce0af1e71eba18cae5bda32c2d