[INFO] fetching crate include_wit_macro 0.1.3... [INFO] testing include_wit_macro-0.1.3 against try#b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b for pr-145330-1 [INFO] extracting crate include_wit_macro 0.1.3 into /workspace/builds/worker-4-tc2/source [INFO] started tweaking crates.io crate include_wit_macro 0.1.3 [INFO] finished tweaking crates.io crate include_wit_macro 0.1.3 [INFO] tweaked toml for crates.io crate include_wit_macro 0.1.3 written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate include_wit_macro 0.1.3 on toolchain b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "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" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 29 packages to latest compatible versions [INFO] [stderr] Adding litrs v0.4.2 (available: v0.5.1) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 9b58b36aa2d678935ad29463e1f4faca43788d4a318650549a4fe807131d1d94 [INFO] running `Command { std: "docker" "start" "-a" "9b58b36aa2d678935ad29463e1f4faca43788d4a318650549a4fe807131d1d94", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "9b58b36aa2d678935ad29463e1f4faca43788d4a318650549a4fe807131d1d94", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9b58b36aa2d678935ad29463e1f4faca43788d4a318650549a4fe807131d1d94", kill_on_drop: false }` [INFO] [stdout] 9b58b36aa2d678935ad29463e1f4faca43788d4a318650549a4fe807131d1d94 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 0f363a5380e6bb75f0e7606745df81dfe359332e3ef5cd26d9a19d377cd06481 [INFO] running `Command { std: "docker" "start" "-a" "0f363a5380e6bb75f0e7606745df81dfe359332e3ef5cd26d9a19d377cd06481", kill_on_drop: false }` [INFO] [stderr] Compiling serde_core v1.0.228 [INFO] [stderr] Compiling proc-macro2 v1.0.101 [INFO] [stderr] Compiling foldhash v0.1.5 [INFO] [stderr] Compiling wasmparser v0.239.0 [INFO] [stderr] Compiling quote v1.0.41 [INFO] [stderr] Compiling bitflags v2.9.4 [INFO] [stderr] Compiling semver v1.0.27 [INFO] [stderr] Compiling serde v1.0.228 [INFO] [stderr] Compiling wasm-encoder v0.239.0 [INFO] [stderr] Compiling memchr v2.7.6 [INFO] [stderr] Compiling leb128fmt v0.1.0 [INFO] [stderr] Compiling anyhow v1.0.100 [INFO] [stderr] Compiling serde_json v1.0.145 [INFO] [stderr] Compiling itoa v1.0.15 [INFO] [stderr] Compiling ryu v1.0.20 [INFO] [stderr] Compiling unicode-xid v0.2.6 [INFO] [stderr] Compiling log v0.4.28 [INFO] [stderr] Compiling id-arena v2.2.1 [INFO] [stderr] Compiling litrs v0.4.2 [INFO] [stderr] Compiling hashbrown v0.15.5 [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stderr] Compiling indexmap v2.11.4 [INFO] [stderr] Compiling serde_derive v1.0.228 [INFO] [stderr] Compiling wit-parser v0.239.0 [INFO] [stderr] Compiling wasm-metadata v0.239.0 [INFO] [stderr] Compiling wit-component v0.239.0 [INFO] [stderr] Compiling include_wit_macro v0.1.3 (/opt/rustwide/workdir) [INFO] [stdout] error[E0061]: this function takes 2 arguments but 3 arguments were supplied [INFO] [stdout] --> src/lib.rs:42:24 [INFO] [stdout] | [INFO] [stdout] 42 | let encoded_wasm = encode(Some(true), &resolve, package).expect("Could not encode WIT binary."); [INFO] [stdout] | ^^^^^^ ---------- unexpected argument #1 of type `std::option::Option` [INFO] [stdout] | [INFO] [stdout] note: function defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/wit-component-0.239.0/src/encoding/wit.rs:27:8 [INFO] [stdout] | [INFO] [stdout] 27 | pub fn encode(resolve: &Resolve, package: PackageId) -> Result> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] help: remove the extra argument [INFO] [stdout] | [INFO] [stdout] 42 - let encoded_wasm = encode(Some(true), &resolve, package).expect("Could not encode WIT binary."); [INFO] [stdout] 42 + let encoded_wasm = encode(&resolve, package).expect("Could not encode WIT binary."); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `parse` found for struct `wit_parser::UnresolvedPackage` in the current scope [INFO] [stdout] --> src/lib.rs:81:38 [INFO] [stdout] | [INFO] [stdout] 81 | let pkg = UnresolvedPackage::parse(path, text).expect("Failed to parse package."); [INFO] [stdout] | ^^^^^ function or associated item not found in `wit_parser::UnresolvedPackage` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this method takes 2 arguments but 1 argument was supplied [INFO] [stdout] --> src/lib.rs:83:14 [INFO] [stdout] | [INFO] [stdout] 83 | .push(pkg) [INFO] [stdout] | ^^^^----- argument #2 of type `&SourceMap` is missing [INFO] [stdout] | [INFO] [stdout] note: method defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/wit-parser-0.239.0/src/resolve.rs:522:12 [INFO] [stdout] | [INFO] [stdout] 522 | pub fn push( [INFO] [stdout] | ^^^^ [INFO] [stdout] help: provide the argument [INFO] [stdout] | [INFO] [stdout] 83 | .push(pkg, /* &SourceMap */) [INFO] [stdout] | ++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0061, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0061`. [INFO] [stdout] [INFO] [stderr] error: could not compile `include_wit_macro` (lib) due to 3 previous errors [INFO] running `Command { std: "docker" "inspect" "0f363a5380e6bb75f0e7606745df81dfe359332e3ef5cd26d9a19d377cd06481", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0f363a5380e6bb75f0e7606745df81dfe359332e3ef5cd26d9a19d377cd06481", kill_on_drop: false }` [INFO] [stdout] 0f363a5380e6bb75f0e7606745df81dfe359332e3ef5cd26d9a19d377cd06481