[INFO] fetching crate when 0.1.4... [INFO] checking when-0.1.4 against master#f609b7e0586f81fefb3523e3e17adf779ac416be for pr-129466-2 [INFO] extracting crate when 0.1.4 into /workspace/builds/worker-0-tc1/source [INFO] validating manifest of crates.io crate when 0.1.4 on toolchain f609b7e0586f81fefb3523e3e17adf779ac416be [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate when 0.1.4 [INFO] finished tweaking crates.io crate when 0.1.4 [INFO] tweaked toml for crates.io crate when 0.1.4 written to /workspace/builds/worker-0-tc1/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 69 packages to latest compatible versions [INFO] [stderr] Adding aho-corasick v0.6.10 (available: v1.1.3) [INFO] [stderr] Adding chrono-tz v0.4.1 (available: v0.10.0) [INFO] [stderr] Adding nom v4.2.3 (available: v7.1.3) [INFO] [stderr] Adding num-traits v0.1.43 (available: v0.2.19) [INFO] [stderr] Adding parse-zoneinfo v0.1.1 (available: v0.3.1) [INFO] [stderr] Adding regex v0.2.11 (available: v1.10.6) [INFO] [stderr] Adding regex-syntax v0.5.6 (available: v0.8.4) [INFO] [stderr] Adding strsim v0.8.0 (available: v0.11.1) [INFO] [stderr] Adding syn v1.0.109 (available: v2.0.77) [INFO] [stderr] Adding synstructure v0.12.6 (available: v0.13.1) [INFO] [stderr] Adding thread_local v0.3.6 (available: v1.1.8) [INFO] [stderr] Adding time v0.1.45 (available: v0.3.36) [INFO] [stderr] Adding tuple v0.4.2 (available: v0.5.2) [INFO] [stderr] Adding ucd-util v0.1.10 (available: v0.2.1) [INFO] [stderr] Adding version_check v0.1.5 (available: v0.9.5) [INFO] [stderr] Adding wasi v0.10.0+wasi-snapshot-preview1 (available: v0.10.2+wasi-snapshot-preview1) [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" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: only one of `license` or `license-file` is necessary [INFO] [stderr] `license` should be used if the package license can be expressed with a standard SPDX expression. [INFO] [stderr] `license-file` should be used if the package uses a non-standard license. [INFO] [stderr] See https://doc.rust-lang.org/cargo/reference/manifest.html#the-license-and-license-file-fields for more information. [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded tuple v0.4.2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/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" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 9aa9ce09135f50e25f5de4f882b84f2adc290e2bd610828a6f3134a00aceeca4 [INFO] running `Command { std: "docker" "start" "-a" "9aa9ce09135f50e25f5de4f882b84f2adc290e2bd610828a6f3134a00aceeca4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "9aa9ce09135f50e25f5de4f882b84f2adc290e2bd610828a6f3134a00aceeca4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9aa9ce09135f50e25f5de4f882b84f2adc290e2bd610828a6f3134a00aceeca4", kill_on_drop: false }` [INFO] [stdout] 9aa9ce09135f50e25f5de4f882b84f2adc290e2bd610828a6f3134a00aceeca4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/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:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 5c603de3d71e76ff068290b206a6882e086d8c950f80c582a44d75a172247a15 [INFO] running `Command { std: "docker" "start" "-a" "5c603de3d71e76ff068290b206a6882e086d8c950f80c582a44d75a172247a15", kill_on_drop: false }` [INFO] [stderr] warning: only one of `license` or `license-file` is necessary [INFO] [stderr] `license` should be used if the package license can be expressed with a standard SPDX expression. [INFO] [stderr] `license-file` should be used if the package uses a non-standard license. [INFO] [stderr] See https://doc.rust-lang.org/cargo/reference/manifest.html#the-license-and-license-file-fields for more information. [INFO] [stderr] Compiling memchr v2.7.4 [INFO] [stderr] Compiling regex v0.2.11 [INFO] [stderr] Compiling ucd-util v0.1.10 [INFO] [stderr] Compiling thread_local v0.3.6 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling utf8-ranges v1.0.5 [INFO] [stderr] Compiling version_check v0.1.5 [INFO] [stderr] Compiling regex-syntax v0.5.6 [INFO] [stderr] Compiling failure_derive v0.1.8 [INFO] [stderr] Checking chrono v0.4.38 [INFO] [stderr] Checking serde v1.0.210 [INFO] [stderr] Compiling nom v4.2.3 [INFO] [stderr] Checking num-traits v0.1.43 [INFO] [stderr] Checking object v0.36.4 [INFO] [stderr] Compiling aho-corasick v0.6.10 [INFO] [stderr] Compiling synstructure v0.12.6 [INFO] [stderr] Compiling parse-zoneinfo v0.1.1 [INFO] [stderr] Checking tuple v0.4.2 [INFO] [stderr] Compiling chrono-tz v0.4.1 [INFO] [stderr] Checking backtrace v0.3.74 [INFO] [stderr] Checking failure v0.1.8 [INFO] [stderr] Checking when v0.1.4 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/rules/combinators.rs:178:1 [INFO] [stdout] | [INFO] [stdout] 178 | /// Trim spaces, special symbols and commas until any non-whitespace character appears [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ rustdoc does not generate documentation for macro invocations [INFO] [stdout] | [INFO] [stdout] = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion [INFO] [stdout] = note: `#[warn(unused_doc_comments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/rules/combinators.rs:187:1 [INFO] [stdout] | [INFO] [stdout] 187 | / /// Ignores whitespaces using "trim" and then consumes alphabetical characters in a string until [INFO] [stdout] 188 | | /// any non alpha-numeric character appears or the string has been exhausted: [INFO] [stdout] 189 | | /// [INFO] [stdout] 190 | | /// " , abracadabra " -> "abracadabra" [INFO] [stdout] | |_---------------------------------------^ [INFO] [stdout] | | [INFO] [stdout] | rustdoc does not generate documentation for macro invocations [INFO] [stdout] | [INFO] [stdout] = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/rules/combinators.rs:195:1 [INFO] [stdout] | [INFO] [stdout] 195 | / /// Consumes all spaces before a word, the word itself and all spaces after the word and returns [INFO] [stdout] 196 | | /// total number of consumed characters: [INFO] [stdout] 197 | | /// [INFO] [stdout] 198 | | /// " , abracadabra " -> 17 [INFO] [stdout] | |_----------------------------^ [INFO] [stdout] | | [INFO] [stdout] | rustdoc does not generate documentation for macro invocations [INFO] [stdout] | [INFO] [stdout] = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/rules/combinators.rs:206:1 [INFO] [stdout] | [INFO] [stdout] 206 | / /// Ignores whitespaces using "trim" and then consumes digits in a string until [INFO] [stdout] 207 | | /// any non digit character appears or the string has been exhausted, and in case of success [INFO] [stdout] 208 | | /// converts the number from the string representation into i32: [INFO] [stdout] 209 | | /// [INFO] [stdout] 210 | | /// " , -321 " -> -321 [INFO] [stdout] | |_-----------------------^ [INFO] [stdout] | | [INFO] [stdout] | rustdoc does not generate documentation for macro invocations [INFO] [stdout] | [INFO] [stdout] = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/rules/combinators.rs:178:1 [INFO] [stdout] | [INFO] [stdout] 178 | /// Trim spaces, special symbols and commas until any non-whitespace character appears [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ rustdoc does not generate documentation for macro invocations [INFO] [stdout] | [INFO] [stdout] = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion [INFO] [stdout] = note: `#[warn(unused_doc_comments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/rules/combinators.rs:187:1 [INFO] [stdout] | [INFO] [stdout] 187 | / /// Ignores whitespaces using "trim" and then consumes alphabetical characters in a string until [INFO] [stdout] 188 | | /// any non alpha-numeric character appears or the string has been exhausted: [INFO] [stdout] 189 | | /// [INFO] [stdout] 190 | | /// " , abracadabra " -> "abracadabra" [INFO] [stdout] | |_---------------------------------------^ [INFO] [stdout] | | [INFO] [stdout] | rustdoc does not generate documentation for macro invocations [INFO] [stdout] | [INFO] [stdout] = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/rules/combinators.rs:195:1 [INFO] [stdout] | [INFO] [stdout] 195 | / /// Consumes all spaces before a word, the word itself and all spaces after the word and returns [INFO] [stdout] 196 | | /// total number of consumed characters: [INFO] [stdout] 197 | | /// [INFO] [stdout] 198 | | /// " , abracadabra " -> 17 [INFO] [stdout] | |_----------------------------^ [INFO] [stdout] | | [INFO] [stdout] | rustdoc does not generate documentation for macro invocations [INFO] [stdout] | [INFO] [stdout] = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/rules/combinators.rs:206:1 [INFO] [stdout] | [INFO] [stdout] 206 | / /// Ignores whitespaces using "trim" and then consumes digits in a string until [INFO] [stdout] 207 | | /// any non digit character appears or the string has been exhausted, and in case of success [INFO] [stdout] 208 | | /// converts the number from the string representation into i32: [INFO] [stdout] 209 | | /// [INFO] [stdout] 210 | | /// " , -321 " -> -321 [INFO] [stdout] | |_-----------------------^ [INFO] [stdout] | | [INFO] [stdout] | rustdoc does not generate documentation for macro invocations [INFO] [stdout] | [INFO] [stdout] = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: cannot add `time::Duration` to `chrono::DateTime` [INFO] [stdout] --> src/parser.rs:138:33 [INFO] [stdout] | [INFO] [stdout] 138 | tz_aware = tz_aware + ctx.duration; [INFO] [stdout] | ^ no implementation for `chrono::DateTime + time::Duration` [INFO] [stdout] | [INFO] [stdout] = help: the trait `Add` is not implemented for `chrono::DateTime` [INFO] [stdout] = help: the following other types implement trait `Add`: [INFO] [stdout] `chrono::DateTime` implements `Add` [INFO] [stdout] `chrono::DateTime` implements `Add` [INFO] [stdout] `chrono::DateTime` implements `Add` [INFO] [stdout] `chrono::DateTime` implements `Add` [INFO] [stdout] `chrono::DateTime` implements `Add` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: cannot add `time::Duration` to `chrono::DateTime` [INFO] [stdout] --> src/parser.rs:138:33 [INFO] [stdout] | [INFO] [stdout] 138 | tz_aware = tz_aware + ctx.duration; [INFO] [stdout] | ^ no implementation for `chrono::DateTime + time::Duration` [INFO] [stdout] | [INFO] [stdout] = help: the trait `Add` is not implemented for `chrono::DateTime` [INFO] [stdout] = help: the following other types implement trait `Add`: [INFO] [stdout] `chrono::DateTime` implements `Add` [INFO] [stdout] `chrono::DateTime` implements `Add` [INFO] [stdout] `chrono::DateTime` implements `Add` [INFO] [stdout] `chrono::DateTime` implements `Add` [INFO] [stdout] `chrono::DateTime` implements `Add` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `chrono::TimeZone::ymd`: use `with_ymd_and_hms()` instead [INFO] [stdout] --> src/rules/common/slash_dmy.rs:92:15 [INFO] [stdout] | [INFO] [stdout] 92 | Local.ymd(2019, 1, 1).and_hms(0, 0, 1) [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `chrono::Date::::and_hms`: Use and_hms_opt() instead [INFO] [stdout] --> src/rules/common/slash_dmy.rs:92:31 [INFO] [stdout] | [INFO] [stdout] 92 | Local.ymd(2019, 1, 1).and_hms(0, 0, 1) [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `chrono::TimeZone::ymd`: use `with_ymd_and_hms()` instead [INFO] [stdout] --> src/rules/en/casual_date_time.rs:127:15 [INFO] [stdout] | [INFO] [stdout] 127 | Local.ymd(2019, 1, 1).and_hms(0, 0, 0) [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `chrono::Date::::and_hms`: Use and_hms_opt() instead [INFO] [stdout] --> src/rules/en/casual_date_time.rs:127:31 [INFO] [stdout] | [INFO] [stdout] 127 | Local.ymd(2019, 1, 1).and_hms(0, 0, 0) [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `chrono::TimeZone::ymd`: use `with_ymd_and_hms()` instead [INFO] [stdout] --> src/rules/en/deadline.rs:221:15 [INFO] [stdout] | [INFO] [stdout] 221 | Local.ymd(2019, 1, 1).and_hms(0, 0, 1) [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `chrono::Date::::and_hms`: Use and_hms_opt() instead [INFO] [stdout] --> src/rules/en/deadline.rs:221:31 [INFO] [stdout] | [INFO] [stdout] 221 | Local.ymd(2019, 1, 1).and_hms(0, 0, 1) [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `chrono::TimeZone::ymd`: use `with_ymd_and_hms()` instead [INFO] [stdout] --> src/rules/en/exact_month_date.rs:350:15 [INFO] [stdout] | [INFO] [stdout] 350 | Local.ymd(2019, 1, 1).and_hms(0, 0, 0) [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `chrono::Date::::and_hms`: Use and_hms_opt() instead [INFO] [stdout] --> src/rules/en/exact_month_date.rs:350:31 [INFO] [stdout] | [INFO] [stdout] 350 | Local.ymd(2019, 1, 1).and_hms(0, 0, 0) [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `chrono::TimeZone::ymd`: use `with_ymd_and_hms()` instead [INFO] [stdout] --> src/rules/en/past_time.rs:178:15 [INFO] [stdout] | [INFO] [stdout] 178 | Local.ymd(2019, 1, 1).and_hms(0, 0, 1) [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `chrono::Date::::and_hms`: Use and_hms_opt() instead [INFO] [stdout] --> src/rules/en/past_time.rs:178:31 [INFO] [stdout] | [INFO] [stdout] 178 | Local.ymd(2019, 1, 1).and_hms(0, 0, 1) [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `chrono::TimeZone::ymd`: use `with_ymd_and_hms()` instead [INFO] [stdout] --> src/rules/en/time.rs:106:15 [INFO] [stdout] | [INFO] [stdout] 106 | Local.ymd(2019, 1, 1).and_hms(0, 0, 0) [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `chrono::Date::::and_hms`: Use and_hms_opt() instead [INFO] [stdout] --> src/rules/en/time.rs:106:31 [INFO] [stdout] | [INFO] [stdout] 106 | Local.ymd(2019, 1, 1).and_hms(0, 0, 0) [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `chrono::TimeZone::ymd`: use `with_ymd_and_hms()` instead [INFO] [stdout] --> src/rules/en/weekdays.rs:170:15 [INFO] [stdout] | [INFO] [stdout] 170 | Local.ymd(2019, 1, 1).and_hms(0, 0, 1) [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `chrono::Date::::and_hms`: Use and_hms_opt() instead [INFO] [stdout] --> src/rules/en/weekdays.rs:170:31 [INFO] [stdout] | [INFO] [stdout] 170 | Local.ymd(2019, 1, 1).and_hms(0, 0, 1) [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error; 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: could not compile `when` (lib) due to 2 previous errors; 4 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: aborting due to 1 previous error; 18 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: could not compile `when` (lib test) due to 2 previous errors; 18 warnings emitted [INFO] running `Command { std: "docker" "inspect" "5c603de3d71e76ff068290b206a6882e086d8c950f80c582a44d75a172247a15", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5c603de3d71e76ff068290b206a6882e086d8c950f80c582a44d75a172247a15", kill_on_drop: false }` [INFO] [stdout] 5c603de3d71e76ff068290b206a6882e086d8c950f80c582a44d75a172247a15