[INFO] fetching crate phc 0.2.0... [INFO] testing phc-0.2.0 against try#2440211fe03bc45c89b6dc1a3df18382ce91e32b for pr-146098-1 [INFO] extracting crate phc 0.2.0 into /workspace/builds/worker-7-tc2/source [INFO] started tweaking crates.io crate phc 0.2.0 [INFO] finished tweaking crates.io crate phc 0.2.0 [INFO] tweaked toml for crates.io crate phc 0.2.0 written to /workspace/builds/worker-7-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate phc 0.2.0 on toolchain 2440211fe03bc45c89b6dc1a3df18382ce91e32b [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "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" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 6 packages to latest compatible versions [INFO] [stderr] Adding base64 v0.9.3 (available: v0.22.1) [INFO] [stderr] Adding nom v4.2.3 (available: v8.0.0) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: the cargo feature `edition` has been stabilized in the 1.31 release and is no longer necessary to be listed in the manifest [INFO] [stderr] See https://doc.rust-lang.org/nightly/cargo/reference/manifest.html#the-edition-field for more information about using this feature. [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" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] bbafb0795e7ff159249a1c01b0b0df337f9b0ccf055ee907653f0e8f19f533f3 [INFO] running `Command { std: "docker" "start" "-a" "bbafb0795e7ff159249a1c01b0b0df337f9b0ccf055ee907653f0e8f19f533f3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "bbafb0795e7ff159249a1c01b0b0df337f9b0ccf055ee907653f0e8f19f533f3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bbafb0795e7ff159249a1c01b0b0df337f9b0ccf055ee907653f0e8f19f533f3", kill_on_drop: false }` [INFO] [stdout] bbafb0795e7ff159249a1c01b0b0df337f9b0ccf055ee907653f0e8f19f533f3 [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" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f4f59c2dbb5bc2cd72fb0208dd0e194176609489485c21fdc03adbf525a38e26 [INFO] running `Command { std: "docker" "start" "-a" "f4f59c2dbb5bc2cd72fb0208dd0e194176609489485c21fdc03adbf525a38e26", kill_on_drop: false }` [INFO] [stderr] warning: the cargo feature `edition` has been stabilized in the 1.31 release and is no longer necessary to be listed in the manifest [INFO] [stderr] See https://doc.rust-lang.org/nightly/cargo/reference/manifest.html#the-edition-field for more information about using this feature. [INFO] [stderr] Compiling nom v4.2.3 [INFO] [stderr] Compiling safemem v0.3.3 [INFO] [stderr] Compiling base64 v0.9.3 [INFO] [stderr] Compiling phc v0.2.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: struct `RawParamSlice` is never constructed [INFO] [stdout] --> src/params.rs:112:12 [INFO] [stdout] | [INFO] [stdout] 112 | pub struct RawParamSlice<'a>(&'a [(&'a str, &'a str)]); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `next_if_key` and `extract_single` are never used [INFO] [stdout] --> src/params.rs:115:8 [INFO] [stdout] | [INFO] [stdout] 114 | impl<'a> RawParamSlice<'a> { [INFO] [stdout] | -------------------------- methods in this implementation [INFO] [stdout] 115 | fn next_if_key(&mut self, key: &str) -> Option<&str> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 125 | pub fn extract_single

