[INFO] fetching crate nodejs_package_json 0.4.8... [INFO] testing nodejs_package_json-0.4.8 against master#562dee4820c458d823175268e41601d4c060588a for pr-154210-1 [INFO] extracting crate nodejs_package_json 0.4.8 into /workspace/builds/worker-4-tc1/source [INFO] started tweaking crates.io crate nodejs_package_json 0.4.8 [INFO] removed 0 missing tests [INFO] finished tweaking crates.io crate nodejs_package_json 0.4.8 [INFO] tweaked toml for crates.io crate nodejs_package_json 0.4.8 written to /workspace/builds/worker-4-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate nodejs_package_json 0.4.8 on toolchain 562dee4820c458d823175268e41601d4c060588a [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+562dee4820c458d823175268e41601d4c060588a" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate nodejs_package_json 0.4.8 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" "+562dee4820c458d823175268e41601d4c060588a" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded miette-derive v7.6.0 [INFO] [stderr] Downloaded assert_fs v1.1.3 [INFO] [stderr] Downloaded miette v7.6.0 [INFO] [stderr] Downloaded zmij v1.0.19 [INFO] [stderr] Downloaded starbase_sandbox v0.10.4 [INFO] [stderr] Downloaded starbase_utils v0.12.6 [INFO] [stderr] Downloaded starbase_styles v0.6.6 [INFO] [stderr] Downloaded insta v1.46.3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+562dee4820c458d823175268e41601d4c060588a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 16993d713cfe165740c5c6dbec6e912cbd5b84948ecf9112a3800268b97803ae [INFO] running `Command { std: "docker" "start" "-a" "16993d713cfe165740c5c6dbec6e912cbd5b84948ecf9112a3800268b97803ae", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "16993d713cfe165740c5c6dbec6e912cbd5b84948ecf9112a3800268b97803ae", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "16993d713cfe165740c5c6dbec6e912cbd5b84948ecf9112a3800268b97803ae", kill_on_drop: false }` [INFO] [stdout] 16993d713cfe165740c5c6dbec6e912cbd5b84948ecf9112a3800268b97803ae [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+562dee4820c458d823175268e41601d4c060588a" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 5d50c9f15226a28cfbf0efaa4f60c50c5c02b7a0c7307f0ac1a05e51ce79b9a9 [INFO] running `Command { std: "docker" "start" "-a" "5d50c9f15226a28cfbf0efaa4f60c50c5c02b7a0c7307f0ac1a05e51ce79b9a9", kill_on_drop: false }` [INFO] [stderr] Compiling quote v1.0.44 [INFO] [stderr] Compiling zmij v1.0.19 [INFO] [stderr] Compiling semver v1.0.27 [INFO] [stderr] Compiling indexmap v2.13.0 [INFO] [stderr] Compiling syn v2.0.114 [INFO] [stderr] Compiling serde_json v1.0.149 [INFO] [stderr] Compiling thiserror-impl v2.0.18 [INFO] [stderr] Compiling serde_derive v1.0.228 [INFO] [stderr] Compiling thiserror v2.0.18 [INFO] [stderr] Compiling serde v1.0.228 [INFO] [stderr] Compiling nodejs_package_json v0.4.8 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 5.78s [INFO] running `Command { std: "docker" "inspect" "5d50c9f15226a28cfbf0efaa4f60c50c5c02b7a0c7307f0ac1a05e51ce79b9a9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5d50c9f15226a28cfbf0efaa4f60c50c5c02b7a0c7307f0ac1a05e51ce79b9a9", kill_on_drop: false }` [INFO] [stdout] 5d50c9f15226a28cfbf0efaa4f60c50c5c02b7a0c7307f0ac1a05e51ce79b9a9 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+562dee4820c458d823175268e41601d4c060588a" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 7c03e26d71f8f1fe180d43ad1ba775227a895034dee62db7d654519949fa446a [INFO] running `Command { std: "docker" "start" "-a" "7c03e26d71f8f1fe180d43ad1ba775227a895034dee62db7d654519949fa446a", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.180 [INFO] [stderr] Compiling regex-syntax v0.8.9 [INFO] [stderr] Compiling rustix v1.1.3 [INFO] [stderr] Compiling predicates-core v1.0.9 [INFO] [stderr] Compiling termtree v0.5.1 [INFO] [stderr] Compiling doc-comment v0.3.4 [INFO] [stderr] Compiling difflib v0.4.0 [INFO] [stderr] Compiling normalize-line-endings v0.3.0 [INFO] [stderr] Compiling syn v2.0.114 [INFO] [stderr] Compiling float-cmp v0.10.0 [INFO] [stderr] Compiling assert_cmd v2.1.2 [INFO] [stderr] Compiling similar v2.7.0 [INFO] [stderr] Compiling serde_json v1.0.149 [INFO] [stderr] Compiling predicates-tree v1.0.12 [INFO] [stderr] Compiling dirs-sys v0.5.0 [INFO] [stderr] Compiling getrandom v0.3.4 [INFO] [stderr] Compiling console v0.15.11 [INFO] [stderr] Compiling wait-timeout v0.2.1 [INFO] [stderr] Compiling dirs v6.0.0 [INFO] [stderr] Compiling starbase_styles v0.6.6 [INFO] [stderr] Compiling regex-automata v0.4.14 [INFO] [stderr] Compiling tempfile v3.24.0 [INFO] [stderr] Compiling insta v1.46.3 [INFO] [stderr] Compiling thiserror-impl v2.0.18 [INFO] [stderr] Compiling tracing-attributes v0.1.31 [INFO] [stderr] Compiling serde_derive v1.0.228 [INFO] [stderr] Compiling thiserror v2.0.18 [INFO] [stderr] Compiling tracing v0.1.44 [INFO] [stderr] Compiling bstr v1.12.1 [INFO] [stderr] Compiling regex v1.12.3 [INFO] [stderr] Compiling starbase_utils v0.12.6 [INFO] [stderr] Compiling predicates v3.1.3 [INFO] [stderr] Compiling globset v0.4.18 [INFO] [stderr] Compiling ignore v0.4.25 [INFO] [stderr] Compiling serde v1.0.228 [INFO] [stderr] Compiling nodejs_package_json v0.4.8 (/opt/rustwide/workdir) [INFO] [stderr] Compiling globwalk v0.9.1 [INFO] [stderr] Compiling assert_fs v1.1.3 [INFO] [stderr] Compiling starbase_sandbox v0.10.4 [INFO] [stdout] error[E0223]: ambiguous associated type [INFO] [stdout] --> tests/workspace_protocol_test.rs:8:15 [INFO] [stdout] | [INFO] [stdout] 8 | let exp = WorkspaceProtocol::Any { alias: None }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: if there were a trait named `Example` with associated type `Any` implemented for `std::string::String`, you could use the fully-qualified path [INFO] [stdout] | [INFO] [stdout] 8 - let exp = WorkspaceProtocol::Any { alias: None }; [INFO] [stdout] 8 + let exp = ::Any { alias: None }; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0223]: ambiguous associated type [INFO] [stdout] --> tests/workspace_protocol_test.rs:16:15 [INFO] [stdout] | [INFO] [stdout] 16 | let exp = WorkspaceProtocol::Any { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: if there were a trait named `Example` with associated type `Any` implemented for `std::string::String`, you could use the fully-qualified path [INFO] [stdout] | [INFO] [stdout] 16 - let exp = WorkspaceProtocol::Any { [INFO] [stdout] 16 + let exp = ::Any { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0223]: ambiguous associated type [INFO] [stdout] --> tests/workspace_protocol_test.rs:26:15 [INFO] [stdout] | [INFO] [stdout] 26 | let exp = WorkspaceProtocol::Any { alias: None }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: if there were a trait named `Example` with associated type `Any` implemented for `std::string::String`, you could use the fully-qualified path [INFO] [stdout] | [INFO] [stdout] 26 - let exp = WorkspaceProtocol::Any { alias: None }; [INFO] [stdout] 26 + let exp = ::Any { alias: None }; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0223]: ambiguous associated type [INFO] [stdout] --> tests/workspace_protocol_test.rs:34:15 [INFO] [stdout] | [INFO] [stdout] 34 | let exp = WorkspaceProtocol::Any { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: if there were a trait named `Example` with associated type `Any` implemented for `std::string::String`, you could use the fully-qualified path [INFO] [stdout] | [INFO] [stdout] 34 - let exp = WorkspaceProtocol::Any { [INFO] [stdout] 34 + let exp = ::Any { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0223]: ambiguous associated type [INFO] [stdout] --> tests/workspace_protocol_test.rs:50:15 [INFO] [stdout] | [INFO] [stdout] 50 | let exp = WorkspaceProtocol::Tilde { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: if there were a trait named `Example` with associated type `Tilde` implemented for `std::string::String`, you could use the fully-qualified path [INFO] [stdout] | [INFO] [stdout] 50 - let exp = WorkspaceProtocol::Tilde { [INFO] [stdout] 50 + let exp = ::Tilde { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0223]: ambiguous associated type [INFO] [stdout] --> tests/workspace_protocol_test.rs:61:15 [INFO] [stdout] | [INFO] [stdout] 61 | let exp = WorkspaceProtocol::Tilde { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: if there were a trait named `Example` with associated type `Tilde` implemented for `std::string::String`, you could use the fully-qualified path [INFO] [stdout] | [INFO] [stdout] 61 - let exp = WorkspaceProtocol::Tilde { [INFO] [stdout] 61 + let exp = ::Tilde { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0223]: ambiguous associated type [INFO] [stdout] --> tests/workspace_protocol_test.rs:72:15 [INFO] [stdout] | [INFO] [stdout] 72 | let exp = WorkspaceProtocol::Tilde { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: if there were a trait named `Example` with associated type `Tilde` implemented for `std::string::String`, you could use the fully-qualified path [INFO] [stdout] | [INFO] [stdout] 72 - let exp = WorkspaceProtocol::Tilde { [INFO] [stdout] 72 + let exp = ::Tilde { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0223]: ambiguous associated type [INFO] [stdout] --> tests/workspace_protocol_test.rs:83:15 [INFO] [stdout] | [INFO] [stdout] 83 | let exp = WorkspaceProtocol::Tilde { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: if there were a trait named `Example` with associated type `Tilde` implemented for `std::string::String`, you could use the fully-qualified path [INFO] [stdout] | [INFO] [stdout] 83 - let exp = WorkspaceProtocol::Tilde { [INFO] [stdout] 83 + let exp = ::Tilde { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0223]: ambiguous associated type [INFO] [stdout] --> tests/workspace_protocol_test.rs:100:15 [INFO] [stdout] | [INFO] [stdout] 100 | let exp = WorkspaceProtocol::Caret { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: if there were a trait named `Example` with associated type `Caret` implemented for `std::string::String`, you could use the fully-qualified path [INFO] [stdout] | [INFO] [stdout] 100 - let exp = WorkspaceProtocol::Caret { [INFO] [stdout] 100 + let exp = ::Caret { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0223]: ambiguous associated type [INFO] [stdout] --> tests/workspace_protocol_test.rs:111:15 [INFO] [stdout] | [INFO] [stdout] 111 | let exp = WorkspaceProtocol::Caret { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: if there were a trait named `Example` with associated type `Caret` implemented for `std::string::String`, you could use the fully-qualified path [INFO] [stdout] | [INFO] [stdout] 111 - let exp = WorkspaceProtocol::Caret { [INFO] [stdout] 111 + let exp = ::Caret { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0223]: ambiguous associated type [INFO] [stdout] --> tests/workspace_protocol_test.rs:122:15 [INFO] [stdout] | [INFO] [stdout] 122 | let exp = WorkspaceProtocol::Caret { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: if there were a trait named `Example` with associated type `Caret` implemented for `std::string::String`, you could use the fully-qualified path [INFO] [stdout] | [INFO] [stdout] 122 - let exp = WorkspaceProtocol::Caret { [INFO] [stdout] 122 + let exp = ::Caret { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no associated item named `Requirement` found for struct `std::string::String` in the current scope [INFO] [stdout] --> tests/version_protocol_test.rs:8:32 [INFO] [stdout] | [INFO] [stdout] 8 | let exp = VersionProtocol::Requirement(VersionReq::parse("*").unwrap()); [INFO] [stdout] | ^^^^^^^^^^^ associated item not found in `std::string::String` [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `std::string::String` consider using one of the following associated functions: [INFO] [stdout] std::string::String::new [INFO] [stdout] std::string::String::with_capacity [INFO] [stdout] std::string::String::try_with_capacity [INFO] [stdout] std::string::String::from_utf8 [INFO] [stdout] and 9 others [INFO] [stdout] --> /rustc/562dee4820c458d823175268e41601d4c060588a/library/alloc/src/string.rs:437:4 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0223]: ambiguous associated type [INFO] [stdout] --> tests/workspace_protocol_test.rs:135:9 [INFO] [stdout] | [INFO] [stdout] 135 | WorkspaceProtocol::Caret { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: if there were a trait named `Example` with associated type `Caret` implemented for `std::string::String`, you could use the fully-qualified path [INFO] [stdout] | [INFO] [stdout] 135 - WorkspaceProtocol::Caret { [INFO] [stdout] 135 + ::Caret { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0223]: ambiguous associated type [INFO] [stdout] --> tests/workspace_protocol_test.rs:141:9 [INFO] [stdout] | [INFO] [stdout] 141 | WorkspaceProtocol::Caret { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: if there were a trait named `Example` with associated type `Caret` implemented for `std::string::String`, you could use the fully-qualified path [INFO] [stdout] | [INFO] [stdout] 141 - WorkspaceProtocol::Caret { [INFO] [stdout] 141 + ::Caret { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no associated item named `Requirement` found for struct `std::string::String` in the current scope [INFO] [stdout] --> tests/version_protocol_test.rs:16:32 [INFO] [stdout] | [INFO] [stdout] 16 | let exp = VersionProtocol::Requirement(VersionReq::parse("*").unwrap()); [INFO] [stdout] | ^^^^^^^^^^^ associated item not found in `std::string::String` [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `std::string::String` consider using one of the following associated functions: [INFO] [stdout] std::string::String::new [INFO] [stdout] std::string::String::with_capacity [INFO] [stdout] std::string::String::try_with_capacity [INFO] [stdout] std::string::String::from_utf8 [INFO] [stdout] and 9 others [INFO] [stdout] --> /rustc/562dee4820c458d823175268e41601d4c060588a/library/alloc/src/string.rs:437:4 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no associated item named `File` found for struct `std::string::String` in the current scope [INFO] [stdout] --> tests/workspace_protocol_test.rs:160:28 [INFO] [stdout] | [INFO] [stdout] 160 | WorkspaceProtocol::File(PathBuf::from("../dir")) [INFO] [stdout] | ^^^^ associated item not found in `std::string::String` [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `std::string::String` consider using one of the following associated functions: [INFO] [stdout] std::string::String::new [INFO] [stdout] std::string::String::with_capacity [INFO] [stdout] std::string::String::try_with_capacity [INFO] [stdout] std::string::String::from_utf8 [INFO] [stdout] and 9 others [INFO] [stdout] --> /rustc/562dee4820c458d823175268e41601d4c060588a/library/alloc/src/string.rs:437:4 [INFO] [stdout] help: there is a method `le` with a similar name [INFO] [stdout] | [INFO] [stdout] 160 - WorkspaceProtocol::File(PathBuf::from("../dir")) [INFO] [stdout] 160 + WorkspaceProtocol::le(PathBuf::from("../dir")) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no associated item named `File` found for struct `std::string::String` in the current scope [INFO] [stdout] --> tests/version_protocol_test.rs:24:32 [INFO] [stdout] | [INFO] [stdout] 24 | let exp = VersionProtocol::File(PathBuf::from("../dir")); [INFO] [stdout] | ^^^^ associated item not found in `std::string::String` [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `std::string::String` consider using one of the following associated functions: [INFO] [stdout] std::string::String::new [INFO] [stdout] std::string::String::with_capacity [INFO] [stdout] std::string::String::try_with_capacity [INFO] [stdout] std::string::String::from_utf8 [INFO] [stdout] and 9 others [INFO] [stdout] --> /rustc/562dee4820c458d823175268e41601d4c060588a/library/alloc/src/string.rs:437:4 [INFO] [stdout] help: there is a method `le` with a similar name [INFO] [stdout] | [INFO] [stdout] 24 - let exp = VersionProtocol::File(PathBuf::from("../dir")); [INFO] [stdout] 24 + let exp = VersionProtocol::le(PathBuf::from("../dir")); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0223]: ambiguous associated type [INFO] [stdout] --> tests/version_protocol_test.rs:32:15 [INFO] [stdout] | [INFO] [stdout] 32 | let exp = VersionProtocol::Git { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: if there were a trait named `Example` with associated type `Git` implemented for `std::string::String`, you could use the fully-qualified path [INFO] [stdout] | [INFO] [stdout] 32 - let exp = VersionProtocol::Git { [INFO] [stdout] 32 + let exp = ::Git { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0223]: ambiguous associated type [INFO] [stdout] --> tests/version_protocol_test.rs:43:15 [INFO] [stdout] | [INFO] [stdout] 43 | let exp = VersionProtocol::Git { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: if there were a trait named `Example` with associated type `Git` implemented for `std::string::String`, you could use the fully-qualified path [INFO] [stdout] | [INFO] [stdout] 43 - let exp = VersionProtocol::Git { [INFO] [stdout] 43 + let exp = ::Git { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no associated item named `File` found for struct `std::string::String` in the current scope [INFO] [stdout] --> tests/workspace_protocol_test.rs:163:28 [INFO] [stdout] | [INFO] [stdout] 163 | WorkspaceProtocol::File(PathBuf::from("../dir")).to_string(), [INFO] [stdout] | ^^^^ associated item not found in `std::string::String` [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `std::string::String` consider using one of the following associated functions: [INFO] [stdout] std::string::String::new [INFO] [stdout] std::string::String::with_capacity [INFO] [stdout] std::string::String::try_with_capacity [INFO] [stdout] std::string::String::from_utf8 [INFO] [stdout] and 9 others [INFO] [stdout] --> /rustc/562dee4820c458d823175268e41601d4c060588a/library/alloc/src/string.rs:437:4 [INFO] [stdout] help: there is a method `le` with a similar name [INFO] [stdout] | [INFO] [stdout] 163 - WorkspaceProtocol::File(PathBuf::from("../dir")).to_string(), [INFO] [stdout] 163 + WorkspaceProtocol::le(PathBuf::from("../dir")).to_string(), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0223]: ambiguous associated type [INFO] [stdout] --> tests/version_protocol_test.rs:57:15 [INFO] [stdout] | [INFO] [stdout] 57 | let exp = VersionProtocol::Git { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: if there were a trait named `Example` with associated type `Git` implemented for `std::string::String`, you could use the fully-qualified path [INFO] [stdout] | [INFO] [stdout] 57 - let exp = VersionProtocol::Git { [INFO] [stdout] 57 + let exp = ::Git { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0223]: ambiguous associated type [INFO] [stdout] --> tests/version_protocol_test.rs:71:15 [INFO] [stdout] | [INFO] [stdout] 71 | let exp = VersionProtocol::Git { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: if there were a trait named `Example` with associated type `Git` implemented for `std::string::String`, you could use the fully-qualified path [INFO] [stdout] | [INFO] [stdout] 71 - let exp = VersionProtocol::Git { [INFO] [stdout] 71 + let exp = ::Git { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0223]: ambiguous associated type [INFO] [stdout] --> tests/version_protocol_test.rs:88:15 [INFO] [stdout] | [INFO] [stdout] 88 | let exp = VersionProtocol::GitHub { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: if there were a trait named `Example` with associated type `GitHub` implemented for `std::string::String`, you could use the fully-qualified path [INFO] [stdout] | [INFO] [stdout] 88 - let exp = VersionProtocol::GitHub { [INFO] [stdout] 88 + let exp = ::GitHub { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0223]: ambiguous associated type [INFO] [stdout] --> tests/version_protocol_test.rs:100:15 [INFO] [stdout] | [INFO] [stdout] 100 | let exp = VersionProtocol::GitHub { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: if there were a trait named `Example` with associated type `GitHub` implemented for `std::string::String`, you could use the fully-qualified path [INFO] [stdout] | [INFO] [stdout] 100 - let exp = VersionProtocol::GitHub { [INFO] [stdout] 100 + let exp = ::GitHub { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no associated item named `File` found for struct `std::string::String` in the current scope [INFO] [stdout] --> tests/workspace_protocol_test.rs:172:28 [INFO] [stdout] | [INFO] [stdout] 172 | WorkspaceProtocol::File(PathBuf::from("/dir")) [INFO] [stdout] | ^^^^ associated item not found in `std::string::String` [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `std::string::String` consider using one of the following associated functions: [INFO] [stdout] std::string::String::new [INFO] [stdout] std::string::String::with_capacity [INFO] [stdout] std::string::String::try_with_capacity [INFO] [stdout] std::string::String::from_utf8 [INFO] [stdout] and 9 others [INFO] [stdout] --> /rustc/562dee4820c458d823175268e41601d4c060588a/library/alloc/src/string.rs:437:4 [INFO] [stdout] help: there is a method `le` with a similar name [INFO] [stdout] | [INFO] [stdout] 172 - WorkspaceProtocol::File(PathBuf::from("/dir")) [INFO] [stdout] 172 + WorkspaceProtocol::le(PathBuf::from("/dir")) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no associated item named `File` found for struct `std::string::String` in the current scope [INFO] [stdout] --> tests/workspace_protocol_test.rs:175:28 [INFO] [stdout] | [INFO] [stdout] 175 | WorkspaceProtocol::File(PathBuf::from("/dir")).to_string(), [INFO] [stdout] | ^^^^ associated item not found in `std::string::String` [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `std::string::String` consider using one of the following associated functions: [INFO] [stdout] std::string::String::new [INFO] [stdout] std::string::String::with_capacity [INFO] [stdout] std::string::String::try_with_capacity [INFO] [stdout] std::string::String::from_utf8 [INFO] [stdout] and 9 others [INFO] [stdout] --> /rustc/562dee4820c458d823175268e41601d4c060588a/library/alloc/src/string.rs:437:4 [INFO] [stdout] help: there is a method `le` with a similar name [INFO] [stdout] | [INFO] [stdout] 175 - WorkspaceProtocol::File(PathBuf::from("/dir")).to_string(), [INFO] [stdout] 175 + WorkspaceProtocol::le(PathBuf::from("/dir")).to_string(), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no associated item named `Url` found for struct `std::string::String` in the current scope [INFO] [stdout] --> tests/version_protocol_test.rs:115:32 [INFO] [stdout] | [INFO] [stdout] 115 | let exp = VersionProtocol::Url("http://domain.com/dep.tgz".into()); [INFO] [stdout] | ^^^ associated item not found in `std::string::String` [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `std::string::String` consider using one of the following associated functions: [INFO] [stdout] std::string::String::new [INFO] [stdout] std::string::String::with_capacity [INFO] [stdout] std::string::String::try_with_capacity [INFO] [stdout] std::string::String::from_utf8 [INFO] [stdout] and 9 others [INFO] [stdout] --> /rustc/562dee4820c458d823175268e41601d4c060588a/library/alloc/src/string.rs:437:4 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no associated item named `Url` found for struct `std::string::String` in the current scope [INFO] [stdout] --> tests/version_protocol_test.rs:126:32 [INFO] [stdout] | [INFO] [stdout] 126 | let exp = VersionProtocol::Url("https://domain.com/dep.tgz".into()); [INFO] [stdout] | ^^^ associated item not found in `std::string::String` [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `std::string::String` consider using one of the following associated functions: [INFO] [stdout] std::string::String::new [INFO] [stdout] std::string::String::with_capacity [INFO] [stdout] std::string::String::try_with_capacity [INFO] [stdout] std::string::String::from_utf8 [INFO] [stdout] and 9 others [INFO] [stdout] --> /rustc/562dee4820c458d823175268e41601d4c060588a/library/alloc/src/string.rs:437:4 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no associated item named `Version` found for struct `std::string::String` in the current scope [INFO] [stdout] --> tests/workspace_protocol_test.rs:184:28 [INFO] [stdout] | [INFO] [stdout] 184 | WorkspaceProtocol::Version(Version::new(1, 2, 3)) [INFO] [stdout] | ^^^^^^^ associated item not found in `std::string::String` [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `std::string::String` consider using one of the following associated functions: [INFO] [stdout] std::string::String::new [INFO] [stdout] std::string::String::with_capacity [INFO] [stdout] std::string::String::try_with_capacity [INFO] [stdout] std::string::String::from_utf8 [INFO] [stdout] and 9 others [INFO] [stdout] --> /rustc/562dee4820c458d823175268e41601d4c060588a/library/alloc/src/string.rs:437:4 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no associated item named `Version` found for struct `std::string::String` in the current scope [INFO] [stdout] --> tests/workspace_protocol_test.rs:187:28 [INFO] [stdout] | [INFO] [stdout] 187 | WorkspaceProtocol::Version(Version::new(1, 2, 3)).to_string(), [INFO] [stdout] | ^^^^^^^ associated item not found in `std::string::String` [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `std::string::String` consider using one of the following associated functions: [INFO] [stdout] std::string::String::new [INFO] [stdout] std::string::String::with_capacity [INFO] [stdout] std::string::String::try_with_capacity [INFO] [stdout] std::string::String::from_utf8 [INFO] [stdout] and 9 others [INFO] [stdout] --> /rustc/562dee4820c458d823175268e41601d4c060588a/library/alloc/src/string.rs:437:4 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no associated item named `Link` found for struct `std::string::String` in the current scope [INFO] [stdout] --> tests/version_protocol_test.rs:137:32 [INFO] [stdout] | [INFO] [stdout] 137 | let exp = VersionProtocol::Link(PathBuf::from("../dir")); [INFO] [stdout] | ^^^^ associated item not found in `std::string::String` [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `std::string::String` consider using one of the following associated functions: [INFO] [stdout] std::string::String::new [INFO] [stdout] std::string::String::with_capacity [INFO] [stdout] std::string::String::try_with_capacity [INFO] [stdout] std::string::String::from_utf8 [INFO] [stdout] and 9 others [INFO] [stdout] --> /rustc/562dee4820c458d823175268e41601d4c060588a/library/alloc/src/string.rs:437:4 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no associated item named `Portal` found for struct `std::string::String` in the current scope [INFO] [stdout] --> tests/version_protocol_test.rs:145:32 [INFO] [stdout] | [INFO] [stdout] 145 | let exp = VersionProtocol::Portal(PathBuf::from("../dir")); [INFO] [stdout] | ^^^^^^ associated item not found in `std::string::String` [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `std::string::String` consider using one of the following associated functions: [INFO] [stdout] std::string::String::new [INFO] [stdout] std::string::String::with_capacity [INFO] [stdout] std::string::String::try_with_capacity [INFO] [stdout] std::string::String::from_utf8 [INFO] [stdout] and 9 others [INFO] [stdout] --> /rustc/562dee4820c458d823175268e41601d4c060588a/library/alloc/src/string.rs:437:4 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no associated item named `Version` found for struct `std::string::String` in the current scope [INFO] [stdout] --> tests/version_protocol_test.rs:153:32 [INFO] [stdout] | [INFO] [stdout] 153 | let exp = VersionProtocol::Version(Version::parse("1.2.3").unwrap()); [INFO] [stdout] | ^^^^^^^ associated item not found in `std::string::String` [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `std::string::String` consider using one of the following associated functions: [INFO] [stdout] std::string::String::new [INFO] [stdout] std::string::String::with_capacity [INFO] [stdout] std::string::String::try_with_capacity [INFO] [stdout] std::string::String::from_utf8 [INFO] [stdout] and 9 others [INFO] [stdout] --> /rustc/562dee4820c458d823175268e41601d4c060588a/library/alloc/src/string.rs:437:4 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0223, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0223`. [INFO] [stdout] [INFO] [stdout] error[E0599]: no associated item named `Requirement` found for struct `std::string::String` in the current scope [INFO] [stdout] --> tests/version_protocol_test.rs:158:32 [INFO] [stdout] | [INFO] [stdout] 158 | let exp = VersionProtocol::Requirement(VersionReq::parse("~1.2").unwrap()); [INFO] [stdout] | ^^^^^^^^^^^ associated item not found in `std::string::String` [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `std::string::String` consider using one of the following associated functions: [INFO] [stdout] std::string::String::new [INFO] [stdout] std::string::String::with_capacity [INFO] [stdout] std::string::String::try_with_capacity [INFO] [stdout] std::string::String::from_utf8 [INFO] [stdout] and 9 others [INFO] [stdout] --> /rustc/562dee4820c458d823175268e41601d4c060588a/library/alloc/src/string.rs:437:4 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no associated item named `Requirement` found for struct `std::string::String` in the current scope [INFO] [stdout] --> tests/version_protocol_test.rs:163:32 [INFO] [stdout] | [INFO] [stdout] 163 | let exp = VersionProtocol::Requirement(VersionReq::parse("~1").unwrap()); [INFO] [stdout] | ^^^^^^^^^^^ associated item not found in `std::string::String` [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `std::string::String` consider using one of the following associated functions: [INFO] [stdout] std::string::String::new [INFO] [stdout] std::string::String::with_capacity [INFO] [stdout] std::string::String::try_with_capacity [INFO] [stdout] std::string::String::from_utf8 [INFO] [stdout] and 9 others [INFO] [stdout] --> /rustc/562dee4820c458d823175268e41601d4c060588a/library/alloc/src/string.rs:437:4 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no associated item named `Version` found for struct `std::string::String` in the current scope [INFO] [stdout] --> tests/version_protocol_test.rs:171:32 [INFO] [stdout] | [INFO] [stdout] 171 | let exp = VersionProtocol::Version(Version::parse("7.0.0-dev.20250828.1").unwrap()); [INFO] [stdout] | ^^^^^^^ associated item not found in `std::string::String` [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `std::string::String` consider using one of the following associated functions: [INFO] [stdout] std::string::String::new [INFO] [stdout] std::string::String::with_capacity [INFO] [stdout] std::string::String::try_with_capacity [INFO] [stdout] std::string::String::from_utf8 [INFO] [stdout] and 9 others [INFO] [stdout] --> /rustc/562dee4820c458d823175268e41601d4c060588a/library/alloc/src/string.rs:437:4 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> tests/package_json_test.rs:15:23 [INFO] [stdout] | [INFO] [stdout] 15 | version: Some(Version::new(1, 2, 3)), [INFO] [stdout] | ---- ^^^^^^^^^^^^^^^^^^^^^ expected `String`, found `Version` [INFO] [stdout] | | [INFO] [stdout] | arguments to this enum variant are incorrect [INFO] [stdout] | [INFO] [stdout] help: the type constructed contains `Version` due to the type of the argument passed [INFO] [stdout] --> tests/package_json_test.rs:15:18 [INFO] [stdout] | [INFO] [stdout] 15 | version: Some(Version::new(1, 2, 3)), [INFO] [stdout] | ^^^^^---------------------^ [INFO] [stdout] | | [INFO] [stdout] | this argument influences the type of `Some` [INFO] [stdout] note: tuple variant defined here [INFO] [stdout] --> /rustc/562dee4820c458d823175268e41601d4c060588a/library/core/src/option.rs:608:4 [INFO] [stdout] help: try using a conversion method [INFO] [stdout] | [INFO] [stdout] 15 | version: Some(Version::new(1, 2, 3).to_string()), [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no associated item named `Version` found for struct `std::string::String` in the current scope [INFO] [stdout] --> tests/version_protocol_test.rs:182:32 [INFO] [stdout] | [INFO] [stdout] 182 | let exp = VersionProtocol::Version(Version::parse("2.0.4+20210327").unwrap()); [INFO] [stdout] | ^^^^^^^ associated item not found in `std::string::String` [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `std::string::String` consider using one of the following associated functions: [INFO] [stdout] std::string::String::new [INFO] [stdout] std::string::String::with_capacity [INFO] [stdout] std::string::String::try_with_capacity [INFO] [stdout] std::string::String::from_utf8 [INFO] [stdout] and 9 others [INFO] [stdout] --> /rustc/562dee4820c458d823175268e41601d4c060588a/library/alloc/src/string.rs:437:4 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no associated item named `Requirement` found for struct `std::string::String` in the current scope [INFO] [stdout] --> tests/version_protocol_test.rs:190:32 [INFO] [stdout] | [INFO] [stdout] 190 | let exp = VersionProtocol::Requirement(VersionReq::parse(">=1.2.3, <=4.5.6").unwrap()); [INFO] [stdout] | ^^^^^^^^^^^ associated item not found in `std::string::String` [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `std::string::String` consider using one of the following associated functions: [INFO] [stdout] std::string::String::new [INFO] [stdout] std::string::String::with_capacity [INFO] [stdout] std::string::String::try_with_capacity [INFO] [stdout] std::string::String::from_utf8 [INFO] [stdout] and 9 others [INFO] [stdout] --> /rustc/562dee4820c458d823175268e41601d4c060588a/library/alloc/src/string.rs:437:4 [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `nodejs_package_json` (test "workspace_protocol_test") due to 19 previous errors [INFO] [stdout] error[E0599]: no associated item named `Requirement` found for struct `std::string::String` in the current scope [INFO] [stdout] --> tests/version_protocol_test.rs:195:32 [INFO] [stdout] | [INFO] [stdout] 195 | let exp = VersionProtocol::Requirement(VersionReq::parse(">=4.8.4, <6.0.0").unwrap()); [INFO] [stdout] | ^^^^^^^^^^^ associated item not found in `std::string::String` [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `std::string::String` consider using one of the following associated functions: [INFO] [stdout] std::string::String::new [INFO] [stdout] std::string::String::with_capacity [INFO] [stdout] std::string::String::try_with_capacity [INFO] [stdout] std::string::String::from_utf8 [INFO] [stdout] and 9 others [INFO] [stdout] --> /rustc/562dee4820c458d823175268e41601d4c060588a/library/alloc/src/string.rs:437:4 [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0599]: no associated item named `Catalog` found for struct `std::string::String` in the current scope [INFO] [stdout] --> tests/version_protocol_test.rs:203:32 [INFO] [stdout] | [INFO] [stdout] 203 | let exp = VersionProtocol::Catalog(Some("name".into())); [INFO] [stdout] | ^^^^^^^ associated item not found in `std::string::String` [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `std::string::String` consider using one of the following associated functions: [INFO] [stdout] std::string::String::new [INFO] [stdout] std::string::String::with_capacity [INFO] [stdout] std::string::String::try_with_capacity [INFO] [stdout] std::string::String::from_utf8 [INFO] [stdout] and 9 others [INFO] [stdout] --> /rustc/562dee4820c458d823175268e41601d4c060588a/library/alloc/src/string.rs:437:4 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no associated item named `Catalog` found for struct `std::string::String` in the current scope [INFO] [stdout] --> tests/version_protocol_test.rs:211:32 [INFO] [stdout] | [INFO] [stdout] 211 | let exp = VersionProtocol::Catalog(None); [INFO] [stdout] | ^^^^^^^ associated item not found in `std::string::String` [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `std::string::String` consider using one of the following associated functions: [INFO] [stdout] std::string::String::new [INFO] [stdout] std::string::String::with_capacity [INFO] [stdout] std::string::String::try_with_capacity [INFO] [stdout] std::string::String::from_utf8 [INFO] [stdout] and 9 others [INFO] [stdout] --> /rustc/562dee4820c458d823175268e41601d4c060588a/library/alloc/src/string.rs:437:4 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no associated item named `Requirement` found for struct `std::string::String` in the current scope [INFO] [stdout] --> tests/package_json_test.rs:39:34 [INFO] [stdout] | [INFO] [stdout] 39 | VersionProtocol::Requirement(VersionReq::parse("^1.20").unwrap()), [INFO] [stdout] | ^^^^^^^^^^^ associated item not found in `std::string::String` [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `std::string::String` consider using one of the following associated functions: [INFO] [stdout] std::string::String::new [INFO] [stdout] std::string::String::with_capacity [INFO] [stdout] std::string::String::try_with_capacity [INFO] [stdout] std::string::String::from_utf8 [INFO] [stdout] and 9 others [INFO] [stdout] --> /rustc/562dee4820c458d823175268e41601d4c060588a/library/alloc/src/string.rs:437:4 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no associated item named `Workspace` found for struct `std::string::String` in the current scope [INFO] [stdout] --> tests/package_json_test.rs:43:34 [INFO] [stdout] | [INFO] [stdout] 43 | VersionProtocol::Workspace(WorkspaceProtocol::Any { alias: None }), [INFO] [stdout] | ^^^^^^^^^ associated item not found in `std::string::String` [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `std::string::String` consider using one of the following associated functions: [INFO] [stdout] std::string::String::new [INFO] [stdout] std::string::String::with_capacity [INFO] [stdout] std::string::String::try_with_capacity [INFO] [stdout] std::string::String::from_utf8 [INFO] [stdout] and 9 others [INFO] [stdout] --> /rustc/562dee4820c458d823175268e41601d4c060588a/library/alloc/src/string.rs:437:4 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no associated item named `Tag` found for struct `std::string::String` in the current scope [INFO] [stdout] --> tests/version_protocol_test.rs:219:32 [INFO] [stdout] | [INFO] [stdout] 219 | let exp = VersionProtocol::Tag("latest".into()); [INFO] [stdout] | ^^^ associated item not found in `std::string::String` [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `std::string::String` consider using one of the following associated functions: [INFO] [stdout] std::string::String::new [INFO] [stdout] std::string::String::with_capacity [INFO] [stdout] std::string::String::try_with_capacity [INFO] [stdout] std::string::String::from_utf8 [INFO] [stdout] and 9 others [INFO] [stdout] --> /rustc/562dee4820c458d823175268e41601d4c060588a/library/alloc/src/string.rs:437:4 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0223]: ambiguous associated type [INFO] [stdout] --> tests/package_json_test.rs:43:44 [INFO] [stdout] | [INFO] [stdout] 43 | VersionProtocol::Workspace(WorkspaceProtocol::Any { alias: None }), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: if there were a trait named `Example` with associated type `Any` implemented for `std::string::String`, you could use the fully-qualified path [INFO] [stdout] | [INFO] [stdout] 43 - VersionProtocol::Workspace(WorkspaceProtocol::Any { alias: None }), [INFO] [stdout] 43 + VersionProtocol::Workspace(::Any { alias: None }), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no associated item named `Tag` found for struct `std::string::String` in the current scope [INFO] [stdout] --> tests/version_protocol_test.rs:224:32 [INFO] [stdout] | [INFO] [stdout] 224 | let exp = VersionProtocol::Tag("next".into()); [INFO] [stdout] | ^^^ associated item not found in `std::string::String` [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `std::string::String` consider using one of the following associated functions: [INFO] [stdout] std::string::String::new [INFO] [stdout] std::string::String::with_capacity [INFO] [stdout] std::string::String::try_with_capacity [INFO] [stdout] std::string::String::from_utf8 [INFO] [stdout] and 9 others [INFO] [stdout] --> /rustc/562dee4820c458d823175268e41601d4c060588a/library/alloc/src/string.rs:437:4 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no associated item named `Tag` found for struct `std::string::String` in the current scope [INFO] [stdout] --> tests/version_protocol_test.rs:230:32 [INFO] [stdout] | [INFO] [stdout] 230 | let exp = VersionProtocol::Tag("mail:".into()); [INFO] [stdout] | ^^^ associated item not found in `std::string::String` [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `std::string::String` consider using one of the following associated functions: [INFO] [stdout] std::string::String::new [INFO] [stdout] std::string::String::with_capacity [INFO] [stdout] std::string::String::try_with_capacity [INFO] [stdout] std::string::String::from_utf8 [INFO] [stdout] and 9 others [INFO] [stdout] --> /rustc/562dee4820c458d823175268e41601d4c060588a/library/alloc/src/string.rs:437:4 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no associated item named `Tag` found for struct `std::string::String` in the current scope [INFO] [stdout] --> tests/version_protocol_test.rs:238:32 [INFO] [stdout] | [INFO] [stdout] 238 | let exp = VersionProtocol::Tag("v1.2.3".into()); [INFO] [stdout] | ^^^ associated item not found in `std::string::String` [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `std::string::String` consider using one of the following associated functions: [INFO] [stdout] std::string::String::new [INFO] [stdout] std::string::String::with_capacity [INFO] [stdout] std::string::String::try_with_capacity [INFO] [stdout] std::string::String::from_utf8 [INFO] [stdout] and 9 others [INFO] [stdout] --> /rustc/562dee4820c458d823175268e41601d4c060588a/library/alloc/src/string.rs:437:4 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no associated item named `Alias` found for struct `std::string::String` in the current scope [INFO] [stdout] --> tests/version_protocol_test.rs:246:32 [INFO] [stdout] | [INFO] [stdout] 246 | let exp = VersionProtocol::Alias("jsr:@std/assert@^1.0.13".into()); [INFO] [stdout] | ^^^^^ associated item not found in `std::string::String` [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `std::string::String` consider using one of the following associated functions: [INFO] [stdout] std::string::String::new [INFO] [stdout] std::string::String::with_capacity [INFO] [stdout] std::string::String::try_with_capacity [INFO] [stdout] std::string::String::from_utf8 [INFO] [stdout] and 9 others [INFO] [stdout] --> /rustc/562dee4820c458d823175268e41601d4c060588a/library/alloc/src/string.rs:437:4 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `PackageJson: serde::Serialize` is not satisfied [INFO] [stdout] --> tests/package_json_test.rs:58:38 [INFO] [stdout] | [INFO] [stdout] 58 | serde_json::to_string_pretty(&pkg).unwrap(), [INFO] [stdout] | ---------------------------- ^^^^ the trait `serde_core::ser::Serialize` is not implemented for `PackageJson` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] = note: for local types consider adding `#[derive(serde::Serialize)]` to your `PackageJson` type [INFO] [stdout] = note: for types from other crates check whether the crate offers a `serde` feature flag [INFO] [stdout] = help: the following other types implement trait `serde_core::ser::Serialize`: [INFO] [stdout] &'a T [INFO] [stdout] &'a mut T [INFO] [stdout] () [INFO] [stdout] (T,) [INFO] [stdout] (T0, T1) [INFO] [stdout] (T0, T1, T2) [INFO] [stdout] (T0, T1, T2, T3) [INFO] [stdout] (T0, T1, T2, T3, T4) [INFO] [stdout] and 136 others [INFO] [stdout] note: required by a bound in `to_string_pretty` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/serde_json-1.0.149/src/ser.rs:2266:17 [INFO] [stdout] | [INFO] [stdout] 2264 | pub fn to_string_pretty(value: &T) -> Result [INFO] [stdout] | ---------------- required by a bound in this function [INFO] [stdout] 2265 | where [INFO] [stdout] 2266 | T: ?Sized + Serialize, [INFO] [stdout] | ^^^^^^^^^ required by this bound in `to_string_pretty` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no associated item named `Alias` found for struct `std::string::String` in the current scope [INFO] [stdout] --> tests/version_protocol_test.rs:257:32 [INFO] [stdout] | [INFO] [stdout] 257 | let exp = VersionProtocol::Alias("npm:pkg@1.0.0".into()); [INFO] [stdout] | ^^^^^ associated item not found in `std::string::String` [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `std::string::String` consider using one of the following associated functions: [INFO] [stdout] std::string::String::new [INFO] [stdout] std::string::String::with_capacity [INFO] [stdout] std::string::String::try_with_capacity [INFO] [stdout] std::string::String::from_utf8 [INFO] [stdout] and 9 others [INFO] [stdout] --> /rustc/562dee4820c458d823175268e41601d4c060588a/library/alloc/src/string.rs:437:4 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no associated item named `Requirement` found for struct `std::string::String` in the current scope [INFO] [stdout] --> tests/version_protocol_test.rs:265:32 [INFO] [stdout] | [INFO] [stdout] 265 | let exp = VersionProtocol::Requirement(VersionReq::parse("~1.2").unwrap()); [INFO] [stdout] | ^^^^^^^^^^^ associated item not found in `std::string::String` [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `std::string::String` consider using one of the following associated functions: [INFO] [stdout] std::string::String::new [INFO] [stdout] std::string::String::with_capacity [INFO] [stdout] std::string::String::try_with_capacity [INFO] [stdout] std::string::String::from_utf8 [INFO] [stdout] and 9 others [INFO] [stdout] --> /rustc/562dee4820c458d823175268e41601d4c060588a/library/alloc/src/string.rs:437:4 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no associated item named `Requirement` found for struct `std::string::String` in the current scope [INFO] [stdout] --> tests/version_protocol_test.rs:270:32 [INFO] [stdout] | [INFO] [stdout] 270 | let exp = VersionProtocol::Requirement(VersionReq::parse("~1").unwrap()); [INFO] [stdout] | ^^^^^^^^^^^ associated item not found in `std::string::String` [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `std::string::String` consider using one of the following associated functions: [INFO] [stdout] std::string::String::new [INFO] [stdout] std::string::String::with_capacity [INFO] [stdout] std::string::String::try_with_capacity [INFO] [stdout] std::string::String::from_utf8 [INFO] [stdout] and 9 others [INFO] [stdout] --> /rustc/562dee4820c458d823175268e41601d4c060588a/library/alloc/src/string.rs:437:4 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no associated item named `Requirement` found for struct `std::string::String` in the current scope [INFO] [stdout] --> tests/version_protocol_test.rs:275:32 [INFO] [stdout] | [INFO] [stdout] 275 | let exp = VersionProtocol::Requirement(VersionReq::parse("~1").unwrap()); [INFO] [stdout] | ^^^^^^^^^^^ associated item not found in `std::string::String` [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `std::string::String` consider using one of the following associated functions: [INFO] [stdout] std::string::String::new [INFO] [stdout] std::string::String::with_capacity [INFO] [stdout] std::string::String::try_with_capacity [INFO] [stdout] std::string::String::from_utf8 [INFO] [stdout] and 9 others [INFO] [stdout] --> /rustc/562dee4820c458d823175268e41601d4c060588a/library/alloc/src/string.rs:437:4 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no associated item named `Requirement` found for struct `std::string::String` in the current scope [INFO] [stdout] --> tests/version_protocol_test.rs:280:32 [INFO] [stdout] | [INFO] [stdout] 280 | let exp = VersionProtocol::Requirement(VersionReq::parse("~1").unwrap()); [INFO] [stdout] | ^^^^^^^^^^^ associated item not found in `std::string::String` [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `std::string::String` consider using one of the following associated functions: [INFO] [stdout] std::string::String::new [INFO] [stdout] std::string::String::with_capacity [INFO] [stdout] std::string::String::try_with_capacity [INFO] [stdout] std::string::String::from_utf8 [INFO] [stdout] and 9 others [INFO] [stdout] --> /rustc/562dee4820c458d823175268e41601d4c060588a/library/alloc/src/string.rs:437:4 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no associated item named `Workspace` found for struct `std::string::String` in the current scope [INFO] [stdout] --> tests/version_protocol_test.rs:288:32 [INFO] [stdout] | [INFO] [stdout] 288 | let exp = VersionProtocol::Workspace(WorkspaceProtocol::from_str("*").unwrap()); [INFO] [stdout] | ^^^^^^^^^ associated item not found in `std::string::String` [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `std::string::String` consider using one of the following associated functions: [INFO] [stdout] std::string::String::new [INFO] [stdout] std::string::String::with_capacity [INFO] [stdout] std::string::String::try_with_capacity [INFO] [stdout] std::string::String::from_utf8 [INFO] [stdout] and 9 others [INFO] [stdout] --> /rustc/562dee4820c458d823175268e41601d4c060588a/library/alloc/src/string.rs:437:4 [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `nodejs_package_json` (test "package_json_test") due to 5 previous errors [INFO] [stdout] error[E0599]: no associated item named `Workspace` found for struct `std::string::String` in the current scope [INFO] [stdout] --> tests/version_protocol_test.rs:293:32 [INFO] [stdout] | [INFO] [stdout] 293 | let exp = VersionProtocol::Workspace(WorkspaceProtocol::from_str("~").unwrap()); [INFO] [stdout] | ^^^^^^^^^ associated item not found in `std::string::String` [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `std::string::String` consider using one of the following associated functions: [INFO] [stdout] std::string::String::new [INFO] [stdout] std::string::String::with_capacity [INFO] [stdout] std::string::String::try_with_capacity [INFO] [stdout] std::string::String::from_utf8 [INFO] [stdout] and 9 others [INFO] [stdout] --> /rustc/562dee4820c458d823175268e41601d4c060588a/library/alloc/src/string.rs:437:4 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0223, E0277, E0308, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0223`. [INFO] [stdout] [INFO] [stdout] error[E0599]: no associated item named `Workspace` found for struct `std::string::String` in the current scope [INFO] [stdout] --> tests/version_protocol_test.rs:298:32 [INFO] [stdout] | [INFO] [stdout] 298 | let exp = VersionProtocol::Workspace(WorkspaceProtocol::from_str("^").unwrap()); [INFO] [stdout] | ^^^^^^^^^ associated item not found in `std::string::String` [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `std::string::String` consider using one of the following associated functions: [INFO] [stdout] std::string::String::new [INFO] [stdout] std::string::String::with_capacity [INFO] [stdout] std::string::String::try_with_capacity [INFO] [stdout] std::string::String::from_utf8 [INFO] [stdout] and 9 others [INFO] [stdout] --> /rustc/562dee4820c458d823175268e41601d4c060588a/library/alloc/src/string.rs:437:4 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no associated item named `Workspace` found for struct `std::string::String` in the current scope [INFO] [stdout] --> tests/version_protocol_test.rs:303:32 [INFO] [stdout] | [INFO] [stdout] 303 | let exp = VersionProtocol::Workspace(WorkspaceProtocol::from_str("^1.5.0").unwrap()); [INFO] [stdout] | ^^^^^^^^^ associated item not found in `std::string::String` [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `std::string::String` consider using one of the following associated functions: [INFO] [stdout] std::string::String::new [INFO] [stdout] std::string::String::with_capacity [INFO] [stdout] std::string::String::try_with_capacity [INFO] [stdout] std::string::String::from_utf8 [INFO] [stdout] and 9 others [INFO] [stdout] --> /rustc/562dee4820c458d823175268e41601d4c060588a/library/alloc/src/string.rs:437:4 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no associated item named `Range` found for struct `std::string::String` in the current scope [INFO] [stdout] --> tests/version_protocol_test.rs:314:32 [INFO] [stdout] | [INFO] [stdout] 314 | let exp = VersionProtocol::Range(vec![ [INFO] [stdout] | ^^^^^ associated item not found in `std::string::String` [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `std::string::String` consider using one of the following associated functions: [INFO] [stdout] std::string::String::new [INFO] [stdout] std::string::String::with_capacity [INFO] [stdout] std::string::String::try_with_capacity [INFO] [stdout] std::string::String::from_utf8 [INFO] [stdout] and 9 others [INFO] [stdout] --> /rustc/562dee4820c458d823175268e41601d4c060588a/library/alloc/src/string.rs:437:4 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no associated item named `Range` found for struct `std::string::String` in the current scope [INFO] [stdout] --> tests/version_protocol_test.rs:326:32 [INFO] [stdout] | [INFO] [stdout] 326 | let exp = VersionProtocol::Range(vec![ [INFO] [stdout] | ^^^^^ associated item not found in `std::string::String` [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `std::string::String` consider using one of the following associated functions: [INFO] [stdout] std::string::String::new [INFO] [stdout] std::string::String::with_capacity [INFO] [stdout] std::string::String::try_with_capacity [INFO] [stdout] std::string::String::from_utf8 [INFO] [stdout] and 9 others [INFO] [stdout] --> /rustc/562dee4820c458d823175268e41601d4c060588a/library/alloc/src/string.rs:437:4 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0223, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0223`. [INFO] [stdout] [INFO] [stderr] error: could not compile `nodejs_package_json` (test "version_protocol_test") due to 38 previous errors [INFO] running `Command { std: "docker" "inspect" "7c03e26d71f8f1fe180d43ad1ba775227a895034dee62db7d654519949fa446a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7c03e26d71f8f1fe180d43ad1ba775227a895034dee62db7d654519949fa446a", kill_on_drop: false }` [INFO] [stdout] 7c03e26d71f8f1fe180d43ad1ba775227a895034dee62db7d654519949fa446a