[INFO] crate wast 21.0.0 is already in cache [INFO] testing wast-21.0.0 against 1.45.2 for beta-1.46-1 [INFO] extracting crate wast 21.0.0 into /workspace/builds/worker-10/source [INFO] validating manifest of crates.io crate wast 21.0.0 on toolchain 1.45.2 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.45.2" "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-10/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.45.2" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.45.2" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [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" "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:a636fd89d022f18117e1dc8fb37a0a009933cdbbe082814857f0e2024962d47c" "/opt/rustwide/cargo-home/bin/cargo" "+1.45.2" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 538717d3091d43c7a7a45555c9b157ecd08e08c307ed7076bcff6444488bc3ad [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" "538717d3091d43c7a7a45555c9b157ecd08e08c307ed7076bcff6444488bc3ad", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "538717d3091d43c7a7a45555c9b157ecd08e08c307ed7076bcff6444488bc3ad", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "538717d3091d43c7a7a45555c9b157ecd08e08c307ed7076bcff6444488bc3ad", kill_on_drop: false }` [INFO] [stdout] 538717d3091d43c7a7a45555c9b157ecd08e08c307ed7076bcff6444488bc3ad [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" "MAP_USER_ID=0" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-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:a636fd89d022f18117e1dc8fb37a0a009933cdbbe082814857f0e2024962d47c" "/opt/rustwide/cargo-home/bin/cargo" "+1.45.2" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c268b52f69936732e985d405b61330bfc730a326ee1882bde64230e29c49d8f4 [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" "c268b52f69936732e985d405b61330bfc730a326ee1882bde64230e29c49d8f4", kill_on_drop: false }` [INFO] [stderr] Compiling wast v21.0.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 12.45s [INFO] running `Command { std: "docker" "inspect" "c268b52f69936732e985d405b61330bfc730a326ee1882bde64230e29c49d8f4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c268b52f69936732e985d405b61330bfc730a326ee1882bde64230e29c49d8f4", kill_on_drop: false }` [INFO] [stdout] c268b52f69936732e985d405b61330bfc730a326ee1882bde64230e29c49d8f4 [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" "MAP_USER_ID=0" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-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:a636fd89d022f18117e1dc8fb37a0a009933cdbbe082814857f0e2024962d47c" "/opt/rustwide/cargo-home/bin/cargo" "+1.45.2" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 45ce815891ef72afcc7bce42272998644f4f3bbc4eeba882c3fb3b40bc600d55 [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" "45ce815891ef72afcc7bce42272998644f4f3bbc4eeba882c3fb3b40bc600d55", kill_on_drop: false }` [INFO] [stderr] Compiling wast v21.0.0 (/opt/rustwide/workdir) [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[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[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] | help: you might be missing a type parameter: `` [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] [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: to learn more, visit [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: to learn more, visit [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: to learn more, visit [INFO] [stdout] = note: required by `std::result::Result::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: to learn more, visit [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: to learn more, visit [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: to learn more, visit [INFO] [stdout] = note: required by `std::result::Result::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: to learn more, visit [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: to learn more, visit [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: to learn more, visit [INFO] [stdout] = note: required by `std::result::Result::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" "45ce815891ef72afcc7bce42272998644f4f3bbc4eeba882c3fb3b40bc600d55", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "45ce815891ef72afcc7bce42272998644f4f3bbc4eeba882c3fb3b40bc600d55", kill_on_drop: false }` [INFO] [stdout] 45ce815891ef72afcc7bce42272998644f4f3bbc4eeba882c3fb3b40bc600d55