[INFO] fetching crate serde_qs_ext 0.12.0... [INFO] building serde_qs_ext-0.12.0 against try#4987e9d4227139400384ab59296ffee3b0fb1183 for pr-146237-2 [INFO] extracting crate serde_qs_ext 0.12.0 into /workspace/builds/worker-0-tc2/source [INFO] started tweaking crates.io crate serde_qs_ext 0.12.0 [INFO] finished tweaking crates.io crate serde_qs_ext 0.12.0 [INFO] tweaked toml for crates.io crate serde_qs_ext 0.12.0 written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate serde_qs_ext 0.12.0 on toolchain 4987e9d4227139400384ab59296ffee3b0fb1183 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4987e9d4227139400384ab59296ffee3b0fb1183" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate serde_qs_ext 0.12.0 already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4987e9d4227139400384ab59296ffee3b0fb1183" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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" "+4987e9d4227139400384ab59296ffee3b0fb1183" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 181b0a1a7d01aa70e256d54718bf046073be327d73aa2a454e06032fb0c49c4a [INFO] running `Command { std: "docker" "start" "-a" "181b0a1a7d01aa70e256d54718bf046073be327d73aa2a454e06032fb0c49c4a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "181b0a1a7d01aa70e256d54718bf046073be327d73aa2a454e06032fb0c49c4a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "181b0a1a7d01aa70e256d54718bf046073be327d73aa2a454e06032fb0c49c4a", kill_on_drop: false }` [INFO] [stdout] 181b0a1a7d01aa70e256d54718bf046073be327d73aa2a454e06032fb0c49c4a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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" "+4987e9d4227139400384ab59296ffee3b0fb1183" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 65d642464715a443cb11682634d1cdd370a7bc382a26471265e620822d269c4d [INFO] running `Command { std: "docker" "start" "-a" "65d642464715a443cb11682634d1cdd370a7bc382a26471265e620822d269c4d", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.69 [INFO] [stderr] Compiling unicode-ident v1.0.12 [INFO] [stderr] Compiling thiserror v1.0.50 [INFO] [stderr] Compiling serde v1.0.192 [INFO] [stderr] Compiling percent-encoding v2.3.0 [INFO] [stderr] Compiling quote v1.0.33 [INFO] [stderr] Compiling syn v2.0.39 [INFO] [stderr] Compiling thiserror-impl v1.0.50 [INFO] [stderr] Compiling serde_derive v1.0.192 [INFO] [stderr] Compiling serde_qs_ext v0.12.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/utils.rs:11:29 [INFO] [stdout] | [INFO] [stdout] 11 | pub fn replace_space(input: &str) -> Cow { [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] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 11 | pub fn replace_space(input: &str) -> Cow<'_, str> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/de/parse.rs:203:24 [INFO] [stdout] | [INFO] [stdout] 203 | fn replace_plus(input: &[u8]) -> Cow<[u8]> { [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] 203 | fn replace_plus(input: &[u8]) -> Cow<'_, [u8]> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/ser.rs:89:25 [INFO] [stdout] | [INFO] [stdout] 89 | fn as_qs_serializer(&mut self) -> QsSerializer { [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] 89 | fn as_qs_serializer(&mut self) -> QsSerializer<'_, W> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 9.39s [INFO] running `Command { std: "docker" "inspect" "65d642464715a443cb11682634d1cdd370a7bc382a26471265e620822d269c4d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "65d642464715a443cb11682634d1cdd370a7bc382a26471265e620822d269c4d", kill_on_drop: false }` [INFO] [stdout] 65d642464715a443cb11682634d1cdd370a7bc382a26471265e620822d269c4d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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" "+4987e9d4227139400384ab59296ffee3b0fb1183" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 9585d14c64cbed36f38b8865ec6b4470b324f968d24b939603324bbdbac229a4 [INFO] running `Command { std: "docker" "start" "-a" "9585d14c64cbed36f38b8865ec6b4470b324f968d24b939603324bbdbac229a4", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.150 [INFO] [stderr] Compiling ident_case v1.0.1 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling strsim v0.10.0 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Compiling ryu v1.0.15 [INFO] [stderr] Compiling memchr v2.6.4 [INFO] [stderr] Compiling itoa v1.0.9 [INFO] [stderr] Compiling ppv-lite86 v0.2.17 [INFO] [stderr] Compiling iana-time-zone v0.1.58 [INFO] [stderr] Compiling form_urlencoded v1.2.0 [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/utils.rs:11:29 [INFO] [stdout] | [INFO] [stdout] 11 | pub fn replace_space(input: &str) -> Cow { [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] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 11 | pub fn replace_space(input: &str) -> Cow<'_, str> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/de/parse.rs:203:24 [INFO] [stdout] | [INFO] [stdout] 203 | fn replace_plus(input: &[u8]) -> Cow<[u8]> { [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] 203 | fn replace_plus(input: &[u8]) -> Cow<'_, [u8]> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/ser.rs:89:25 [INFO] [stdout] | [INFO] [stdout] 89 | fn as_qs_serializer(&mut self) -> QsSerializer { [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] 89 | fn as_qs_serializer(&mut self) -> QsSerializer<'_, W> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling darling_core v0.20.3 [INFO] [stderr] Compiling csv-core v0.1.11 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling num-traits v0.2.17 [INFO] [stderr] Compiling csv v1.3.0 [INFO] [stderr] Compiling getrandom v0.2.10 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling darling_macro v0.20.3 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling chrono v0.4.31 [INFO] [stderr] Compiling darling v0.20.3 [INFO] [stderr] Compiling serde_with_macros v2.3.3 [INFO] [stderr] Compiling serde_with v2.3.3 [INFO] [stderr] Compiling serde_qs_ext v0.12.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0463]: can't find crate for `serde_qs` [INFO] [stdout] --> tests/test_chrono.rs:4:1 [INFO] [stdout] | [INFO] [stdout] 4 | extern crate serde_qs as qs; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0463]: can't find crate for `serde_qs` [INFO] [stdout] --> tests/test_deserialize.rs:4:1 [INFO] [stdout] | [INFO] [stdout] 4 | extern crate serde_qs as qs; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0463]: can't find crate for `serde_qs` [INFO] [stdout] --> examples/csv_vectors.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | extern crate serde_qs as qs; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0463]: can't find crate for `serde_qs` [INFO] [stdout] --> examples/introduction.rs:4:1 [INFO] [stdout] | [INFO] [stdout] 4 | extern crate serde_qs as qs; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0463]: can't find crate for `serde_qs` [INFO] [stdout] --> tests/test_serialize.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | extern crate serde_qs as qs; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0463]: can't find crate for `serde_qs` [INFO] [stdout] --> tests/test_regression.rs:4:1 [INFO] [stdout] | [INFO] [stdout] 4 | extern crate serde_qs as qs; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0463`. [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0463`. [INFO] [stdout] [INFO] [stderr] error: could not compile `serde_qs_ext` (example "csv_vectors") due to 1 previous error [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `serde_qs_ext` (test "test_chrono") due to 1 previous error [INFO] [stderr] error: could not compile `serde_qs_ext` (example "introduction") due to 1 previous error [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `serde_qs` [INFO] [stdout] --> tests/test_regression.rs:18:19 [INFO] [stdout] | [INFO] [stdout] 18 | let encoded = serde_qs::to_string(&human).unwrap(); [INFO] [stdout] | ^^^^^^^^ use of unresolved module or unlinked crate `serde_qs` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `serde_qs`, use `cargo add serde_qs` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0463`. [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `serde_qs` [INFO] [stdout] --> tests/test_regression.rs:20:16 [INFO] [stdout] | [INFO] [stdout] 20 | assert_eq!(serde_qs::from_str::(&encoded).unwrap(), human); [INFO] [stdout] | ^^^^^^^^ use of unresolved module or unlinked crate `serde_qs` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `serde_qs`, use `cargo add serde_qs` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0433, E0463. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0433`. [INFO] [stdout] [INFO] [stderr] error: could not compile `serde_qs_ext` (test "test_regression") due to 3 previous errors [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `serde_qs` [INFO] [stdout] --> tests/test_deserialize.rs:693:25 [INFO] [stdout] | [INFO] [stdout] 693 | let test: Mapping = serde_qs::from_str("mapping[1]=2&mapping[3]=4").unwrap(); [INFO] [stdout] | ^^^^^^^^ use of unresolved module or unlinked crate `serde_qs` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `serde_qs`, use `cargo add serde_qs` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/test_deserialize.rs:28:49 [INFO] [stdout] | [INFO] [stdout] 28 | let testmap: HashMap<_, _> = config.deserialize_str($string).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] ... [INFO] [stdout] 125 | map_test!("0=foo", 0["foo"]); [INFO] [stdout] | ---------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `map_test` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/test_deserialize.rs:28:49 [INFO] [stdout] | [INFO] [stdout] 28 | let testmap: HashMap<_, _> = config.deserialize_str($string).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] ... [INFO] [stdout] 128 | map_test!("&0=foo", 0["foo"]); [INFO] [stdout] | ----------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `map_test` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/test_deserialize.rs:28:49 [INFO] [stdout] | [INFO] [stdout] 28 | let testmap: HashMap<_, _> = config.deserialize_str($string).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] ... [INFO] [stdout] 131 | map_test!("0=foo&", 0["foo"]); [INFO] [stdout] | ----------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `map_test` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/de/parse.rs:203:24 [INFO] [stdout] | [INFO] [stdout] 203 | fn replace_plus(input: &[u8]) -> Cow<[u8]> { [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] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 203 | fn replace_plus(input: &[u8]) -> Cow<'_, [u8]> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/ser.rs:89:25 [INFO] [stdout] | [INFO] [stdout] 89 | fn as_qs_serializer(&mut self) -> QsSerializer { [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] 89 | fn as_qs_serializer(&mut self) -> QsSerializer<'_, W> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/utils.rs:11:29 [INFO] [stdout] | [INFO] [stdout] 11 | pub fn replace_space(input: &str) -> Cow { [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] 11 | pub fn replace_space(input: &str) -> Cow<'_, str> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `serde_qs` [INFO] [stdout] --> tests/test_deserialize.rs:699:5 [INFO] [stdout] | [INFO] [stdout] 699 | serde_qs::from_str::("mapping[1]=2&mapping[1]=4") [INFO] [stdout] | ^^^^^^^^ use of unresolved module or unlinked crate `serde_qs` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `serde_qs`, use `cargo add serde_qs` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/test_deserialize.rs:28:49 [INFO] [stdout] | [INFO] [stdout] 28 | let testmap: HashMap<_, _> = config.deserialize_str($string).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] ... [INFO] [stdout] 452 | map_test!("foo=%24", "foo"["$"]); [INFO] [stdout] | -------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `map_test` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `serde_qs` [INFO] [stdout] --> tests/test_deserialize.rs:717:20 [INFO] [stdout] | [INFO] [stdout] 717 | let test: () = serde_qs::from_str("").unwrap(); [INFO] [stdout] | ^^^^^^^^ use of unresolved module or unlinked crate `serde_qs` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `serde_qs`, use `cargo add serde_qs` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/test_deserialize.rs:28:49 [INFO] [stdout] | [INFO] [stdout] 28 | let testmap: HashMap<_, _> = config.deserialize_str($string).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] ... [INFO] [stdout] 134 | map_test!("foo=c++", "foo"["c "]); [INFO] [stdout] | ---------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `map_test` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/test_deserialize.rs:28:49 [INFO] [stdout] | [INFO] [stdout] 28 | let testmap: HashMap<_, _> = config.deserialize_str($string).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] ... [INFO] [stdout] 454 | map_test!("foo=%26", "foo"["&"]); [INFO] [stdout] | -------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `map_test` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/test_deserialize.rs:28:49 [INFO] [stdout] | [INFO] [stdout] 28 | let testmap: HashMap<_, _> = config.deserialize_str($string).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] ... [INFO] [stdout] 137 | map_test!("a[>=]=23", "a"[">="[23]]); [INFO] [stdout] | ------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `map_test` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/test_deserialize.rs:28:49 [INFO] [stdout] | [INFO] [stdout] 28 | let testmap: HashMap<_, _> = config.deserialize_str($string).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] ... [INFO] [stdout] 140 | map_test!("a[<=>]==23", "a"["<=>"["=23"]]); [INFO] [stdout] | ------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `map_test` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `serde_qs` [INFO] [stdout] --> tests/test_deserialize.rs:720:19 [INFO] [stdout] | [INFO] [stdout] 720 | let test: A = serde_qs::from_str("").unwrap(); [INFO] [stdout] | ^^^^^^^^ use of unresolved module or unlinked crate `serde_qs` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `serde_qs`, use `cargo add serde_qs` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/test_deserialize.rs:28:49 [INFO] [stdout] | [INFO] [stdout] 28 | let testmap: HashMap<_, _> = config.deserialize_str($string).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] ... [INFO] [stdout] 213 | map_test!("a[b]=c", "a"["b"["c"]]); [INFO] [stdout] | ---------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `map_test` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/test_deserialize.rs:28:49 [INFO] [stdout] | [INFO] [stdout] 28 | let testmap: HashMap<_, _> = config.deserialize_str($string).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] ... [INFO] [stdout] 217 | map_test!("a[b][c]=d", "a"["b"["c"["d"]]]); [INFO] [stdout] | ------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `map_test` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `serde_qs` [INFO] [stdout] --> tests/test_deserialize.rs:663:22 [INFO] [stdout] | [INFO] [stdout] 663 | let test: Test = serde_qs::from_str("email=a%2Bb%40c.com").unwrap(); [INFO] [stdout] | ^^^^^^^^ use of unresolved module or unlinked crate `serde_qs` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `serde_qs`, use `cargo add serde_qs` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/test_deserialize.rs:28:49 [INFO] [stdout] | [INFO] [stdout] 28 | let testmap: HashMap<_, _> = config.deserialize_str($string).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] ... [INFO] [stdout] 580 | map_test!("foo=%5BHello%5D", "foo"["[Hello]"]); [INFO] [stdout] | ---------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `map_test` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `serde_qs` [INFO] [stdout] --> tests/test_deserialize.rs:723:19 [INFO] [stdout] | [INFO] [stdout] 723 | let test: B = serde_qs::from_str("a=test&t=").unwrap(); [INFO] [stdout] | ^^^^^^^^ use of unresolved module or unlinked crate `serde_qs` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `serde_qs`, use `cargo add serde_qs` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `serde_qs` [INFO] [stdout] --> tests/test_deserialize.rs:726:19 [INFO] [stdout] | [INFO] [stdout] 726 | let test: B = serde_qs::from_str("t=&a=test").unwrap(); [INFO] [stdout] | ^^^^^^^^ use of unresolved module or unlinked crate `serde_qs` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `serde_qs`, use `cargo add serde_qs` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/test_deserialize.rs:28:49 [INFO] [stdout] | [INFO] [stdout] 28 | let testmap: HashMap<_, _> = config.deserialize_str($string).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] ... [INFO] [stdout] 224 | / map_test!( [INFO] [stdout] 225 | | "a[b][c][d][e][f][g][h]=i", [INFO] [stdout] 226 | | "a"["b"["c"["d"["e"["[f][g][h]"["i"]]]]]] [INFO] [stdout] 227 | | ); [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `map_test` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/test_deserialize.rs:28:49 [INFO] [stdout] | [INFO] [stdout] 28 | let testmap: HashMap<_, _> = config.deserialize_str($string).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] ... [INFO] [stdout] 143 | map_test!("a[==]=23", "a"["=="[23]]); [INFO] [stdout] | ------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `map_test` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/test_deserialize.rs:28:49 [INFO] [stdout] | [INFO] [stdout] 28 | let testmap: HashMap<_, _> = config.deserialize_str($string).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] ... [INFO] [stdout] 148 | map_test!("foo", "foo"[none]); [INFO] [stdout] | ----------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `map_test` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `serde_qs` [INFO] [stdout] --> tests/test_deserialize.rs:739:22 [INFO] [stdout] | [INFO] [stdout] 739 | let serialized = serde_qs::to_string(&data).unwrap(); [INFO] [stdout] | ^^^^^^^^ use of unresolved module or unlinked crate `serde_qs` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `serde_qs`, use `cargo add serde_qs` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `serde_qs` [INFO] [stdout] --> tests/test_deserialize.rs:742:24 [INFO] [stdout] | [INFO] [stdout] 742 | let deserialized = serde_qs::from_str::(&serialized).unwrap(); [INFO] [stdout] | ^^^^^^^^ use of unresolved module or unlinked crate `serde_qs` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `serde_qs`, use `cargo add serde_qs` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/test_deserialize.rs:87:14 [INFO] [stdout] | [INFO] [stdout] 87 | .deserialize_str( [INFO] [stdout] | ^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `serde_qs` [INFO] [stdout] --> tests/test_deserialize.rs:680:24 [INFO] [stdout] | [INFO] [stdout] 680 | let test: Filter = serde_qs::from_str("point[Gt]=123&point[Lt]=321").unwrap(); [INFO] [stdout] | ^^^^^^^^ use of unresolved module or unlinked crate `serde_qs` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `serde_qs`, use `cargo add serde_qs` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/test_deserialize.rs:28:49 [INFO] [stdout] | [INFO] [stdout] 28 | let testmap: HashMap<_, _> = config.deserialize_str($string).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] ... [INFO] [stdout] 151 | map_test!("foo", "foo"[""]); [INFO] [stdout] | --------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `map_test` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/test_deserialize.rs:28:49 [INFO] [stdout] | [INFO] [stdout] 28 | let testmap: HashMap<_, _> = config.deserialize_str($string).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] ... [INFO] [stdout] 154 | map_test!("foo=", "foo"[""]); [INFO] [stdout] | ---------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `map_test` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/test_deserialize.rs:28:49 [INFO] [stdout] | [INFO] [stdout] 28 | let testmap: HashMap<_, _> = config.deserialize_str($string).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] ... [INFO] [stdout] 157 | map_test!("foo=bar", "foo"["bar"]); [INFO] [stdout] | ---------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `map_test` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/test_deserialize.rs:28:49 [INFO] [stdout] | [INFO] [stdout] 28 | let testmap: HashMap<_, _> = config.deserialize_str($string).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] ... [INFO] [stdout] 160 | map_test!(" foo = bar = baz ", " foo "[" bar = baz "]); [INFO] [stdout] | ------------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `map_test` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/test_deserialize.rs:28:49 [INFO] [stdout] | [INFO] [stdout] 28 | let testmap: HashMap<_, _> = config.deserialize_str($string).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] ... [INFO] [stdout] 163 | map_test!("foo=bar=baz", "foo"["bar=baz"]); [INFO] [stdout] | ------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `map_test` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/test_deserialize.rs:28:49 [INFO] [stdout] | [INFO] [stdout] 28 | let testmap: HashMap<_, _> = config.deserialize_str($string).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] ... [INFO] [stdout] 166 | map_test!("foo=bar&bar=baz", "foo"["bar"] "bar"["baz"]); [INFO] [stdout] | ------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `map_test` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/test_deserialize.rs:28:49 [INFO] [stdout] | [INFO] [stdout] 28 | let testmap: HashMap<_, _> = config.deserialize_str($string).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] ... [INFO] [stdout] 169 | map_test!("foo=bar&&bar=baz", "foo"["bar"] "bar"["baz"]); [INFO] [stdout] | -------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `map_test` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/test_deserialize.rs:28:49 [INFO] [stdout] | [INFO] [stdout] 28 | let testmap: HashMap<_, _> = config.deserialize_str($string).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] ... [INFO] [stdout] 172 | map_test!("foo2=bar2&baz2=", "foo2"["bar2"] "baz2"[""]); [INFO] [stdout] | ------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `map_test` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/test_deserialize.rs:28:49 [INFO] [stdout] | [INFO] [stdout] 28 | let testmap: HashMap<_, _> = config.deserialize_str($string).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] ... [INFO] [stdout] 176 | map_test!("foo=bar&baz", "foo"[e Some("bar".to_string())] "baz"[e None]); [INFO] [stdout] | ------------------------------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `map_test` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `serde_qs_ext` (test "test_serialize") due to 1 previous error [INFO] [stdout] For more information about this error, try `rustc --explain E0463`. [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/test_deserialize.rs:28:49 [INFO] [stdout] | [INFO] [stdout] 28 | let testmap: HashMap<_, _> = config.deserialize_str($string).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] ... [INFO] [stdout] 179 | map_test!("foo=bar&baz", "foo"["bar"] "baz"[""]); [INFO] [stdout] | ------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `map_test` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/test_deserialize.rs:28:49 [INFO] [stdout] | [INFO] [stdout] 28 | let testmap: HashMap<_, _> = config.deserialize_str($string).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] ... [INFO] [stdout] 188 | / map_test!("cht=p3&chd=t:60,40&chs=250x100&chl=Hello|World", [INFO] [stdout] 189 | | "cht"["p3"] [INFO] [stdout] 190 | | "chd"["t:60,40"] [INFO] [stdout] 191 | | "chs"["250x100"] [INFO] [stdout] 192 | | "chl"["Hello|World"] [INFO] [stdout] 193 | | ); [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `map_test` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `serde_qs_ext` (test "test_deserialize") due to 37 previous errors [INFO] [stdout] Some errors have detailed explanations: E0282, E0433, E0463. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0282`. [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "9585d14c64cbed36f38b8865ec6b4470b324f968d24b939603324bbdbac229a4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9585d14c64cbed36f38b8865ec6b4470b324f968d24b939603324bbdbac229a4", kill_on_drop: false }` [INFO] [stdout] 9585d14c64cbed36f38b8865ec6b4470b324f968d24b939603324bbdbac229a4