[INFO] fetching crate witnext2 0.1.1... [INFO] checking witnext2-0.1.1 against try#3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f for pr-87248 [INFO] extracting crate witnext2 0.1.1 into /workspace/builds/worker-1/source [INFO] validating manifest of crates.io crate witnext2 0.1.1 on toolchain 3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f" "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-1/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f" "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" "+3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded id-arena v2.2.1 [INFO] [stderr] Downloaded wast v32.0.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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" "+3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 778bf0beabee487435f8954ed5c038cb46a6f1c4b093f769dd3468986b21e528 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "778bf0beabee487435f8954ed5c038cb46a6f1c4b093f769dd3468986b21e528", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "778bf0beabee487435f8954ed5c038cb46a6f1c4b093f769dd3468986b21e528", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "778bf0beabee487435f8954ed5c038cb46a6f1c4b093f769dd3468986b21e528", kill_on_drop: false }` [INFO] [stdout] 778bf0beabee487435f8954ed5c038cb46a6f1c4b093f769dd3468986b21e528 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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" "+3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] afdad522d70882ee6f5651a1457f782abd1b6e0ef95f5ed6afa4c6595b659752 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "afdad522d70882ee6f5651a1457f782abd1b6e0ef95f5ed6afa4c6595b659752", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling crossbeam-utils v0.8.5 [INFO] [stderr] Compiling proc-macro2 v1.0.28 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Compiling syn v1.0.74 [INFO] [stderr] Compiling serde_derive v1.0.126 [INFO] [stderr] Compiling serde v1.0.126 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Compiling serde_json v1.0.64 [INFO] [stderr] Checking itoa v0.4.7 [INFO] [stderr] Checking id-arena v2.2.1 [INFO] [stderr] Checking either v1.6.1 [INFO] [stderr] Checking num_cpus v1.13.0 [INFO] [stderr] Checking witnext2 v0.1.1 (/opt/rustwide/workdir) [INFO] [stderr] Compiling memoffset v0.6.4 [INFO] [stderr] Compiling rayon v1.5.1 [INFO] [stderr] Checking crossbeam-epoch v0.9.5 [INFO] [stderr] Checking crossbeam-channel v0.5.1 [INFO] [stderr] Checking crossbeam-deque v0.8.0 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Checking rayon-core v1.9.1 [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] running `Command { std: "docker" "inspect" "afdad522d70882ee6f5651a1457f782abd1b6e0ef95f5ed6afa4c6595b659752", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "afdad522d70882ee6f5651a1457f782abd1b6e0ef95f5ed6afa4c6595b659752", kill_on_drop: false }` [INFO] [stdout] afdad522d70882ee6f5651a1457f782abd1b6e0ef95f5ed6afa4c6595b659752