[INFO] fetching crate holium-macro 1.0.0... [INFO] testing holium-macro-1.0.0 against master#cdb45c87e2cd43495379f7e867e3cc15dcee9f93 for pr-145838-1 [INFO] extracting crate holium-macro 1.0.0 into /workspace/builds/worker-4-tc1/source [INFO] started tweaking crates.io crate holium-macro 1.0.0 [INFO] finished tweaking crates.io crate holium-macro 1.0.0 [INFO] tweaked toml for crates.io crate holium-macro 1.0.0 written to /workspace/builds/worker-4-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate holium-macro 1.0.0 on toolchain cdb45c87e2cd43495379f7e867e3cc15dcee9f93 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 41 packages to latest compatible versions [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded holium-backend v1.0.0 [INFO] [stderr] Downloaded holium-macro-support v1.0.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] ca847f87142cd2ff2f5a30f4c9c9ca13e27e8fe5f29d36cefe51202d3fbeb759 [INFO] running `Command { std: "docker" "start" "-a" "ca847f87142cd2ff2f5a30f4c9c9ca13e27e8fe5f29d36cefe51202d3fbeb759", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ca847f87142cd2ff2f5a30f4c9c9ca13e27e8fe5f29d36cefe51202d3fbeb759", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ca847f87142cd2ff2f5a30f4c9c9ca13e27e8fe5f29d36cefe51202d3fbeb759", kill_on_drop: false }` [INFO] [stdout] ca847f87142cd2ff2f5a30f4c9c9ca13e27e8fe5f29d36cefe51202d3fbeb759 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] db82a78b38ccbb4f8ae05a67c707f4043ea800bf70996fd6a2967e5030c433fc [INFO] running `Command { std: "docker" "start" "-a" "db82a78b38ccbb4f8ae05a67c707f4043ea800bf70996fd6a2967e5030c433fc", kill_on_drop: false }` [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling lazy_static v1.5.0 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling holium-backend v1.0.0 [INFO] [stderr] Compiling holium-macro-support v1.0.0 [INFO] [stderr] Compiling holium-macro v1.0.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 14.87s [INFO] running `Command { std: "docker" "inspect" "db82a78b38ccbb4f8ae05a67c707f4043ea800bf70996fd6a2967e5030c433fc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "db82a78b38ccbb4f8ae05a67c707f4043ea800bf70996fd6a2967e5030c433fc", kill_on_drop: false }` [INFO] [stdout] db82a78b38ccbb4f8ae05a67c707f4043ea800bf70996fd6a2967e5030c433fc [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 931dece55957b5f899434731d06e38897b7a1f6be20804844e4ac7f1ab330dcd [INFO] running `Command { std: "docker" "start" "-a" "931dece55957b5f899434731d06e38897b7a1f6be20804844e4ac7f1ab330dcd", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.101 [INFO] [stderr] Compiling unicode-ident v1.0.18 [INFO] [stderr] Compiling target-triple v0.1.4 [INFO] [stderr] Compiling log v0.4.27 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling winnow v0.7.13 [INFO] [stderr] Compiling toml_writer v1.0.2 [INFO] [stderr] Compiling termcolor v1.4.1 [INFO] [stderr] Compiling glob v0.3.3 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stderr] Compiling toml_parser v1.0.2 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling holium-backend v1.0.0 [INFO] [stderr] Compiling holium-macro-support v1.0.0 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling toml_datetime v0.7.0 [INFO] [stderr] Compiling serde_spanned v1.0.0 [INFO] [stderr] Compiling serde_json v1.0.143 [INFO] [stderr] Compiling holium-macro v1.0.0 (/opt/rustwide/workdir) [INFO] [stderr] Compiling toml v0.9.5 [INFO] [stderr] Compiling trybuild v1.0.110 [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 29.32s [INFO] running `Command { std: "docker" "inspect" "931dece55957b5f899434731d06e38897b7a1f6be20804844e4ac7f1ab330dcd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "931dece55957b5f899434731d06e38897b7a1f6be20804844e4ac7f1ab330dcd", kill_on_drop: false }` [INFO] [stdout] 931dece55957b5f899434731d06e38897b7a1f6be20804844e4ac7f1ab330dcd [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] a38fd63585d4563de714610fc463024f006fa0904d286e2e004c86ffabf0acb1 [INFO] running `Command { std: "docker" "start" "-a" "a38fd63585d4563de714610fc463024f006fa0904d286e2e004c86ffabf0acb1", kill_on_drop: false }` [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.05s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/holium_macro-8df65700c5ecca66) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Running tests/proc-macro.rs (/opt/rustwide/target/debug/deps/proc_macro-195c3401de9bd087) [INFO] [stdout] [INFO] [stdout] running 1 test [INFO] [stderr] Compiling proc-macro2 v1.0.101 [INFO] [stderr] Compiling unicode-ident v1.0.18 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling log v0.4.27 [INFO] [stderr] Compiling cfg-if v1.0.3 [INFO] [stderr] Compiling lazy_static v1.5.0 [INFO] [stderr] Checking quote v1.0.40 [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stderr] Checking holium-backend v1.0.0 [INFO] [stderr] Checking holium-macro-support v1.0.0 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling holium-macro v1.0.0 (/opt/rustwide/workdir) [INFO] [stderr] Checking holium-macro-tests v0.0.0 (/opt/rustwide/target/tests/trybuild/holium-macro) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 25.01s [INFO] [stderr] [INFO] [stderr] [INFO] [stderr] test tests/proc-macro-tests/export.rs ... mismatch [INFO] [stderr] [INFO] [stderr] EXPECTED: [INFO] [stderr] ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈ [INFO] [stderr] error: can't #[holium_bindgen] functions with lifetime or type parameters [INFO] [stderr] --> tests/proc-macro-tests/export.rs:90:13 [INFO] [stderr] | [INFO] [stderr] 90 | pub fn fail3<'a>(x: &'a GoodStruct, y: &'a GoodStruct) -> &'a GoodStruct { [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] error: can't #[holium_bindgen] functions with lifetime or type parameters [INFO] [stderr] --> tests/proc-macro-tests/export.rs:97:13 [INFO] [stderr] | [INFO] [stderr] 97 | pub fn fail4(x: T) -> T { [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] error[E0277]: the trait bound `BadStructNoMacro: Serialize` is not satisfied [INFO] [stderr] --> tests/proc-macro-tests/export.rs:74:1 [INFO] [stderr] | [INFO] [stderr] 74 | #[holium_bindgen] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ the trait `Serialize` is not implemented for `BadStructNoMacro` [INFO] [stderr] | [INFO] [stderr] = note: required because of the requirements on the impl of `Serialize` for `Vec` [INFO] [stderr] note: required by a bound in `to_value` [INFO] [stderr] --> $CARGO/serde_cbor-0.11.2/src/value/ser.rs [INFO] [stderr] | [INFO] [stderr] | T: Serialize, [INFO] [stderr] | ^^^^^^^^^ required by this bound in `to_value` [INFO] [stderr] = note: this error originates in the macro `vec` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0599]: no function or associated item named `generate_node` found for struct `BadStructNoMacro` in the current scope [INFO] [stderr] --> tests/proc-macro-tests/export.rs:74:1 [INFO] [stderr] | [INFO] [stderr] 70 | struct BadStructNoMacro { [INFO] [stderr] | ----------------------- function or associated item `generate_node` not found for this [INFO] [stderr] ... [INFO] [stderr] 74 | #[holium_bindgen] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ function or associated item not found in `BadStructNoMacro` [INFO] [stderr] | [INFO] [stderr] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stderr] = note: the following trait defines an item `generate_node`, perhaps you need to implement it: [INFO] [stderr] candidate #1: `holium_rs_sdk::GenerateNode` [INFO] [stderr] = note: this error originates in the attribute macro `holium_bindgen` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0277]: the trait bound `BadStructNoMacro: Serialize` is not satisfied [INFO] [stderr] --> tests/proc-macro-tests/export.rs:74:1 [INFO] [stderr] | [INFO] [stderr] 74 | #[holium_bindgen] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ the trait `Serialize` is not implemented for `BadStructNoMacro` [INFO] [stderr] | [INFO] [stderr] note: required by `_::_serde::ser::SerializeStruct::serialize_field` [INFO] [stderr] --> $CARGO/serde-1.0.130/src/ser/mod.rs [INFO] [stderr] | [INFO] [stderr] | / fn serialize_field( [INFO] [stderr] | | &mut self, [INFO] [stderr] | | key: &'static str, [INFO] [stderr] | | value: &T, [INFO] [stderr] | | ) -> Result<(), Self::Error> [INFO] [stderr] | | where [INFO] [stderr] | | T: Serialize; [INFO] [stderr] | |_____________________^ [INFO] [stderr] = note: this error originates in the derive macro `holium_rs_sdk::internal::serde::Serialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0277]: the trait bound `BadStructNoMacro: Deserialize<'_>` is not satisfied [INFO] [stderr] --> tests/proc-macro-tests/export.rs:74:1 [INFO] [stderr] | [INFO] [stderr] 74 | #[holium_bindgen] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ the trait `Deserialize<'_>` is not implemented for `BadStructNoMacro` [INFO] [stderr] | [INFO] [stderr] note: required by `next_element` [INFO] [stderr] --> $CARGO/serde-1.0.130/src/de/mod.rs [INFO] [stderr] | [INFO] [stderr] | / fn next_element(&mut self) -> Result, Self::Error> [INFO] [stderr] | | where [INFO] [stderr] | | T: Deserialize<'de>, [INFO] [stderr] | |____________________________^ [INFO] [stderr] = note: this error originates in the attribute macro `holium_bindgen` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0277]: the trait bound `BadStructNoMacro: Deserialize<'_>` is not satisfied [INFO] [stderr] --> tests/proc-macro-tests/export.rs:74:1 [INFO] [stderr] | [INFO] [stderr] 74 | #[holium_bindgen] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ the trait `Deserialize<'_>` is not implemented for `BadStructNoMacro` [INFO] [stderr] | [INFO] [stderr] note: required by `next_value` [INFO] [stderr] --> $CARGO/serde-1.0.130/src/de/mod.rs [INFO] [stderr] | [INFO] [stderr] | / fn next_value(&mut self) -> Result [INFO] [stderr] | | where [INFO] [stderr] | | V: Deserialize<'de>, [INFO] [stderr] | |____________________________^ [INFO] [stderr] = note: this error originates in the attribute macro `holium_bindgen` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0599]: no function or associated item named `generate_node` found for struct `BadStructOnlySerde` in the current scope [INFO] [stderr] --> tests/proc-macro-tests/export.rs:84:1 [INFO] [stderr] | [INFO] [stderr] 80 | struct BadStructOnlySerde { [INFO] [stderr] | ------------------------- function or associated item `generate_node` not found for this [INFO] [stderr] ... [INFO] [stderr] 84 | #[holium_bindgen] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ function or associated item not found in `BadStructOnlySerde` [INFO] [stderr] | [INFO] [stderr] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stderr] = note: the following trait defines an item `generate_node`, perhaps you need to implement it: [INFO] [stderr] candidate #1: `holium_rs_sdk::GenerateNode` [INFO] [stderr] = note: this error originates in the attribute macro `holium_bindgen` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈ [INFO] [stderr] [INFO] [stderr] ACTUAL OUTPUT: [INFO] [stderr] ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈ [INFO] [stderr] error[E0432]: unresolved import `holium_rs_sdk` [INFO] [stderr] --> tests/proc-macro-tests/export.rs:2:5 [INFO] [stderr] | [INFO] [stderr] 2 | use holium_rs_sdk::*; [INFO] [stderr] | ^^^^^^^^^^^^^ use of unresolved module or unlinked crate `holium_rs_sdk` [INFO] [stderr] | [INFO] [stderr] = help: if you wanted to use a crate named `holium_rs_sdk`, use `cargo add holium_rs_sdk` to add it to your `Cargo.toml` [INFO] [stderr] [INFO] [stderr] error: cannot find attribute `holium_bindgen` in this scope [INFO] [stderr] --> tests/proc-macro-tests/export.rs:5:3 [INFO] [stderr] | [INFO] [stderr] 5 | #[holium_bindgen] [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] help: consider importing this attribute macro [INFO] [stderr] | [INFO] [stderr] 2 + use holium_macro::holium_bindgen; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error: cannot find attribute `holium_bindgen` in this scope [INFO] [stderr] --> tests/proc-macro-tests/export.rs:10:3 [INFO] [stderr] | [INFO] [stderr] 10 | #[holium_bindgen] [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] help: consider importing this attribute macro [INFO] [stderr] | [INFO] [stderr] 2 + use holium_macro::holium_bindgen; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error: cannot find attribute `holium_bindgen` in this scope [INFO] [stderr] --> tests/proc-macro-tests/export.rs:13:3 [INFO] [stderr] | [INFO] [stderr] 13 | #[holium_bindgen] [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] help: consider importing this attribute macro [INFO] [stderr] | [INFO] [stderr] 2 + use holium_macro::holium_bindgen; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error: cannot find attribute `holium_bindgen` in this scope [INFO] [stderr] --> tests/proc-macro-tests/export.rs:18:3 [INFO] [stderr] | [INFO] [stderr] 18 | #[holium_bindgen] [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] help: consider importing this attribute macro [INFO] [stderr] | [INFO] [stderr] 2 + use holium_macro::holium_bindgen; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error: cannot find attribute `holium_bindgen` in this scope [INFO] [stderr] --> tests/proc-macro-tests/export.rs:23:3 [INFO] [stderr] | [INFO] [stderr] 23 | #[holium_bindgen] [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] help: consider importing this attribute macro [INFO] [stderr] | [INFO] [stderr] 2 + use holium_macro::holium_bindgen; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error: cannot find attribute `holium_bindgen` in this scope [INFO] [stderr] --> tests/proc-macro-tests/export.rs:28:3 [INFO] [stderr] | [INFO] [stderr] 28 | #[holium_bindgen] [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] help: consider importing this attribute macro [INFO] [stderr] | [INFO] [stderr] 2 + use holium_macro::holium_bindgen; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error: cannot find attribute `holium_bindgen` in this scope [INFO] [stderr] --> tests/proc-macro-tests/export.rs:33:3 [INFO] [stderr] | [INFO] [stderr] 33 | #[holium_bindgen] [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] help: consider importing this attribute macro [INFO] [stderr] | [INFO] [stderr] 2 + use holium_macro::holium_bindgen; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error: cannot find attribute `holium_bindgen` in this scope [INFO] [stderr] --> tests/proc-macro-tests/export.rs:38:3 [INFO] [stderr] | [INFO] [stderr] 38 | #[holium_bindgen] [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] help: consider importing this attribute macro [INFO] [stderr] | [INFO] [stderr] 2 + use holium_macro::holium_bindgen; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error: cannot find attribute `holium_bindgen` in this scope [INFO] [stderr] --> tests/proc-macro-tests/export.rs:45:3 [INFO] [stderr] | [INFO] [stderr] 45 | #[holium_bindgen] [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] help: consider importing this attribute macro [INFO] [stderr] | [INFO] [stderr] 2 + use holium_macro::holium_bindgen; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error: cannot find attribute `holium_bindgen` in this scope [INFO] [stderr] --> tests/proc-macro-tests/export.rs:53:3 [INFO] [stderr] | [INFO] [stderr] 53 | #[holium_bindgen] [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] help: consider importing this attribute macro [INFO] [stderr] | [INFO] [stderr] 2 + use holium_macro::holium_bindgen; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error: cannot find attribute `holium_bindgen` in this scope [INFO] [stderr] --> tests/proc-macro-tests/export.rs:60:3 [INFO] [stderr] | [INFO] [stderr] 60 | #[holium_bindgen] [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] help: consider importing this attribute macro [INFO] [stderr] | [INFO] [stderr] 2 + use holium_macro::holium_bindgen; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error: cannot find attribute `holium_bindgen` in this scope [INFO] [stderr] --> tests/proc-macro-tests/export.rs:65:3 [INFO] [stderr] | [INFO] [stderr] 65 | #[holium_bindgen] [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] help: consider importing this attribute macro [INFO] [stderr] | [INFO] [stderr] 2 + use holium_macro::holium_bindgen; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error: cannot find attribute `holium_bindgen` in this scope [INFO] [stderr] --> tests/proc-macro-tests/export.rs:74:3 [INFO] [stderr] | [INFO] [stderr] 74 | #[holium_bindgen] [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] help: consider importing this attribute macro [INFO] [stderr] | [INFO] [stderr] 2 + use holium_macro::holium_bindgen; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error: cannot find attribute `holium_bindgen` in this scope [INFO] [stderr] --> tests/proc-macro-tests/export.rs:84:3 [INFO] [stderr] | [INFO] [stderr] 84 | #[holium_bindgen] [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] help: consider importing this attribute macro [INFO] [stderr] | [INFO] [stderr] 2 + use holium_macro::holium_bindgen; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error: cannot find attribute `holium_bindgen` in this scope [INFO] [stderr] --> tests/proc-macro-tests/export.rs:89:3 [INFO] [stderr] | [INFO] [stderr] 89 | #[holium_bindgen] [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] help: consider importing this attribute macro [INFO] [stderr] | [INFO] [stderr] 2 + use holium_macro::holium_bindgen; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error: cannot find attribute `holium_bindgen` in this scope [INFO] [stderr] --> tests/proc-macro-tests/export.rs:96:3 [INFO] [stderr] | [INFO] [stderr] 96 | #[holium_bindgen] [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] help: consider importing this attribute macro [INFO] [stderr] | [INFO] [stderr] 2 + use holium_macro::holium_bindgen; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0308]: mismatched types [INFO] [stderr] --> tests/proc-macro-tests/export.rs:91:5 [INFO] [stderr] | [INFO] [stderr] 90 | pub fn fail3<'a>(x: &'a GoodStruct, y: &'a GoodStruct) -> &'a GoodStruct { [INFO] [stderr] | -------------- expected `&'a GoodStruct` because of return type [INFO] [stderr] 91 | / GoodStruct { [INFO] [stderr] 92 | | number: x.number + y.number, [INFO] [stderr] 93 | | } [INFO] [stderr] | |_____^ expected `&GoodStruct`, found `GoodStruct` [INFO] [stderr] | [INFO] [stderr] help: consider borrowing here [INFO] [stderr] | [INFO] [stderr] 91 | &GoodStruct { [INFO] [stderr] | + [INFO] [stderr] ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈ [INFO] [stderr] note: If the actual output is the correct output you can bless it by rerunning [INFO] [stderr] your test with the environment variable TRYBUILD=overwrite [INFO] [stderr] [INFO] [stderr] [INFO] [stderr] [INFO] [stdout] test proc_macro ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- proc_macro stdout ---- [INFO] [stdout] [INFO] [stdout] thread 'proc_macro' (19) panicked at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/trybuild-1.0.110/src/run.rs:102:13: [INFO] [stdout] 1 of 1 tests failed [INFO] [stdout] stack backtrace: [INFO] [stdout] 0: 0x62b1766fce92 - std::backtrace_rs::backtrace::libunwind::trace::h7cddb8376417e7cc [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9 [INFO] [stdout] 1: 0x62b1766fce92 - std::backtrace_rs::backtrace::trace_unsynchronized::hb4e41acf4b349ff1 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14 [INFO] [stdout] 2: 0x62b1766fce92 - std::sys::backtrace::_print_fmt::h1222b80910ba6eb5 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/sys/backtrace.rs:66:9 [INFO] [stdout] 3: 0x62b1766fce92 - ::fmt::h5bb8a979ba5db788 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/sys/backtrace.rs:39:26 [INFO] [stdout] 4: 0x62b17670e9cf - core::fmt::rt::Argument::fmt::h2ee2c138a50a7796 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/core/src/fmt/rt.rs:173:76 [INFO] [stdout] 5: 0x62b17670e9cf - core::fmt::write::h1e0dbf07fe3990bd [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/core/src/fmt/mod.rs:1468:25 [INFO] [stdout] 6: 0x62b1766c7653 - std::io::default_write_fmt::h7d7ad5ed6a883d81 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/io/mod.rs:639:11 [INFO] [stdout] 7: 0x62b1766c7653 - std::io::Write::write_fmt::hc477d9325b345ece [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/io/mod.rs:1954:13 [INFO] [stdout] 8: 0x62b1766d4962 - std::sys::backtrace::BacktraceLock::print::h788d486777205086 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/sys/backtrace.rs:42:9 [INFO] [stdout] 9: 0x62b1766d9e7f - std::panicking::default_hook::{{closure}}::ha7bdfeb5949fc0fa [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/panicking.rs:301:27 [INFO] [stdout] 10: 0x62b1766d9d11 - std::panicking::default_hook::h6dad75ec721846f4 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/panicking.rs:325:9 [INFO] [stdout] 11: 0x62b176696c8e - as core::ops::function::Fn>::call::h33799d04b0b96146 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/alloc/src/boxed.rs:1999:9 [INFO] [stdout] 12: 0x62b176696c8e - test::test_main_with_exit_callback::{{closure}}::h880e31c829a2eb5d [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/test/src/lib.rs:145:21 [INFO] [stdout] 13: 0x62b1766da51e - as core::ops::function::Fn>::call::h5e1b8c652ea49180 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/alloc/src/boxed.rs:1999:9 [INFO] [stdout] 14: 0x62b1766da51e - std::panicking::panic_with_hook::hba00e869ada17676 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/panicking.rs:842:13 [INFO] [stdout] 15: 0x62b1766da2ea - std::panicking::panic_handler::{{closure}}::h3d21149c258e5ceb [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/panicking.rs:707:13 [INFO] [stdout] 16: 0x62b1766d4a99 - std::sys::backtrace::__rust_end_short_backtrace::h4f5d9b9dfb3e6ec1 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/sys/backtrace.rs:174:18 [INFO] [stdout] 17: 0x62b1766ba81d - __rustc[9a7a9f9af7564de1]::rust_begin_unwind [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/panicking.rs:698:5 [INFO] [stdout] 18: 0x62b176717d30 - core::panicking::panic_fmt::h78e817a90331d98b [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/core/src/panicking.rs:75:14 [INFO] [stdout] 19: 0x62b17656d6b3 - trybuild::run::::run::hb112560eca5249dc [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/trybuild-1.0.110/src/run.rs:102:13 [INFO] [stdout] 20: 0x62b176567d08 - ::drop::h0fcad015130e501d [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/trybuild-1.0.110/src/lib.rs:342:38 [INFO] [stdout] 21: 0x62b1764350f7 - core::ptr::drop_in_place::h6f7794fd1ce73545 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/core/src/ptr/mod.rs:804:1 [INFO] [stdout] 22: 0x62b176434f23 - proc_macro::proc_macro::h030f1a4c71759928 [INFO] [stdout] at /opt/rustwide/workdir/tests/proc-macro.rs:5:1 [INFO] [stdout] 23: 0x62b176434f57 - proc_macro::proc_macro::{{closure}}::h624aa37adcbb777c [INFO] [stdout] at /opt/rustwide/workdir/tests/proc-macro.rs:2:16 [INFO] [stdout] 24: 0x62b176435056 - core::ops::function::FnOnce::call_once::h7dda07378d1a2aa7 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/core/src/ops/function.rs:253:5 [INFO] [stdout] 25: 0x62b176696a8b - core::ops::function::FnOnce::call_once::h7f4b4fba903e39d5 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/core/src/ops/function.rs:253:5 [INFO] [stdout] 26: 0x62b176696a8b - test::__rust_begin_short_backtrace::h9277cb6a2ccfc000 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/test/src/lib.rs:663:18 [INFO] [stdout] 27: 0x62b1766ac535 - test::run_test_in_process::{{closure}}::h9aea5ca90d1f4423 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/test/src/lib.rs:686:74 [INFO] [stdout] 28: 0x62b1766ac535 - as core::ops::function::FnOnce<()>>::call_once::h364f5fe6cc8afa85 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/core/src/panic/unwind_safe.rs:272:9 [INFO] [stdout] 29: 0x62b1766ac535 - std::panicking::catch_unwind::do_call::h2b2bec3317fe53ec [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/panicking.rs:590:40 [INFO] [stdout] 30: 0x62b1766ac535 - std::panicking::catch_unwind::hc3763734156da4af [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/panicking.rs:553:19 [INFO] [stdout] 31: 0x62b1766ac535 - std::panic::catch_unwind::h28038391e867eabc [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/panic.rs:359:14 [INFO] [stdout] 32: 0x62b1766ac535 - test::run_test_in_process::had0273166695a036 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/test/src/lib.rs:686:27 [INFO] [stdout] 33: 0x62b1766ac535 - test::run_test::{{closure}}::h743d09d4bb476605 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/test/src/lib.rs:607:43 [INFO] [stdout] 34: 0x62b176682f54 - test::run_test::{{closure}}::he950b8f9118d37e2 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/test/src/lib.rs:637:41 [INFO] [stdout] 35: 0x62b176682f54 - std::sys::backtrace::__rust_begin_short_backtrace::hbfaffa6539f6abb7 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/sys/backtrace.rs:158:18 [INFO] [stdout] 36: 0x62b17668683a - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::hcce3c2c65b9c3b20 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/thread/mod.rs:559:17 [INFO] [stdout] 37: 0x62b17668683a - as core::ops::function::FnOnce<()>>::call_once::hb66b30b6d37985a5 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/core/src/panic/unwind_safe.rs:272:9 [INFO] [stdout] 38: 0x62b17668683a - std::panicking::catch_unwind::do_call::h992bbe2c32dc1d79 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/panicking.rs:590:40 [INFO] [stdout] 39: 0x62b17668683a - std::panicking::catch_unwind::h412991d5237de610 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/panicking.rs:553:19 [INFO] [stdout] 40: 0x62b17668683a - std::panic::catch_unwind::ha82b139b3eb5840a [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/panic.rs:359:14 [INFO] [stdout] 41: 0x62b17668683a - std::thread::Builder::spawn_unchecked_::{{closure}}::ha823b36f5114938e [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/thread/mod.rs:557:30 [INFO] [stdout] 42: 0x62b17668683a - core::ops::function::FnOnce::call_once{{vtable.shim}}::hf120e7b1db22ac07 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/core/src/ops/function.rs:253:5 [INFO] [stdout] 43: 0x62b1766ce45f - as core::ops::function::FnOnce>::call_once::h3e049222c99298ac [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/alloc/src/boxed.rs:1985:9 [INFO] [stdout] 44: 0x62b1766ce45f - std::sys::pal::unix::thread::Thread::new::thread_start::h942e336943ad5963 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/sys/pal/unix/thread.rs:118:17 [INFO] [stdout] 45: 0x725bd7196aa4 - [INFO] [stdout] 46: 0x725bd7223a34 - clone [INFO] [stdout] 47: 0x0 - [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] proc_macro [INFO] [stdout] [INFO] [stdout] test result: FAILED. 0 passed; 1 failed; 0 ignored; 0 measured; 0 filtered out; finished in 25.74s [INFO] [stdout] [INFO] [stderr] error: test failed, to rerun pass `--test proc-macro` [INFO] running `Command { std: "docker" "inspect" "a38fd63585d4563de714610fc463024f006fa0904d286e2e004c86ffabf0acb1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a38fd63585d4563de714610fc463024f006fa0904d286e2e004c86ffabf0acb1", kill_on_drop: false }` [INFO] [stdout] a38fd63585d4563de714610fc463024f006fa0904d286e2e004c86ffabf0acb1