[INFO] fetching crate pact_wasm 0.0.0... [INFO] testing pact_wasm-0.0.0 against master#caccb4d0368bd918ef6668af8e13834d07040417 for pr-146098-1 [INFO] extracting crate pact_wasm 0.0.0 into /workspace/builds/worker-5-tc1/source [INFO] started tweaking crates.io crate pact_wasm 0.0.0 [INFO] finished tweaking crates.io crate pact_wasm 0.0.0 [INFO] tweaked toml for crates.io crate pact_wasm 0.0.0 written to /workspace/builds/worker-5-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate pact_wasm 0.0.0 on toolchain caccb4d0368bd918ef6668af8e13834d07040417 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+caccb4d0368bd918ef6668af8e13834d07040417" "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" "+caccb4d0368bd918ef6668af8e13834d07040417" "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 212 packages to latest compatible versions [INFO] [stderr] Adding console_log v0.2.2 (available: v1.0.0) [INFO] [stderr] Adding getrandom v0.2.16 (available: v0.3.3) [INFO] [stderr] Adding pact_models v0.1.4 (available: v1.3.7) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+caccb4d0368bd918ef6668af8e13834d07040417" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded rand_regex v0.15.1 [INFO] [stderr] Downloaded pact_models v0.1.4 [INFO] [stderr] Downloaded chrono-tz v0.5.3 [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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+caccb4d0368bd918ef6668af8e13834d07040417" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 28b0e3ec7227901dd6087800280f26ae5394d09548d9881baccabc1de9caee6d [INFO] running `Command { std: "docker" "start" "-a" "28b0e3ec7227901dd6087800280f26ae5394d09548d9881baccabc1de9caee6d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "28b0e3ec7227901dd6087800280f26ae5394d09548d9881baccabc1de9caee6d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "28b0e3ec7227901dd6087800280f26ae5394d09548d9881baccabc1de9caee6d", kill_on_drop: false }` [INFO] [stdout] 28b0e3ec7227901dd6087800280f26ae5394d09548d9881baccabc1de9caee6d [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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+caccb4d0368bd918ef6668af8e13834d07040417" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 2f3fb51bd6b97cb6e947354b05ab4f820b838e8b0206f974a80f03bebdd728a6 [INFO] running `Command { std: "docker" "start" "-a" "2f3fb51bd6b97cb6e947354b05ab4f820b838e8b0206f974a80f03bebdd728a6", kill_on_drop: false }` [INFO] [stderr] Compiling serde v1.0.228 [INFO] [stderr] Compiling ring v0.17.14 [INFO] [stderr] Compiling rustls v0.21.12 [INFO] [stderr] Compiling parse-zoneinfo v0.3.1 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling thiserror v2.0.17 [INFO] [stderr] Compiling icu_normalizer v2.0.0 [INFO] [stderr] Compiling onig_sys v69.9.1 [INFO] [stderr] Compiling strum_macros v0.27.2 [INFO] [stderr] Compiling socket2 v0.5.10 [INFO] [stderr] Compiling thiserror-impl v2.0.17 [INFO] [stderr] Compiling semver v1.0.27 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling rustls-pemfile v1.0.4 [INFO] [stderr] Compiling itertools v0.14.0 [INFO] [stderr] Compiling maplit v1.0.2 [INFO] [stderr] Compiling rustls-native-certs v0.6.3 [INFO] [stderr] Compiling chrono v0.4.42 [INFO] [stderr] Compiling serde_json v1.0.145 [INFO] [stderr] Compiling lenient_semver_version_builder v0.4.2 [INFO] [stderr] Compiling peresil v0.3.0 [INFO] [stderr] Compiling lenient_semver_parser v0.4.2 [INFO] [stderr] Compiling idna_adapter v1.2.1 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling chrono-tz v0.5.3 [INFO] [stderr] Compiling idna v1.1.0 [INFO] [stderr] Compiling pact_models v0.1.4 [INFO] [stderr] Compiling typed-arena v1.7.0 [INFO] [stderr] Compiling sync_wrapper v0.1.2 [INFO] [stderr] Compiling nom v7.1.3 [INFO] [stderr] Compiling bytes v1.10.1 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling rand_regex v0.15.1 [INFO] [stderr] Compiling sxd-document v0.3.2 [INFO] [stderr] Compiling url v2.5.7 [INFO] [stderr] Compiling tokio v1.47.1 [INFO] [stderr] Compiling http v0.2.12 [INFO] [stderr] Compiling lenient_semver v0.4.2 [INFO] [stderr] Compiling web-sys v0.3.81 [INFO] [stderr] Compiling uuid v0.8.2 [INFO] [stderr] Compiling fs2 v0.4.3 [INFO] [stderr] Compiling console_error_panic_hook v0.1.7 [INFO] [stderr] Compiling strum v0.27.2 [INFO] [stderr] Compiling indextree-macros v0.1.3 [INFO] [stderr] Compiling http-body v0.4.6 [INFO] [stderr] Compiling indextree v4.7.4 [INFO] [stderr] Compiling onig v6.5.1 [INFO] [stderr] Compiling sct v0.7.1 [INFO] [stderr] Compiling rustls-webpki v0.101.7 [INFO] [stderr] Compiling console_log v0.2.2 [INFO] [stderr] Compiling tokio-util v0.7.16 [INFO] [stderr] Compiling h2 v0.3.27 [INFO] [stderr] Compiling tokio-rustls v0.24.1 [INFO] [stderr] Compiling hyper v0.14.32 [INFO] [stderr] Compiling hyper-rustls v0.24.2 [INFO] [stderr] Compiling reqwest v0.11.27 [INFO] [stdout] error[E0532]: expected a pattern, found a function call [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/pact_models-0.1.4/src/expression_parser.rs:312:9 [INFO] [stdout] | [INFO] [stdout] 312 | Ok(v) => write!(f, "{}", v), [INFO] [stdout] | ^^ not a tuple struct or tuple variant [INFO] [stdout] | [INFO] [stdout] = note: function calls are not allowed in patterns: [INFO] [stdout] help: consider importing one of these tuple variants instead [INFO] [stdout] | [INFO] [stdout] 3 + use std::result::Result::Ok; [INFO] [stdout] | [INFO] [stdout] 3 + use nom::lib::std::result::Result::Ok; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0532]: expected a pattern, found a function call [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/pact_models-0.1.4/src/expression_parser.rs:319:9 [INFO] [stdout] | [INFO] [stdout] 319 | Ok(v) => write!(f, "{}", v), [INFO] [stdout] | ^^ not a tuple struct or tuple variant [INFO] [stdout] | [INFO] [stdout] = note: function calls are not allowed in patterns: [INFO] [stdout] help: consider importing one of these tuple variants instead [INFO] [stdout] | [INFO] [stdout] 3 + use std::result::Result::Ok; [INFO] [stdout] | [INFO] [stdout] 3 + use nom::lib::std::result::Result::Ok; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0532]: expected a pattern, found a function call [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/pact_models-0.1.4/src/expression_parser.rs:326:9 [INFO] [stdout] | [INFO] [stdout] 326 | Ok(v) => write!(f, "{}", v), [INFO] [stdout] | ^^ not a tuple struct or tuple variant [INFO] [stdout] | [INFO] [stdout] = note: function calls are not allowed in patterns: [INFO] [stdout] help: consider importing one of these tuple variants instead [INFO] [stdout] | [INFO] [stdout] 3 + use std::result::Result::Ok; [INFO] [stdout] | [INFO] [stdout] 3 + use nom::lib::std::result::Result::Ok; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0283]: type annotations needed [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/pact_models-0.1.4/src/expression_parser.rs:351:18 [INFO] [stdout] | [INFO] [stdout] 351 | self.context.get(name.into()).map(|val| json_to_string(val)) [INFO] [stdout] | ^^^ ----------- type must be known at this point [INFO] [stdout] | | [INFO] [stdout] | cannot infer type of the type parameter `Q` declared on the method `get` [INFO] [stdout] | [INFO] [stdout] = note: multiple `impl`s satisfying `&str: Borrow<_>` found in the `core` crate: [INFO] [stdout] - impl Borrow for &T [INFO] [stdout] where T: ?Sized; [INFO] [stdout] - impl Borrow for T [INFO] [stdout] where T: ?Sized; [INFO] [stdout] note: required by a bound in `HashMap::::get` [INFO] [stdout] --> /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/collections/hash/map.rs:909:5 [INFO] [stdout] help: consider specifying the generic argument [INFO] [stdout] | [INFO] [stdout] 351 | self.context.get::(name.into()).map(|val| json_to_string(val)) [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0283]: type annotations needed [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/pact_models-0.1.4/src/expression_parser.rs:351:27 [INFO] [stdout] | [INFO] [stdout] 351 | self.context.get(name.into()).map(|val| json_to_string(val)) [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: multiple `impl`s satisfying `&_: From<&str>` found in the following crates: `core`, `potential_utf`: [INFO] [stdout] - impl<'a> From<&'a str> for &'a potential_utf::ustr::PotentialUtf8; [INFO] [stdout] - impl From for T; [INFO] [stdout] = note: required for `&str` to implement `std::convert::Into<&_>` [INFO] [stdout] help: try using a fully qualified path to specify the expected types [INFO] [stdout] | [INFO] [stdout] 351 - self.context.get(name.into()).map(|val| json_to_string(val)) [INFO] [stdout] 351 + self.context.get(<&str as std::convert::Into<&Q>>::into(name)).map(|val| json_to_string(val)) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0283]: type annotations needed [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/pact_models-0.1.4/src/expression_parser.rs:357:18 [INFO] [stdout] | [INFO] [stdout] 357 | self.context.get(name.into()).cloned() [INFO] [stdout] | ^^^ ----------- type must be known at this point [INFO] [stdout] | | [INFO] [stdout] | cannot infer type of the type parameter `Q` declared on the method `get` [INFO] [stdout] | [INFO] [stdout] = note: multiple `impl`s satisfying `&str: Borrow<_>` found in the `core` crate: [INFO] [stdout] - impl Borrow for &T [INFO] [stdout] where T: ?Sized; [INFO] [stdout] - impl Borrow for T [INFO] [stdout] where T: ?Sized; [INFO] [stdout] note: required by a bound in `HashMap::::get` [INFO] [stdout] --> /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/collections/hash/map.rs:909:5 [INFO] [stdout] help: consider specifying the generic argument [INFO] [stdout] | [INFO] [stdout] 357 | self.context.get::(name.into()).cloned() [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0283]: type annotations needed [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/pact_models-0.1.4/src/expression_parser.rs:357:27 [INFO] [stdout] | [INFO] [stdout] 357 | self.context.get(name.into()).cloned() [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: multiple `impl`s satisfying `&_: From<&str>` found in the following crates: `core`, `potential_utf`: [INFO] [stdout] - impl<'a> From<&'a str> for &'a potential_utf::ustr::PotentialUtf8; [INFO] [stdout] - impl From for T; [INFO] [stdout] = note: required for `&str` to implement `std::convert::Into<&_>` [INFO] [stdout] help: try using a fully qualified path to specify the expected types [INFO] [stdout] | [INFO] [stdout] 357 - self.context.get(name.into()).cloned() [INFO] [stdout] 357 + self.context.get(<&str as std::convert::Into<&Q>>::into(name)).cloned() [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0283, E0532. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0283`. [INFO] [stdout] [INFO] [stderr] error: could not compile `pact_models` (lib) due to 7 previous errors [INFO] running `Command { std: "docker" "inspect" "2f3fb51bd6b97cb6e947354b05ab4f820b838e8b0206f974a80f03bebdd728a6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2f3fb51bd6b97cb6e947354b05ab4f820b838e8b0206f974a80f03bebdd728a6", kill_on_drop: false }` [INFO] [stdout] 2f3fb51bd6b97cb6e947354b05ab4f820b838e8b0206f974a80f03bebdd728a6