[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 against master#506512391b1a75ae450d36c9420978402a91abcc for pr-125384 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMGibson1%2Fwasm-interfacegen" "/workspace/builds/worker-7-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/MGibson1/wasm-interfacegen on toolchain 506512391b1a75ae450d36c9420978402a91abcc [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+506512391b1a75ae450d36c9420978402a91abcc" "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-7-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" "+506512391b1a75ae450d36c9420978402a91abcc" "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] Downloading crates ... [INFO] [stderr] Downloaded trybuild v1.0.61 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:59a85a07ab18ca8720692f8e61effa1c651d9e2ca591e072c2b212bb91a6b8b5" "/opt/rustwide/cargo-home/bin/cargo" "+506512391b1a75ae450d36c9420978402a91abcc" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 5d300763d200073c4a1677988de918b0c7028e7534dde4e0687a301456a22ef2 [INFO] running `Command { std: "docker" "start" "-a" "5d300763d200073c4a1677988de918b0c7028e7534dde4e0687a301456a22ef2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "5d300763d200073c4a1677988de918b0c7028e7534dde4e0687a301456a22ef2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5d300763d200073c4a1677988de918b0c7028e7534dde4e0687a301456a22ef2", kill_on_drop: false }` [INFO] [stdout] 5d300763d200073c4a1677988de918b0c7028e7534dde4e0687a301456a22ef2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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=allow" "-e" "RUSTDOCFLAGS=--cap-lints=allow" "-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:59a85a07ab18ca8720692f8e61effa1c651d9e2ca591e072c2b212bb91a6b8b5" "/opt/rustwide/cargo-home/bin/cargo" "+506512391b1a75ae450d36c9420978402a91abcc" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 61de3ccccd7a83fccd1e404e51198f524887638cef9599c8be840df44d9fa7e0 [INFO] running `Command { std: "docker" "start" "-a" "61de3ccccd7a83fccd1e404e51198f524887638cef9599c8be840df44d9fa7e0", 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 unicode-xid v0.2.2 [INFO] [stderr] Compiling log v0.4.16 [INFO] [stderr] Compiling wasm-bindgen-shared v0.2.80 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling bumpalo v3.9.1 [INFO] [stderr] Compiling serde v1.0.137 [INFO] [stderr] Compiling wasm-bindgen v0.2.80 [INFO] [stderr] Checking static_assertions v1.1.0 [INFO] [stderr] Compiling serde_derive v1.0.137 [INFO] [stderr] Compiling serde_json v1.0.81 [INFO] [stderr] Compiling trybuild v1.0.61 [INFO] [stderr] Checking ryu v1.0.9 [INFO] [stderr] Checking wasm-interfacegen-macro-support v0.1.0 (/opt/rustwide/workdir/crates/macro-support) [INFO] [stderr] Checking itoa v1.0.1 [INFO] [stderr] Checking once_cell v1.10.0 [INFO] [stderr] Checking termcolor v1.1.3 [INFO] [stderr] Checking glob v0.3.0 [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" "61de3ccccd7a83fccd1e404e51198f524887638cef9599c8be840df44d9fa7e0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "61de3ccccd7a83fccd1e404e51198f524887638cef9599c8be840df44d9fa7e0", kill_on_drop: false }` [INFO] [stdout] 61de3ccccd7a83fccd1e404e51198f524887638cef9599c8be840df44d9fa7e0