[INFO] fetching crate witnext2 0.1.1... [INFO] checking witnext2-0.1.1 against try#a7a572ce3edd6d476191fbfe92c9c1986e009b34 for pr-87190-3 [INFO] extracting crate witnext2 0.1.1 into /workspace/builds/worker-10/source [INFO] validating manifest of crates.io crate witnext2 0.1.1 on toolchain a7a572ce3edd6d476191fbfe92c9c1986e009b34 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate witnext2 0.1.1 [INFO] removed 0 missing tests [INFO] finished tweaking crates.io crate witnext2 0.1.1 [INFO] tweaked toml for crates.io crate witnext2 0.1.1 written to /workspace/builds/worker-10/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 2349eb9d2524c7c206e89c9dc04b3985a8d16ff60fc5e7fc69dbff6d6e0f66c6 [INFO] running `Command { std: "docker" "start" "-a" "2349eb9d2524c7c206e89c9dc04b3985a8d16ff60fc5e7fc69dbff6d6e0f66c6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "2349eb9d2524c7c206e89c9dc04b3985a8d16ff60fc5e7fc69dbff6d6e0f66c6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2349eb9d2524c7c206e89c9dc04b3985a8d16ff60fc5e7fc69dbff6d6e0f66c6", kill_on_drop: false }` [INFO] [stdout] 2349eb9d2524c7c206e89c9dc04b3985a8d16ff60fc5e7fc69dbff6d6e0f66c6 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/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" "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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 8dec73665258ef16a3f2df96b88550d4bb4671a78dab7dff62b39e0231a8a2a0 [INFO] running `Command { std: "docker" "start" "-a" "8dec73665258ef16a3f2df96b88550d4bb4671a78dab7dff62b39e0231a8a2a0", kill_on_drop: false }` [INFO] [stderr] Copying to /tmp/fixit [INFO] [stderr] Running `cargo fix --edition` [INFO] [stderr] Compiling anyhow v1.0.43 [INFO] [stderr] Checking id-arena v2.2.1 [INFO] [stderr] Checking witnext2 v0.1.1 (/tmp/fixit) [INFO] [stderr] Migrating src/lib.rs from 2018 edition to 2021 [INFO] [stderr] Migrating tests/all.rs from 2018 edition to 2021 [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `witx2` [INFO] [stdout] --> tests/all.rs:131:16 [INFO] [stdout] | [INFO] [stdout] 131 | fn to_json(i: &witx2::Interface) -> String { [INFO] [stdout] | ^^^^^ use of undeclared crate or module `witx2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `witx2` [INFO] [stdout] --> tests/all.rs:237:31 [INFO] [stdout] | [INFO] [stdout] 237 | fn translate_typedef(ty: &witx2::TypeDef) -> Type { [INFO] [stdout] | ^^^^^ use of undeclared crate or module `witx2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `witx2` [INFO] [stdout] --> tests/all.rs:239:13 [INFO] [stdout] | [INFO] [stdout] 239 | witx2::TypeDefKind::Type(t) => Type::Primitive(translate_type(t)), [INFO] [stdout] | ^^^^^ use of undeclared crate or module `witx2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `witx2` [INFO] [stdout] --> tests/all.rs:240:13 [INFO] [stdout] | [INFO] [stdout] 240 | witx2::TypeDefKind::Record(r) => Type::Record { [INFO] [stdout] | ^^^^^ use of undeclared crate or module `witx2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `witx2` [INFO] [stdout] --> tests/all.rs:247:13 [INFO] [stdout] | [INFO] [stdout] 247 | witx2::TypeDefKind::Variant(v) => Type::Variant { [INFO] [stdout] | ^^^^^ use of undeclared crate or module `witx2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `witx2` [INFO] [stdout] --> tests/all.rs:254:13 [INFO] [stdout] | [INFO] [stdout] 254 | witx2::TypeDefKind::PushBuffer(ty) => Type::PushBuffer(translate_type(ty)), [INFO] [stdout] | ^^^^^ use of undeclared crate or module `witx2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `witx2` [INFO] [stdout] --> tests/all.rs:255:13 [INFO] [stdout] | [INFO] [stdout] 255 | witx2::TypeDefKind::PullBuffer(ty) => Type::PullBuffer(translate_type(ty)), [INFO] [stdout] | ^^^^^ use of undeclared crate or module `witx2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `witx2` [INFO] [stdout] --> tests/all.rs:256:13 [INFO] [stdout] | [INFO] [stdout] 256 | witx2::TypeDefKind::List(ty) => Type::List(translate_type(ty)), [INFO] [stdout] | ^^^^^ use of undeclared crate or module `witx2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `witx2` [INFO] [stdout] --> tests/all.rs:257:13 [INFO] [stdout] | [INFO] [stdout] 257 | witx2::TypeDefKind::Pointer(ty) => Type::Pointer(translate_type(ty)), [INFO] [stdout] | ^^^^^ use of undeclared crate or module `witx2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `witx2` [INFO] [stdout] --> tests/all.rs:258:13 [INFO] [stdout] | [INFO] [stdout] 258 | witx2::TypeDefKind::ConstPointer(ty) => Type::ConstPointer(translate_type(ty)), [INFO] [stdout] | ^^^^^ use of undeclared crate or module `witx2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `witx2` [INFO] [stdout] --> tests/all.rs:262:28 [INFO] [stdout] | [INFO] [stdout] 262 | fn translate_type(ty: &witx2::Type) -> String { [INFO] [stdout] | ^^^^^ use of undeclared crate or module `witx2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `witx2` [INFO] [stdout] --> tests/all.rs:264:13 [INFO] [stdout] | [INFO] [stdout] 264 | witx2::Type::U8 => format!("u8"), [INFO] [stdout] | ^^^^^ use of undeclared crate or module `witx2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `witx2` [INFO] [stdout] --> tests/all.rs:265:13 [INFO] [stdout] | [INFO] [stdout] 265 | witx2::Type::CChar => format!("c_char"), [INFO] [stdout] | ^^^^^ use of undeclared crate or module `witx2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `witx2` [INFO] [stdout] --> tests/all.rs:266:13 [INFO] [stdout] | [INFO] [stdout] 266 | witx2::Type::U16 => format!("u16"), [INFO] [stdout] | ^^^^^ use of undeclared crate or module `witx2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `witx2` [INFO] [stdout] --> tests/all.rs:267:13 [INFO] [stdout] | [INFO] [stdout] 267 | witx2::Type::U32 => format!("u32"), [INFO] [stdout] | ^^^^^ use of undeclared crate or module `witx2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `witx2` [INFO] [stdout] --> tests/all.rs:268:13 [INFO] [stdout] | [INFO] [stdout] 268 | witx2::Type::Usize => format!("usize"), [INFO] [stdout] | ^^^^^ use of undeclared crate or module `witx2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `witx2` [INFO] [stdout] --> tests/all.rs:269:13 [INFO] [stdout] | [INFO] [stdout] 269 | witx2::Type::U64 => format!("u64"), [INFO] [stdout] | ^^^^^ use of undeclared crate or module `witx2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `witx2` [INFO] [stdout] --> tests/all.rs:270:13 [INFO] [stdout] | [INFO] [stdout] 270 | witx2::Type::S8 => format!("s8"), [INFO] [stdout] | ^^^^^ use of undeclared crate or module `witx2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `witx2` [INFO] [stdout] --> tests/all.rs:271:13 [INFO] [stdout] | [INFO] [stdout] 271 | witx2::Type::S16 => format!("s16"), [INFO] [stdout] | ^^^^^ use of undeclared crate or module `witx2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `witx2` [INFO] [stdout] --> tests/all.rs:272:13 [INFO] [stdout] | [INFO] [stdout] 272 | witx2::Type::S32 => format!("s32"), [INFO] [stdout] | ^^^^^ use of undeclared crate or module `witx2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `witx2` [INFO] [stdout] --> tests/all.rs:273:13 [INFO] [stdout] | [INFO] [stdout] 273 | witx2::Type::S64 => format!("s64"), [INFO] [stdout] | ^^^^^ use of undeclared crate or module `witx2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `witx2` [INFO] [stdout] --> tests/all.rs:274:13 [INFO] [stdout] | [INFO] [stdout] 274 | witx2::Type::F32 => format!("f32"), [INFO] [stdout] | ^^^^^ use of undeclared crate or module `witx2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `witx2` [INFO] [stdout] --> tests/all.rs:275:13 [INFO] [stdout] | [INFO] [stdout] 275 | witx2::Type::F64 => format!("f64"), [INFO] [stdout] | ^^^^^ use of undeclared crate or module `witx2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `witx2` [INFO] [stdout] --> tests/all.rs:276:13 [INFO] [stdout] | [INFO] [stdout] 276 | witx2::Type::Char => format!("char"), [INFO] [stdout] | ^^^^^ use of undeclared crate or module `witx2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `witx2` [INFO] [stdout] --> tests/all.rs:277:13 [INFO] [stdout] | [INFO] [stdout] 277 | witx2::Type::Handle(resource) => format!("handle-{}", resource.index()), [INFO] [stdout] | ^^^^^ use of undeclared crate or module `witx2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `witx2` [INFO] [stdout] --> tests/all.rs:278:13 [INFO] [stdout] | [INFO] [stdout] 278 | witx2::Type::Id(id) => format!("type-{}", id.index()), [INFO] [stdout] | ^^^^^ use of undeclared crate or module `witx2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `witx2` [INFO] [stdout] --> tests/all.rs:98:29 [INFO] [stdout] | [INFO] [stdout] 98 | let result = witx2::Interface::parse_file(test); [INFO] [stdout] | ^^^^^^^^^ not found in `witx2` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 10 | use witnext2::Interface; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 27 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] [INFO] [stderr] error: could not compile `witnext2` due to 28 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: build failed [INFO] [stderr] error: failed to migrate to next edition [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] process didn't exit successfully: `cargo fix --edition --allow-no-vcs --allow-dirty --frozen --all --all-targets --message-format=json` (exit status: 101) [INFO] running `Command { std: "docker" "inspect" "8dec73665258ef16a3f2df96b88550d4bb4671a78dab7dff62b39e0231a8a2a0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8dec73665258ef16a3f2df96b88550d4bb4671a78dab7dff62b39e0231a8a2a0", kill_on_drop: false }` [INFO] [stdout] 8dec73665258ef16a3f2df96b88550d4bb4671a78dab7dff62b39e0231a8a2a0