[INFO] fetching crate AitSar 0.1.1... [INFO] testing AitSar-0.1.1 against try#8de4c7234dd9b97c9d76b58671343fdbbc9a433e+target=x86_64-unknown-linux-musl for musl_upgrade_1_2_5_with_libc_patch_0 [INFO] extracting crate AitSar 0.1.1 into /workspace/builds/worker-4-tc1/source [INFO] started tweaking crates.io crate AitSar 0.1.1 [INFO] finished tweaking crates.io crate AitSar 0.1.1 [INFO] tweaked toml for crates.io crate AitSar 0.1.1 written to /workspace/builds/worker-4-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate AitSar 0.1.1 on toolchain 8de4c7234dd9b97c9d76b58671343fdbbc9a433e [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 112 packages to latest compatible versions [INFO] [stderr] Adding shaderc v0.6.3 (available: v0.9.1) [INFO] [stderr] Adding winit v0.22.2 (available: v0.30.11) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded shaderc v0.6.3 [INFO] [stderr] Downloaded ndk v0.1.0 [INFO] [stderr] Downloaded parking_lot_core v0.7.3 [INFO] [stderr] Downloaded ndk-glue v0.1.0 [INFO] [stderr] Downloaded calloop v0.4.4 [INFO] [stderr] Downloaded ndk-sys v0.1.0 [INFO] [stderr] Downloaded winit v0.22.2 [INFO] [stderr] Downloaded shaderc-sys v0.6.3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 657e52f459a3fc8e91805cca5a9ba05997268e6b03ebbf3e2c77d23c82952d2b [INFO] running `Command { std: "docker" "start" "-a" "657e52f459a3fc8e91805cca5a9ba05997268e6b03ebbf3e2c77d23c82952d2b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "657e52f459a3fc8e91805cca5a9ba05997268e6b03ebbf3e2c77d23c82952d2b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "657e52f459a3fc8e91805cca5a9ba05997268e6b03ebbf3e2c77d23c82952d2b", kill_on_drop: false }` [INFO] [stdout] 657e52f459a3fc8e91805cca5a9ba05997268e6b03ebbf3e2c77d23c82952d2b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-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" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "build" "--frozen" "--message-format=json" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] 498339ae088a93f51b933a692e409fa0d7a6e19d2510b0704d7893beb49c9173 [INFO] running `Command { std: "docker" "start" "-a" "498339ae088a93f51b933a692e409fa0d7a6e19d2510b0704d7893beb49c9173", kill_on_drop: false }` [INFO] [stderr] Compiling AitSar v0.1.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: unexpected `cfg` condition value: `workspace` [INFO] [stdout] --> src/lib.rs:11:7 [INFO] [stdout] | [INFO] [stdout] 11 | #[cfg(feature = "workspace")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `workspace` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `default` [INFO] [stdout] --> src/lib.rs:19:7 [INFO] [stdout] | [INFO] [stdout] 19 | #[cfg(feature = "default")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `default` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `ternary` [INFO] [stdout] --> src/lib.rs:24:11 [INFO] [stdout] | [INFO] [stdout] 24 | #[cfg(any(feature = "ternary", feature = "interpolation", feature="exponential", feature="fibonacci"))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `ternary` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `interpolation` [INFO] [stdout] --> src/lib.rs:24:32 [INFO] [stdout] | [INFO] [stdout] 24 | #[cfg(any(feature = "ternary", feature = "interpolation", feature="exponential", feature="fibonacci"))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `interpolation` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `exponential` [INFO] [stdout] --> src/lib.rs:24:59 [INFO] [stdout] | [INFO] [stdout] 24 | #[cfg(any(feature = "ternary", feature = "interpolation", feature="exponential", feature="fibonacci"))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `exponential` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `fibonacci` [INFO] [stdout] --> src/lib.rs:24:82 [INFO] [stdout] | [INFO] [stdout] 24 | #[cfg(any(feature = "ternary", feature = "interpolation", feature="exponential", feature="fibonacci"))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `fibonacci` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `hash` [INFO] [stdout] --> src/lib.rs:29:11 [INFO] [stdout] | [INFO] [stdout] 29 | #[cfg(any(feature = "hash"))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `hash` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/table/hash.rs:25:14 [INFO] [stdout] | [INFO] [stdout] 25 | for (i, item) in bucket.iter_mut().enumerate() { [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: function `ternary_search` is never used [INFO] [stdout] --> src/search/ternary.rs:1:4 [INFO] [stdout] | [INFO] [stdout] 1 | fn ternary_search(mut left: f64, mut right: f64, eps: f64, f: F) -> f64 [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `interpolation_search` is never used [INFO] [stdout] --> src/search/interpolation.rs:1:4 [INFO] [stdout] | [INFO] [stdout] 1 | fn interpolation_search(arr: &[i32], target: i32) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `exponential_search` is never used [INFO] [stdout] --> src/search/exponential.rs:1:4 [INFO] [stdout] | [INFO] [stdout] 1 | fn exponential_search(arr: &[i32], target: i32) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `fibonacci_search` is never used [INFO] [stdout] --> src/search/fibonacci.rs:1:4 [INFO] [stdout] | [INFO] [stdout] 1 | fn fibonacci_search(arr: &[i32], target: i32) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `HashTable` is never constructed [INFO] [stdout] --> src/table/hash.rs:1:8 [INFO] [stdout] | [INFO] [stdout] 1 | struct HashTable { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `hash`, `set`, `get`, and `delete` are never used [INFO] [stdout] --> src/table/hash.rs:7:8 [INFO] [stdout] | [INFO] [stdout] 6 | impl HashTable { [INFO] [stdout] | -------------- associated items in this implementation [INFO] [stdout] 7 | fn new(size: usize) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 14 | fn hash(&self, key: &str) -> usize { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 22 | fn set(&mut self, key: String, value: i32) { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 34 | fn get(&self, key: &str) -> Option { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 45 | fn delete(&mut self, key: &str) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: crate `AitSar` should have a snake case name [INFO] [stdout] | [INFO] [stdout] = help: convert the identifier to snake case: `ait_sar` [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.30s [INFO] running `Command { std: "docker" "inspect" "498339ae088a93f51b933a692e409fa0d7a6e19d2510b0704d7893beb49c9173", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "498339ae088a93f51b933a692e409fa0d7a6e19d2510b0704d7893beb49c9173", kill_on_drop: false }` [INFO] [stdout] 498339ae088a93f51b933a692e409fa0d7a6e19d2510b0704d7893beb49c9173 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-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" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "test" "--frozen" "--no-run" "--message-format=json" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] d726948e8618403205a4fb31f4c89f96ccb6e32cee294982d7f0d7d61f2d6994 [INFO] running `Command { std: "docker" "start" "-a" "d726948e8618403205a4fb31f4c89f96ccb6e32cee294982d7f0d7d61f2d6994", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.174 [INFO] [stderr] Compiling cfg-if v0.1.10 [INFO] [stderr] Compiling proc-macro2 v0.4.30 [INFO] [stderr] Compiling autocfg v1.5.0 [INFO] [stderr] Compiling unicode-xid v0.1.0 [INFO] [stderr] Compiling xml-rs v0.8.26 [INFO] [stderr] Compiling cfg-if v1.0.1 [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Compiling nix v0.14.1 [INFO] [stderr] Compiling log v0.4.27 [INFO] [stderr] Compiling slab v0.4.10 [INFO] [stderr] Compiling void v1.0.2 [INFO] [stderr] Compiling byteorder v1.5.0 [INFO] [stderr] Compiling lazy_static v1.5.0 [INFO] [stderr] Compiling lazycell v1.3.0 [INFO] [stderr] Compiling downcast-rs v1.2.1 [INFO] [stderr] Compiling libloading v0.6.7 [INFO] [stderr] Compiling pkg-config v0.3.32 [INFO] [stderr] Compiling same-file v1.0.6 [INFO] [stderr] Compiling xdg v2.5.2 [INFO] [stderr] Compiling smallvec v1.15.1 [INFO] [stderr] Compiling scopeguard v1.2.0 [INFO] [stderr] Compiling cty v0.2.2 [INFO] [stderr] Compiling raw-window-handle v0.4.3 [INFO] [stderr] Compiling walkdir v2.5.0 [INFO] [stderr] Compiling lock_api v0.3.4 [INFO] [stderr] Compiling once_cell v1.21.3 [INFO] [stderr] Compiling dlib v0.4.2 [INFO] [stderr] Compiling stb_truetype v0.3.1 [INFO] [stderr] Compiling wayland-sys v0.23.6 [INFO] [stderr] Compiling instant v0.1.13 [INFO] [stderr] Compiling percent-encoding v2.3.1 [INFO] [stdout] warning: unexpected `cfg` condition value: `workspace` [INFO] [stdout] --> src/lib.rs:11:7 [INFO] [stdout] | [INFO] [stdout] 11 | #[cfg(feature = "workspace")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `workspace` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `default` [INFO] [stdout] --> src/lib.rs:19:7 [INFO] [stdout] | [INFO] [stdout] 19 | #[cfg(feature = "default")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `default` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `ternary` [INFO] [stdout] --> src/lib.rs:24:11 [INFO] [stdout] | [INFO] [stdout] 24 | #[cfg(any(feature = "ternary", feature = "interpolation", feature="exponential", feature="fibonacci"))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `ternary` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `interpolation` [INFO] [stdout] --> src/lib.rs:24:32 [INFO] [stdout] | [INFO] [stdout] 24 | #[cfg(any(feature = "ternary", feature = "interpolation", feature="exponential", feature="fibonacci"))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `interpolation` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `exponential` [INFO] [stdout] --> src/lib.rs:24:59 [INFO] [stdout] | [INFO] [stdout] 24 | #[cfg(any(feature = "ternary", feature = "interpolation", feature="exponential", feature="fibonacci"))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `exponential` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `fibonacci` [INFO] [stdout] --> src/lib.rs:24:82 [INFO] [stdout] | [INFO] [stdout] 24 | #[cfg(any(feature = "ternary", feature = "interpolation", feature="exponential", feature="fibonacci"))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `fibonacci` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `hash` [INFO] [stdout] --> src/lib.rs:29:11 [INFO] [stdout] | [INFO] [stdout] 29 | #[cfg(any(feature = "hash"))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `hash` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/table/hash.rs:25:14 [INFO] [stdout] | [INFO] [stdout] 25 | for (i, item) in bucket.iter_mut().enumerate() { [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: function `ternary_search` is never used [INFO] [stdout] --> src/search/ternary.rs:1:4 [INFO] [stdout] | [INFO] [stdout] 1 | fn ternary_search(mut left: f64, mut right: f64, eps: f64, f: F) -> f64 [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `interpolation_search` is never used [INFO] [stdout] --> src/search/interpolation.rs:1:4 [INFO] [stdout] | [INFO] [stdout] 1 | fn interpolation_search(arr: &[i32], target: i32) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `exponential_search` is never used [INFO] [stdout] --> src/search/exponential.rs:1:4 [INFO] [stdout] | [INFO] [stdout] 1 | fn exponential_search(arr: &[i32], target: i32) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `fibonacci_search` is never used [INFO] [stdout] --> src/search/fibonacci.rs:1:4 [INFO] [stdout] | [INFO] [stdout] 1 | fn fibonacci_search(arr: &[i32], target: i32) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `HashTable` is never constructed [INFO] [stdout] --> src/table/hash.rs:1:8 [INFO] [stdout] | [INFO] [stdout] 1 | struct HashTable { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `hash`, `set`, `get`, and `delete` are never used [INFO] [stdout] --> src/table/hash.rs:7:8 [INFO] [stdout] | [INFO] [stdout] 6 | impl HashTable { [INFO] [stdout] | -------------- associated items in this implementation [INFO] [stdout] 7 | fn new(size: usize) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 14 | fn hash(&self, key: &str) -> usize { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 22 | fn set(&mut self, key: String, value: i32) { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 34 | fn get(&self, key: &str) -> Option { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 45 | fn delete(&mut self, key: &str) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: crate `AitSar` should have a snake case name [INFO] [stdout] | [INFO] [stdout] = help: convert the identifier to snake case: `ait_sar` [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling x11-dl v2.21.0 [INFO] [stderr] Compiling quote v0.6.13 [INFO] [stderr] Compiling wayland-scanner v0.23.6 [INFO] [stderr] Compiling net2 v0.2.39 [INFO] [stderr] Compiling iovec v0.1.4 [INFO] [stderr] Compiling memmap v0.7.0 [INFO] [stderr] Compiling parking_lot_core v0.7.3 [INFO] [stderr] Compiling raw-window-handle v0.3.4 [INFO] [stderr] Compiling parking_lot v0.10.2 [INFO] [stderr] Compiling mio v0.6.23 [INFO] [stderr] Compiling ordered-float v1.1.1 [INFO] [stderr] Compiling approx v0.3.2 [INFO] [stderr] Compiling line_drawing v0.7.0 [INFO] [stderr] Compiling rusttype v0.8.3 [INFO] [stderr] Compiling rusttype v0.7.9 [INFO] [stderr] Compiling andrew v0.2.1 [INFO] [stderr] Compiling mio-extras v2.0.6 [INFO] [stderr] Compiling wayland-client v0.23.6 [INFO] [stderr] Compiling wayland-protocols v0.23.6 [INFO] [stderr] Compiling calloop v0.4.4 [INFO] [stderr] Compiling wayland-commons v0.23.6 [INFO] [stderr] Compiling smithay-client-toolkit v0.6.6 [INFO] [stderr] Compiling winit v0.22.2 [INFO] [stderr] Compiling AitSar v0.1.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/table/hash.rs:25:14 [INFO] [stdout] | [INFO] [stdout] 25 | for (i, item) in bucket.iter_mut().enumerate() { [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: function `ternary_search` is never used [INFO] [stdout] --> src/search/ternary.rs:1:4 [INFO] [stdout] | [INFO] [stdout] 1 | fn ternary_search(mut left: f64, mut right: f64, eps: f64, f: F) -> f64 [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `interpolation_search` is never used [INFO] [stdout] --> src/search/interpolation.rs:1:4 [INFO] [stdout] | [INFO] [stdout] 1 | fn interpolation_search(arr: &[i32], target: i32) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `exponential_search` is never used [INFO] [stdout] --> src/search/exponential.rs:1:4 [INFO] [stdout] | [INFO] [stdout] 1 | fn exponential_search(arr: &[i32], target: i32) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `fibonacci_search` is never used [INFO] [stdout] --> src/search/fibonacci.rs:1:4 [INFO] [stdout] | [INFO] [stdout] 1 | fn fibonacci_search(arr: &[i32], target: i32) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `HashTable` is never constructed [INFO] [stdout] --> src/table/hash.rs:1:8 [INFO] [stdout] | [INFO] [stdout] 1 | struct HashTable { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `hash`, `set`, `get`, and `delete` are never used [INFO] [stdout] --> src/table/hash.rs:7:8 [INFO] [stdout] | [INFO] [stdout] 6 | impl HashTable { [INFO] [stdout] | -------------- associated items in this implementation [INFO] [stdout] 7 | fn new(size: usize) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 14 | fn hash(&self, key: &str) -> usize { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 22 | fn set(&mut self, key: String, value: i32) { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 34 | fn get(&self, key: &str) -> Option { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 45 | fn delete(&mut self, key: &str) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 33.89s [INFO] running `Command { std: "docker" "inspect" "d726948e8618403205a4fb31f4c89f96ccb6e32cee294982d7f0d7d61f2d6994", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d726948e8618403205a4fb31f4c89f96ccb6e32cee294982d7f0d7d61f2d6994", kill_on_drop: false }` [INFO] [stdout] d726948e8618403205a4fb31f4c89f96ccb6e32cee294982d7f0d7d61f2d6994 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-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" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "test" "--frozen" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] e47c087b4e2c4ebf5983561222418b083776cefbf3037bb3605f53a12c6e5a40 [INFO] running `Command { std: "docker" "start" "-a" "e47c087b4e2c4ebf5983561222418b083776cefbf3037bb3605f53a12c6e5a40", kill_on_drop: false }` [INFO] [stderr] warning: unexpected `cfg` condition value: `workspace` [INFO] [stderr] --> src/lib.rs:11:7 [INFO] [stderr] | [INFO] [stderr] 11 | #[cfg(feature = "workspace")] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stderr] | [INFO] [stderr] = note: no expected values for `feature` [INFO] [stderr] = help: consider adding `workspace` as a feature in `Cargo.toml` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition value: `default` [INFO] [stderr] --> src/lib.rs:19:7 [INFO] [stderr] | [INFO] [stderr] 19 | #[cfg(feature = "default")] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stderr] | [INFO] [stderr] = note: no expected values for `feature` [INFO] [stderr] = help: consider adding `default` as a feature in `Cargo.toml` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition value: `ternary` [INFO] [stderr] --> src/lib.rs:24:11 [INFO] [stderr] | [INFO] [stderr] 24 | #[cfg(any(feature = "ternary", feature = "interpolation", feature="exponential", feature="fibonacci"))] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stderr] | [INFO] [stderr] = note: no expected values for `feature` [INFO] [stderr] = help: consider adding `ternary` as a feature in `Cargo.toml` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition value: `interpolation` [INFO] [stderr] --> src/lib.rs:24:32 [INFO] [stderr] | [INFO] [stderr] 24 | #[cfg(any(feature = "ternary", feature = "interpolation", feature="exponential", feature="fibonacci"))] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stderr] | [INFO] [stderr] = note: no expected values for `feature` [INFO] [stderr] = help: consider adding `interpolation` as a feature in `Cargo.toml` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition value: `exponential` [INFO] [stderr] --> src/lib.rs:24:59 [INFO] [stderr] | [INFO] [stderr] 24 | #[cfg(any(feature = "ternary", feature = "interpolation", feature="exponential", feature="fibonacci"))] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stderr] | [INFO] [stderr] = note: no expected values for `feature` [INFO] [stderr] = help: consider adding `exponential` as a feature in `Cargo.toml` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition value: `fibonacci` [INFO] [stderr] --> src/lib.rs:24:82 [INFO] [stderr] | [INFO] [stderr] 24 | #[cfg(any(feature = "ternary", feature = "interpolation", feature="exponential", feature="fibonacci"))] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stderr] | [INFO] [stderr] = note: no expected values for `feature` [INFO] [stderr] = help: consider adding `fibonacci` as a feature in `Cargo.toml` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition value: `hash` [INFO] [stderr] --> src/lib.rs:29:11 [INFO] [stderr] | [INFO] [stderr] 29 | #[cfg(any(feature = "hash"))] [INFO] [stderr] | ^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stderr] | [INFO] [stderr] = note: no expected values for `feature` [INFO] [stderr] = help: consider adding `hash` as a feature in `Cargo.toml` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] [INFO] [stderr] warning: unused variable: `i` [INFO] [stderr] --> src/table/hash.rs:25:14 [INFO] [stderr] | [INFO] [stderr] 25 | for (i, item) in bucket.iter_mut().enumerate() { [INFO] [stderr] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` on by default [INFO] [stderr] [INFO] [stderr] warning: function `ternary_search` is never used [INFO] [stderr] --> src/search/ternary.rs:1:4 [INFO] [stderr] | [INFO] [stderr] 1 | fn ternary_search(mut left: f64, mut right: f64, eps: f64, f: F) -> f64 [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: function `interpolation_search` is never used [INFO] [stderr] --> src/search/interpolation.rs:1:4 [INFO] [stderr] | [INFO] [stderr] 1 | fn interpolation_search(arr: &[i32], target: i32) -> Option { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `exponential_search` is never used [INFO] [stderr] --> src/search/exponential.rs:1:4 [INFO] [stderr] | [INFO] [stderr] 1 | fn exponential_search(arr: &[i32], target: i32) -> Option { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `fibonacci_search` is never used [INFO] [stderr] --> src/search/fibonacci.rs:1:4 [INFO] [stderr] | [INFO] [stderr] 1 | fn fibonacci_search(arr: &[i32], target: i32) -> Option { [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: struct `HashTable` is never constructed [INFO] [stderr] --> src/table/hash.rs:1:8 [INFO] [stderr] | [INFO] [stderr] 1 | struct HashTable { [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated items `new`, `hash`, `set`, `get`, and `delete` are never used [INFO] [stderr] --> src/table/hash.rs:7:8 [INFO] [stderr] | [INFO] [stderr] 6 | impl HashTable { [INFO] [stderr] | -------------- associated items in this implementation [INFO] [stderr] 7 | fn new(size: usize) -> Self { [INFO] [stderr] | ^^^ [INFO] [stderr] ... [INFO] [stderr] 14 | fn hash(&self, key: &str) -> usize { [INFO] [stderr] | ^^^^ [INFO] [stderr] ... [INFO] [stderr] 22 | fn set(&mut self, key: String, value: i32) { [INFO] [stderr] | ^^^ [INFO] [stderr] ... [INFO] [stderr] 34 | fn get(&self, key: &str) -> Option { [INFO] [stderr] | ^^^ [INFO] [stderr] ... [INFO] [stderr] 45 | fn delete(&mut self, key: &str) { [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: crate `AitSar` should have a snake case name [INFO] [stderr] | [INFO] [stderr] = help: convert the identifier to snake case: `ait_sar` [INFO] [stderr] = note: `#[warn(non_snake_case)]` on by default [INFO] [stderr] [INFO] [stderr] warning: `AitSar` (lib) generated 15 warnings [INFO] [stderr] warning: `AitSar` (lib test) generated 7 warnings (7 duplicates) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.09s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/AitSar-3b16de5bf7c555c1) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "e47c087b4e2c4ebf5983561222418b083776cefbf3037bb3605f53a12c6e5a40", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e47c087b4e2c4ebf5983561222418b083776cefbf3037bb3605f53a12c6e5a40", kill_on_drop: false }` [INFO] [stdout] e47c087b4e2c4ebf5983561222418b083776cefbf3037bb3605f53a12c6e5a40