[INFO] cloning repository https://github.com/cdelmas/99-problems-lists-rs
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/cdelmas/99-problems-lists-rs" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcdelmas%2F99-problems-lists-rs", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcdelmas%2F99-problems-lists-rs'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 1a950980f56eea2736b0c4178c9fd77bbd964ef8
[INFO] testing cdelmas/99-problems-lists-rs 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%2Fcdelmas%2F99-problems-lists-rs" "/workspace/builds/worker-6-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/cdelmas/99-problems-lists-rs
[INFO] finished tweaking git repo https://github.com/cdelmas/99-problems-lists-rs
[INFO] tweaked toml for git repo https://github.com/cdelmas/99-problems-lists-rs written to /workspace/builds/worker-6-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/cdelmas/99-problems-lists-rs 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/cdelmas/99-problems-lists-rs 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-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+c066bf6804adc55193b71afdff6a56922f4a8689" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] cb80292201d924a267e7372571294c7682b10c058cd7a8b8bc6d697253467850
[INFO] running `Command { std: "docker" "start" "-a" "cb80292201d924a267e7372571294c7682b10c058cd7a8b8bc6d697253467850", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "cb80292201d924a267e7372571294c7682b10c058cd7a8b8bc6d697253467850", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "cb80292201d924a267e7372571294c7682b10c058cd7a8b8bc6d697253467850", kill_on_drop: false }`
[INFO] [stdout] cb80292201d924a267e7372571294c7682b10c058cd7a8b8bc6d697253467850
[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" "-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] 504ffd65b11ec1ea37684d2c678405bd096d763924242c0f9549fd5177957506
[INFO] running `Command { std: "docker" "start" "-a" "504ffd65b11ec1ea37684d2c678405bd096d763924242c0f9549fd5177957506", kill_on_drop: false }`
[INFO] [stderr] Compiling autocfg v1.0.1
[INFO] [stderr] Compiling libc v0.2.104
[INFO] [stderr] Compiling ppv-lite86 v0.2.15
[INFO] [stderr] Compiling either v1.6.1
[INFO] [stderr] Compiling itertools v0.10.1
[INFO] [stderr] Compiling num-traits v0.2.14
[INFO] [stderr] Compiling num-integer v0.1.44
[INFO] [stderr] Compiling num-bigint v0.4.3
[INFO] [stderr] Compiling num-iter v0.1.42
[INFO] [stderr] Compiling num-rational v0.4.0
[INFO] [stderr] Compiling getrandom v0.2.3
[INFO] [stderr] Compiling rand_core v0.6.3
[INFO] [stderr] Compiling rand_chacha v0.3.1
[INFO] [stderr] Compiling num-complex v0.4.0
[INFO] [stderr] Compiling factorial v0.2.1
[INFO] [stderr] Compiling rand v0.8.4
[INFO] [stderr] Compiling num v0.4.0
[INFO] [stderr] Compiling problems_99 v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: function `is_prime` is never used
[INFO] [stdout] --> src/arithmetic/mod.rs:1:4
[INFO] [stdout] |
[INFO] [stdout] 1 | fn is_prime(n: u64) -> bool {
[INFO] [stdout] | ^^^^^^^^
[INFO] [stdout] |
[INFO] [stdout] = note: `#[warn(dead_code)]` on by default
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: function `gcd` is never used
[INFO] [stdout] --> src/arithmetic/mod.rs:15:4
[INFO] [stdout] |
[INFO] [stdout] 15 | fn gcd(n: u32, m: u32) -> u32 {
[INFO] [stdout] | ^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: function `are_coprime` is never used
[INFO] [stdout] --> src/arithmetic/mod.rs:28:4
[INFO] [stdout] |
[INFO] [stdout] 28 | fn are_coprime(n: u32, m: u32) -> bool {
[INFO] [stdout] | ^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: function `last` is never used
[INFO] [stdout] --> src/lists/mod.rs:6:4
[INFO] [stdout] |
[INFO] [stdout] 6 | fn last(l: &[A]) -> Option<&A> {
[INFO] [stdout] | ^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: function `but_last` is never used
[INFO] [stdout] --> src/lists/mod.rs:14:4
[INFO] [stdout] |
[INFO] [stdout] 14 | fn but_last(l: &[A]) -> Option<&A> {
[INFO] [stdout] | ^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: function `k_th` is never used
[INFO] [stdout] --> src/lists/mod.rs:21:4
[INFO] [stdout] |
[INFO] [stdout] 21 | fn k_th(l: &[A], index: usize) -> Option<&A> {
[INFO] [stdout] | ^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: function `length` is never used
[INFO] [stdout] --> src/lists/mod.rs:29:4
[INFO] [stdout] |
[INFO] [stdout] 29 | fn length(l: &[A]) -> usize {
[INFO] [stdout] | ^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: function `reverse` is never used
[INFO] [stdout] --> src/lists/mod.rs:33:4
[INFO] [stdout] |
[INFO] [stdout] 33 | fn reverse(l: &[A]) -> Vec {
[INFO] [stdout] | ^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: function `is_palindrome` is never used
[INFO] [stdout] --> src/lists/mod.rs:39:4
[INFO] [stdout] |
[INFO] [stdout] 39 | fn is_palindrome(l: &[A]) -> bool {
[INFO] [stdout] | ^^^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: enum `NestedList` is never used
[INFO] [stdout] --> src/lists/mod.rs:44:6
[INFO] [stdout] |
[INFO] [stdout] 44 | enum NestedList {
[INFO] [stdout] | ^^^^^^^^^^
[INFO] [stdout] |
[INFO] [stdout] = note: `NestedList` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: function `flatten` is never used
[INFO] [stdout] --> src/lists/mod.rs:49:4
[INFO] [stdout] |
[INFO] [stdout] 49 | fn flatten(list: &NestedList) -> Vec<&A> {
[INFO] [stdout] | ^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: function `remove_consecutive_duplicates` is never used
[INFO] [stdout] --> src/lists/mod.rs:56:4
[INFO] [stdout] |
[INFO] [stdout] 56 | fn remove_consecutive_duplicates(list: &[A]) -> Vec<&A> {
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: function `pack_consecutive_duplicates` is never used
[INFO] [stdout] --> src/lists/mod.rs:62:4
[INFO] [stdout] |
[INFO] [stdout] 62 | fn pack_consecutive_duplicates(list: &[A]) -> Vec> {
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: function `occurrences` is never used
[INFO] [stdout] --> src/lists/mod.rs:76:4
[INFO] [stdout] |
[INFO] [stdout] 76 | fn occurrences(list: &[A]) -> Vec<(usize, &A)> {
[INFO] [stdout] | ^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: enum `Occurrence` is never used
[INFO] [stdout] --> src/lists/mod.rs:84:6
[INFO] [stdout] |
[INFO] [stdout] 84 | enum Occurrence<'a, A> {
[INFO] [stdout] | ^^^^^^^^^^
[INFO] [stdout] |
[INFO] [stdout] = note: `Occurrence` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: associated items `new`, `can_increment`, and `increment` are never used
[INFO] [stdout] --> src/lists/mod.rs:93:8
[INFO] [stdout] |
[INFO] [stdout] 89 | / impl<'a, A> Occurrence<'a, A>
[INFO] [stdout] 90 | | where
[INFO] [stdout] 91 | | A: Eq,
[INFO] [stdout] | |__________- associated items in this implementation
[INFO] [stdout] 92 | {
[INFO] [stdout] 93 | fn new(size: usize, elem: &'a A) -> Self {
[INFO] [stdout] | ^^^
[INFO] [stdout] ...
[INFO] [stdout] 101 | fn can_increment(self: &Occurrence<'a, A>, elem: &'a A) -> bool {
[INFO] [stdout] | ^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 108 | fn increment(occurrence: &'a Occurrence, elem: &'a A) -> Option> {
[INFO] [stdout] | ^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: function `encode` is never used
[INFO] [stdout] --> src/lists/mod.rs:117:4
[INFO] [stdout] |
[INFO] [stdout] 117 | fn encode(list: &[A]) -> Vec> {
[INFO] [stdout] | ^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: function `decode` is never used
[INFO] [stdout] --> src/lists/mod.rs:124:4
[INFO] [stdout] |
[INFO] [stdout] 124 | fn decode<'a, A>(list: &'a [Occurrence]) -> Vec<&'a A> {
[INFO] [stdout] | ^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: function `encode_no_intermediary` is never used
[INFO] [stdout] --> src/lists/mod.rs:133:4
[INFO] [stdout] |
[INFO] [stdout] 133 | fn encode_no_intermediary(list: &[A]) -> Vec> {
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: function `duplicate` is never used
[INFO] [stdout] --> src/lists/mod.rs:150:4
[INFO] [stdout] |
[INFO] [stdout] 150 | fn duplicate(list: &[A]) -> Vec {
[INFO] [stdout] | ^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: function `replicate` is never used
[INFO] [stdout] --> src/lists/mod.rs:154:4
[INFO] [stdout] |
[INFO] [stdout] 154 | fn replicate(list: &[A], repl_num: u8) -> Vec {
[INFO] [stdout] | ^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: function `drop_every_nth` is never used
[INFO] [stdout] --> src/lists/mod.rs:160:4
[INFO] [stdout] |
[INFO] [stdout] 160 | fn drop_every_nth(list: &[A], each: usize) -> Vec<&A> {
[INFO] [stdout] | ^^^^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: function `split_n` is never used
[INFO] [stdout] --> src/lists/mod.rs:173:4
[INFO] [stdout] |
[INFO] [stdout] 173 | fn split_n(list: &[A], at: usize) -> (&[A], &[A]) {
[INFO] [stdout] | ^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: function `slice` is never used
[INFO] [stdout] --> src/lists/mod.rs:181:4
[INFO] [stdout] |
[INFO] [stdout] 181 | fn slice(list: &[A], from: usize, to: usize) -> Option<&[A]> {
[INFO] [stdout] | ^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: function `rotate` is never used
[INFO] [stdout] --> src/lists/mod.rs:189:4
[INFO] [stdout] |
[INFO] [stdout] 189 | fn rotate(list: &[A], n: isize) -> Vec {
[INFO] [stdout] | ^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: function `remove_at` is never used
[INFO] [stdout] --> src/lists/mod.rs:200:4
[INFO] [stdout] |
[INFO] [stdout] 200 | fn remove_at(list: &[A], n: usize) -> Option<(A, Vec)> {
[INFO] [stdout] | ^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: function `insert_at` is never used
[INFO] [stdout] --> src/lists/mod.rs:210:4
[INFO] [stdout] |
[INFO] [stdout] 210 | fn insert_at(list: &[A], a: A, at: usize) -> Vec {
[INFO] [stdout] | ^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: function `range` is never used
[INFO] [stdout] --> src/lists/mod.rs:216:4
[INFO] [stdout] |
[INFO] [stdout] 216 | fn range(from: u32, to: u32) -> Vec {
[INFO] [stdout] | ^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: function `random_select` is never used
[INFO] [stdout] --> src/lists/mod.rs:220:4
[INFO] [stdout] |
[INFO] [stdout] 220 | fn random_select<'a, A, R>(list: &'a [A], n: usize, rng: &mut R) -> Vec<&'a A>
[INFO] [stdout] | ^^^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: function `lottery_draw` is never used
[INFO] [stdout] --> src/lists/mod.rs:227:4
[INFO] [stdout] |
[INFO] [stdout] 227 | fn lottery_draw(upper_bound: u32, n: u32, rng: &mut R) -> Vec
[INFO] [stdout] | ^^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: function `random_permutation` is never used
[INFO] [stdout] --> src/lists/mod.rs:238:4
[INFO] [stdout] |
[INFO] [stdout] 238 | fn random_permutation<'a, A, R>(list: &'a [A], rng: &mut R) -> Vec<&'a A>
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: function `combinations` is never used
[INFO] [stdout] --> src/lists/mod.rs:247:4
[INFO] [stdout] |
[INFO] [stdout] 247 | fn combinations(list: &[A], n: usize) -> Vec> {
[INFO] [stdout] | ^^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: function `group` is never used
[INFO] [stdout] --> src/lists/mod.rs:251:4
[INFO] [stdout] |
[INFO] [stdout] 251 | fn group(sizes: &[u8], list: &[A]) -> Option>>>
[INFO] [stdout] | ^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: function `sort_by_length` is never used
[INFO] [stdout] --> src/lists/mod.rs:298:4
[INFO] [stdout] |
[INFO] [stdout] 298 | fn sort_by_length(list: &[Vec]) -> Vec>
[INFO] [stdout] | ^^^^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing
[INFO] [stdout] --> src/lists/mod.rs:117:24
[INFO] [stdout] |
[INFO] [stdout] 117 | fn encode(list: &[A]) -> Vec> {
[INFO] [stdout] | ^^^^ ------------- the lifetime gets resolved as `'_`
[INFO] [stdout] | |
[INFO] [stdout] | this lifetime flows to the output
[INFO] [stdout] |
[INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default
[INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths
[INFO] [stdout] |
[INFO] [stdout] 117 | fn encode(list: &[A]) -> Vec> {
[INFO] [stdout] | +++
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing
[INFO] [stdout] --> src/lists/mod.rs:133:40
[INFO] [stdout] |
[INFO] [stdout] 133 | fn encode_no_intermediary(list: &[A]) -> Vec> {
[INFO] [stdout] | ^^^^ ------------- the lifetime gets resolved as `'_`
[INFO] [stdout] | |
[INFO] [stdout] | this lifetime flows to the output
[INFO] [stdout] |
[INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths
[INFO] [stdout] |
[INFO] [stdout] 133 | fn encode_no_intermediary(list: &[A]) -> Vec> {
[INFO] [stdout] | +++
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 8.59s
[INFO] running `Command { std: "docker" "inspect" "504ffd65b11ec1ea37684d2c678405bd096d763924242c0f9549fd5177957506", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "504ffd65b11ec1ea37684d2c678405bd096d763924242c0f9549fd5177957506", kill_on_drop: false }`
[INFO] [stdout] 504ffd65b11ec1ea37684d2c678405bd096d763924242c0f9549fd5177957506
[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" "-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] 341fd1599aae869d8b227b54a6e03992577773ed70252008c8e14187a12bf262
[INFO] running `Command { std: "docker" "start" "-a" "341fd1599aae869d8b227b54a6e03992577773ed70252008c8e14187a12bf262", kill_on_drop: false }`
[INFO] [stderr] Compiling remove_dir_all v0.5.3
[INFO] [stderr] Compiling wait-timeout v0.2.0
[INFO] [stderr] Compiling bit-vec v0.6.3
[INFO] [stderr] Compiling fnv v1.0.7
[INFO] [stderr] Compiling rand_xorshift v0.3.0
[INFO] [stderr] Compiling quick-error v2.0.1
[INFO] [stderr] Compiling byteorder v1.4.3
[INFO] [stderr] Compiling regex-syntax v0.6.25
[INFO] [stderr] Compiling tempfile v3.2.0
[INFO] [stderr] Compiling bitflags v1.3.2
[INFO] [stderr] Compiling bit-set v0.5.2
[INFO] [stderr] Compiling rusty-fork v0.3.0
[INFO] [stderr] Compiling proptest v1.0.0
[INFO] [stderr] Compiling problems_99 v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `std::collections::BTreeMap`
[INFO] [stdout] --> src/lists/mod.rs:840:13
[INFO] [stdout] |
[INFO] [stdout] 840 | use std::collections::BTreeMap;
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] |
[INFO] [stdout] = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused import: `std::iter::FromIterator`
[INFO] [stdout] --> src/lists/mod.rs:841:13
[INFO] [stdout] |
[INFO] [stdout] 841 | use std::iter::FromIterator;
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: function `length` is never used
[INFO] [stdout] --> src/lists/mod.rs:29:4
[INFO] [stdout] |
[INFO] [stdout] 29 | fn length(l: &[A]) -> usize {
[INFO] [stdout] | ^^^^^^
[INFO] [stdout] |
[INFO] [stdout] = note: `#[warn(dead_code)]` on by default
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: associated items `can_increment` and `increment` are never used
[INFO] [stdout] --> src/lists/mod.rs:101:8
[INFO] [stdout] |
[INFO] [stdout] 89 | / impl<'a, A> Occurrence<'a, A>
[INFO] [stdout] 90 | | where
[INFO] [stdout] 91 | | A: Eq,
[INFO] [stdout] | |__________- associated items in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 101 | fn can_increment(self: &Occurrence<'a, A>, elem: &'a A) -> bool {
[INFO] [stdout] | ^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 108 | fn increment(occurrence: &'a Occurrence, elem: &'a A) -> Option> {
[INFO] [stdout] | ^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing
[INFO] [stdout] --> src/lists/mod.rs:117:24
[INFO] [stdout] |
[INFO] [stdout] 117 | fn encode(list: &[A]) -> Vec> {
[INFO] [stdout] | ^^^^ ------------- the lifetime gets resolved as `'_`
[INFO] [stdout] | |
[INFO] [stdout] | this lifetime flows to the output
[INFO] [stdout] |
[INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default
[INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths
[INFO] [stdout] |
[INFO] [stdout] 117 | fn encode(list: &[A]) -> Vec> {
[INFO] [stdout] | +++
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing
[INFO] [stdout] --> src/lists/mod.rs:133:40
[INFO] [stdout] |
[INFO] [stdout] 133 | fn encode_no_intermediary(list: &[A]) -> Vec> {
[INFO] [stdout] | ^^^^ ------------- the lifetime gets resolved as `'_`
[INFO] [stdout] | |
[INFO] [stdout] | this lifetime flows to the output
[INFO] [stdout] |
[INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths
[INFO] [stdout] |
[INFO] [stdout] 133 | fn encode_no_intermediary(list: &[A]) -> Vec> {
[INFO] [stdout] | +++
[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/rustcwhip2g/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/{libfactorial-56c082bd5673fd4f.rlib,libitertools-06a88b86a026be87.rlib,libeither-e8a0ef7222037a64.rlib,libnum-df206cf13235763a.rlib,libnum_iter-32f90c85ad094b52.rlib,libnum_rational-e41c5ee6b88f5128.rlib,libnum_complex-e5003cc84c04bbc1.rlib,libnum_bigint-0993e661a3d6a9c1.rlib,libnum_integer-7bd55dc08ba68760.rlib,libnum_traits-e04a0b1505efd012.rlib,libproptest-d502cd1df164c361.rlib,libregex_syntax-ae12054508fb30be.rlib,librand_xorshift-8a9bed3a0e9b0323.rlib,libbyteorder-7f9d435aa635bc2d.rlib,librusty_fork-892c446fbd3f18d1.rlib,libwait_timeout-9e615d622570a35d.rlib,libtempfile-c00169d969d5104f.rlib,librand-9ec9ca35c7f183fc.rlib,librand_chacha-346acc55abec3562.rlib,libppv_lite86-7955ccdf208dacd3.rlib,librand_core-bb156d9f978bf428.rlib,libgetrandom-73ba8996133e6a05.rlib,liblibc-4e7b43e34f8e698b.rlib,libremove_dir_all-4e221c62d36b2749.rlib,libcfg_if-66d55f6b302e88c8.rlib,libfnv-81596130b397d5c3.rlib,libquick_error-022321fe562bcedb.rlib,libquick_error-bd2a7215cf93a039.rlib,liblazy_static-4b136fc9bfbd2c4b.rlib,libbit_set-9ffa84e4d6e686ff.rlib,libbit_vec-0bd5896c85a13c73.rlib,libbitflags-e274cd04b58a060d.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/rustcwhip2g/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/problems_99-18c4a81fff1f95b3" "-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-73ba8996133e6a05.rlib(getrandom-73ba8996133e6a05.getrandom.bdd4860793e82018-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_readonly17he0aa71d2dcfa0707E+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 `problems_99` (bin "problems_99" test) due to 1 previous error; 6 warnings emitted
[INFO] running `Command { std: "docker" "inspect" "341fd1599aae869d8b227b54a6e03992577773ed70252008c8e14187a12bf262", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "341fd1599aae869d8b227b54a6e03992577773ed70252008c8e14187a12bf262", kill_on_drop: false }`
[INFO] [stdout] 341fd1599aae869d8b227b54a6e03992577773ed70252008c8e14187a12bf262