[INFO] crate chrono-systemd-time 0.1.0 is already in cache [INFO] extracting crate chrono-systemd-time 0.1.0 into work/ex/clippy-test-run/sources/stable/reg/chrono-systemd-time/0.1.0 [INFO] extracting crate chrono-systemd-time 0.1.0 into work/ex/clippy-test-run/sources/stable+rustflags=-Dclippy%3A%3Ainto_iter_on_array/reg/chrono-systemd-time/0.1.0 [INFO] validating manifest of chrono-systemd-time-0.1.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 chrono-systemd-time-0.1.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 chrono-systemd-time-0.1.0 [INFO] finished frobbing chrono-systemd-time-0.1.0 [INFO] frobbed toml for chrono-systemd-time-0.1.0 written to work/ex/clippy-test-run/sources/stable/reg/chrono-systemd-time/0.1.0/Cargo.toml [INFO] started frobbing chrono-systemd-time-0.1.0 [INFO] finished frobbing chrono-systemd-time-0.1.0 [INFO] frobbed toml for chrono-systemd-time-0.1.0 written to work/ex/clippy-test-run/sources/stable+rustflags=-Dclippy%3A%3Ainto_iter_on_array/reg/chrono-systemd-time/0.1.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 chrono-systemd-time-0.1.0 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/chrono-systemd-time/0.1.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] 4e1d2d97b15298e346a1b3720603333981c120b54f0dc8a01dcf997aa49f4f8a [INFO] running `"docker" "start" "-a" "4e1d2d97b15298e346a1b3720603333981c120b54f0dc8a01dcf997aa49f4f8a"` [INFO] [stderr] Checking chrono-systemd-time v0.1.0 (/opt/crater/workdir) [INFO] [stderr] warning: lint name `clippy` is deprecated and may not have an effect in the future. Also `cfg_attr(cargo-clippy)` won't be necessary anymore [INFO] [stderr] --> src/lib.rs:1:44 [INFO] [stderr] | [INFO] [stderr] 1 | #![cfg_attr(feature = "cargo-clippy", deny(clippy, clippy_pedantic))] [INFO] [stderr] | ^^^^^^ help: change it to: `clippy::all` [INFO] [stderr] | [INFO] [stderr] = note: #[warn(renamed_and_removed_lints)] on by default [INFO] [stderr] [INFO] [stderr] warning: lint name `clippy_pedantic` is deprecated and may not have an effect in the future. Also `cfg_attr(cargo-clippy)` won't be necessary anymore [INFO] [stderr] --> src/lib.rs:1:52 [INFO] [stderr] | [INFO] [stderr] 1 | #![cfg_attr(feature = "cargo-clippy", deny(clippy, clippy_pedantic))] [INFO] [stderr] | ^^^^^^^^^^^^^^^ help: change it to: `clippy::pedantic` [INFO] [stderr] [INFO] [stderr] warning: lint name `non_ascii_literal` is deprecated and may not have an effect in the future. Also `cfg_attr(cargo-clippy)` won't be necessary anymore [INFO] [stderr] --> src/lib.rs:2:45 [INFO] [stderr] | [INFO] [stderr] 2 | #![cfg_attr(feature = "cargo-clippy", allow(non_ascii_literal))] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ help: change it to: `clippy::non_ascii_literal` [INFO] [stderr] [INFO] [stderr] warning: lint name `clippy` is deprecated and may not have an effect in the future. Also `cfg_attr(cargo-clippy)` won't be necessary anymore [INFO] [stderr] --> src/lib.rs:1:44 [INFO] [stderr] | [INFO] [stderr] 1 | #![cfg_attr(feature = "cargo-clippy", deny(clippy, clippy_pedantic))] [INFO] [stderr] | ^^^^^^ help: change it to: `clippy::all` [INFO] [stderr] | [INFO] [stderr] = note: #[warn(renamed_and_removed_lints)] on by default [INFO] [stderr] [INFO] [stderr] warning: lint name `clippy_pedantic` is deprecated and may not have an effect in the future. Also `cfg_attr(cargo-clippy)` won't be necessary anymore [INFO] [stderr] --> src/lib.rs:1:52 [INFO] [stderr] | [INFO] [stderr] 1 | #![cfg_attr(feature = "cargo-clippy", deny(clippy, clippy_pedantic))] [INFO] [stderr] | ^^^^^^^^^^^^^^^ help: change it to: `clippy::pedantic` [INFO] [stderr] [INFO] [stderr] warning: lint name `non_ascii_literal` is deprecated and may not have an effect in the future. Also `cfg_attr(cargo-clippy)` won't be necessary anymore [INFO] [stderr] --> src/lib.rs:2:45 [INFO] [stderr] | [INFO] [stderr] 2 | #![cfg_attr(feature = "cargo-clippy", allow(non_ascii_literal))] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ help: change it to: `clippy::non_ascii_literal` [INFO] [stderr] [INFO] [stderr] warning: lint name `clippy` is deprecated and may not have an effect in the future. Also `cfg_attr(cargo-clippy)` won't be necessary anymore [INFO] [stderr] --> src/lib.rs:1:44 [INFO] [stderr] | [INFO] [stderr] 1 | #![cfg_attr(feature = "cargo-clippy", deny(clippy, clippy_pedantic))] [INFO] [stderr] | ^^^^^^ help: change it to: `clippy::all` [INFO] [stderr] [INFO] [stderr] warning: lint name `clippy` is deprecated and may not have an effect in the future. Also `cfg_attr(cargo-clippy)` won't be necessary anymore [INFO] [stderr] --> src/lib.rs:1:44 [INFO] [stderr] | [INFO] [stderr] 1 | #![cfg_attr(feature = "cargo-clippy", deny(clippy, clippy_pedantic))] [INFO] [stderr] | ^^^^^^ help: change it to: `clippy::all` [INFO] [stderr] [INFO] [stderr] error: the function has a cyclomatic complexity of 33 [INFO] [stderr] --> src/lib.rs:569:5 [INFO] [stderr] | [INFO] [stderr] 569 | / fn offset_strftime() { [INFO] [stderr] 570 | | assert_eq!(parse_timestamp_tz("2018-08-09 07:06:05 +1s", Utc).unwrap(), Utc.ymd(2018, 8, 9).and_hms(7, 6, 5) + Duration::seconds(1)); [INFO] [stderr] 571 | | assert_eq!(parse_timestamp_tz("2018-08-09 07:06:05 +1s2m", Utc).unwrap(), Utc.ymd(2018, 8, 9).and_hms(7, 6, 5) + Duration::seconds(1) + Duration::minutes(2)); [INFO] [stderr] 572 | | assert_eq!(parse_timestamp_tz("2018-08-09 07:06:05 -1s", Utc).unwrap(), Utc.ymd(2018, 8, 9).and_hms(7, 6, 5) - Duration::seconds(1)); [INFO] [stderr] ... | [INFO] [stderr] 608 | | assert_eq!(parse_timestamp_tz("10:11 -1s2m", Utc).unwrap(), Utc::today().and_hms(10, 11, 0) - Duration::seconds(1) - Duration::minutes(2)); [INFO] [stderr] 609 | | } [INFO] [stderr] | |_____^ [INFO] [stderr] | [INFO] [stderr] note: lint level defined here [INFO] [stderr] --> src/lib.rs:1:44 [INFO] [stderr] | [INFO] [stderr] 1 | #![cfg_attr(feature = "cargo-clippy", deny(clippy, clippy_pedantic))] [INFO] [stderr] | ^^^^^^ [INFO] [stderr] = note: #[deny(clippy::cyclomatic_complexity)] implied by #[deny(clippy::all)] [INFO] [stderr] = help: you could split it up into multiple smaller functions [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#cyclomatic_complexity [INFO] [stderr] [INFO] [stderr] error: the function has a cyclomatic complexity of 30 [INFO] [stderr] --> src/lib.rs:613:5 [INFO] [stderr] | [INFO] [stderr] 613 | / fn offset_time_unit() { [INFO] [stderr] 614 | | let today = parse_timestamp_tz("today", Utc).unwrap(); [INFO] [stderr] 615 | | assert_eq!(parse_timestamp_tz("today + 1 seconds", Utc).unwrap(), today + Duration::seconds(1)); [INFO] [stderr] 616 | | assert_eq!(parse_timestamp_tz("today + 1 second", Utc).unwrap(), today + Duration::seconds(1)); [INFO] [stderr] ... | [INFO] [stderr] 643 | | assert_eq!(parse_timestamp_tz("today + 1 µs", Utc).unwrap(), today + Duration::microseconds(1)); [INFO] [stderr] 644 | | } [INFO] [stderr] | |_____^ [INFO] [stderr] | [INFO] [stderr] = help: you could split it up into multiple smaller functions [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#cyclomatic_complexity [INFO] [stderr] [INFO] [stderr] error: aborting due to 2 previous errors [INFO] [stderr] [INFO] [stderr] error: Could not compile `chrono-systemd-time`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `"docker" "inspect" "4e1d2d97b15298e346a1b3720603333981c120b54f0dc8a01dcf997aa49f4f8a"` [INFO] running `"docker" "rm" "-f" "4e1d2d97b15298e346a1b3720603333981c120b54f0dc8a01dcf997aa49f4f8a"` [INFO] [stdout] 4e1d2d97b15298e346a1b3720603333981c120b54f0dc8a01dcf997aa49f4f8a