[INFO] cloning repository https://github.com/NicolasVidal/AoC_2021 [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/NicolasVidal/AoC_2021" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FNicolasVidal%2FAoC_2021", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FNicolasVidal%2FAoC_2021'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 3aede9536927ec64bf711e99bee476bfad4e9a59 [INFO] testing NicolasVidal/AoC_2021 against try#c066bf6804adc55193b71afdff6a56922f4a8689+target=x86_64-unknown-linux-musl for musl_upgrade_1_2_5_in_2025-retry-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FNicolasVidal%2FAoC_2021" "/workspace/builds/worker-4-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/NicolasVidal/AoC_2021 [INFO] finished tweaking git repo https://github.com/NicolasVidal/AoC_2021 [INFO] tweaked toml for git repo https://github.com/NicolasVidal/AoC_2021 written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/NicolasVidal/AoC_2021 on toolchain c066bf6804adc55193b71afdff6a56922f4a8689 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c066bf6804adc55193b71afdff6a56922f4a8689" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/NicolasVidal/AoC_2021 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" "+c066bf6804adc55193b71afdff6a56922f4a8689" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+c066bf6804adc55193b71afdff6a56922f4a8689" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 019bed37714aaefd503694172c9458b4e7e1d0599b3bc7577bbe0eb1b64ebe7f [INFO] running `Command { std: "docker" "start" "-a" "019bed37714aaefd503694172c9458b4e7e1d0599b3bc7577bbe0eb1b64ebe7f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "019bed37714aaefd503694172c9458b4e7e1d0599b3bc7577bbe0eb1b64ebe7f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "019bed37714aaefd503694172c9458b4e7e1d0599b3bc7577bbe0eb1b64ebe7f", kill_on_drop: false }` [INFO] [stdout] 019bed37714aaefd503694172c9458b4e7e1d0599b3bc7577bbe0eb1b64ebe7f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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" "-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+c066bf6804adc55193b71afdff6a56922f4a8689" "build" "--frozen" "--message-format=json" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] bfce729910b35a65b07b1a35459fb77c8add14bae7565ee577fc453237d8078d [INFO] running `Command { std: "docker" "start" "-a" "bfce729910b35a65b07b1a35459fb77c8add14bae7565ee577fc453237d8078d", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling libc v0.2.108 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling semver v1.0.4 [INFO] [stderr] Compiling serde v1.0.130 [INFO] [stderr] Compiling crossbeam-utils v0.8.5 [INFO] [stderr] Compiling proc-macro2 v1.0.32 [INFO] [stderr] Compiling memchr v2.4.1 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling crossbeam-epoch v0.9.5 [INFO] [stderr] Compiling ryu v1.0.6 [INFO] [stderr] Compiling rayon-core v1.9.1 [INFO] [stderr] Compiling scopeguard v1.1.0 [INFO] [stderr] Compiling serde_json v1.0.72 [INFO] [stderr] Compiling itoa v0.4.8 [INFO] [stderr] Compiling syn v1.0.82 [INFO] [stderr] Compiling either v1.6.1 [INFO] [stderr] Compiling serde_derive v1.0.130 [INFO] [stderr] Compiling regex-automata v0.1.10 [INFO] [stderr] Compiling unicode-width v0.1.9 [INFO] [stderr] Compiling plotters-backend v0.3.2 [INFO] [stderr] Compiling itertools v0.10.1 [INFO] [stderr] Compiling textwrap v0.11.0 [INFO] [stderr] Compiling regex-syntax v0.6.25 [INFO] [stderr] Compiling half v1.8.2 [INFO] [stderr] Compiling plotters-svg v0.3.1 [INFO] [stderr] Compiling peg-runtime v0.7.0 [INFO] [stderr] Compiling ppv-lite86 v0.2.15 [INFO] [stderr] Compiling clap v2.34.0 [INFO] [stderr] Compiling crossbeam-channel v0.5.1 [INFO] [stderr] Compiling aho-corasick v0.7.18 [INFO] [stderr] Compiling csv-core v0.1.10 [INFO] [stderr] Compiling memoffset v0.6.4 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling rustc_version v0.4.0 [INFO] [stderr] Compiling rayon v1.5.1 [INFO] [stderr] Compiling walkdir v2.3.2 [INFO] [stderr] Compiling num_cpus v1.13.0 [INFO] [stderr] Compiling getrandom v0.2.3 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling oorandom v11.1.3 [INFO] [stderr] Compiling quote v1.0.10 [INFO] [stderr] Compiling crossbeam-deque v0.8.1 [INFO] [stderr] Compiling rand_core v0.6.3 [INFO] [stderr] Compiling dashmap v4.0.2 [INFO] [stderr] Compiling threadpool v1.8.1 [INFO] [stderr] Compiling smallvec v1.7.0 [INFO] [stderr] Compiling cast v0.2.7 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling peg-macros v0.7.0 [INFO] [stderr] Compiling rand v0.8.4 [INFO] [stderr] Compiling plotters v0.3.1 [INFO] [stderr] Compiling criterion-plot v0.4.4 [INFO] [stderr] Compiling regex v1.5.4 [INFO] [stderr] Compiling peg v0.7.0 [INFO] [stderr] Compiling bstr v0.2.17 [INFO] [stderr] Compiling serde_cbor v0.11.2 [INFO] [stderr] Compiling tinytemplate v1.2.1 [INFO] [stderr] Compiling csv v1.1.6 [INFO] [stderr] Compiling criterion v0.3.5 [INFO] [stderr] Compiling rust_2021_advent_of_code v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `std::collections::HashMap` [INFO] [stdout] --> src/j21/mod.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::collections::HashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `itertools::Itertools` [INFO] [stdout] --> src/j24/mod.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use itertools::Itertools; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Rng` and `thread_rng` [INFO] [stdout] --> src/j24/mod.rs:3:12 [INFO] [stdout] | [INFO] [stdout] 3 | use rand::{Rng, thread_rng}; [INFO] [stdout] | ^^^ ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `s` [INFO] [stdout] --> src/j24/mod.rs:408:12 [INFO] [stdout] | [INFO] [stdout] 408 | pub fn _p2(s: &'static str) -> usize { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_s` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/j24/mod.rs:20:9 [INFO] [stdout] | [INFO] [stdout] 20 | Val(i64), [INFO] [stdout] | --- ^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `SecondArgument` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 20 - Val(i64), [INFO] [stdout] 20 + Val(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/j24/mod.rs:21:9 [INFO] [stdout] | [INFO] [stdout] 21 | Mem(usize), [INFO] [stdout] | --- ^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `SecondArgument` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 21 - Mem(usize), [INFO] [stdout] 21 + Mem(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/j24/mod.rs:26:9 [INFO] [stdout] | [INFO] [stdout] 26 | Inp(usize), [INFO] [stdout] | --- ^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Instruction` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 26 - Inp(usize), [INFO] [stdout] 26 + Inp(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `0` and `1` are never read [INFO] [stdout] --> src/j24/mod.rs:27:9 [INFO] [stdout] | [INFO] [stdout] 27 | Add(usize, SecondArgument), [INFO] [stdout] | --- ^^^^^ ^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Instruction` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the fields to be of unit type to suppress this warning while preserving the field numbering, or remove the fields [INFO] [stdout] | [INFO] [stdout] 27 - Add(usize, SecondArgument), [INFO] [stdout] 27 + Add((), ()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `0` and `1` are never read [INFO] [stdout] --> src/j24/mod.rs:28:9 [INFO] [stdout] | [INFO] [stdout] 28 | Mul(usize, SecondArgument), [INFO] [stdout] | --- ^^^^^ ^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Instruction` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the fields to be of unit type to suppress this warning while preserving the field numbering, or remove the fields [INFO] [stdout] | [INFO] [stdout] 28 - Mul(usize, SecondArgument), [INFO] [stdout] 28 + Mul((), ()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `0` and `1` are never read [INFO] [stdout] --> src/j24/mod.rs:29:9 [INFO] [stdout] | [INFO] [stdout] 29 | Div(usize, SecondArgument), [INFO] [stdout] | --- ^^^^^ ^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Instruction` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the fields to be of unit type to suppress this warning while preserving the field numbering, or remove the fields [INFO] [stdout] | [INFO] [stdout] 29 - Div(usize, SecondArgument), [INFO] [stdout] 29 + Div((), ()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `0` and `1` are never read [INFO] [stdout] --> src/j24/mod.rs:30:9 [INFO] [stdout] | [INFO] [stdout] 30 | Mod(usize, SecondArgument), [INFO] [stdout] | --- ^^^^^ ^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Instruction` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the fields to be of unit type to suppress this warning while preserving the field numbering, or remove the fields [INFO] [stdout] | [INFO] [stdout] 30 - Mod(usize, SecondArgument), [INFO] [stdout] 30 + Mod((), ()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `0` and `1` are never read [INFO] [stdout] --> src/j24/mod.rs:31:9 [INFO] [stdout] | [INFO] [stdout] 31 | Eql(usize, SecondArgument), [INFO] [stdout] | --- ^^^^^ ^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Instruction` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the fields to be of unit type to suppress this warning while preserving the field numbering, or remove the fields [INFO] [stdout] | [INFO] [stdout] 31 - Eql(usize, SecondArgument), [INFO] [stdout] 31 + Eql((), ()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `exec` is never used [INFO] [stdout] --> src/j24/mod.rs:35:12 [INFO] [stdout] | [INFO] [stdout] 34 | impl Instruction { [INFO] [stdout] | ---------------- method in this implementation [INFO] [stdout] 35 | pub fn exec(&self, input: [i64; 14], idx: &mut usize, mem: &mut [i64; 4]) { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `serial_to_number` is never used [INFO] [stdout] --> src/j24/mod.rs:110:4 [INFO] [stdout] | [INFO] [stdout] 110 | fn serial_to_number(serial: &[i64; 14]) -> i64 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 17.73s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: criterion v0.3.5 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1` [INFO] running `Command { std: "docker" "inspect" "bfce729910b35a65b07b1a35459fb77c8add14bae7565ee577fc453237d8078d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bfce729910b35a65b07b1a35459fb77c8add14bae7565ee577fc453237d8078d", kill_on_drop: false }` [INFO] [stdout] bfce729910b35a65b07b1a35459fb77c8add14bae7565ee577fc453237d8078d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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" "-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+c066bf6804adc55193b71afdff6a56922f4a8689" "test" "--frozen" "--no-run" "--message-format=json" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] e3b7a7d2fee2bb0d6c966956537773e9db82dd61384f66f4cda8d9a2d25a0e7c [INFO] running `Command { std: "docker" "start" "-a" "e3b7a7d2fee2bb0d6c966956537773e9db82dd61384f66f4cda8d9a2d25a0e7c", kill_on_drop: false }` [INFO] [stderr] Compiling rust_2021_advent_of_code v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unnecessary trailing semicolon [INFO] [stdout] --> src/j24/mod.rs:128:72 [INFO] [stdout] | [INFO] [stdout] 128 | population[i][0] = thread_rng().gen_range(first_digit.clone());; [INFO] [stdout] | ^ help: remove this semicolon [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(redundant_semicolons)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary trailing semicolon [INFO] [stdout] --> src/j24/mod.rs:144:80 [INFO] [stdout] | [INFO] [stdout] 144 | population[i][0] = thread_rng().gen_range(first_digit.clone());; [INFO] [stdout] | ^ help: remove this semicolon [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary trailing semicolon [INFO] [stdout] --> src/j24/mod.rs:193:80 [INFO] [stdout] | [INFO] [stdout] 193 | new_population[i][0] = thread_rng().gen_range(first_digit.clone());; [INFO] [stdout] | ^ help: remove this semicolon [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary trailing semicolon [INFO] [stdout] --> src/j24/mod.rs:203:80 [INFO] [stdout] | [INFO] [stdout] 203 | new_population[i][0] = thread_rng().gen_range(first_digit.clone());; [INFO] [stdout] | ^ help: remove this semicolon [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary trailing semicolon [INFO] [stdout] --> src/j24/mod.rs:212:80 [INFO] [stdout] | [INFO] [stdout] 212 | new_population[i][0] = thread_rng().gen_range(first_digit.clone());; [INFO] [stdout] | ^ help: remove this semicolon [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary trailing semicolon [INFO] [stdout] --> src/j24/mod.rs:184:84 [INFO] [stdout] | [INFO] [stdout] 184 | new_population[i][0] = thread_rng().gen_range(first_digit.clone());; [INFO] [stdout] | ^ help: remove this semicolon [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/j24/mod.rs:149:71 [INFO] [stdout] | [INFO] [stdout] 149 | .map(|p| program_rust(p, 14)).enumerate().sorted_by_key(|(i,p)|*p).take(512) [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `best_serial` is never read [INFO] [stdout] --> src/j24/mod.rs:263:13 [INFO] [stdout] | [INFO] [stdout] 263 | let mut best_serial = serial; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `s` [INFO] [stdout] --> src/j24/mod.rs:408:12 [INFO] [stdout] | [INFO] [stdout] 408 | pub fn _p2(s: &'static str) -> usize { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_s` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: linking with `cc` failed: exit status: 1 [INFO] [stdout] | [INFO] [stdout] = note: "cc" "-m64" "/lib/rustlib/x86_64-unknown-linux-musl/lib/self-contained/rcrt1.o" "/lib/rustlib/x86_64-unknown-linux-musl/lib/self-contained/crti.o" "/lib/rustlib/x86_64-unknown-linux-musl/lib/self-contained/crtbeginS.o" "/tmp/rustcP5ogfW/symbols.o" "<17 object files omitted>" "-Wl,--as-needed" "-Wl,-Bstatic" "/lib/rustlib/x86_64-unknown-linux-musl/lib/{libtest-*,libgetopts-*,libunicode_width-*,librustc_std_workspace_std-*}.rlib" "/opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/{librand-1a77bbb010a6b042.rlib,librand_chacha-b7fa5fab56c76965.rlib,libppv_lite86-7955ccdf208dacd3.rlib,librand_core-d0e6d309e8703ab1.rlib,libgetrandom-50c01ecde292ec1f.rlib,libregex-d5c369978972243e.rlib,libaho_corasick-35dda82c90652365.rlib,libmemchr-a2892755812de0fe.rlib,libregex_syntax-ae12054508fb30be.rlib,libsmallvec-58335197664382aa.rlib,libthreadpool-b634eb5df348bc7e.rlib,libdashmap-3d343dd3876943ff.rlib,libnum_cpus-c36fddc9ec0dadb6.rlib,liblibc-b29b9b4eaa999549.rlib,libcfg_if-66d55f6b302e88c8.rlib,libitertools-06a88b86a026be87.rlib,libeither-e8a0ef7222037a64.rlib}.rlib" "/lib/rustlib/x86_64-unknown-linux-musl/lib/{libstd-*,libpanic_unwind-*,libobject-*,libmemchr-*,libaddr2line-*,libgimli-*,librustc_demangle-*,libstd_detect-*,libhashbrown-*,librustc_std_workspace_alloc-*,libminiz_oxide-*,libadler2-*,libunwind-*}.rlib" "-lunwind" "/lib/rustlib/x86_64-unknown-linux-musl/lib/{libcfg_if-*,liblibc-*}.rlib" "-lc" "/lib/rustlib/x86_64-unknown-linux-musl/lib/{librustc_std_workspace_core-*,liballoc-*,libcore-*,libcompiler_builtins-*}.rlib" "-L" "/tmp/rustcP5ogfW/raw-dylibs" "-Wl,-Bdynamic" "-Wl,--eh-frame-hdr" "-Wl,-z,noexecstack" "-nostartfiles" "-L" "/lib/rustlib/x86_64-unknown-linux-musl/lib/self-contained" "-L" "/lib/rustlib/x86_64-unknown-linux-musl/lib" "-o" "/opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/rust_2021_advent_of_code-d45bb5c745a3735e" "-Wl,--gc-sections" "-static-pie" "-Wl,-z,relro,-z,now" "-nodefaultlibs" "/lib/rustlib/x86_64-unknown-linux-musl/lib/self-contained/crtendS.o" "/lib/rustlib/x86_64-unknown-linux-musl/lib/self-contained/crtn.o" [INFO] [stdout] = note: some arguments are omitted. use `--verbose` to show all linker arguments [INFO] [stdout] = note: /usr/bin/ld: /opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/libgetrandom-50c01ecde292ec1f.rlib(getrandom-50c01ecde292ec1f.getrandom.f27001ce277ff8b0-cgu.0.rcgu.o): in function `getrandom::util_libc::open_readonly': [INFO] [stdout] /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/getrandom-0.2.3/src/util_libc.rs:110:(.text._ZN9getrandom9util_libc13open_readonly17haca5e9deb9f66d43E+0xb6): undefined reference to `open64' [INFO] [stdout] collect2: error: ld returned 1 exit status [INFO] [stdout] [INFO] [stdout] = note: some `extern` functions couldn't be found; some native libraries may need to be installed or have their path specified [INFO] [stdout] = note: use the `-l` flag to specify native libraries to link [INFO] [stdout] = note: use the `cargo:rustc-link-lib` directive to specify the native libraries to link with Cargo (see https://doc.rust-lang.org/cargo/reference/build-scripts.html#rustc-link-lib) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `rust_2021_advent_of_code` (bin "rust_2021_advent_of_code" test) due to 1 previous error; 9 warnings emitted [INFO] running `Command { std: "docker" "inspect" "e3b7a7d2fee2bb0d6c966956537773e9db82dd61384f66f4cda8d9a2d25a0e7c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e3b7a7d2fee2bb0d6c966956537773e9db82dd61384f66f4cda8d9a2d25a0e7c", kill_on_drop: false }` [INFO] [stdout] e3b7a7d2fee2bb0d6c966956537773e9db82dd61384f66f4cda8d9a2d25a0e7c