[INFO] fetching crate wast 21.0.0... [INFO] testing wast-21.0.0 against try#03a1ea71b075ab964b5278bc6e74cd6c52c36ee0 for pr-74409 [INFO] extracting crate wast 21.0.0 into /workspace/builds/worker-7/source [INFO] validating manifest of crates.io crate wast 21.0.0 on toolchain 03a1ea71b075ab964b5278bc6e74cd6c52c36ee0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+03a1ea71b075ab964b5278bc6e74cd6c52c36ee0" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking crates.io crate wast 21.0.0 [INFO] removed 0 missing tests [INFO] finished tweaking crates.io crate wast 21.0.0 [INFO] tweaked toml for crates.io crate wast 21.0.0 written to /workspace/builds/worker-7/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+03a1ea71b075ab964b5278bc6e74cd6c52c36ee0" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+03a1ea71b075ab964b5278bc6e74cd6c52c36ee0" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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" "MAP_USER_ID=0" "-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" "--network" "none" "rustops/crates-build-env@sha256:38e1b949b06cde1964af550a6e548bd9b2b2ea170003ae122f8fc0886596cc07" "/opt/rustwide/cargo-home/bin/cargo" "+03a1ea71b075ab964b5278bc6e74cd6c52c36ee0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] d88bab3710f6dd612ca52c1bce56a5d28b870bdbd50ee15e3e7f7c493498036e [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" "d88bab3710f6dd612ca52c1bce56a5d28b870bdbd50ee15e3e7f7c493498036e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d88bab3710f6dd612ca52c1bce56a5d28b870bdbd50ee15e3e7f7c493498036e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d88bab3710f6dd612ca52c1bce56a5d28b870bdbd50ee15e3e7f7c493498036e", kill_on_drop: false }` [INFO] [stdout] d88bab3710f6dd612ca52c1bce56a5d28b870bdbd50ee15e3e7f7c493498036e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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" "MAP_USER_ID=0" "-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" "--network" "none" "rustops/crates-build-env@sha256:38e1b949b06cde1964af550a6e548bd9b2b2ea170003ae122f8fc0886596cc07" "/opt/rustwide/cargo-home/bin/cargo" "+03a1ea71b075ab964b5278bc6e74cd6c52c36ee0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 987472a51bab8bad52878e8ccd5bf955cc7c82b4fa9753deb76328b26b1b8f04 [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" "987472a51bab8bad52878e8ccd5bf955cc7c82b4fa9753deb76328b26b1b8f04", kill_on_drop: false }` [INFO] [stderr] Compiling leb128 v0.2.4 [INFO] [stderr] Compiling wast v21.0.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 13.72s [INFO] running `Command { std: "docker" "inspect" "987472a51bab8bad52878e8ccd5bf955cc7c82b4fa9753deb76328b26b1b8f04", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "987472a51bab8bad52878e8ccd5bf955cc7c82b4fa9753deb76328b26b1b8f04", kill_on_drop: false }` [INFO] [stdout] 987472a51bab8bad52878e8ccd5bf955cc7c82b4fa9753deb76328b26b1b8f04 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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" "MAP_USER_ID=0" "-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" "--network" "none" "rustops/crates-build-env@sha256:38e1b949b06cde1964af550a6e548bd9b2b2ea170003ae122f8fc0886596cc07" "/opt/rustwide/cargo-home/bin/cargo" "+03a1ea71b075ab964b5278bc6e74cd6c52c36ee0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 8f54545ea5f812c873b4e349d03436b7b1b0a3a1c6f5ea304184e2452cd9481d [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" "8f54545ea5f812c873b4e349d03436b7b1b0a3a1c6f5ea304184e2452cd9481d", kill_on_drop: false }` [INFO] [stderr] Compiling maybe-uninit v2.0.0 [INFO] [stderr] Compiling cfg-if v0.1.10 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling scopeguard v1.1.0 [INFO] [stderr] Compiling rayon-core v1.7.1 [INFO] [stderr] Compiling anyhow v1.0.32 [INFO] [stderr] Compiling crossbeam-utils v0.7.2 [INFO] [stderr] Compiling memoffset v0.5.5 [INFO] [stderr] Compiling crossbeam-epoch v0.8.2 [INFO] [stderr] Compiling rayon v1.3.1 [INFO] [stderr] Compiling num_cpus v1.13.0 [INFO] [stderr] Compiling crossbeam-queue v0.2.3 [INFO] [stderr] Compiling crossbeam-deque v0.7.3 [INFO] [stderr] Compiling wast v21.0.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0432]: unresolved import `wasmparser` [INFO] [stdout] --> tests/annotations.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use wasmparser::*; [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type or module `wasmparser` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `wat` [INFO] [stdout] --> tests/annotations.rs:13:16 [INFO] [stdout] | [INFO] [stdout] 13 | let wasm = wat::parse_str(wat)?; [INFO] [stdout] | ^^^ use of undeclared type or module `wat` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `Name` [INFO] [stdout] --> tests/annotations.rs:17:13 [INFO] [stdout] | [INFO] [stdout] 17 | Name::Module(n) => { [INFO] [stdout] | ^^^^ use of undeclared type or module `Name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `wat` [INFO] [stdout] --> tests/annotations.rs:38:16 [INFO] [stdout] | [INFO] [stdout] 38 | let wasm = wat::parse_str(wat)?; [INFO] [stdout] | ^^^ use of undeclared type or module `wat` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `Name` [INFO] [stdout] --> tests/annotations.rs:42:13 [INFO] [stdout] | [INFO] [stdout] 42 | Name::Function(n) => { [INFO] [stdout] | ^^^^ use of undeclared type or module `Name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `wat` [INFO] [stdout] --> tests/annotations.rs:76:16 [INFO] [stdout] | [INFO] [stdout] 76 | let wasm = wat::parse_str(wat)?; [INFO] [stdout] | ^^^ use of undeclared type or module `wat` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `Name` [INFO] [stdout] --> tests/annotations.rs:80:13 [INFO] [stdout] | [INFO] [stdout] 80 | Name::Local(n) => { [INFO] [stdout] | ^^^^ use of undeclared type or module `Name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `ModuleReader` [INFO] [stdout] --> tests/annotations.rs:97:20 [INFO] [stdout] | [INFO] [stdout] 97 | for section in ModuleReader::new(wasm)? { [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared type or module `ModuleReader` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `SectionCode` [INFO] [stdout] --> tests/annotations.rs:100:13 [INFO] [stdout] | [INFO] [stdout] 100 | SectionCode::Custom { [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type or module `SectionCode` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `CustomSectionKind` [INFO] [stdout] --> tests/annotations.rs:101:23 [INFO] [stdout] | [INFO] [stdout] 101 | kind: CustomSectionKind::Name, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ use of undeclared type or module `CustomSectionKind` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `wat` [INFO] [stdout] --> tests/annotations.rs:112:16 [INFO] [stdout] | [INFO] [stdout] 112 | let wasm = wat::parse_str( [INFO] [stdout] | ^^^ use of undeclared type or module `wat` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `ModuleReader` [INFO] [stdout] --> tests/annotations.rs:132:20 [INFO] [stdout] | [INFO] [stdout] 132 | let mut wasm = ModuleReader::new(&wasm)?; [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared type or module `ModuleReader` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `SectionCode` [INFO] [stdout] --> tests/annotations.rs:133:30 [INFO] [stdout] | [INFO] [stdout] 133 | let custom_kind = |name| SectionCode::Custom { [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type or module `SectionCode` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `CustomSectionKind` [INFO] [stdout] --> tests/annotations.rs:135:15 [INFO] [stdout] | [INFO] [stdout] 135 | kind: CustomSectionKind::Unknown, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ use of undeclared type or module `CustomSectionKind` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `SectionCode` [INFO] [stdout] --> tests/annotations.rs:139:35 [INFO] [stdout] | [INFO] [stdout] 139 | assert_eq!(wasm.read()?.code, SectionCode::Type); [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type or module `SectionCode` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `SectionCode` [INFO] [stdout] --> tests/annotations.rs:143:35 [INFO] [stdout] | [INFO] [stdout] 143 | assert_eq!(wasm.read()?.code, SectionCode::Function); [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type or module `SectionCode` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `SectionCode` [INFO] [stdout] --> tests/annotations.rs:146:35 [INFO] [stdout] | [INFO] [stdout] 146 | assert_eq!(wasm.read()?.code, SectionCode::Table); [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type or module `SectionCode` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `SectionCode` [INFO] [stdout] --> tests/annotations.rs:147:35 [INFO] [stdout] | [INFO] [stdout] 147 | assert_eq!(wasm.read()?.code, SectionCode::Code); [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type or module `SectionCode` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `NameSectionReader` in this scope [INFO] [stdout] --> tests/annotations.rs:96:52 [INFO] [stdout] | [INFO] [stdout] 96 | fn get_name_section(wasm: &[u8]) -> anyhow::Result> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `wat` [INFO] [stdout] --> tests/parse-fail.rs:50:21 [INFO] [stdout] | [INFO] [stdout] 50 | let err = match wat::parse_file(test) { [INFO] [stdout] | ^^^ use of undeclared type or module `wat` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `wat` [INFO] [stdout] --> tests/recursive.rs:7:13 [INFO] [stdout] | [INFO] [stdout] 7 | assert!(wat::parse_str(&s).is_err()); [INFO] [stdout] | ^^^ use of undeclared type or module `wat` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] [INFO] [stderr] error: could not compile `wast`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] [INFO] [stdout] error[E0277]: the size for values of type `[u8]` cannot be known at compilation time [INFO] [stdout] --> tests/annotations.rs:13:9 [INFO] [stdout] | [INFO] [stdout] 13 | let wasm = wat::parse_str(wat)?; [INFO] [stdout] | ^^^^ doesn't have a size known at compile-time [INFO] [stdout] | [INFO] [stdout] = help: the trait `std::marker::Sized` is not implemented for `[u8]` [INFO] [stdout] = note: all local variables must have a statically known size [INFO] [stdout] = help: unsized locals are gated as an unstable feature [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the size for values of type `[u8]` cannot be known at compilation time [INFO] [stdout] --> tests/annotations.rs:13:16 [INFO] [stdout] | [INFO] [stdout] 13 | let wasm = wat::parse_str(wat)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ doesn't have a size known at compile-time [INFO] [stdout] | [INFO] [stdout] = help: the trait `std::marker::Sized` is not implemented for `[u8]` [INFO] [stdout] = note: all local variables must have a statically known size [INFO] [stdout] = help: unsized locals are gated as an unstable feature [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the size for values of type `[u8]` cannot be known at compilation time [INFO] [stdout] --> tests/annotations.rs:13:35 [INFO] [stdout] | [INFO] [stdout] 13 | let wasm = wat::parse_str(wat)?; [INFO] [stdout] | ^ doesn't have a size known at compile-time [INFO] [stdout] | [INFO] [stdout] = help: the trait `std::marker::Sized` is not implemented for `[u8]` [INFO] [stdout] = note: required by `anyhow::private::Err` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the size for values of type `[u8]` cannot be known at compilation time [INFO] [stdout] --> tests/annotations.rs:38:9 [INFO] [stdout] | [INFO] [stdout] 38 | let wasm = wat::parse_str(wat)?; [INFO] [stdout] | ^^^^ doesn't have a size known at compile-time [INFO] [stdout] | [INFO] [stdout] = help: the trait `std::marker::Sized` is not implemented for `[u8]` [INFO] [stdout] = note: all local variables must have a statically known size [INFO] [stdout] = help: unsized locals are gated as an unstable feature [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the size for values of type `[u8]` cannot be known at compilation time [INFO] [stdout] --> tests/annotations.rs:38:16 [INFO] [stdout] | [INFO] [stdout] 38 | let wasm = wat::parse_str(wat)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ doesn't have a size known at compile-time [INFO] [stdout] | [INFO] [stdout] = help: the trait `std::marker::Sized` is not implemented for `[u8]` [INFO] [stdout] = note: all local variables must have a statically known size [INFO] [stdout] = help: unsized locals are gated as an unstable feature [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the size for values of type `[u8]` cannot be known at compilation time [INFO] [stdout] --> tests/annotations.rs:38:35 [INFO] [stdout] | [INFO] [stdout] 38 | let wasm = wat::parse_str(wat)?; [INFO] [stdout] | ^ doesn't have a size known at compile-time [INFO] [stdout] | [INFO] [stdout] = help: the trait `std::marker::Sized` is not implemented for `[u8]` [INFO] [stdout] = note: required by `anyhow::private::Err` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the size for values of type `[u8]` cannot be known at compilation time [INFO] [stdout] --> tests/annotations.rs:76:9 [INFO] [stdout] | [INFO] [stdout] 76 | let wasm = wat::parse_str(wat)?; [INFO] [stdout] | ^^^^ doesn't have a size known at compile-time [INFO] [stdout] | [INFO] [stdout] = help: the trait `std::marker::Sized` is not implemented for `[u8]` [INFO] [stdout] = note: all local variables must have a statically known size [INFO] [stdout] = help: unsized locals are gated as an unstable feature [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the size for values of type `[u8]` cannot be known at compilation time [INFO] [stdout] --> tests/annotations.rs:76:16 [INFO] [stdout] | [INFO] [stdout] 76 | let wasm = wat::parse_str(wat)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ doesn't have a size known at compile-time [INFO] [stdout] | [INFO] [stdout] = help: the trait `std::marker::Sized` is not implemented for `[u8]` [INFO] [stdout] = note: all local variables must have a statically known size [INFO] [stdout] = help: unsized locals are gated as an unstable feature [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the size for values of type `[u8]` cannot be known at compilation time [INFO] [stdout] --> tests/annotations.rs:76:35 [INFO] [stdout] | [INFO] [stdout] 76 | let wasm = wat::parse_str(wat)?; [INFO] [stdout] | ^ doesn't have a size known at compile-time [INFO] [stdout] | [INFO] [stdout] = help: the trait `std::marker::Sized` is not implemented for `[u8]` [INFO] [stdout] = note: required by `anyhow::private::Err` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 28 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0412, E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "8f54545ea5f812c873b4e349d03436b7b1b0a3a1c6f5ea304184e2452cd9481d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8f54545ea5f812c873b4e349d03436b7b1b0a3a1c6f5ea304184e2452cd9481d", kill_on_drop: false }` [INFO] [stdout] 8f54545ea5f812c873b4e349d03436b7b1b0a3a1c6f5ea304184e2452cd9481d