[INFO] fetching crate when 0.1.4... [INFO] testing when-0.1.4 against try#b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b for pr-145330-1 [INFO] extracting crate when 0.1.4 into /workspace/builds/worker-7-tc2/source [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-7-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate when 0.1.4 on toolchain b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 67 packages to latest compatible versions [INFO] [stderr] Adding chrono-tz v0.4.1 (available: v0.10.4) [INFO] [stderr] Adding nom v4.2.3 (available: v8.0.0) [INFO] [stderr] Adding strsim v0.8.0 (available: v0.11.1) [INFO] [stderr] Adding time v0.1.45 (available: v0.3.44) [INFO] [stderr] Adding tuple v0.4.2 (available: v0.5.2) [INFO] [stderr] Adding wasi v0.10.0+wasi-snapshot-preview1 (available: v0.10.2+wasi-snapshot-preview1) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "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] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] d8aa6582f3b001cbe368d7ba09b02c6d63c51877c748fbe0b81a58f585737ac3 [INFO] running `Command { std: "docker" "start" "-a" "d8aa6582f3b001cbe368d7ba09b02c6d63c51877c748fbe0b81a58f585737ac3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d8aa6582f3b001cbe368d7ba09b02c6d63c51877c748fbe0b81a58f585737ac3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d8aa6582f3b001cbe368d7ba09b02c6d63c51877c748fbe0b81a58f585737ac3", kill_on_drop: false }` [INFO] [stdout] d8aa6582f3b001cbe368d7ba09b02c6d63c51877c748fbe0b81a58f585737ac3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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" "-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 91df5f3acff36eb8599bfb702d711485ef5e43bde8f8aed08757619a3a2b30d7 [INFO] running `Command { std: "docker" "start" "-a" "91df5f3acff36eb8599bfb702d711485ef5e43bde8f8aed08757619a3a2b30d7", 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.6 [INFO] [stderr] Compiling ucd-util v0.1.10 [INFO] [stderr] Compiling regex v0.2.11 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling utf8-ranges v1.0.5 [INFO] [stderr] Compiling object v0.37.3 [INFO] [stderr] Compiling version_check v0.1.5 [INFO] [stderr] Compiling unicode-xid v0.2.6 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling thread_local v0.3.6 [INFO] [stderr] Compiling gimli v0.32.3 [INFO] [stderr] Compiling failure_derive v0.1.8 [INFO] [stderr] Compiling miniz_oxide v0.8.9 [INFO] [stderr] Compiling serde_derive v1.0.228 [INFO] [stderr] Compiling iana-time-zone v0.1.64 [INFO] [stderr] Compiling rustc-demangle v0.1.26 [INFO] [stderr] Compiling nom v4.2.3 [INFO] [stderr] Compiling time v0.1.45 [INFO] [stderr] Compiling strsim v0.8.0 [INFO] [stderr] Compiling regex-syntax v0.5.6 [INFO] [stderr] Compiling aho-corasick v0.6.10 [INFO] [stderr] Compiling num-traits v0.1.43 [INFO] [stderr] Compiling chrono v0.4.42 [INFO] [stderr] Compiling parse-zoneinfo v0.1.1 [INFO] [stderr] Compiling serde v1.0.228 [INFO] [stderr] Compiling synstructure v0.12.6 [INFO] [stderr] Compiling chrono-tz v0.4.1 [INFO] [stderr] Compiling addr2line v0.25.1 [INFO] [stderr] Compiling tuple v0.4.2 [INFO] [stderr] Compiling backtrace v0.3.76 [INFO] [stderr] Compiling failure v0.1.8 [INFO] [stderr] Compiling 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] 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] For more information about this error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: could not compile `when` (lib) due to 1 previous error; 4 warnings emitted [INFO] running `Command { std: "docker" "inspect" "91df5f3acff36eb8599bfb702d711485ef5e43bde8f8aed08757619a3a2b30d7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "91df5f3acff36eb8599bfb702d711485ef5e43bde8f8aed08757619a3a2b30d7", kill_on_drop: false }` [INFO] [stdout] 91df5f3acff36eb8599bfb702d711485ef5e43bde8f8aed08757619a3a2b30d7