(&mut self, param: &P) -> Option [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `ParamSet` is never used [INFO] [stdout] --> src/params.rs:136:11 [INFO] [stdout] | [INFO] [stdout] 136 | pub trait ParamSet { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `extract_param_set` is never used [INFO] [stdout] --> src/params.rs:143:15 [INFO] [stdout] | [INFO] [stdout] 143 | pub(crate) fn extract_param_set

(param_set: &P, raw: &[(&str, &str)]) -> Option [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/parser.rs:45:13 [INFO] [stdout] | [INFO] [stdout] 45 | named!(name, as_ref!(take_while1!(is_name_char))); [INFO] [stdout] | ^^^^^^^^^^^ ^^^^ the same lifetime is elided here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is hidden here [INFO] [stdout] | the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 45 | named!(name, &str>, as_ref!(take_while1!(is_name_char))); [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/parser.rs:47:14 [INFO] [stdout] | [INFO] [stdout] 47 | named!(value, as_ref!(take_while1!(is_value_char))); [INFO] [stdout] | ^^^^^^^^^^^ ^^^^ the same lifetime is elided here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is hidden here [INFO] [stdout] | the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 47 | named!(value, &str>, as_ref!(take_while1!(is_value_char))); [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/parser.rs:56:11 [INFO] [stdout] | [INFO] [stdout] 56 | named!(id, preceded!(char!('$'), name)); [INFO] [stdout] | ^^^^^^^^^^^ ^^^^ the same lifetime is elided here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is hidden here [INFO] [stdout] | the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 56 | named!(id, &str>, preceded!(char!('$'), name)); [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/parser.rs:95:30 [INFO] [stdout] | [INFO] [stdout] 95 | pub(crate) fn parse_phc(raw: &str) -> Result> { [INFO] [stdout] | ^^^^ ^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 95 | pub(crate) fn parse_phc(raw: &str) -> Result>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1.58s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: nom v4.2.3 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1` [INFO] running `Command { std: "docker" "inspect" "f4f59c2dbb5bc2cd72fb0208dd0e194176609489485c21fdc03adbf525a38e26", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f4f59c2dbb5bc2cd72fb0208dd0e194176609489485c21fdc03adbf525a38e26", kill_on_drop: false }` [INFO] [stdout] f4f59c2dbb5bc2cd72fb0208dd0e194176609489485c21fdc03adbf525a38e26 [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" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 09a03b0f811e901ffd840f8da01d1de1a40c785b81518fa9b7e7c3657d94b431 [INFO] running `Command { std: "docker" "start" "-a" "09a03b0f811e901ffd840f8da01d1de1a40c785b81518fa9b7e7c3657d94b431", kill_on_drop: false }` [INFO] [stderr] warning: the cargo feature `edition` has been stabilized in the 1.31 release and is no longer necessary to be listed in the manifest [INFO] [stderr] See https://doc.rust-lang.org/nightly/cargo/reference/manifest.html#the-edition-field for more information about using this feature. [INFO] [stdout] warning: struct `RawParamSlice` is never constructed [INFO] [stdout] --> src/params.rs:112:12 [INFO] [stdout] | [INFO] [stdout] 112 | pub struct RawParamSlice<'a>(&'a [(&'a str, &'a str)]); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `next_if_key` and `extract_single` are never used [INFO] [stdout] --> src/params.rs:115:8 [INFO] [stdout] | [INFO] [stdout] 114 | impl<'a> RawParamSlice<'a> { [INFO] [stdout] | -------------------------- methods in this implementation [INFO] [stdout] 115 | fn next_if_key(&mut self, key: &str) -> Option<&str> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 125 | pub fn extract_single

(&mut self, param: &P) -> Option [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `ParamSet` is never used [INFO] [stdout] --> src/params.rs:136:11 [INFO] [stdout] | [INFO] [stdout] 136 | pub trait ParamSet { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `extract_param_set` is never used [INFO] [stdout] --> src/params.rs:143:15 [INFO] [stdout] | [INFO] [stdout] 143 | pub(crate) fn extract_param_set

(param_set: &P, raw: &[(&str, &str)]) -> Option [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/parser.rs:45:13 [INFO] [stdout] | [INFO] [stdout] 45 | named!(name, as_ref!(take_while1!(is_name_char))); [INFO] [stdout] | ^^^^^^^^^^^ ^^^^ the same lifetime is elided here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is hidden here [INFO] [stdout] | the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 45 | named!(name, &str>, as_ref!(take_while1!(is_name_char))); [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/parser.rs:47:14 [INFO] [stdout] | [INFO] [stdout] 47 | named!(value, as_ref!(take_while1!(is_value_char))); [INFO] [stdout] | ^^^^^^^^^^^ ^^^^ the same lifetime is elided here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is hidden here [INFO] [stdout] | the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 47 | named!(value, &str>, as_ref!(take_while1!(is_value_char))); [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/parser.rs:56:11 [INFO] [stdout] | [INFO] [stdout] 56 | named!(id, preceded!(char!('$'), name)); [INFO] [stdout] | ^^^^^^^^^^^ ^^^^ the same lifetime is elided here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is hidden here [INFO] [stdout] | the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 56 | named!(id, &str>, preceded!(char!('$'), name)); [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/parser.rs:95:30 [INFO] [stdout] | [INFO] [stdout] 95 | pub(crate) fn parse_phc(raw: &str) -> Result> { [INFO] [stdout] | ^^^^ ^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 95 | pub(crate) fn parse_phc(raw: &str) -> Result>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling phc v0.2.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `params` [INFO] [stdout] --> src/params.rs:226:13 [INFO] [stdout] | [INFO] [stdout] 226 | let params = param_set!(a: u8, b: u32, c = true, y: &str = "Hello!"); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_params` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/parser.rs:45:13 [INFO] [stdout] | [INFO] [stdout] 45 | named!(name, as_ref!(take_while1!(is_name_char))); [INFO] [stdout] | ^^^^^^^^^^^ ^^^^ the same lifetime is elided here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is hidden here [INFO] [stdout] | the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 45 | named!(name, &str>, as_ref!(take_while1!(is_name_char))); [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/parser.rs:47:14 [INFO] [stdout] | [INFO] [stdout] 47 | named!(value, as_ref!(take_while1!(is_value_char))); [INFO] [stdout] | ^^^^^^^^^^^ ^^^^ the same lifetime is elided here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is hidden here [INFO] [stdout] | the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 47 | named!(value, &str>, as_ref!(take_while1!(is_value_char))); [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/parser.rs:56:11 [INFO] [stdout] | [INFO] [stdout] 56 | named!(id, preceded!(char!('$'), name)); [INFO] [stdout] | ^^^^^^^^^^^ ^^^^ the same lifetime is elided here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is hidden here [INFO] [stdout] | the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 56 | named!(id, &str>, preceded!(char!('$'), name)); [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/parser.rs:95:30 [INFO] [stdout] | [INFO] [stdout] 95 | pub(crate) fn parse_phc(raw: &str) -> Result> { [INFO] [stdout] | ^^^^ ^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 95 | pub(crate) fn parse_phc(raw: &str) -> Result>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.90s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: nom v4.2.3 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1` [INFO] running `Command { std: "docker" "inspect" "09a03b0f811e901ffd840f8da01d1de1a40c785b81518fa9b7e7c3657d94b431", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "09a03b0f811e901ffd840f8da01d1de1a40c785b81518fa9b7e7c3657d94b431", kill_on_drop: false }` [INFO] [stdout] 09a03b0f811e901ffd840f8da01d1de1a40c785b81518fa9b7e7c3657d94b431 [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" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 7c0171970d9e18a8564d0938c7e7943a727d558aa4259054ce6ed82ed5f8cc77 [INFO] running `Command { std: "docker" "start" "-a" "7c0171970d9e18a8564d0938c7e7943a727d558aa4259054ce6ed82ed5f8cc77", kill_on_drop: false }` [INFO] [stderr] warning: the cargo feature `edition` has been stabilized in the 1.31 release and is no longer necessary to be listed in the manifest [INFO] [stderr] See https://doc.rust-lang.org/nightly/cargo/reference/manifest.html#the-edition-field for more information about using this feature. [INFO] [stderr] warning: struct `RawParamSlice` is never constructed [INFO] [stderr] --> src/params.rs:112:12 [INFO] [stderr] | [INFO] [stderr] 112 | pub struct RawParamSlice<'a>(&'a [(&'a str, &'a str)]); [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: methods `next_if_key` and `extract_single` are never used [INFO] [stderr] --> src/params.rs:115:8 [INFO] [stderr] | [INFO] [stderr] 114 | impl<'a> RawParamSlice<'a> { [INFO] [stderr] | -------------------------- methods in this implementation [INFO] [stderr] 115 | fn next_if_key(&mut self, key: &str) -> Option<&str> { [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 125 | pub fn extract_single

(&mut self, param: &P) -> Option [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: trait `ParamSet` is never used [INFO] [stderr] --> src/params.rs:136:11 [INFO] [stderr] | [INFO] [stderr] 136 | pub trait ParamSet { [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `extract_param_set` is never used [INFO] [stderr] --> src/params.rs:143:15 [INFO] [stderr] | [INFO] [stderr] 143 | pub(crate) fn extract_param_set

(param_set: &P, raw: &[(&str, &str)]) -> Option [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/parser.rs:45:13 [INFO] [stderr] | [INFO] [stderr] 45 | named!(name, as_ref!(take_while1!(is_name_char))); [INFO] [stderr] | ^^^^^^^^^^^ ^^^^ the same lifetime is elided here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is hidden here [INFO] [stderr] | the same lifetime is hidden here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 45 | named!(name, &str>, as_ref!(take_while1!(is_name_char))); [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/parser.rs:47:14 [INFO] [stderr] | [INFO] [stderr] 47 | named!(value, as_ref!(take_while1!(is_value_char))); [INFO] [stderr] | ^^^^^^^^^^^ ^^^^ the same lifetime is elided here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is hidden here [INFO] [stderr] | the same lifetime is hidden here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 47 | named!(value, &str>, as_ref!(take_while1!(is_value_char))); [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/parser.rs:56:11 [INFO] [stderr] | [INFO] [stderr] 56 | named!(id, preceded!(char!('$'), name)); [INFO] [stderr] | ^^^^^^^^^^^ ^^^^ the same lifetime is elided here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is hidden here [INFO] [stderr] | the same lifetime is hidden here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 56 | named!(id, &str>, preceded!(char!('$'), name)); [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/parser.rs:95:30 [INFO] [stderr] | [INFO] [stderr] 95 | pub(crate) fn parse_phc(raw: &str) -> Result> { [INFO] [stderr] | ^^^^ ^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 95 | pub(crate) fn parse_phc(raw: &str) -> Result>> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: unused variable: `params` [INFO] [stderr] --> src/params.rs:226:13 [INFO] [stderr] | [INFO] [stderr] 226 | let params = param_set!(a: u8, b: u32, c = true, y: &str = "Hello!"); [INFO] [stderr] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_params` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: `phc` (lib) generated 8 warnings (run `cargo fix --lib -p phc` to apply 4 suggestions) [INFO] [stderr] warning: `phc` (lib test) generated 5 warnings (4 duplicates) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.05s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: nom v4.2.3 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1` [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/phc-0baf6ab097daff55) [INFO] [stdout] [INFO] [stdout] running 25 tests [INFO] [stdout] test params::tests::param_set_variants ... ok [INFO] [stdout] test params::tests::two_param_set_two_parses ... ok [INFO] [stdout] test parser::tests::param_string_one_param ... ok [INFO] [stdout] test parser::tests::salt_string_no_params ... ok [INFO] [stdout] test parser::tests::param_string_two_params ... ok [INFO] [stdout] test parser::tests::hash_string_no_params ... ok [INFO] [stdout] test parser::tests::salt_string_one_param ... ok [INFO] [stdout] test parser::tests::hash_string_one_param ... ok [INFO] [stdout] test raw::tests::heap_string_one_param_is_iso ... ok [INFO] [stdout] test parser::tests::hash_string_two_params ... ok [INFO] [stdout] test raw::tests::heap_string_two_params_is_iso ... ok [INFO] [stdout] test parser::tests::salt_string_two_params ... ok [INFO] [stdout] test raw::tests::heap_string_no_params_is_iso ... ok [INFO] [stdout] test raw::tests::param_string_one_param_is_iso ... ok [INFO] [stdout] test raw::tests::param_string_no_params_is_iso ... ok [INFO] [stdout] test raw::tests::salt_string_one_param_is_iso ... ok [INFO] [stdout] test raw::tests::salt_string_two_params_is_iso ... ok [INFO] [stdout] test salt::tests::ascii_salt_serializes ... ok [INFO] [stdout] test parser::tests::param_string_no_params ... ok [INFO] [stdout] test salt::tests::base_64_ascii_salt_converts_to_binary ... ok [INFO] [stdout] test salt::tests::binary_salt_serializes_to_base_64 ... ok [INFO] [stdout] test raw::tests::param_string_two_params_is_iso ... ok [INFO] [stdout] test salt::tests::binary_ascii_salt_to_binary_is_same ... ok [INFO] [stdout] test raw::tests::salt_string_no_params_is_iso ... ok [INFO] [stdout] test salt::tests::non_base_64_ascii_doesnt_convert_to_binary ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 25 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.01s [INFO] [stdout] [INFO] [stderr] Doc-tests phc [INFO] [stdout] [INFO] [stdout] running 3 tests [INFO] [stdout] test src/params.rs - params::GenParam (line 29) ... ok [INFO] [stdout] test src/salt.rs - salt::Salt::into_binary (line 29) ... ok [INFO] [stdout] test src/salt.rs - salt::Salt::into_binary (line 23) ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 3 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.42s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "7c0171970d9e18a8564d0938c7e7943a727d558aa4259054ce6ed82ed5f8cc77", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7c0171970d9e18a8564d0938c7e7943a727d558aa4259054ce6ed82ed5f8cc77", kill_on_drop: false }` [INFO] [stdout] 7c0171970d9e18a8564d0938c7e7943a727d558aa4259054ce6ed82ed5f8cc77