[INFO] cloning repository https://github.com/viktor-grunwaldt/aisd24-pracownia [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/viktor-grunwaldt/aisd24-pracownia" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fviktor-grunwaldt%2Faisd24-pracownia", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fviktor-grunwaldt%2Faisd24-pracownia'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] bc73a55d988f3f5c2016de55f55105b506e4322d [INFO] building viktor-grunwaldt/aisd24-pracownia against master#11663cd3bfefef7d34e8f0892c250bf698049392+rustflags=-Dtail-expr-drop-order for pr-134523 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fviktor-grunwaldt%2Faisd24-pracownia" "/workspace/builds/worker-6-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/viktor-grunwaldt/aisd24-pracownia on toolchain 11663cd3bfefef7d34e8f0892c250bf698049392 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/viktor-grunwaldt/aisd24-pracownia [INFO] finished tweaking git repo https://github.com/viktor-grunwaldt/aisd24-pracownia [INFO] tweaked toml for git repo https://github.com/viktor-grunwaldt/aisd24-pracownia written to /workspace/builds/worker-6-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/viktor-grunwaldt/aisd24-pracownia 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" "+11663cd3bfefef7d34e8f0892c250bf698049392" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 53a9e632fafe4c356f263bb00bb3bc8736272d2d2f06d88d3feefbbe91263424 [INFO] running `Command { std: "docker" "start" "-a" "53a9e632fafe4c356f263bb00bb3bc8736272d2d2f06d88d3feefbbe91263424", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "53a9e632fafe4c356f263bb00bb3bc8736272d2d2f06d88d3feefbbe91263424", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "53a9e632fafe4c356f263bb00bb3bc8736272d2d2f06d88d3feefbbe91263424", kill_on_drop: false }` [INFO] [stdout] 53a9e632fafe4c356f263bb00bb3bc8736272d2d2f06d88d3feefbbe91263424 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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 -Dtail-expr-drop-order" "-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 91bbaf21264e8cf11eef5f1106e11d94e5154e45a89c0cad8eb65029c37d237a [INFO] running `Command { std: "docker" "start" "-a" "91bbaf21264e8cf11eef5f1106e11d94e5154e45a89c0cad8eb65029c37d237a", kill_on_drop: false }` [INFO] [stderr] Compiling pracownie v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> src/lib.rs:24:51 [INFO] [stdout] | [INFO] [stdout] 24 | pub fn get(&'static mut self, f: F) -> &T [INFO] [stdout] | ^ this elided lifetime gets resolved as `'static` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(elided_named_lifetimes)]` on by default [INFO] [stdout] help: consider specifying it explicitly [INFO] [stdout] | [INFO] [stdout] 24 | pub fn get(&'static mut self, f: F) -> &'static T [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `Pt_u` should have an upper camel case name [INFO] [stdout] --> src/radix.rs:83:6 [INFO] [stdout] | [INFO] [stdout] 83 | type Pt_u = (u32, u32); [INFO] [stdout] | ^^^^ help: convert the identifier to upper camel case: `PtU` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_camel_case_types)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `C` is never used [INFO] [stdout] --> src/c.rs:2:7 [INFO] [stdout] | [INFO] [stdout] 2 | const C: usize = 100; [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `MAX` is never used [INFO] [stdout] --> src/c.rs:4:7 [INFO] [stdout] | [INFO] [stdout] 4 | const MAX: u64 = 1 << 38; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `Coin` is never used [INFO] [stdout] --> src/c.rs:6:6 [INFO] [stdout] | [INFO] [stdout] 6 | type Coin = (u32, u32); [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `Coins` is never used [INFO] [stdout] --> src/c.rs:7:6 [INFO] [stdout] | [INFO] [stdout] 7 | type Coins<'a> = &'a [Coin]; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `Hist` is never used [INFO] [stdout] --> src/c.rs:8:6 [INFO] [stdout] | [INFO] [stdout] 8 | type Hist = [u32; C]; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Ans` is never constructed [INFO] [stdout] --> src/c.rs:9:8 [INFO] [stdout] | [INFO] [stdout] 9 | struct Ans { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_coins` is never used [INFO] [stdout] --> src/c.rs:16:4 [INFO] [stdout] | [INFO] [stdout] 16 | fn get_coins(arr: Vec, masa: usize, cs: Coins) -> Hist { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `knapsack` is never used [INFO] [stdout] --> src/c.rs:27:4 [INFO] [stdout] | [INFO] [stdout] 27 | fn knapsack(masa: usize, cs: Coins) -> Option { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `vec_to_str` is never used [INFO] [stdout] --> src/c.rs:70:4 [INFO] [stdout] | [INFO] [stdout] 70 | fn vec_to_str(cs: Hist, n: usize) -> String { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `main` is never used [INFO] [stdout] --> src/c.rs:77:4 [INFO] [stdout] | [INFO] [stdout] 77 | fn main() { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `eval` is never used [INFO] [stdout] --> src/e.rs:327:4 [INFO] [stdout] | [INFO] [stdout] 327 | fn eval(op: char, val: i64, set: &mut AvlTreeSet) -> Option { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `solve` is never used [INFO] [stdout] --> src/e.rs:355:4 [INFO] [stdout] | [INFO] [stdout] 355 | fn solve() { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `Str2d` is never used [INFO] [stdout] --> src/f.rs:3:6 [INFO] [stdout] | [INFO] [stdout] 3 | type Str2d = Vec>; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `read_str2d` is never used [INFO] [stdout] --> src/f.rs:5:4 [INFO] [stdout] | [INFO] [stdout] 5 | fn read_str2d(w: usize, h: usize) -> Str2d { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `solve` is never used [INFO] [stdout] --> src/f.rs:16:4 [INFO] [stdout] | [INFO] [stdout] 16 | fn solve() { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `brute_force` is never used [INFO] [stdout] --> src/f.rs:25:4 [INFO] [stdout] | [INFO] [stdout] 25 | fn brute_force(needle: Str2d, haystack: Str2d) -> usize { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `Hash` is never used [INFO] [stdout] --> src/f.rs:121:6 [INFO] [stdout] | [INFO] [stdout] 121 | type Hash = u64; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `P` is never used [INFO] [stdout] --> src/f.rs:122:7 [INFO] [stdout] | [INFO] [stdout] 122 | const P: Hash = 31; [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `init_hash` is never used [INFO] [stdout] --> src/f.rs:127:4 [INFO] [stdout] | [INFO] [stdout] 127 | fn init_hash(data: &Str2d, w: usize, h: usize, ps: &[Hash]) -> Hash { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `roll_hash_right` is never used [INFO] [stdout] --> src/f.rs:139:4 [INFO] [stdout] | [INFO] [stdout] 139 | fn roll_hash_right( [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `roll_hash` is never used [INFO] [stdout] --> src/f.rs:163:4 [INFO] [stdout] | [INFO] [stdout] 163 | fn roll_hash(h: &mut Hash, l: Hash, r: Hash, shift: Hash) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `roll_hash_down` is never used [INFO] [stdout] --> src/f.rs:171:4 [INFO] [stdout] | [INFO] [stdout] 171 | fn roll_hash_down( [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `precompute_hashes` is never used [INFO] [stdout] --> src/f.rs:194:4 [INFO] [stdout] | [INFO] [stdout] 194 | fn precompute_hashes(needle: &Str2d, haystack: &Str2d, ps: &[Hash]) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `init_ps` is never used [INFO] [stdout] --> src/f.rs:210:4 [INFO] [stdout] | [INFO] [stdout] 210 | fn init_ps(len: usize) -> Vec { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `str_count` is never used [INFO] [stdout] --> src/f.rs:220:4 [INFO] [stdout] | [INFO] [stdout] 220 | fn str_count(needle: String, haystack: String) -> usize { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `rk2dv2` is never used [INFO] [stdout] --> src/f.rs:230:4 [INFO] [stdout] | [INFO] [stdout] 230 | fn rk2dv2(needle: Str2d, haystack: Str2d) -> usize { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `radix_sort` is never used [INFO] [stdout] --> src/radix.rs:47:4 [INFO] [stdout] | [INFO] [stdout] 47 | fn radix_sort(a: &mut [u32]) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `sort_by_x_uint` is never used [INFO] [stdout] --> src/radix.rs:84:4 [INFO] [stdout] | [INFO] [stdout] 84 | fn sort_by_x_uint(a: &mut [Pt_u]) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/lib.rs:66:33 [INFO] [stdout] | [INFO] [stdout] 66 | unsafe {LAZY.get(__static_ref_initialize)} [INFO] [stdout] | ^^^^ mutable reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 197 | / lazy_static! { [INFO] [stdout] 198 | | static ref STDIN: NotThreadSafe> = [INFO] [stdout] 199 | | NotThreadSafe::new(CopyingBufReader::new(Stdin::new())); [INFO] [stdout] 200 | | } [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: `#[warn(static_mut_refs)]` on by default [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_internal` which comes from the expansion of the macro `lazy_static` (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] --> src/lib.rs:66:33 [INFO] [stdout] | [INFO] [stdout] 66 | unsafe {LAZY.get(__static_ref_initialize)} [INFO] [stdout] | ^^^^ mutable reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 238 | / lazy_static! { [INFO] [stdout] 239 | | static ref STDOUT: NotThreadSafe> = { [INFO] [stdout] 240 | | extern "C" fn flush_stdout_at_exit() { [INFO] [stdout] 241 | | flush(); [INFO] [stdout] ... | [INFO] [stdout] 249 | | }; [INFO] [stdout] 250 | | } [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 `__lazy_static_internal` which comes from the expansion of the macro `lazy_static` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.85s [INFO] running `Command { std: "docker" "inspect" "91bbaf21264e8cf11eef5f1106e11d94e5154e45a89c0cad8eb65029c37d237a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "91bbaf21264e8cf11eef5f1106e11d94e5154e45a89c0cad8eb65029c37d237a", kill_on_drop: false }` [INFO] [stdout] 91bbaf21264e8cf11eef5f1106e11d94e5154e45a89c0cad8eb65029c37d237a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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 -Dtail-expr-drop-order" "-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] de00efa354f41157d88ac445027d41682e97f705f63900d111838d627370775e [INFO] running `Command { std: "docker" "start" "-a" "de00efa354f41157d88ac445027d41682e97f705f63900d111838d627370775e", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.155 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling ppv-lite86 v0.2.17 [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> src/lib.rs:24:51 [INFO] [stdout] | [INFO] [stdout] 24 | pub fn get(&'static mut self, f: F) -> &T [INFO] [stdout] | ^ this elided lifetime gets resolved as `'static` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(elided_named_lifetimes)]` on by default [INFO] [stdout] help: consider specifying it explicitly [INFO] [stdout] | [INFO] [stdout] 24 | pub fn get(&'static mut self, f: F) -> &'static T [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `Pt_u` should have an upper camel case name [INFO] [stdout] --> src/radix.rs:83:6 [INFO] [stdout] | [INFO] [stdout] 83 | type Pt_u = (u32, u32); [INFO] [stdout] | ^^^^ help: convert the identifier to upper camel case: `PtU` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_camel_case_types)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `C` is never used [INFO] [stdout] --> src/c.rs:2:7 [INFO] [stdout] | [INFO] [stdout] 2 | const C: usize = 100; [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `MAX` is never used [INFO] [stdout] --> src/c.rs:4:7 [INFO] [stdout] | [INFO] [stdout] 4 | const MAX: u64 = 1 << 38; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `Coin` is never used [INFO] [stdout] --> src/c.rs:6:6 [INFO] [stdout] | [INFO] [stdout] 6 | type Coin = (u32, u32); [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `Coins` is never used [INFO] [stdout] --> src/c.rs:7:6 [INFO] [stdout] | [INFO] [stdout] 7 | type Coins<'a> = &'a [Coin]; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `Hist` is never used [INFO] [stdout] --> src/c.rs:8:6 [INFO] [stdout] | [INFO] [stdout] 8 | type Hist = [u32; C]; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Ans` is never constructed [INFO] [stdout] --> src/c.rs:9:8 [INFO] [stdout] | [INFO] [stdout] 9 | struct Ans { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_coins` is never used [INFO] [stdout] --> src/c.rs:16:4 [INFO] [stdout] | [INFO] [stdout] 16 | fn get_coins(arr: Vec, masa: usize, cs: Coins) -> Hist { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `knapsack` is never used [INFO] [stdout] --> src/c.rs:27:4 [INFO] [stdout] | [INFO] [stdout] 27 | fn knapsack(masa: usize, cs: Coins) -> Option { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `vec_to_str` is never used [INFO] [stdout] --> src/c.rs:70:4 [INFO] [stdout] | [INFO] [stdout] 70 | fn vec_to_str(cs: Hist, n: usize) -> String { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `main` is never used [INFO] [stdout] --> src/c.rs:77:4 [INFO] [stdout] | [INFO] [stdout] 77 | fn main() { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `eval` is never used [INFO] [stdout] --> src/e.rs:327:4 [INFO] [stdout] | [INFO] [stdout] 327 | fn eval(op: char, val: i64, set: &mut AvlTreeSet) -> Option { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `solve` is never used [INFO] [stdout] --> src/e.rs:355:4 [INFO] [stdout] | [INFO] [stdout] 355 | fn solve() { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `Str2d` is never used [INFO] [stdout] --> src/f.rs:3:6 [INFO] [stdout] | [INFO] [stdout] 3 | type Str2d = Vec>; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `read_str2d` is never used [INFO] [stdout] --> src/f.rs:5:4 [INFO] [stdout] | [INFO] [stdout] 5 | fn read_str2d(w: usize, h: usize) -> Str2d { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `solve` is never used [INFO] [stdout] --> src/f.rs:16:4 [INFO] [stdout] | [INFO] [stdout] 16 | fn solve() { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `brute_force` is never used [INFO] [stdout] --> src/f.rs:25:4 [INFO] [stdout] | [INFO] [stdout] 25 | fn brute_force(needle: Str2d, haystack: Str2d) -> usize { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `Hash` is never used [INFO] [stdout] --> src/f.rs:121:6 [INFO] [stdout] | [INFO] [stdout] 121 | type Hash = u64; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `P` is never used [INFO] [stdout] --> src/f.rs:122:7 [INFO] [stdout] | [INFO] [stdout] 122 | const P: Hash = 31; [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `init_hash` is never used [INFO] [stdout] --> src/f.rs:127:4 [INFO] [stdout] | [INFO] [stdout] 127 | fn init_hash(data: &Str2d, w: usize, h: usize, ps: &[Hash]) -> Hash { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `roll_hash_right` is never used [INFO] [stdout] --> src/f.rs:139:4 [INFO] [stdout] | [INFO] [stdout] 139 | fn roll_hash_right( [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `roll_hash` is never used [INFO] [stdout] --> src/f.rs:163:4 [INFO] [stdout] | [INFO] [stdout] 163 | fn roll_hash(h: &mut Hash, l: Hash, r: Hash, shift: Hash) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `roll_hash_down` is never used [INFO] [stdout] --> src/f.rs:171:4 [INFO] [stdout] | [INFO] [stdout] 171 | fn roll_hash_down( [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `precompute_hashes` is never used [INFO] [stdout] --> src/f.rs:194:4 [INFO] [stdout] | [INFO] [stdout] 194 | fn precompute_hashes(needle: &Str2d, haystack: &Str2d, ps: &[Hash]) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `init_ps` is never used [INFO] [stdout] --> src/f.rs:210:4 [INFO] [stdout] | [INFO] [stdout] 210 | fn init_ps(len: usize) -> Vec { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `str_count` is never used [INFO] [stdout] --> src/f.rs:220:4 [INFO] [stdout] | [INFO] [stdout] 220 | fn str_count(needle: String, haystack: String) -> usize { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `rk2dv2` is never used [INFO] [stdout] --> src/f.rs:230:4 [INFO] [stdout] | [INFO] [stdout] 230 | fn rk2dv2(needle: Str2d, haystack: Str2d) -> usize { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `radix_sort` is never used [INFO] [stdout] --> src/radix.rs:47:4 [INFO] [stdout] | [INFO] [stdout] 47 | fn radix_sort(a: &mut [u32]) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `sort_by_x_uint` is never used [INFO] [stdout] --> src/radix.rs:84:4 [INFO] [stdout] | [INFO] [stdout] 84 | fn sort_by_x_uint(a: &mut [Pt_u]) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/lib.rs:66:33 [INFO] [stdout] | [INFO] [stdout] 66 | unsafe {LAZY.get(__static_ref_initialize)} [INFO] [stdout] | ^^^^ mutable reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 197 | / lazy_static! { [INFO] [stdout] 198 | | static ref STDIN: NotThreadSafe> = [INFO] [stdout] 199 | | NotThreadSafe::new(CopyingBufReader::new(Stdin::new())); [INFO] [stdout] 200 | | } [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: `#[warn(static_mut_refs)]` on by default [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_internal` which comes from the expansion of the macro `lazy_static` (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] --> src/lib.rs:66:33 [INFO] [stdout] | [INFO] [stdout] 66 | unsafe {LAZY.get(__static_ref_initialize)} [INFO] [stdout] | ^^^^ mutable reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 238 | / lazy_static! { [INFO] [stdout] 239 | | static ref STDOUT: NotThreadSafe> = { [INFO] [stdout] 240 | | extern "C" fn flush_stdout_at_exit() { [INFO] [stdout] 241 | | flush(); [INFO] [stdout] ... | [INFO] [stdout] 249 | | }; [INFO] [stdout] 250 | | } [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 `__lazy_static_internal` which comes from the expansion of the macro `lazy_static` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling getrandom v0.2.15 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling pracownie v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> src/lib.rs:24:51 [INFO] [stdout] | [INFO] [stdout] 24 | pub fn get(&'static mut self, f: F) -> &T [INFO] [stdout] | ^ this elided lifetime gets resolved as `'static` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(elided_named_lifetimes)]` on by default [INFO] [stdout] help: consider specifying it explicitly [INFO] [stdout] | [INFO] [stdout] 24 | pub fn get(&'static mut self, f: F) -> &'static T [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `Pt_u` should have an upper camel case name [INFO] [stdout] --> src/radix.rs:83:6 [INFO] [stdout] | [INFO] [stdout] 83 | type Pt_u = (u32, u32); [INFO] [stdout] | ^^^^ help: convert the identifier to upper camel case: `PtU` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_camel_case_types)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `vec_to_str` is never used [INFO] [stdout] --> src/c.rs:70:4 [INFO] [stdout] | [INFO] [stdout] 70 | fn vec_to_str(cs: Hist, n: usize) -> String { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `main` is never used [INFO] [stdout] --> src/c.rs:77:4 [INFO] [stdout] | [INFO] [stdout] 77 | fn main() { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `eval` is never used [INFO] [stdout] --> src/e.rs:327:4 [INFO] [stdout] | [INFO] [stdout] 327 | fn eval(op: char, val: i64, set: &mut AvlTreeSet) -> Option { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `solve` is never used [INFO] [stdout] --> src/e.rs:355:4 [INFO] [stdout] | [INFO] [stdout] 355 | fn solve() { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `read_str2d` is never used [INFO] [stdout] --> src/f.rs:5:4 [INFO] [stdout] | [INFO] [stdout] 5 | fn read_str2d(w: usize, h: usize) -> Str2d { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `solve` is never used [INFO] [stdout] --> src/f.rs:16:4 [INFO] [stdout] | [INFO] [stdout] 16 | fn solve() { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `sort_by_x_uint` is never used [INFO] [stdout] --> src/radix.rs:84:4 [INFO] [stdout] | [INFO] [stdout] 84 | fn sort_by_x_uint(a: &mut [Pt_u]) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/lib.rs:66:33 [INFO] [stdout] | [INFO] [stdout] 66 | unsafe {LAZY.get(__static_ref_initialize)} [INFO] [stdout] | ^^^^ mutable reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 197 | / lazy_static! { [INFO] [stdout] 198 | | static ref STDIN: NotThreadSafe> = [INFO] [stdout] 199 | | NotThreadSafe::new(CopyingBufReader::new(Stdin::new())); [INFO] [stdout] 200 | | } [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: `#[warn(static_mut_refs)]` on by default [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_internal` which comes from the expansion of the macro `lazy_static` (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] --> src/lib.rs:66:33 [INFO] [stdout] | [INFO] [stdout] 66 | unsafe {LAZY.get(__static_ref_initialize)} [INFO] [stdout] | ^^^^ mutable reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 238 | / lazy_static! { [INFO] [stdout] 239 | | static ref STDOUT: NotThreadSafe> = { [INFO] [stdout] 240 | | extern "C" fn flush_stdout_at_exit() { [INFO] [stdout] 241 | | flush(); [INFO] [stdout] ... | [INFO] [stdout] 249 | | }; [INFO] [stdout] 250 | | } [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 `__lazy_static_internal` which comes from the expansion of the macro `lazy_static` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 3.88s [INFO] running `Command { std: "docker" "inspect" "de00efa354f41157d88ac445027d41682e97f705f63900d111838d627370775e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "de00efa354f41157d88ac445027d41682e97f705f63900d111838d627370775e", kill_on_drop: false }` [INFO] [stdout] de00efa354f41157d88ac445027d41682e97f705f63900d111838d627370775e