[INFO] fetching crate wql-nom 0.1.0... [INFO] checking wql-nom-0.1.0 against master#cf38b8e663f15db10ce49d7bbce02c99fc3dbc0c for pr-143170 [INFO] extracting crate wql-nom 0.1.0 into /workspace/builds/worker-5-tc1/source [INFO] started tweaking crates.io crate wql-nom 0.1.0 [INFO] finished tweaking crates.io crate wql-nom 0.1.0 [INFO] tweaked toml for crates.io crate wql-nom 0.1.0 written to /workspace/builds/worker-5-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate wql-nom 0.1.0 on toolchain cf38b8e663f15db10ce49d7bbce02c99fc3dbc0c [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cf38b8e663f15db10ce49d7bbce02c99fc3dbc0c" "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" "+cf38b8e663f15db10ce49d7bbce02c99fc3dbc0c" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 60 packages to latest compatible versions [INFO] [stderr] Adding bcrypt v0.8.2 (available: v0.17.0) [INFO] [stderr] Adding memchr v2.3.4 (available: v2.7.5) [INFO] [stderr] Adding nom v6.2.2 (available: v8.0.0) [INFO] [stderr] Adding uuid v0.8.2 (available: v1.17.0) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cf38b8e663f15db10ce49d7bbce02c99fc3dbc0c" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded bcrypt v0.8.2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+cf38b8e663f15db10ce49d7bbce02c99fc3dbc0c" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 01b4e10024361f8ad203d6ffb1927b7bb0be00c6c2b49b3466b432a2ca3f4f1d [INFO] running `Command { std: "docker" "start" "-a" "01b4e10024361f8ad203d6ffb1927b7bb0be00c6c2b49b3466b432a2ca3f4f1d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "01b4e10024361f8ad203d6ffb1927b7bb0be00c6c2b49b3466b432a2ca3f4f1d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "01b4e10024361f8ad203d6ffb1927b7bb0be00c6c2b49b3466b432a2ca3f4f1d", kill_on_drop: false }` [INFO] [stdout] 01b4e10024361f8ad203d6ffb1927b7bb0be00c6c2b49b3466b432a2ca3f4f1d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+cf38b8e663f15db10ce49d7bbce02c99fc3dbc0c" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 0314952c1cfc33c04b97c57a30e160850cde8717f63aad4e9cdd2564730c98a3 [INFO] running `Command { std: "docker" "start" "-a" "0314952c1cfc33c04b97c57a30e160850cde8717f63aad4e9cdd2564730c98a3", kill_on_drop: false }` [INFO] [stderr] Compiling typenum v1.18.0 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling autocfg v1.5.0 [INFO] [stderr] Compiling radium v0.5.3 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling lexical-core v0.7.6 [INFO] [stderr] Compiling getrandom v0.1.16 [INFO] [stderr] Compiling memchr v2.3.4 [INFO] [stderr] Compiling nom v6.2.2 [INFO] [stderr] Checking funty v1.1.0 [INFO] [stderr] Checking arrayvec v0.5.2 [INFO] [stderr] Checking static_assertions v1.1.0 [INFO] [stderr] Checking wyz v0.2.0 [INFO] [stderr] Checking byteorder v1.5.0 [INFO] [stderr] Checking ryu v1.0.20 [INFO] [stderr] Compiling syn v2.0.104 [INFO] [stderr] Checking tap v1.0.1 [INFO] [stderr] Checking getrandom v0.2.16 [INFO] [stderr] Checking iana-time-zone v0.1.63 [INFO] [stderr] Checking base64 v0.12.3 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Checking bitvec v0.19.6 [INFO] [stderr] Checking block-cipher v0.8.0 [INFO] [stderr] Checking blowfish v0.6.0 [INFO] [stderr] Checking bcrypt v0.8.2 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Checking uuid v0.8.2 [INFO] [stderr] Checking chrono v0.4.41 [INFO] [stderr] Checking wql-nom 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/parser/types.rs:466:22 [INFO] [stdout] | [INFO] [stdout] 466 | let dt = Utc.ymd(2014, 11, 28).and_hms(12, 0, 9); [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/parser/types.rs:466:40 [INFO] [stdout] | [INFO] [stdout] 466 | let dt = Utc.ymd(2014, 11, 28).and_hms(12, 0, 9); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `wql_value` is never used [INFO] [stdout] --> src/model/types.rs:34:8 [INFO] [stdout] | [INFO] [stdout] 34 | pub fn wql_value(input: &str) -> IResult<&str, Types, VerboseError<&str>> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `default_values`, `to_hash`, and `is_hash` are never used [INFO] [stdout] --> src/model/types.rs:54:12 [INFO] [stdout] | [INFO] [stdout] 53 | impl Types { [INFO] [stdout] | ---------- methods in this implementation [INFO] [stdout] 54 | pub fn default_values(&self) -> Types { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 71 | pub fn to_hash(&self, cost: Option) -> Result { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 93 | pub fn is_hash(&self) -> bool { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `uuid_parser` is never used [INFO] [stdout] --> src/parser/types.rs:22:8 [INFO] [stdout] | [INFO] [stdout] 22 | pub fn uuid_parser(s: &str) -> IResult<&str, Uuid, VerboseError<&str>> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `precise_number_parser` is never used [INFO] [stdout] --> src/parser/types.rs:26:8 [INFO] [stdout] | [INFO] [stdout] 26 | pub fn precise_number_parser(num: &str) -> IResult<&str, String, VerboseError<&str>> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `datetime_parser` is never used [INFO] [stdout] --> src/parser/types.rs:34:8 [INFO] [stdout] | [INFO] [stdout] 34 | pub fn datetime_parser(datetime: &str) -> IResult<&str, DateTime, VerboseError<&str>> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `underlay_datetimeparser` is never used [INFO] [stdout] --> src/parser/types.rs:38:4 [INFO] [stdout] | [INFO] [stdout] 38 | fn underlay_datetimeparser(datetime: &str) -> Result, chrono::ParseError> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `alphanumerichyphen1` is never used [INFO] [stdout] --> src/parser/types.rs:42:8 [INFO] [stdout] | [INFO] [stdout] 42 | pub fn alphanumerichyphen1(s: &str) -> IResult<&str, &str, VerboseError<&str>> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `hashmap` is never used [INFO] [stdout] --> src/parser/types.rs:67:8 [INFO] [stdout] | [INFO] [stdout] 67 | pub fn hashmap(input: &str) -> IResult<&str, HashMap, VerboseError<&str>> { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `key_value` is never used [INFO] [stdout] --> src/parser/types.rs:88:4 [INFO] [stdout] | [INFO] [stdout] 88 | fn key_value(input: &str) -> IResult<&str, (&str, Types), VerboseError<&str>> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `vector` is never used [INFO] [stdout] --> src/parser/types.rs:96:8 [INFO] [stdout] | [INFO] [stdout] 96 | pub fn vector(input: &str) -> IResult<&str, Vec, VerboseError<&str>> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `string` is never used [INFO] [stdout] --> src/parser/types.rs:109:8 [INFO] [stdout] | [INFO] [stdout] 109 | pub fn string(input: &str) -> IResult<&str, String, VerboseError<&str>> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `char_parse` is never used [INFO] [stdout] --> src/parser/types.rs:117:8 [INFO] [stdout] | [INFO] [stdout] 117 | pub fn char_parse(input: &str) -> IResult<&str, char, VerboseError<&str>> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `boolean` is never used [INFO] [stdout] --> src/parser/types.rs:124:8 [INFO] [stdout] | [INFO] [stdout] 124 | pub fn boolean(input: &str) -> IResult<&str, bool, VerboseError<&str>> { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `nil` is never used [INFO] [stdout] --> src/parser/types.rs:131:8 [INFO] [stdout] | [INFO] [stdout] 131 | pub fn nil(input: &str) -> IResult<&str, Nil, VerboseError<&str>> { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `parse_str` is never used [INFO] [stdout] --> src/parser/types.rs:137:4 [INFO] [stdout] | [INFO] [stdout] 137 | fn parse_str(i: &str) -> IResult<&str, &str, VerboseError<&str>> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `alphanumerichyphen` is never used [INFO] [stdout] --> src/parser/types.rs:141:4 [INFO] [stdout] | [INFO] [stdout] 141 | fn alphanumerichyphen>(s: T) -> IResult [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `datetime_chars` is never used [INFO] [stdout] --> src/parser/types.rs:155:4 [INFO] [stdout] | [INFO] [stdout] 155 | fn datetime_chars>(s: T) -> IResult [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `precise_number` is never used [INFO] [stdout] --> src/parser/types.rs:169:4 [INFO] [stdout] | [INFO] [stdout] 169 | fn precise_number>(s: T) -> IResult [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `alphanumericall` is never used [INFO] [stdout] --> src/parser/types.rs:197:4 [INFO] [stdout] | [INFO] [stdout] 197 | fn alphanumericall>(s: T) -> IResult [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/parser/mod.rs:14:25 [INFO] [stdout] | [INFO] [stdout] 14 | pub fn parse_wql(input: &str) -> Result { [INFO] [stdout] | ^^^^ -------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 14 | pub fn parse_wql(input: &str) -> Result> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `default_values`, `to_hash`, and `is_hash` are never used [INFO] [stdout] --> src/model/types.rs:54:12 [INFO] [stdout] | [INFO] [stdout] 53 | impl Types { [INFO] [stdout] | ---------- methods in this implementation [INFO] [stdout] 54 | pub fn default_values(&self) -> Types { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 71 | pub fn to_hash(&self, cost: Option) -> Result { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 93 | pub fn is_hash(&self) -> bool { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/parser/mod.rs:14:25 [INFO] [stdout] | [INFO] [stdout] 14 | pub fn parse_wql(input: &str) -> Result { [INFO] [stdout] | ^^^^ -------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 14 | pub fn parse_wql(input: &str) -> Result> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 17.27s [INFO] running `Command { std: "docker" "inspect" "0314952c1cfc33c04b97c57a30e160850cde8717f63aad4e9cdd2564730c98a3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0314952c1cfc33c04b97c57a30e160850cde8717f63aad4e9cdd2564730c98a3", kill_on_drop: false }` [INFO] [stdout] 0314952c1cfc33c04b97c57a30e160850cde8717f63aad4e9cdd2564730c98a3