[INFO] fetching crate AitSar 0.1.1... [INFO] checking AitSar-0.1.1 against try#a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d for pr-145342-1 [INFO] extracting crate AitSar 0.1.1 into /workspace/builds/worker-6-tc2/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-6-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate AitSar 0.1.1 on toolchain a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "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" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 113 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.12) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 622b702da86b8f6fac5ddf472e8bf1f2ef510c4ec68b3b363fccd158f2093f4e [INFO] running `Command { std: "docker" "start" "-a" "622b702da86b8f6fac5ddf472e8bf1f2ef510c4ec68b3b363fccd158f2093f4e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "622b702da86b8f6fac5ddf472e8bf1f2ef510c4ec68b3b363fccd158f2093f4e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "622b702da86b8f6fac5ddf472e8bf1f2ef510c4ec68b3b363fccd158f2093f4e", kill_on_drop: false }` [INFO] [stdout] 622b702da86b8f6fac5ddf472e8bf1f2ef510c4ec68b3b363fccd158f2093f4e [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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] acbc3b99837c0bfd73a019c83c8a324b8a664c3eb2c8295906f8add0b85e208f [INFO] running `Command { std: "docker" "start" "-a" "acbc3b99837c0bfd73a019c83c8a324b8a664c3eb2c8295906f8add0b85e208f", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.175 [INFO] [stderr] Compiling proc-macro2 v0.4.30 [INFO] [stderr] Checking cfg-if v0.1.10 [INFO] [stderr] Compiling autocfg v1.5.0 [INFO] [stderr] Compiling unicode-xid v0.1.0 [INFO] [stderr] Checking cfg-if v1.0.3 [INFO] [stderr] Compiling xml-rs v0.8.27 [INFO] [stderr] Checking bitflags v1.3.2 [INFO] [stderr] Compiling nix v0.14.1 [INFO] [stderr] Checking log v0.4.27 [INFO] [stderr] Checking slab v0.4.11 [INFO] [stderr] Checking void v1.0.2 [INFO] [stderr] Checking byteorder v1.5.0 [INFO] [stderr] Checking lazycell v1.3.0 [INFO] [stderr] Checking lazy_static v1.5.0 [INFO] [stderr] Compiling pkg-config v0.3.32 [INFO] [stderr] Checking same-file v1.0.6 [INFO] [stderr] Checking libloading v0.6.7 [INFO] [stderr] Checking downcast-rs v1.2.1 [INFO] [stderr] Checking scopeguard v1.2.0 [INFO] [stderr] Checking cty v0.2.2 [INFO] [stderr] Checking walkdir v2.5.0 [INFO] [stderr] Checking smallvec v1.15.1 [INFO] [stderr] Checking dlib v0.4.2 [INFO] [stderr] Checking xdg v2.5.2 [INFO] [stderr] Checking raw-window-handle v0.4.3 [INFO] [stderr] Checking once_cell v1.21.3 [INFO] [stderr] Checking lock_api v0.3.4 [INFO] [stderr] Checking wayland-sys v0.23.6 [INFO] [stderr] Checking instant v0.1.13 [INFO] [stderr] Checking percent-encoding v2.3.2 [INFO] [stderr] Checking AitSar v0.1.1 (/opt/rustwide/workdir) [INFO] [stderr] Checking stb_truetype v0.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 x11-dl v2.21.0 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling quote v0.6.13 [INFO] [stderr] Compiling wayland-scanner v0.23.6 [INFO] [stderr] Checking iovec v0.1.4 [INFO] [stderr] Checking net2 v0.2.39 [INFO] [stderr] Checking memmap v0.7.0 [INFO] [stderr] Checking parking_lot_core v0.7.3 [INFO] [stderr] Checking raw-window-handle v0.3.4 [INFO] [stderr] Checking parking_lot v0.10.2 [INFO] [stderr] Checking mio v0.6.23 [INFO] [stderr] Checking approx v0.3.2 [INFO] [stderr] Checking ordered-float v1.1.1 [INFO] [stderr] Checking line_drawing v0.7.0 [INFO] [stderr] Checking rusttype v0.8.3 [INFO] [stderr] Checking mio-extras v2.0.6 [INFO] [stderr] Checking rusttype v0.7.9 [INFO] [stderr] Checking andrew v0.2.1 [INFO] [stderr] Compiling wayland-client v0.23.6 [INFO] [stderr] Compiling wayland-protocols v0.23.6 [INFO] [stderr] Checking wayland-commons v0.23.6 [INFO] [stderr] Checking calloop v0.4.4 [INFO] [stderr] Checking smithay-client-toolkit v0.6.6 [INFO] [stderr] Checking winit v0.22.2 [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 `dev` profile [unoptimized + debuginfo] target(s) in 42.06s [INFO] running `Command { std: "docker" "inspect" "acbc3b99837c0bfd73a019c83c8a324b8a664c3eb2c8295906f8add0b85e208f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "acbc3b99837c0bfd73a019c83c8a324b8a664c3eb2c8295906f8add0b85e208f", kill_on_drop: false }` [INFO] [stdout] acbc3b99837c0bfd73a019c83c8a324b8a664c3eb2c8295906f8add0b85e208f