[INFO] crate gcode 0.3.1 is already in cache [INFO] extracting crate gcode 0.3.1 into work/ex/clippy-test-run/sources/stable/reg/gcode/0.3.1 [INFO] extracting crate gcode 0.3.1 into work/ex/clippy-test-run/sources/stable+rustflags=-Dclippy%3A%3Ainto_iter_on_array/reg/gcode/0.3.1 [INFO] validating manifest of gcode-0.3.1 on toolchain stable [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+stable" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] validating manifest of gcode-0.3.1 on toolchain stable+rustflags=-Dclippy::into_iter_on_array [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+stable" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] started frobbing gcode-0.3.1 [INFO] finished frobbing gcode-0.3.1 [INFO] frobbed toml for gcode-0.3.1 written to work/ex/clippy-test-run/sources/stable/reg/gcode/0.3.1/Cargo.toml [INFO] started frobbing gcode-0.3.1 [INFO] finished frobbing gcode-0.3.1 [INFO] frobbed toml for gcode-0.3.1 written to work/ex/clippy-test-run/sources/stable+rustflags=-Dclippy%3A%3Ainto_iter_on_array/reg/gcode/0.3.1/Cargo.toml [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+stable" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update"` [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+stable" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update"` [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+stable" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+stable" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] linting gcode-0.3.1 against stable for clippy-test-run [INFO] running `"docker" "create" "-v" "/mnt/big/crater/work/local/target-dirs/clippy-test-run/worker-2/stable:/opt/crater/target:rw,Z" "-v" "/mnt/big/crater/work/ex/clippy-test-run/sources/stable/reg/gcode/0.3.1:/opt/crater/workdir:ro,Z" "-v" "/mnt/big/crater/work/local/cargo-home:/opt/crater/cargo-home:ro,Z" "-v" "/mnt/big/crater/work/local/rustup-home:/opt/crater/rustup-home:ro,Z" "-e" "USER_ID=1000" "-e" "SOURCE_DIR=/opt/crater/workdir" "-e" "MAP_USER_ID=1000" "-e" "CARGO_TARGET_DIR=/opt/crater/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/crater/cargo-home" "-e" "RUSTUP_HOME=/opt/crater/rustup-home" "-w" "/opt/crater/workdir" "-m" "1536M" "--network" "none" "rustops/crates-build-env" "/opt/crater/cargo-home/bin/cargo" "+stable" "clippy" "--frozen" "--all" "--all-targets"` [INFO] [stdout] d900a4113baf51c232b35d5a25474fa1bb4aa71830160c6498c627dda5e04166 [INFO] running `"docker" "start" "-a" "d900a4113baf51c232b35d5a25474fa1bb4aa71830160c6498c627dda5e04166"` [INFO] [stderr] Checking gcode v0.3.1 (/opt/crater/workdir) [INFO] [stderr] warning: item `types::Span` has a public `len` method but no corresponding `is_empty` method [INFO] [stderr] --> src/types.rs:218:1 [INFO] [stderr] | [INFO] [stderr] 218 | / impl Span { [INFO] [stderr] 219 | | /// Create a new `Span`. [INFO] [stderr] 220 | | pub fn new(start: usize, end: usize, source_line: usize) -> Span { [INFO] [stderr] 221 | | debug_assert!(start <= end); [INFO] [stderr] ... | [INFO] [stderr] 250 | | } [INFO] [stderr] 251 | | } [INFO] [stderr] | |_^ [INFO] [stderr] | [INFO] [stderr] = note: #[warn(clippy::len_without_is_empty)] on by default [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#len_without_is_empty [INFO] [stderr] [INFO] [stderr] error: strict comparison of f32 or f64 [INFO] [stderr] --> src/lexer.rs:218:9 [INFO] [stderr] | [INFO] [stderr] 218 | assert_eq!(got, -123.456); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: #[deny(clippy::float_cmp)] on by default [INFO] [stderr] note: std::f32::EPSILON and std::f64::EPSILON are available. [INFO] [stderr] --> src/lexer.rs:218:9 [INFO] [stderr] | [INFO] [stderr] 218 | assert_eq!(got, -123.456); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#float_cmp [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: methods called `is_*` usually take self by reference or no self; consider choosing a less ambiguous name [INFO] [stderr] --> src/parse.rs:24:20 [INFO] [stderr] | [INFO] [stderr] 24 | fn is_finished(&mut self) -> bool { [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: #[warn(clippy::wrong_self_convention)] on by default [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#wrong_self_convention [INFO] [stderr] [INFO] [stderr] warning: item `types::Span` has a public `len` method but no corresponding `is_empty` method [INFO] [stderr] --> src/types.rs:218:1 [INFO] [stderr] | [INFO] [stderr] 218 | / impl Span { [INFO] [stderr] 219 | | /// Create a new `Span`. [INFO] [stderr] 220 | | pub fn new(start: usize, end: usize, source_line: usize) -> Span { [INFO] [stderr] 221 | | debug_assert!(start <= end); [INFO] [stderr] ... | [INFO] [stderr] 250 | | } [INFO] [stderr] 251 | | } [INFO] [stderr] | |_^ [INFO] [stderr] | [INFO] [stderr] = note: #[warn(clippy::len_without_is_empty)] on by default [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#len_without_is_empty [INFO] [stderr] [INFO] [stderr] error: aborting due to previous error [INFO] [stderr] [INFO] [stderr] error: Could not compile `gcode`. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: build failed [INFO] running `"docker" "inspect" "d900a4113baf51c232b35d5a25474fa1bb4aa71830160c6498c627dda5e04166"` [INFO] running `"docker" "rm" "-f" "d900a4113baf51c232b35d5a25474fa1bb4aa71830160c6498c627dda5e04166"` [INFO] [stdout] d900a4113baf51c232b35d5a25474fa1bb4aa71830160c6498c627dda5e04166