[INFO] cloning repository https://github.com/Ryneqq/symbolic_approximation [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Ryneqq/symbolic_approximation" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FRyneqq%2Fsymbolic_approximation", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FRyneqq%2Fsymbolic_approximation'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 06cd606dc5c5f05deffa88d43d4ede7e2e3948e4 [INFO] testing Ryneqq/symbolic_approximation 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%2FRyneqq%2Fsymbolic_approximation" "/workspace/builds/worker-2-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/Ryneqq/symbolic_approximation [INFO] finished tweaking git repo https://github.com/Ryneqq/symbolic_approximation [INFO] tweaked toml for git repo https://github.com/Ryneqq/symbolic_approximation written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/Ryneqq/symbolic_approximation 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/Ryneqq/symbolic_approximation 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] [stderr] warning: virtual workspace defaulting to `resolver = "1"` despite one or more workspace members being on edition 2021 which implies `resolver = "2"` [INFO] [stderr] note: to keep the current resolver, specify `workspace.resolver = "1"` in the workspace root's manifest [INFO] [stderr] note: to use the edition 2021 resolver, specify `workspace.resolver = "2"` in the workspace root's manifest [INFO] [stderr] note: for more details see https://doc.rust-lang.org/cargo/reference/resolver.html#resolver-versions [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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] f89d701a75ae092adbecbd27d47284c0680a3cbe914b832d4f34ffcb8771884f [INFO] running `Command { std: "docker" "start" "-a" "f89d701a75ae092adbecbd27d47284c0680a3cbe914b832d4f34ffcb8771884f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f89d701a75ae092adbecbd27d47284c0680a3cbe914b832d4f34ffcb8771884f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f89d701a75ae092adbecbd27d47284c0680a3cbe914b832d4f34ffcb8771884f", kill_on_drop: false }` [INFO] [stdout] f89d701a75ae092adbecbd27d47284c0680a3cbe914b832d4f34ffcb8771884f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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] 45a6aec82823e4d4ed6813f3a487a0c2a154cf9c09b6c6ccc60243373539ed71 [INFO] running `Command { std: "docker" "start" "-a" "45a6aec82823e4d4ed6813f3a487a0c2a154cf9c09b6c6ccc60243373539ed71", kill_on_drop: false }` [INFO] [stderr] warning: virtual workspace defaulting to `resolver = "1"` despite one or more workspace members being on edition 2021 which implies `resolver = "2"` [INFO] [stderr] note: to keep the current resolver, specify `workspace.resolver = "1"` in the workspace root's manifest [INFO] [stderr] note: to use the edition 2021 resolver, specify `workspace.resolver = "2"` in the workspace root's manifest [INFO] [stderr] note: for more details see https://doc.rust-lang.org/cargo/reference/resolver.html#resolver-versions [INFO] [stderr] Compiling proc-macro2 v1.0.37 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling syn v1.0.91 [INFO] [stderr] Compiling libc v0.2.123 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling memchr v2.4.1 [INFO] [stderr] Compiling serde v1.0.136 [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Compiling getrandom v0.1.16 [INFO] [stderr] Compiling cc v1.0.73 [INFO] [stderr] Compiling failure_derive v0.1.8 [INFO] [stderr] Compiling gimli v0.26.1 [INFO] [stderr] Compiling adler v1.0.2 [INFO] [stderr] Compiling rustc-demangle v0.1.21 [INFO] [stderr] Compiling ppv-lite86 v0.2.16 [INFO] [stderr] Compiling either v1.6.1 [INFO] [stderr] Compiling svg v0.7.2 [INFO] [stderr] Compiling itertools v0.10.3 [INFO] [stderr] Compiling miniz_oxide v0.4.4 [INFO] [stderr] Compiling object v0.27.1 [INFO] [stderr] Compiling quote v1.0.18 [INFO] [stderr] Compiling backtrace v0.3.64 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling prime_store v0.1.0 (/opt/rustwide/workdir/crates/prime_store) [INFO] [stdout] warning: unused import: `itertools::Itertools` [INFO] [stdout] --> crates/prime_store/src/primes.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use itertools::Itertools; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::ops::Range` [INFO] [stdout] --> crates/prime_store/src/primes.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::ops::Range; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `self::primes::*` [INFO] [stdout] --> crates/prime_store/src/lib.rs:3:9 [INFO] [stdout] | [INFO] [stdout] 3 | pub use self::primes::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `PrimeStore` is never constructed [INFO] [stdout] --> crates/prime_store/src/primes.rs:70:8 [INFO] [stdout] | [INFO] [stdout] 70 | struct PrimeStore { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `PrimeStore` 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] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> crates/prime_store/src/primes.rs:91:12 [INFO] [stdout] | [INFO] [stdout] 90 | impl PrimeStore { [INFO] [stdout] | --------------- associated items in this implementation [INFO] [stdout] 91 | pub fn new(n: usize) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 116 | pub fn is_prime(&self, number: f64) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 125 | fn into_number(idx: usize) -> usize { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 129 | fn prime(idx: usize) -> f64 { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 133 | fn idx(prime: f64) -> usize { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 137 | fn iter_primes<'a>(&'a self) -> impl DoubleEndedIterator + 'a { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 168 | fn next_prime(&self, x: f64) -> f64 { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 191 | fn previous_prime(&self, x: f64) -> f64 { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling addr2line v0.17.0 [INFO] [stderr] Compiling toml v0.5.9 [INFO] [stderr] Compiling synstructure v0.12.6 [INFO] [stderr] Compiling thiserror-impl v1.0.30 [INFO] [stderr] Compiling variant_count v1.1.0 [INFO] [stderr] Compiling failure v0.1.8 [INFO] [stderr] Compiling plotlib v0.5.1 [INFO] [stderr] Compiling thiserror v1.0.30 [INFO] [stderr] Compiling proc-macro-crate v1.1.3 [INFO] [stderr] Compiling num_enum_derive v0.5.7 [INFO] [stderr] Compiling num_enum v0.5.7 [INFO] [stderr] Compiling symbols v0.1.0 (/opt/rustwide/workdir/crates/symbols) [INFO] [stdout] warning: unused variable: `equation` [INFO] [stdout] --> crates/symbols/src/fun.rs:61:20 [INFO] [stdout] | [INFO] [stdout] 61 | let (vars, equation) = ( [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_equation` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `vars` [INFO] [stdout] --> crates/symbols/src/fun.rs:65:13 [INFO] [stdout] | [INFO] [stdout] 65 | let vars = vars[1..vars.len()].split(",").map(|var| var.trim()); [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_vars` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `extract_fun` [INFO] [stdout] --> crates/symbols/src/fun.rs:67:13 [INFO] [stdout] | [INFO] [stdout] 67 | let extract_fun = |operator: &str| {}; // this is not the best way i have to match function to the sign [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_extract_fun` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `operator` [INFO] [stdout] --> crates/symbols/src/fun.rs:67:28 [INFO] [stdout] | [INFO] [stdout] 67 | let extract_fun = |operator: &str| {}; // this is not the best way i have to match function to the sign [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_operator` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Sequence` is never constructed [INFO] [stdout] --> crates/symbols/src/sequence.rs:3:8 [INFO] [stdout] | [INFO] [stdout] 3 | struct Sequence { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> crates/symbols/src/sequence.rs:13:12 [INFO] [stdout] | [INFO] [stdout] 10 | / impl Sequence [INFO] [stdout] 11 | | where F: FnMut() -> f64 [INFO] [stdout] | |___________________________- associated function in this implementation [INFO] [stdout] 12 | { [INFO] [stdout] 13 | pub fn new(len: usize, f: F) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `sequence` is never used [INFO] [stdout] --> crates/symbols/src/sequence.rs:43:8 [INFO] [stdout] | [INFO] [stdout] 43 | pub fn sequence(len: usize) -> impl Iterator { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `random` is never used [INFO] [stdout] --> crates/symbols/src/sequence.rs:47:4 [INFO] [stdout] | [INFO] [stdout] 47 | fn random(mut len: usize) -> impl FnMut() -> f64 { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling bin v0.1.0 (/opt/rustwide/workdir/crates/bin) [INFO] [stdout] warning: field `code` is never read [INFO] [stdout] --> crates/bin/src/main.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 3 | pub struct Phenotype { [INFO] [stdout] | --------- field in this struct [INFO] [stdout] 4 | code: Value [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 14.95s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: svg v0.7.2 [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" "45a6aec82823e4d4ed6813f3a487a0c2a154cf9c09b6c6ccc60243373539ed71", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "45a6aec82823e4d4ed6813f3a487a0c2a154cf9c09b6c6ccc60243373539ed71", kill_on_drop: false }` [INFO] [stdout] 45a6aec82823e4d4ed6813f3a487a0c2a154cf9c09b6c6ccc60243373539ed71 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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] 9c98ce5cd1bdfbdf260e73dfdbd7745473d8049054ceea53fded7c7be1f23d37 [INFO] running `Command { std: "docker" "start" "-a" "9c98ce5cd1bdfbdf260e73dfdbd7745473d8049054ceea53fded7c7be1f23d37", kill_on_drop: false }` [INFO] [stderr] warning: virtual workspace defaulting to `resolver = "1"` despite one or more workspace members being on edition 2021 which implies `resolver = "2"` [INFO] [stderr] note: to keep the current resolver, specify `workspace.resolver = "1"` in the workspace root's manifest [INFO] [stderr] note: to use the edition 2021 resolver, specify `workspace.resolver = "2"` in the workspace root's manifest [INFO] [stderr] note: for more details see https://doc.rust-lang.org/cargo/reference/resolver.html#resolver-versions [INFO] [stdout] warning: unused import: `itertools::Itertools` [INFO] [stdout] --> crates/prime_store/src/primes.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use itertools::Itertools; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::ops::Range` [INFO] [stdout] --> crates/prime_store/src/primes.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::ops::Range; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `self::primes::*` [INFO] [stdout] --> crates/prime_store/src/lib.rs:3:9 [INFO] [stdout] | [INFO] [stdout] 3 | pub use self::primes::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `PrimeStore` is never constructed [INFO] [stdout] --> crates/prime_store/src/primes.rs:70:8 [INFO] [stdout] | [INFO] [stdout] 70 | struct PrimeStore { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `PrimeStore` 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] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> crates/prime_store/src/primes.rs:91:12 [INFO] [stdout] | [INFO] [stdout] 90 | impl PrimeStore { [INFO] [stdout] | --------------- associated items in this implementation [INFO] [stdout] 91 | pub fn new(n: usize) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 116 | pub fn is_prime(&self, number: f64) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 125 | fn into_number(idx: usize) -> usize { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 129 | fn prime(idx: usize) -> f64 { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 133 | fn idx(prime: f64) -> usize { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 137 | fn iter_primes<'a>(&'a self) -> impl DoubleEndedIterator + 'a { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 168 | fn next_prime(&self, x: f64) -> f64 { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 191 | fn previous_prime(&self, x: f64) -> f64 { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling prime_store v0.1.0 (/opt/rustwide/workdir/crates/prime_store) [INFO] [stdout] warning: unused variable: `equation` [INFO] [stdout] --> crates/symbols/src/fun.rs:61:20 [INFO] [stdout] | [INFO] [stdout] 61 | let (vars, equation) = ( [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_equation` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `vars` [INFO] [stdout] --> crates/symbols/src/fun.rs:65:13 [INFO] [stdout] | [INFO] [stdout] 65 | let vars = vars[1..vars.len()].split(",").map(|var| var.trim()); [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_vars` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `extract_fun` [INFO] [stdout] --> crates/symbols/src/fun.rs:67:13 [INFO] [stdout] | [INFO] [stdout] 67 | let extract_fun = |operator: &str| {}; // this is not the best way i have to match function to the sign [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_extract_fun` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `operator` [INFO] [stdout] --> crates/symbols/src/fun.rs:67:28 [INFO] [stdout] | [INFO] [stdout] 67 | let extract_fun = |operator: &str| {}; // this is not the best way i have to match function to the sign [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_operator` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Sequence` is never constructed [INFO] [stdout] --> crates/symbols/src/sequence.rs:3:8 [INFO] [stdout] | [INFO] [stdout] 3 | struct Sequence { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> crates/symbols/src/sequence.rs:13:12 [INFO] [stdout] | [INFO] [stdout] 10 | / impl Sequence [INFO] [stdout] 11 | | where F: FnMut() -> f64 [INFO] [stdout] | |___________________________- associated function in this implementation [INFO] [stdout] 12 | { [INFO] [stdout] 13 | pub fn new(len: usize, f: F) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `sequence` is never used [INFO] [stdout] --> crates/symbols/src/sequence.rs:43:8 [INFO] [stdout] | [INFO] [stdout] 43 | pub fn sequence(len: usize) -> impl Iterator { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `random` is never used [INFO] [stdout] --> crates/symbols/src/sequence.rs:47:4 [INFO] [stdout] | [INFO] [stdout] 47 | fn random(mut len: usize) -> impl FnMut() -> f64 { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling symbols v0.1.0 (/opt/rustwide/workdir/crates/symbols) [INFO] [stderr] Compiling bin v0.1.0 (/opt/rustwide/workdir/crates/bin) [INFO] [stdout] warning: unused import: `itertools::Itertools` [INFO] [stdout] --> crates/prime_store/src/primes.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use itertools::Itertools; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::ops::Range` [INFO] [stdout] --> crates/prime_store/src/primes.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::ops::Range; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `self::primes::*` [INFO] [stdout] --> crates/prime_store/src/lib.rs:3:9 [INFO] [stdout] | [INFO] [stdout] 3 | pub use self::primes::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `code` is never read [INFO] [stdout] --> crates/bin/src/main.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 3 | pub struct Phenotype { [INFO] [stdout] | --------- field in this struct [INFO] [stdout] 4 | code: Value [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `equation` [INFO] [stdout] --> crates/symbols/src/fun.rs:61:20 [INFO] [stdout] | [INFO] [stdout] 61 | let (vars, equation) = ( [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_equation` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `vars` [INFO] [stdout] --> crates/symbols/src/fun.rs:65:13 [INFO] [stdout] | [INFO] [stdout] 65 | let vars = vars[1..vars.len()].split(",").map(|var| var.trim()); [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_vars` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `extract_fun` [INFO] [stdout] --> crates/symbols/src/fun.rs:67:13 [INFO] [stdout] | [INFO] [stdout] 67 | let extract_fun = |operator: &str| {}; // this is not the best way i have to match function to the sign [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_extract_fun` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `operator` [INFO] [stdout] --> crates/symbols/src/fun.rs:67:28 [INFO] [stdout] | [INFO] [stdout] 67 | let extract_fun = |operator: &str| {}; // this is not the best way i have to match function to the sign [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_operator` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `PrimeStore` is never constructed [INFO] [stdout] --> crates/prime_store/src/primes.rs:70:8 [INFO] [stdout] | [INFO] [stdout] 70 | struct PrimeStore { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `PrimeStore` 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] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> crates/prime_store/src/primes.rs:91:12 [INFO] [stdout] | [INFO] [stdout] 90 | impl PrimeStore { [INFO] [stdout] | --------------- associated items in this implementation [INFO] [stdout] 91 | pub fn new(n: usize) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 116 | pub fn is_prime(&self, number: f64) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 125 | fn into_number(idx: usize) -> usize { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 129 | fn prime(idx: usize) -> f64 { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 133 | fn idx(prime: f64) -> usize { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 137 | fn iter_primes<'a>(&'a self) -> impl DoubleEndedIterator + 'a { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 168 | fn next_prime(&self, x: f64) -> f64 { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 191 | fn previous_prime(&self, x: f64) -> f64 { [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/rustcLZVK0N/symbols.o" "<2 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-d9edde632527ae4a.rlib,librand_chacha-6367936c3a612475.rlib,libppv_lite86-a9f3c9ee76597f1e.rlib,librand_core-0c7337f6566c8846.rlib,libgetrandom-9f227e0d4f57603f.rlib,liblibc-c48b4d3ef0867d5c.rlib,libcfg_if-66d55f6b302e88c8.rlib,libitertools-bfdd1dac9d4278f9.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/rustcLZVK0N/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/symbols-4add6341c1f3b5ad" "-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-9f227e0d4f57603f.rlib(getrandom-9f227e0d4f57603f.getrandom.fa47cee055efe8c5-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.1.16/src/util_libc.rs:113:(.text._ZN9getrandom9util_libc13open_readonly17hcfcd1a82d9a597ddE+0x79): 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 `symbols` (lib test) due to 1 previous error; 4 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] running `Command { std: "docker" "inspect" "9c98ce5cd1bdfbdf260e73dfdbd7745473d8049054ceea53fded7c7be1f23d37", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9c98ce5cd1bdfbdf260e73dfdbd7745473d8049054ceea53fded7c7be1f23d37", kill_on_drop: false }` [INFO] [stdout] 9c98ce5cd1bdfbdf260e73dfdbd7745473d8049054ceea53fded7c7be1f23d37