[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] c8439b43001d2a08da7da57d2891450f11dd62da [INFO] checking EgorKulikov/rust_algo/c8439b43001d2a08da7da57d2891450f11dd62da against master#a3f76a26e045a760bb1163b7eab36872985242d5 for pr-130930 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FEgorKulikov%2Frust_algo" "/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/EgorKulikov/rust_algo on toolchain a3f76a26e045a760bb1163b7eab36872985242d5 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+a3f76a26e045a760bb1163b7eab36872985242d5" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] removed /workspace/builds/worker-3-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-3-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" "+a3f76a26e045a760bb1163b7eab36872985242d5" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [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:6252d7ea7fb8caaf7af6d800c5fb250a9cd862b9a7f9508afb3c54fa7fe1102e" "/opt/rustwide/cargo-home/bin/cargo" "+a3f76a26e045a760bb1163b7eab36872985242d5" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] bd393ed68580c2f43b9cb69e215dad8e4d9dc91bd0490255e0c90a7f57c1048d [INFO] running `Command { std: "docker" "start" "-a" "bd393ed68580c2f43b9cb69e215dad8e4d9dc91bd0490255e0c90a7f57c1048d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "bd393ed68580c2f43b9cb69e215dad8e4d9dc91bd0490255e0c90a7f57c1048d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bd393ed68580c2f43b9cb69e215dad8e4d9dc91bd0490255e0c90a7f57c1048d", kill_on_drop: false }` [INFO] [stdout] bd393ed68580c2f43b9cb69e215dad8e4d9dc91bd0490255e0c90a7f57c1048d [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=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:6252d7ea7fb8caaf7af6d800c5fb250a9cd862b9a7f9508afb3c54fa7fe1102e" "/opt/rustwide/cargo-home/bin/cargo" "+a3f76a26e045a760bb1163b7eab36872985242d5" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ffe83bc4863f46310d48e7265e23d745d2ea9bf9ddc550263ecba3dc01063624 [INFO] running `Command { std: "docker" "start" "-a" "ffe83bc4863f46310d48e7265e23d745d2ea9bf9ddc550263ecba3dc01063624", kill_on_drop: false }` [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling crossbeam-utils v0.8.5 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Compiling crossbeam-epoch v0.9.5 [INFO] [stderr] Checking scopeguard v1.1.0 [INFO] [stderr] Compiling libc v0.2.108 [INFO] [stderr] Compiling rayon-core v1.12.1 [INFO] [stderr] Checking either v1.6.1 [INFO] [stderr] Checking ppv-lite86 v0.2.15 [INFO] [stderr] Checking memchr v2.7.1 [INFO] [stderr] Checking regex-syntax v0.8.2 [INFO] [stderr] Compiling memoffset v0.6.5 [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 rand_core v0.6.3 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking rayon v1.8.1 [INFO] [stderr] Checking regex-automata v0.4.5 [INFO] [stderr] Checking algo_lib v0.1.0 (/opt/rustwide/workdir/algo_lib) [INFO] [stderr] Checking regex v1.10.3 [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> algo_lib/src/collections/treap.rs:331:85 [INFO] [stdout] | [INFO] [stdout] 331 | pub fn range<'s: 'r, 'r>(&'s mut self, bounds: impl RangeBounds<&'r P::Key>) -> &mut Self { [INFO] [stdout] | -- lifetime `'s` declared here ^ this elided lifetime gets resolved as `'s` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(elided_named_lifetimes)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking main v0.1.0 (/opt/rustwide/workdir/main) [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: 8 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking tester v0.1.0 (/opt/rustwide/workdir/tester) [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> algo_lib/src/collections/treap.rs:331:85 [INFO] [stdout] | [INFO] [stdout] 331 | pub fn range<'s: 'r, 'r>(&'s mut self, bounds: impl RangeBounds<&'r P::Key>) -> &mut Self { [INFO] [stdout] | -- lifetime `'s` declared here ^ this elided lifetime gets resolved as `'s` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(elided_named_lifetimes)]` on by default [INFO] [stdout] [INFO] [stdout] [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: 8 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 10.14s [INFO] running `Command { std: "docker" "inspect" "ffe83bc4863f46310d48e7265e23d745d2ea9bf9ddc550263ecba3dc01063624", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ffe83bc4863f46310d48e7265e23d745d2ea9bf9ddc550263ecba3dc01063624", kill_on_drop: false }` [INFO] [stdout] ffe83bc4863f46310d48e7265e23d745d2ea9bf9ddc550263ecba3dc01063624