[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 try#9b5e8b16bd1c4acf4cf8e6880368314cf021a987+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-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/viktor-grunwaldt/aisd24-pracownia on toolchain 9b5e8b16bd1c4acf4cf8e6880368314cf021a987 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+9b5e8b16bd1c4acf4cf8e6880368314cf021a987" "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-tc2/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" "+9b5e8b16bd1c4acf4cf8e6880368314cf021a987" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/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" "+9b5e8b16bd1c4acf4cf8e6880368314cf021a987" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 40f7b86e4d2599aeeb97d3ae982bfadf6541cfa15c0f3fb5f755d6f73c14019c [INFO] running `Command { std: "docker" "start" "-a" "40f7b86e4d2599aeeb97d3ae982bfadf6541cfa15c0f3fb5f755d6f73c14019c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "40f7b86e4d2599aeeb97d3ae982bfadf6541cfa15c0f3fb5f755d6f73c14019c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "40f7b86e4d2599aeeb97d3ae982bfadf6541cfa15c0f3fb5f755d6f73c14019c", kill_on_drop: false }` [INFO] [stdout] 40f7b86e4d2599aeeb97d3ae982bfadf6541cfa15c0f3fb5f755d6f73c14019c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/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" "+9b5e8b16bd1c4acf4cf8e6880368314cf021a987" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 6e92c4dadb12d21cbe53168eae1eab6300f3753f52e624670aeb35e46c7288a6 [INFO] running `Command { std: "docker" "start" "-a" "6e92c4dadb12d21cbe53168eae1eab6300f3753f52e624670aeb35e46c7288a6", 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.67s [INFO] running `Command { std: "docker" "inspect" "6e92c4dadb12d21cbe53168eae1eab6300f3753f52e624670aeb35e46c7288a6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6e92c4dadb12d21cbe53168eae1eab6300f3753f52e624670aeb35e46c7288a6", kill_on_drop: false }` [INFO] [stdout] 6e92c4dadb12d21cbe53168eae1eab6300f3753f52e624670aeb35e46c7288a6 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/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" "+9b5e8b16bd1c4acf4cf8e6880368314cf021a987" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 149a57ddb59bb156c98080f91f26daebf608e23d99d86641185bcabf017bffcc [INFO] running `Command { std: "docker" "start" "-a" "149a57ddb59bb156c98080f91f26daebf608e23d99d86641185bcabf017bffcc", 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] [stdout] error: failed to write /tmp/rustcdEtzej/lib.rmeta: No space left on device (os error 28) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `libc` (lib) due to 1 previous error [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: internal compiler error: compiler/rustc_mir_build/src/builder/scope.rs:1724:17: cannot unwind from goto -> bb63 [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] thread 'rustc' panicked at compiler/rustc_mir_build/src/builder/scope.rs:1724:17: [INFO] [stderr] Box [INFO] [stderr] stack backtrace: [INFO] [stderr] 0: 0x76945b781caa - ::fmt::h636462e57d5ef1e1 [INFO] [stderr] 1: 0x76945be13cbc - core::fmt::write::h067060808ac50eb9 [INFO] [stderr] 2: 0x76945cd28e11 - std::io::Write::write_fmt::h4674fa2ed7c0dfdd [INFO] [stderr] 3: 0x76945b781b02 - std::sys::backtrace::BacktraceLock::print::h0c77148acfb0b5e9 [INFO] [stderr] 4: 0x76945b783ffa - std::panicking::default_hook::{{closure}}::h30daa8e7c6ccb09d [INFO] [stderr] 5: 0x76945b783e43 - std::panicking::default_hook::h25f21dc0f2064615 [INFO] [stderr] 6: 0x76945a8eff28 - std[b36e883d67eb0403]::panicking::update_hook::>::{closure#0} [INFO] [stderr] 7: 0x76945b7847b8 - std::panicking::rust_panic_with_hook::hc98438687e833605 [INFO] [stderr] 8: 0x76945a92a341 - std[b36e883d67eb0403]::panicking::begin_panic::::{closure#0} [INFO] [stderr] 9: 0x76945a91f526 - std[b36e883d67eb0403]::sys::backtrace::__rust_end_short_backtrace::::{closure#0}, !> [INFO] [stderr] 10: 0x76945a91f50d - std[b36e883d67eb0403]::panicking::begin_panic:: [INFO] [stderr] 11: 0x76945a9342a1 - ::emit_producing_guarantee [INFO] [stderr] 12: 0x76945ae84fdc - ::span_bug:: [INFO] [stderr] 13: 0x76945af0a897 - rustc_middle[8ad6e8ce52578819]::util::bug::opt_span_bug_fmt::::{closure#0} [INFO] [stderr] 14: 0x76945aef006a - rustc_middle[8ad6e8ce52578819]::ty::context::tls::with_opt::::{closure#0}, !>::{closure#0} [INFO] [stderr] 15: 0x76945aeefefb - rustc_middle[8ad6e8ce52578819]::ty::context::tls::with_context_opt::::{closure#0}, !>::{closure#0}, !> [INFO] [stderr] 16: 0x769459334437 - rustc_middle[8ad6e8ce52578819]::util::bug::span_bug_fmt:: [INFO] [stderr] 17: 0x76945c7d541b - ::build_unwind_tree [INFO] [stderr] 18: 0x76945c7cd7cd - rustc_mir_build[73684a27b88b946a]::builder::mir_build [INFO] [stderr] 19: 0x76945be07714 - rustc_mir_transform[857cd804783fef4d]::mir_built [INFO] [stderr] 20: 0x76945be076d7 - rustc_query_impl[1e55094a59e290f4]::plumbing::__rust_begin_short_backtrace::> [INFO] [stderr] 21: 0x76945c0953d1 - rustc_query_system[67781f9dc633c543]::query::plumbing::try_execute_query::, rustc_query_system[67781f9dc633c543]::dep_graph::graph::DepNodeIndex>, false, false, false>, rustc_query_impl[1e55094a59e290f4]::plumbing::QueryCtxt, false> [INFO] [stderr] error: could not compile `getrandom` (lib) [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] No space left on device (os error 28) [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] failed to parse process output: `/opt/rustwide/rustup-home/toolchains/9b5e8b16bd1c4acf4cf8e6880368314cf021a987/bin/rustc --crate-name getrandom --edition=2018 /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/getrandom-0.2.15/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C embed-bitcode=no -C debuginfo=2 --cfg 'feature="std"' --check-cfg 'cfg(docsrs)' --check-cfg 'cfg(feature, values("compiler_builtins", "core", "custom", "js", "js-sys", "linux_disable_fallback", "rdrand", "rustc-dep-of-std", "std", "test-in-browser", "wasm-bindgen"))' -C metadata=c46b637820c1a71f -C extra-filename=-33bffdea5b45bf74 --out-dir /opt/rustwide/target/debug/deps -L dependency=/opt/rustwide/target/debug/deps --extern cfg_if=/opt/rustwide/target/debug/deps/libcfg_if-d6c981cf4726d6cd.rmeta --extern libc=/opt/rustwide/target/debug/deps/liblibc-3cfed3ab0c70e66c.rmeta --cap-lints allow --cap-lints=forbid -Dtail-expr-drop-order` (exit status: 101) [INFO] running `Command { std: "docker" "inspect" "149a57ddb59bb156c98080f91f26daebf608e23d99d86641185bcabf017bffcc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "149a57ddb59bb156c98080f91f26daebf608e23d99d86641185bcabf017bffcc", kill_on_drop: false }` [INFO] [stdout] 149a57ddb59bb156c98080f91f26daebf608e23d99d86641185bcabf017bffcc