[INFO] cloning repository https://github.com/MGibson1/wasm-interfacegen [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/MGibson1/wasm-interfacegen" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMGibson1%2Fwasm-interfacegen", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMGibson1%2Fwasm-interfacegen'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 958ba204724e4e4a345beff755d17a2f97232c43 [INFO] checking MGibson1/wasm-interfacegen/958ba204724e4e4a345beff755d17a2f97232c43 against master#f609b7e0586f81fefb3523e3e17adf779ac416be for pr-129466-2 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMGibson1%2Fwasm-interfacegen" "/workspace/builds/worker-5-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/MGibson1/wasm-interfacegen on toolchain f609b7e0586f81fefb3523e3e17adf779ac416be [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/MGibson1/wasm-interfacegen [INFO] finished tweaking git repo https://github.com/MGibson1/wasm-interfacegen [INFO] tweaked toml for git repo https://github.com/MGibson1/wasm-interfacegen written to /workspace/builds/worker-5-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/MGibson1/wasm-interfacegen already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: virtual workspace defaulting to `resolver = "1"` despite one or more workspace members being on edition 2021 which implies `resolver = "2"` [INFO] [stderr] note: to keep the current resolver, specify `workspace.resolver = "1"` in the workspace root's manifest [INFO] [stderr] note: to use the edition 2021 resolver, specify `workspace.resolver = "2"` in the workspace root's manifest [INFO] [stderr] note: for more details see https://doc.rust-lang.org/cargo/reference/resolver.html#resolver-versions [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded trybuild v1.0.61 [INFO] [stderr] Downloaded serde_derive v1.0.137 [INFO] [stderr] Downloaded serde v1.0.137 [INFO] [stderr] Downloaded syn v1.0.92 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/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:6252d7ea7fb8caaf7af6d800c5fb250a9cd862b9a7f9508afb3c54fa7fe1102e" "/opt/rustwide/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 232f2302eb478f3abea52bd60b0ed4f305e83b283eafcd376f2efb72aa508d30 [INFO] running `Command { std: "docker" "start" "-a" "232f2302eb478f3abea52bd60b0ed4f305e83b283eafcd376f2efb72aa508d30", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "232f2302eb478f3abea52bd60b0ed4f305e83b283eafcd376f2efb72aa508d30", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "232f2302eb478f3abea52bd60b0ed4f305e83b283eafcd376f2efb72aa508d30", kill_on_drop: false }` [INFO] [stdout] 232f2302eb478f3abea52bd60b0ed4f305e83b283eafcd376f2efb72aa508d30 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/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:6252d7ea7fb8caaf7af6d800c5fb250a9cd862b9a7f9508afb3c54fa7fe1102e" "/opt/rustwide/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 3af45526f63a8c6523caf7d2c03616b4a7342df32b31d42bb898529dd78a7eda [INFO] running `Command { std: "docker" "start" "-a" "3af45526f63a8c6523caf7d2c03616b4a7342df32b31d42bb898529dd78a7eda", kill_on_drop: false }` [INFO] [stderr] warning: virtual workspace defaulting to `resolver = "1"` despite one or more workspace members being on edition 2021 which implies `resolver = "2"` [INFO] [stderr] note: to keep the current resolver, specify `workspace.resolver = "1"` in the workspace root's manifest [INFO] [stderr] note: to use the edition 2021 resolver, specify `workspace.resolver = "2"` in the workspace root's manifest [INFO] [stderr] note: for more details see https://doc.rust-lang.org/cargo/reference/resolver.html#resolver-versions [INFO] [stderr] Compiling proc-macro2 v1.0.37 [INFO] [stderr] Compiling syn v1.0.92 [INFO] [stderr] Compiling wasm-bindgen-shared v0.2.80 [INFO] [stderr] Compiling log v0.4.16 [INFO] [stderr] Compiling bumpalo v3.9.1 [INFO] [stderr] Compiling serde v1.0.137 [INFO] [stderr] Checking unicode-xid v0.2.2 [INFO] [stderr] Compiling wasm-bindgen v0.2.80 [INFO] [stderr] Compiling serde_json v1.0.81 [INFO] [stderr] Compiling static_assertions v1.1.0 [INFO] [stderr] Compiling serde_derive v1.0.137 [INFO] [stderr] Compiling trybuild v1.0.61 [INFO] [stderr] Checking wasm-interfacegen-macro-support v0.1.0 (/opt/rustwide/workdir/crates/macro-support) [INFO] [stderr] Checking once_cell v1.10.0 [INFO] [stderr] Checking glob v0.3.0 [INFO] [stderr] Checking termcolor v1.1.3 [INFO] [stderr] Checking quote v1.0.18 [INFO] [stderr] Checking toml v0.5.9 [INFO] [stderr] Checking wasm-interfacegen-macro v0.1.0 (/opt/rustwide/workdir/crates/macro) [INFO] [stderr] Compiling wasm-bindgen-backend v0.2.80 [INFO] [stderr] Compiling wasm-bindgen-macro-support v0.2.80 [INFO] [stderr] Compiling wasm-bindgen-macro v0.2.80 [INFO] [stderr] Checking wasm-interfacegen v0.1.0 (/opt/rustwide/workdir/crates/package) [INFO] [stdout] error: JsInterface only supports structs [INFO] [stdout] --> crates/macro/tests/non-struct.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | enum OnAnEnum{} [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: JsInterface only supports structs [INFO] [stdout] --> crates/macro/tests/non-struct.rs:8:1 [INFO] [stdout] | [INFO] [stdout] 8 | union OnAUnion { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `wasm-interfacegen-macro` (test "non-struct") due to 3 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0277]: the trait bound `Vec: __JsInterface` is not satisfied [INFO] [stdout] --> crates/macro/tests/unknown-field-type.rs:7:16 [INFO] [stdout] | [INFO] [stdout] 7 | vec_field: Vec [INFO] [stdout] | ^^^^^^^^^^^ the trait `__JsInterface` is not implemented for `Vec` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `__JsInterface`: [INFO] [stdout] NonInterfacedField [INFO] [stdout] VecField [INFO] [stdout] note: required by a bound in `_::{closure#0}::assert_impl_all` [INFO] [stdout] --> crates/macro/tests/unknown-field-type.rs:5:10 [INFO] [stdout] | [INFO] [stdout] 5 | #[derive(JsInterface)] [INFO] [stdout] | ^^^^^^^^^^^ required by this bound in `assert_impl_all` [INFO] [stdout] = note: this error originates in the macro `wasm_interfacegen::assert_impl_all` which comes from the expansion of the derive macro `JsInterface` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `SomeOtherStruct: __JsInterface` is not satisfied [INFO] [stdout] --> crates/macro/tests/unknown-field-type.rs:12:27 [INFO] [stdout] | [INFO] [stdout] 12 | non_interfaced_field: SomeOtherStruct [INFO] [stdout] | ^^^^^^^^^^^^^^^ the trait `__JsInterface` is not implemented for `SomeOtherStruct` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `__JsInterface`: [INFO] [stdout] NonInterfacedField [INFO] [stdout] VecField [INFO] [stdout] note: required by a bound in `_::{closure#0}::assert_impl_all` [INFO] [stdout] --> crates/macro/tests/unknown-field-type.rs:10:10 [INFO] [stdout] | [INFO] [stdout] 10 | #[derive(JsInterface)] [INFO] [stdout] | ^^^^^^^^^^^ required by this bound in `assert_impl_all` [INFO] [stdout] = note: this error originates in the macro `wasm_interfacegen::assert_impl_all` which comes from the expansion of the derive macro `JsInterface` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: could not compile `wasm-interfacegen-macro` (test "unknown-field-type") due to 3 previous errors [INFO] running `Command { std: "docker" "inspect" "3af45526f63a8c6523caf7d2c03616b4a7342df32b31d42bb898529dd78a7eda", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3af45526f63a8c6523caf7d2c03616b4a7342df32b31d42bb898529dd78a7eda", kill_on_drop: false }` [INFO] [stdout] 3af45526f63a8c6523caf7d2c03616b4a7342df32b31d42bb898529dd78a7eda