[INFO] fetching crate pact_wasm 0.0.0... [INFO] checking pact_wasm-0.0.0 against try#c659ee110de67e82444e4b6c8407c1a9af9c2cf6 for pr-145608-1 [INFO] extracting crate pact_wasm 0.0.0 into /workspace/builds/worker-2-tc2/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-2-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate pact_wasm 0.0.0 on toolchain c659ee110de67e82444e4b6c8407c1a9af9c2cf6 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c659ee110de67e82444e4b6c8407c1a9af9c2cf6" "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" "+c659ee110de67e82444e4b6c8407c1a9af9c2cf6" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 221 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.6) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c659ee110de67e82444e4b6c8407c1a9af9c2cf6" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+c659ee110de67e82444e4b6c8407c1a9af9c2cf6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] d146b2a5ca5084a769adbe24a273f59a4710f4cce0b0aadecd0d2a882429357e [INFO] running `Command { std: "docker" "start" "-a" "d146b2a5ca5084a769adbe24a273f59a4710f4cce0b0aadecd0d2a882429357e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d146b2a5ca5084a769adbe24a273f59a4710f4cce0b0aadecd0d2a882429357e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d146b2a5ca5084a769adbe24a273f59a4710f4cce0b0aadecd0d2a882429357e", kill_on_drop: false }` [INFO] [stdout] d146b2a5ca5084a769adbe24a273f59a4710f4cce0b0aadecd0d2a882429357e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+c659ee110de67e82444e4b6c8407c1a9af9c2cf6" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e5156631be35e61d35486c978f7527b8e7ee85a17dd151f990a7f51424b1c5e7 [INFO] running `Command { std: "docker" "start" "-a" "e5156631be35e61d35486c978f7527b8e7ee85a17dd151f990a7f51424b1c5e7", kill_on_drop: false }` [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stderr] Checking ring v0.17.14 [INFO] [stderr] Checking smallvec v1.15.1 [INFO] [stderr] Compiling rustls v0.21.12 [INFO] [stderr] Checking futures-util v0.3.31 [INFO] [stderr] Compiling semver v1.0.26 [INFO] [stderr] Compiling onig_sys v69.9.1 [INFO] [stderr] Checking socket2 v0.5.10 [INFO] [stderr] Compiling either v1.15.0 [INFO] [stderr] Checking rustls-pemfile v1.0.4 [INFO] [stderr] Compiling itertools v0.14.0 [INFO] [stderr] Checking lenient_semver_version_builder v0.4.2 [INFO] [stderr] Compiling maplit v1.0.2 [INFO] [stderr] Checking rustls-native-certs v0.6.3 [INFO] [stderr] Checking chrono v0.4.41 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking lenient_semver_parser v0.4.2 [INFO] [stderr] Checking typed-arena v1.7.0 [INFO] [stderr] Compiling regex-automata v0.4.10 [INFO] [stderr] Checking sync_wrapper v0.1.2 [INFO] [stderr] Checking rustls-webpki v0.101.7 [INFO] [stderr] Checking sct v0.7.1 [INFO] [stderr] Checking peresil v0.3.0 [INFO] [stderr] Checking sxd-document v0.3.2 [INFO] [stderr] Checking nom v7.1.3 [INFO] [stderr] Checking itertools v0.10.5 [INFO] [stderr] Checking rand_regex v0.15.1 [INFO] [stderr] Checking lenient_semver v0.4.2 [INFO] [stderr] Checking uuid v0.8.2 [INFO] [stderr] Checking fs2 v0.4.3 [INFO] [stderr] Checking expectest v0.12.0 [INFO] [stderr] Compiling regex v1.11.2 [INFO] [stderr] Compiling parse-zoneinfo v0.3.1 [INFO] [stderr] Checking onig v6.5.1 [INFO] [stderr] Compiling chrono-tz v0.5.3 [INFO] [stderr] Compiling pact_models v0.1.4 [INFO] [stderr] Compiling synstructure v0.13.2 [INFO] [stderr] Compiling wasm-bindgen-backend v0.2.100 [INFO] [stderr] Compiling zerofrom-derive v0.1.6 [INFO] [stderr] Compiling yoke-derive v0.8.0 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling zerovec-derive v0.11.1 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling thiserror-impl v2.0.16 [INFO] [stderr] Compiling strum_macros v0.27.2 [INFO] [stderr] Compiling wasm-bindgen-macro-support v0.2.100 [INFO] [stderr] Compiling wasm-bindgen-test-macro v0.3.50 [INFO] [stderr] Checking zerofrom v0.1.6 [INFO] [stderr] Checking yoke v0.8.0 [INFO] [stderr] Compiling thiserror v2.0.16 [INFO] [stderr] Checking zerovec v0.11.4 [INFO] [stderr] Checking zerotrie v0.2.2 [INFO] [stderr] Compiling wasm-bindgen-macro v0.2.100 [INFO] [stderr] Checking wasm-bindgen v0.2.100 [INFO] [stderr] Compiling strum v0.27.2 [INFO] [stderr] Compiling indextree-macros v0.1.3 [INFO] [stderr] Checking tinystr v0.8.1 [INFO] [stderr] Checking potential_utf v0.1.3 [INFO] [stderr] Checking icu_locale_core v2.0.0 [INFO] [stderr] Checking icu_collections v2.0.0 [INFO] [stderr] Checking indextree v4.7.4 [INFO] [stderr] Checking js-sys v0.3.77 [INFO] [stderr] Checking console_error_panic_hook v0.1.7 [INFO] [stderr] Checking serde v1.0.219 [INFO] [stderr] Checking icu_provider v2.0.0 [INFO] [stderr] Checking icu_normalizer v2.0.0 [INFO] [stderr] Checking icu_properties v2.0.1 [INFO] [stderr] Checking idna_adapter v1.2.1 [INFO] [stderr] Checking idna v1.1.0 [INFO] [stderr] Checking bytes v1.10.1 [INFO] [stderr] Checking serde_json v1.0.143 [INFO] [stderr] Checking url v2.5.7 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Checking web-sys v0.3.77 [INFO] [stderr] Checking wasm-bindgen-futures v0.4.50 [INFO] [stderr] Checking wasm-bindgen-test v0.3.50 [INFO] [stderr] Checking tokio v1.47.1 [INFO] [stderr] Checking http v0.2.12 [INFO] [stderr] Checking http-body v0.4.6 [INFO] [stderr] Checking console_log v0.2.2 [INFO] [stderr] Checking tokio-util v0.7.16 [INFO] [stderr] Checking tokio-rustls v0.24.1 [INFO] [stderr] Checking h2 v0.3.27 [INFO] [stderr] Checking hyper v0.14.32 [INFO] [stderr] Checking hyper-rustls v0.24.2 [INFO] [stderr] Checking 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/c659ee110de67e82444e4b6c8407c1a9af9c2cf6/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/c659ee110de67e82444e4b6c8407c1a9af9c2cf6/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" "e5156631be35e61d35486c978f7527b8e7ee85a17dd151f990a7f51424b1c5e7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e5156631be35e61d35486c978f7527b8e7ee85a17dd151f990a7f51424b1c5e7", kill_on_drop: false }` [INFO] [stdout] e5156631be35e61d35486c978f7527b8e7ee85a17dd151f990a7f51424b1c5e7