[INFO] crate json_in_type 1.0.0 is already in cache [INFO] extracting crate json_in_type 1.0.0 into work/ex/clippy-test-run/sources/stable/reg/json_in_type/1.0.0 [INFO] extracting crate json_in_type 1.0.0 into work/ex/clippy-test-run/sources/stable+rustflags=-Dclippy%3A%3Ainto_iter_on_array/reg/json_in_type/1.0.0 [INFO] validating manifest of json_in_type-1.0.0 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 json_in_type-1.0.0 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 json_in_type-1.0.0 [INFO] finished frobbing json_in_type-1.0.0 [INFO] frobbed toml for json_in_type-1.0.0 written to work/ex/clippy-test-run/sources/stable/reg/json_in_type/1.0.0/Cargo.toml [INFO] started frobbing json_in_type-1.0.0 [INFO] finished frobbing json_in_type-1.0.0 [INFO] frobbed toml for json_in_type-1.0.0 written to work/ex/clippy-test-run/sources/stable+rustflags=-Dclippy%3A%3Ainto_iter_on_array/reg/json_in_type/1.0.0/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 json_in_type-1.0.0 against stable for clippy-test-run [INFO] running `"docker" "create" "-v" "/mnt/big/crater/work/local/target-dirs/clippy-test-run/worker-4/stable:/opt/crater/target:rw,Z" "-v" "/mnt/big/crater/work/ex/clippy-test-run/sources/stable/reg/json_in_type/1.0.0:/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] 4203ccdcf28c9c2d2d9a4fbf5cb4660171f29e2dcfc9957cf3bf503c80194707 [INFO] running `"docker" "start" "-a" "4203ccdcf28c9c2d2d9a4fbf5cb4660171f29e2dcfc9957cf3bf503c80194707"` [INFO] [stderr] Checking itoa v0.4.3 [INFO] [stderr] Compiling ryu-ecmascript v0.1.1 [INFO] [stderr] Compiling simd v0.2.4 [INFO] [stderr] Compiling json_in_type_derive v0.1.2 [INFO] [stderr] Checking serde_json v1.0.37 [INFO] [stderr] Checking json_in_type v1.0.0 (/opt/crater/workdir) [INFO] [stderr] Checking tinytemplate v1.0.1 [INFO] [stderr] Checking criterion v0.2.9 [INFO] [stderr] warning: long literal lacking separators [INFO] [stderr] --> src/base_types.rs:99:37 [INFO] [stderr] | [INFO] [stderr] 99 | assert_eq!("-1234567890", (-1234567890 as i32).to_json_string()); [INFO] [stderr] | ^^^^^^^^^^ help: consider: `1_234_567_890` [INFO] [stderr] | [INFO] [stderr] = note: #[warn(clippy::unreadable_literal)] on by default [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unreadable_literal [INFO] [stderr] [INFO] [stderr] warning: long literal lacking separators [INFO] [stderr] --> src/base_types.rs:100:43 [INFO] [stderr] | [INFO] [stderr] 100 | assert_eq!("1234567890123456789", 1234567890123456789u64.to_json_string()); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ help: consider: `1_234_567_890_123_456_789u64` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unreadable_literal [INFO] [stderr] [INFO] [stderr] warning: long literal lacking separators [INFO] [stderr] --> src/base_types.rs:106:37 [INFO] [stderr] | [INFO] [stderr] 106 | assert_eq!("-1234567890", (-1234567890 as f64).to_json_string()); [INFO] [stderr] | ^^^^^^^^^^ help: consider: `1_234_567_890` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unreadable_literal [INFO] [stderr] [INFO] [stderr] warning: casting i32 to f64 may become silently lossy if types change [INFO] [stderr] --> src/base_types.rs:106:35 [INFO] [stderr] | [INFO] [stderr] 106 | assert_eq!("-1234567890", (-1234567890 as f64).to_json_string()); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ help: try: `f64::from(-1234567890)` [INFO] [stderr] | [INFO] [stderr] = note: #[warn(clippy::cast_lossless)] on by default [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#cast_lossless [INFO] [stderr] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 18.95s [INFO] running `"docker" "inspect" "4203ccdcf28c9c2d2d9a4fbf5cb4660171f29e2dcfc9957cf3bf503c80194707"` [INFO] running `"docker" "rm" "-f" "4203ccdcf28c9c2d2d9a4fbf5cb4660171f29e2dcfc9957cf3bf503c80194707"` [INFO] [stdout] 4203ccdcf28c9c2d2d9a4fbf5cb4660171f29e2dcfc9957cf3bf503c80194707