[INFO] fetching crate moment 0.1.0... [INFO] checking moment-0.1.0 against try#7014e13d5becc920d4bea3cd87942c8a13d359bf+rustflags=-Dtail_expr_drop_order for pr-129864 [INFO] extracting crate moment 0.1.0 into /workspace/builds/worker-6-tc2/source [INFO] validating manifest of crates.io crate moment 0.1.0 on toolchain 7014e13d5becc920d4bea3cd87942c8a13d359bf [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+7014e13d5becc920d4bea3cd87942c8a13d359bf" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate moment 0.1.0 [INFO] finished tweaking crates.io crate moment 0.1.0 [INFO] tweaked toml for crates.io crate moment 0.1.0 written to /workspace/builds/worker-6-tc2/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+7014e13d5becc920d4bea3cd87942c8a13d359bf" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 44 packages to latest compatible versions [INFO] [stderr] Adding windows-core v0.52.0 (available: v0.58.0) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+7014e13d5becc920d4bea3cd87942c8a13d359bf" "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:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+7014e13d5becc920d4bea3cd87942c8a13d359bf" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] affaa78f70f84e39597bd4a436f74f8f0ef167f23f9ac501257be3817c9e8165 [INFO] running `Command { std: "docker" "start" "-a" "affaa78f70f84e39597bd4a436f74f8f0ef167f23f9ac501257be3817c9e8165", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "affaa78f70f84e39597bd4a436f74f8f0ef167f23f9ac501257be3817c9e8165", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "affaa78f70f84e39597bd4a436f74f8f0ef167f23f9ac501257be3817c9e8165", kill_on_drop: false }` [INFO] [stdout] affaa78f70f84e39597bd4a436f74f8f0ef167f23f9ac501257be3817c9e8165 [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 -Dtail_expr_drop_order" "-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:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+7014e13d5becc920d4bea3cd87942c8a13d359bf" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 9304b26d156c7119dce116006812855e93bd90002ac9e81eb6f3fb1200427c9c [INFO] running `Command { std: "docker" "start" "-a" "9304b26d156c7119dce116006812855e93bd90002ac9e81eb6f3fb1200427c9c", kill_on_drop: false }` [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling serde v1.0.210 [INFO] [stderr] Checking regex-syntax v0.8.4 [INFO] [stderr] Checking iana-time-zone v0.1.61 [INFO] [stderr] Checking lazy_static v1.5.0 [INFO] [stderr] Checking aho-corasick v1.1.3 [INFO] [stderr] Checking num-integer v0.1.46 [INFO] [stderr] Checking regex-automata v0.4.7 [INFO] [stderr] Checking chrono v0.4.38 [INFO] [stderr] Checking regex v1.10.6 [INFO] [stderr] Checking moment v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: use of deprecated method `chrono::TimeZone::ymd`: use `with_ymd_and_hms()` instead [INFO] [stdout] --> src/moment.rs:199:18 [INFO] [stdout] | [INFO] [stdout] 199 | .ymd(year, 0, first_week_day as u32) [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `time_zone` is never read [INFO] [stdout] --> src/moment.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct Moment { [INFO] [stdout] | ------ field in this struct [INFO] [stdout] 7 | date_time: DateTime, [INFO] [stdout] 8 | time_zone: T, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Moment` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `LT` should have a snake case name [INFO] [stdout] --> src/locale/long_date_format_strings.rs:3:9 [INFO] [stdout] | [INFO] [stdout] 3 | pub LT: &'static str, [INFO] [stdout] | ^^ help: convert the identifier to snake case: `lt` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `LTS` should have a snake case name [INFO] [stdout] --> src/locale/long_date_format_strings.rs:4:9 [INFO] [stdout] | [INFO] [stdout] 4 | pub LTS: &'static str, [INFO] [stdout] | ^^^ help: convert the identifier to snake case: `lts` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `L` should have a snake case name [INFO] [stdout] --> src/locale/long_date_format_strings.rs:5:9 [INFO] [stdout] | [INFO] [stdout] 5 | pub L: &'static str, [INFO] [stdout] | ^ help: convert the identifier to snake case: `l` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `LL` should have a snake case name [INFO] [stdout] --> src/locale/long_date_format_strings.rs:6:9 [INFO] [stdout] | [INFO] [stdout] 6 | pub LL: &'static str, [INFO] [stdout] | ^^ help: convert the identifier to snake case: `ll` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `LLL` should have a snake case name [INFO] [stdout] --> src/locale/long_date_format_strings.rs:7:9 [INFO] [stdout] | [INFO] [stdout] 7 | pub LLL: &'static str, [INFO] [stdout] | ^^^ help: convert the identifier to snake case: `lll` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `LLLL` should have a snake case name [INFO] [stdout] --> src/locale/long_date_format_strings.rs:8:9 [INFO] [stdout] | [INFO] [stdout] 8 | pub LLLL: &'static str, [INFO] [stdout] | ^^^^ help: convert the identifier to snake case: `llll` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `M` should have a snake case name [INFO] [stdout] --> src/locale/relative_time_strings.rs:13:9 [INFO] [stdout] | [INFO] [stdout] 13 | pub M: &'static str, [INFO] [stdout] | ^ help: convert the identifier to snake case: `m` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `MM` should have a snake case name [INFO] [stdout] --> src/locale/relative_time_strings.rs:14:9 [INFO] [stdout] | [INFO] [stdout] 14 | pub MM: &'static str, [INFO] [stdout] | ^^ help: convert the identifier to snake case: `mm` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `chrono::TimeZone::ymd`: use `with_ymd_and_hms()` instead [INFO] [stdout] --> src/moment.rs:199:18 [INFO] [stdout] | [INFO] [stdout] 199 | .ymd(year, 0, first_week_day as u32) [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 10 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `time_zone` is never read [INFO] [stdout] --> src/moment.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct Moment { [INFO] [stdout] | ------ field in this struct [INFO] [stdout] 7 | date_time: DateTime, [INFO] [stdout] 8 | time_zone: T, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Moment` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `LT` should have a snake case name [INFO] [stdout] --> src/locale/long_date_format_strings.rs:3:9 [INFO] [stdout] | [INFO] [stdout] 3 | pub LT: &'static str, [INFO] [stdout] | ^^ help: convert the identifier to snake case: `lt` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `LTS` should have a snake case name [INFO] [stdout] --> src/locale/long_date_format_strings.rs:4:9 [INFO] [stdout] | [INFO] [stdout] 4 | pub LTS: &'static str, [INFO] [stdout] | ^^^ help: convert the identifier to snake case: `lts` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `L` should have a snake case name [INFO] [stdout] --> src/locale/long_date_format_strings.rs:5:9 [INFO] [stdout] | [INFO] [stdout] 5 | pub L: &'static str, [INFO] [stdout] | ^ help: convert the identifier to snake case: `l` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `LL` should have a snake case name [INFO] [stdout] --> src/locale/long_date_format_strings.rs:6:9 [INFO] [stdout] | [INFO] [stdout] 6 | pub LL: &'static str, [INFO] [stdout] | ^^ help: convert the identifier to snake case: `ll` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `LLL` should have a snake case name [INFO] [stdout] --> src/locale/long_date_format_strings.rs:7:9 [INFO] [stdout] | [INFO] [stdout] 7 | pub LLL: &'static str, [INFO] [stdout] | ^^^ help: convert the identifier to snake case: `lll` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `LLLL` should have a snake case name [INFO] [stdout] --> src/locale/long_date_format_strings.rs:8:9 [INFO] [stdout] | [INFO] [stdout] 8 | pub LLLL: &'static str, [INFO] [stdout] | ^^^^ help: convert the identifier to snake case: `llll` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `M` should have a snake case name [INFO] [stdout] --> src/locale/relative_time_strings.rs:13:9 [INFO] [stdout] | [INFO] [stdout] 13 | pub M: &'static str, [INFO] [stdout] | ^ help: convert the identifier to snake case: `m` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `MM` should have a snake case name [INFO] [stdout] --> src/locale/relative_time_strings.rs:14:9 [INFO] [stdout] | [INFO] [stdout] 14 | pub MM: &'static str, [INFO] [stdout] | ^^ help: convert the identifier to snake case: `mm` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 10 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 9.80s [INFO] running `Command { std: "docker" "inspect" "9304b26d156c7119dce116006812855e93bd90002ac9e81eb6f3fb1200427c9c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9304b26d156c7119dce116006812855e93bd90002ac9e81eb6f3fb1200427c9c", kill_on_drop: false }` [INFO] [stdout] 9304b26d156c7119dce116006812855e93bd90002ac9e81eb6f3fb1200427c9c