[INFO] fetching crate holium-macro 1.0.0... [INFO] testing holium-macro-1.0.0 against master#62efba8a050c64249dab942951bb28f710208bc8 for pr-90799 [INFO] extracting crate holium-macro 1.0.0 into /workspace/builds/worker-9/source [INFO] validating manifest of crates.io crate holium-macro 1.0.0 on toolchain 62efba8a050c64249dab942951bb28f710208bc8 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+62efba8a050c64249dab942951bb28f710208bc8" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [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-9/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+62efba8a050c64249dab942951bb28f710208bc8" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+62efba8a050c64249dab942951bb28f710208bc8" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/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:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+62efba8a050c64249dab942951bb28f710208bc8" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] c34543af32103fccb1389b7d5b76c3b69c1938027b2504b2ab31bbbe8f4a77ac [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" "c34543af32103fccb1389b7d5b76c3b69c1938027b2504b2ab31bbbe8f4a77ac", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c34543af32103fccb1389b7d5b76c3b69c1938027b2504b2ab31bbbe8f4a77ac", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c34543af32103fccb1389b7d5b76c3b69c1938027b2504b2ab31bbbe8f4a77ac", kill_on_drop: false }` [INFO] [stdout] c34543af32103fccb1389b7d5b76c3b69c1938027b2504b2ab31bbbe8f4a77ac [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/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" "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:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+62efba8a050c64249dab942951bb28f710208bc8" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] bd4300d9312b307c804266b8cd84c4a1c2aef911e10b68e54173d1d42696e425 [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" "bd4300d9312b307c804266b8cd84c4a1c2aef911e10b68e54173d1d42696e425", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.32 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling syn v1.0.82 [INFO] [stderr] Compiling serde_derive v1.0.130 [INFO] [stderr] Compiling serde v1.0.130 [INFO] [stderr] Compiling quote v1.0.10 [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 [unoptimized + debuginfo] target(s) in 38.01s [INFO] running `Command { std: "docker" "inspect" "bd4300d9312b307c804266b8cd84c4a1c2aef911e10b68e54173d1d42696e425", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bd4300d9312b307c804266b8cd84c4a1c2aef911e10b68e54173d1d42696e425", kill_on_drop: false }` [INFO] [stdout] bd4300d9312b307c804266b8cd84c4a1c2aef911e10b68e54173d1d42696e425 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/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" "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:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+62efba8a050c64249dab942951bb28f710208bc8" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 7e3ffa7264dc95d7e7651aaed0fcc8d84d43dadf3b71cfc1159f663a5e16963b [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" "7e3ffa7264dc95d7e7651aaed0fcc8d84d43dadf3b71cfc1159f663a5e16963b", kill_on_drop: false }` [INFO] [stderr] Compiling ryu v1.0.6 [INFO] [stderr] Compiling serde_json v1.0.72 [INFO] [stderr] Compiling itoa v0.4.8 [INFO] [stderr] Compiling trybuild v1.0.52 [INFO] [stderr] Compiling termcolor v1.1.2 [INFO] [stderr] Compiling toml v0.5.8 [INFO] [stderr] Compiling holium-macro v1.0.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 18.38s [INFO] running `Command { std: "docker" "inspect" "7e3ffa7264dc95d7e7651aaed0fcc8d84d43dadf3b71cfc1159f663a5e16963b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7e3ffa7264dc95d7e7651aaed0fcc8d84d43dadf3b71cfc1159f663a5e16963b", kill_on_drop: false }` [INFO] [stdout] 7e3ffa7264dc95d7e7651aaed0fcc8d84d43dadf3b71cfc1159f663a5e16963b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/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" "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:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+62efba8a050c64249dab942951bb28f710208bc8" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 5bc44802ded7e9ee8aeffd2a3a7ec4e130deedde76f6c30fd47d1c4cb873e0d8 [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" "5bc44802ded7e9ee8aeffd2a3a7ec4e130deedde76f6c30fd47d1c4cb873e0d8", kill_on_drop: false }` [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.03s [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/holium_macro-018522fff7a1baed) [INFO] [stdout] [INFO] [stderr] Running tests/proc-macro.rs (/opt/rustwide/target/debug/deps/proc_macro-1bb26a731610d3f2) [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] [stdout] [INFO] [stdout] running 1 test [INFO] [stderr] Compiling proc-macro2 v1.0.32 [INFO] [stderr] Compiling syn v1.0.82 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling serde_derive v1.0.130 [INFO] [stderr] Compiling serde v1.0.130 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Checking quote v1.0.10 [INFO] [stderr] Checking holium-backend v1.0.0 [INFO] [stderr] Checking holium-macro-support v1.0.0 [INFO] [stderr] Compiling holium-macro v1.0.0 (/opt/rustwide/workdir) [INFO] [stderr] Checking holium-macro-tests v0.0.0 (/opt/rustwide/target/tests/holium-macro) [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 42.09s [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 undeclared crate or module `holium_rs_sdk` [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] = note: consider importing this attribute macro: [INFO] [stderr] holium_macro::holium_bindgen [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] = note: consider importing this attribute macro: [INFO] [stderr] holium_macro::holium_bindgen [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] = note: consider importing this attribute macro: [INFO] [stderr] holium_macro::holium_bindgen [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] = note: consider importing this attribute macro: [INFO] [stderr] holium_macro::holium_bindgen [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] = note: consider importing this attribute macro: [INFO] [stderr] holium_macro::holium_bindgen [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] = note: consider importing this attribute macro: [INFO] [stderr] holium_macro::holium_bindgen [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] = note: consider importing this attribute macro: [INFO] [stderr] holium_macro::holium_bindgen [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] = note: consider importing this attribute macro: [INFO] [stderr] holium_macro::holium_bindgen [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] = note: consider importing this attribute macro: [INFO] [stderr] holium_macro::holium_bindgen [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] = note: consider importing this attribute macro: [INFO] [stderr] holium_macro::holium_bindgen [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] = note: consider importing this attribute macro: [INFO] [stderr] holium_macro::holium_bindgen [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] = note: consider importing this attribute macro: [INFO] [stderr] holium_macro::holium_bindgen [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] = note: consider importing this attribute macro: [INFO] [stderr] holium_macro::holium_bindgen [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] = note: consider importing this attribute macro: [INFO] [stderr] holium_macro::holium_bindgen [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] = note: consider importing this attribute macro: [INFO] [stderr] holium_macro::holium_bindgen [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] = note: consider importing this attribute macro: [INFO] [stderr] holium_macro::holium_bindgen [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 struct `GoodStruct` [INFO] [stderr] | [INFO] [stderr] help: consider borrowing here [INFO] [stderr] | [INFO] [stderr] 91 ~ &GoodStruct { [INFO] [stderr] 92 + number: x.number + y.number, [INFO] [stderr] 93 + } [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] thread 'proc_macro' panicked at '1 of 1 tests failed', /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/trybuild-1.0.52/src/run.rs:74:13 [INFO] [stdout] stack backtrace: [INFO] [stdout] 0: 0x557fea34ee0c - std::backtrace_rs::backtrace::libunwind::trace::h793e05efd273d0f4 [INFO] [stdout] at /rustc/62efba8a050c64249dab942951bb28f710208bc8/library/std/src/../../backtrace/src/backtrace/libunwind.rs:93:5 [INFO] [stdout] 1: 0x557fea34ee0c - std::backtrace_rs::backtrace::trace_unsynchronized::h640b7b86ff610c77 [INFO] [stdout] at /rustc/62efba8a050c64249dab942951bb28f710208bc8/library/std/src/../../backtrace/src/backtrace/mod.rs:66:5 [INFO] [stdout] 2: 0x557fea34ee0c - std::sys_common::backtrace::_print_fmt::h362fa2a4f354f877 [INFO] [stdout] at /rustc/62efba8a050c64249dab942951bb28f710208bc8/library/std/src/sys_common/backtrace.rs:67:5 [INFO] [stdout] 3: 0x557fea34ee0c - ::fmt::hf439e5ed84c74abd [INFO] [stdout] at /rustc/62efba8a050c64249dab942951bb28f710208bc8/library/std/src/sys_common/backtrace.rs:46:22 [INFO] [stdout] 4: 0x557fea37438c - core::fmt::write::h72801a82c94e6ff1 [INFO] [stdout] at /rustc/62efba8a050c64249dab942951bb28f710208bc8/library/core/src/fmt/mod.rs:1149:17 [INFO] [stdout] 5: 0x557fea349ff5 - std::io::Write::write_fmt::h54337adeb3504c03 [INFO] [stdout] at /rustc/62efba8a050c64249dab942951bb28f710208bc8/library/std/src/io/mod.rs:1697:15 [INFO] [stdout] 6: 0x557fea350860 - std::sys_common::backtrace::_print::hb29ddd998d02631c [INFO] [stdout] at /rustc/62efba8a050c64249dab942951bb28f710208bc8/library/std/src/sys_common/backtrace.rs:49:5 [INFO] [stdout] 7: 0x557fea350860 - std::sys_common::backtrace::print::h81965e3d7c90fbb6 [INFO] [stdout] at /rustc/62efba8a050c64249dab942951bb28f710208bc8/library/std/src/sys_common/backtrace.rs:36:9 [INFO] [stdout] 8: 0x557fea350860 - std::panicking::default_hook::{{closure}}::h84db205ab6674b38 [INFO] [stdout] at /rustc/62efba8a050c64249dab942951bb28f710208bc8/library/std/src/panicking.rs:211:50 [INFO] [stdout] 9: 0x557fea350446 - std::panicking::default_hook::h1bf8bb4159936bca [INFO] [stdout] at /rustc/62efba8a050c64249dab942951bb28f710208bc8/library/std/src/panicking.rs:225:9 [INFO] [stdout] 10: 0x557fea350f14 - std::panicking::rust_panic_with_hook::hf8e86850fbbd03b1 [INFO] [stdout] at /rustc/62efba8a050c64249dab942951bb28f710208bc8/library/std/src/panicking.rs:606:17 [INFO] [stdout] 11: 0x557fea3509f0 - std::panicking::begin_panic_handler::{{closure}}::h590a0d6060ff866e [INFO] [stdout] at /rustc/62efba8a050c64249dab942951bb28f710208bc8/library/std/src/panicking.rs:502:13 [INFO] [stdout] 12: 0x557fea34f2c4 - std::sys_common::backtrace::__rust_end_short_backtrace::h260b8bd1c848a03c [INFO] [stdout] at /rustc/62efba8a050c64249dab942951bb28f710208bc8/library/std/src/sys_common/backtrace.rs:139:18 [INFO] [stdout] 13: 0x557fea350959 - rust_begin_unwind [INFO] [stdout] at /rustc/62efba8a050c64249dab942951bb28f710208bc8/library/std/src/panicking.rs:498:5 [INFO] [stdout] 14: 0x557fea0e4ac1 - core::panicking::panic_fmt::h7b8580d81fcbbacd [INFO] [stdout] at /rustc/62efba8a050c64249dab942951bb28f710208bc8/library/core/src/panicking.rs:106:14 [INFO] [stdout] 15: 0x557fea0fa1e9 - trybuild::run::::run::hf8e864e24dc6aaed [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/trybuild-1.0.52/src/run.rs:74:13 [INFO] [stdout] 16: 0x557fea0febe4 - ::drop::hdc4e35f100ef65ee [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/trybuild-1.0.52/src/lib.rs:306:13 [INFO] [stdout] 17: 0x557fea0e5fd7 - core::ptr::drop_in_place::h84be8d46ef2cc2b1 [INFO] [stdout] at /rustc/62efba8a050c64249dab942951bb28f710208bc8/library/core/src/ptr/mod.rs:188:1 [INFO] [stdout] 18: 0x557fea0e68f1 - proc_macro::proc_macro::h5f42f8506e107710 [INFO] [stdout] at /opt/rustwide/workdir/tests/proc-macro.rs:5:1 [INFO] [stdout] 19: 0x557fea0e68aa - proc_macro::proc_macro::{{closure}}::hf8ed956baa323dbb [INFO] [stdout] at /opt/rustwide/workdir/tests/proc-macro.rs:2:1 [INFO] [stdout] 20: 0x557fea0e5f1e - core::ops::function::FnOnce::call_once::h17c7b1a5e83899c5 [INFO] [stdout] at /rustc/62efba8a050c64249dab942951bb28f710208bc8/library/core/src/ops/function.rs:227:5 [INFO] [stdout] 21: 0x557fea32aad3 - core::ops::function::FnOnce::call_once::h24a32b9da1a40fdb [INFO] [stdout] at /rustc/62efba8a050c64249dab942951bb28f710208bc8/library/core/src/ops/function.rs:227:5 [INFO] [stdout] 22: 0x557fea32aad3 - test::__rust_begin_short_backtrace::h3c3a0492fb4a12eb [INFO] [stdout] at /rustc/62efba8a050c64249dab942951bb28f710208bc8/library/test/src/lib.rs:585:5 [INFO] [stdout] 23: 0x557fea3296e7 - as core::ops::function::FnOnce>::call_once::h9a8e38435f73d5e0 [INFO] [stdout] at /rustc/62efba8a050c64249dab942951bb28f710208bc8/library/alloc/src/boxed.rs:1694:9 [INFO] [stdout] 24: 0x557fea3296e7 - as core::ops::function::FnOnce<()>>::call_once::hb23d7496a0e6d1b4 [INFO] [stdout] at /rustc/62efba8a050c64249dab942951bb28f710208bc8/library/core/src/panic/unwind_safe.rs:271:9 [INFO] [stdout] 25: 0x557fea3296e7 - std::panicking::try::do_call::ha2bb9825b32d2cc2 [INFO] [stdout] at /rustc/62efba8a050c64249dab942951bb28f710208bc8/library/std/src/panicking.rs:406:40 [INFO] [stdout] 26: 0x557fea3296e7 - std::panicking::try::hdc38a574bbebc53e [INFO] [stdout] at /rustc/62efba8a050c64249dab942951bb28f710208bc8/library/std/src/panicking.rs:370:19 [INFO] [stdout] 27: 0x557fea3296e7 - std::panic::catch_unwind::hc45ed246595c621c [INFO] [stdout] at /rustc/62efba8a050c64249dab942951bb28f710208bc8/library/std/src/panic.rs:133:14 [INFO] [stdout] 28: 0x557fea3296e7 - test::run_test_in_process::h4249138faaea8d54 [INFO] [stdout] at /rustc/62efba8a050c64249dab942951bb28f710208bc8/library/test/src/lib.rs:608:18 [INFO] [stdout] 29: 0x557fea3296e7 - test::run_test::run_test_inner::{{closure}}::h3c1b37669f6e9fd7 [INFO] [stdout] at /rustc/62efba8a050c64249dab942951bb28f710208bc8/library/test/src/lib.rs:500:39 [INFO] [stdout] 30: 0x557fea2f698e - test::run_test::run_test_inner::{{closure}}::h388760469edd5c24 [INFO] [stdout] at /rustc/62efba8a050c64249dab942951bb28f710208bc8/library/test/src/lib.rs:527:37 [INFO] [stdout] 31: 0x557fea2f698e - std::sys_common::backtrace::__rust_begin_short_backtrace::hbbaecdcfad18643e [INFO] [stdout] at /rustc/62efba8a050c64249dab942951bb28f710208bc8/library/std/src/sys_common/backtrace.rs:123:18 [INFO] [stdout] 32: 0x557fea2fb6e8 - std::thread::Builder::spawn_unchecked::{{closure}}::{{closure}}::h09cd3ca65896da91 [INFO] [stdout] at /rustc/62efba8a050c64249dab942951bb28f710208bc8/library/std/src/thread/mod.rs:484:17 [INFO] [stdout] 33: 0x557fea2fb6e8 - as core::ops::function::FnOnce<()>>::call_once::hc52dbb4f9088d18b [INFO] [stdout] at /rustc/62efba8a050c64249dab942951bb28f710208bc8/library/core/src/panic/unwind_safe.rs:271:9 [INFO] [stdout] 34: 0x557fea2fb6e8 - std::panicking::try::do_call::h4485cfee22b11c08 [INFO] [stdout] at /rustc/62efba8a050c64249dab942951bb28f710208bc8/library/std/src/panicking.rs:406:40 [INFO] [stdout] 35: 0x557fea2fb6e8 - std::panicking::try::hb62aa8549e20c08b [INFO] [stdout] at /rustc/62efba8a050c64249dab942951bb28f710208bc8/library/std/src/panicking.rs:370:19 [INFO] [stdout] 36: 0x557fea2fb6e8 - std::panic::catch_unwind::ha322c7a5bc666762 [INFO] [stdout] at /rustc/62efba8a050c64249dab942951bb28f710208bc8/library/std/src/panic.rs:133:14 [INFO] [stdout] 37: 0x557fea2fb6e8 - std::thread::Builder::spawn_unchecked::{{closure}}::h1076fc1398603b77 [INFO] [stdout] at /rustc/62efba8a050c64249dab942951bb28f710208bc8/library/std/src/thread/mod.rs:483:30 [INFO] [stdout] 38: 0x557fea2fb6e8 - core::ops::function::FnOnce::call_once{{vtable.shim}}::h911e510344167353 [INFO] [stdout] at /rustc/62efba8a050c64249dab942951bb28f710208bc8/library/core/src/ops/function.rs:227:5 [INFO] [stdout] 39: 0x557fea356ea3 - as core::ops::function::FnOnce>::call_once::h771719d52c343434 [INFO] [stdout] at /rustc/62efba8a050c64249dab942951bb28f710208bc8/library/alloc/src/boxed.rs:1694:9 [INFO] [stdout] 40: 0x557fea356ea3 - as core::ops::function::FnOnce>::call_once::hf441746dfa4b0f57 [INFO] [stdout] at /rustc/62efba8a050c64249dab942951bb28f710208bc8/library/alloc/src/boxed.rs:1694:9 [INFO] [stdout] 41: 0x557fea356ea3 - std::sys::unix::thread::Thread::new::thread_start::hfd168f9d312b29ca [INFO] [stdout] at /rustc/62efba8a050c64249dab942951bb28f710208bc8/library/std/src/sys/unix/thread.rs:106:17 [INFO] [stdout] 42: 0x7f418617a609 - start_thread [INFO] [stdout] 43: 0x7f4185f4c293 - clone [INFO] [stdout] 44: 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 42.58s [INFO] [stdout] [INFO] [stderr] error: test failed, to rerun pass '--test proc-macro' [INFO] running `Command { std: "docker" "inspect" "5bc44802ded7e9ee8aeffd2a3a7ec4e130deedde76f6c30fd47d1c4cb873e0d8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5bc44802ded7e9ee8aeffd2a3a7ec4e130deedde76f6c30fd47d1c4cb873e0d8", kill_on_drop: false }` [INFO] [stdout] 5bc44802ded7e9ee8aeffd2a3a7ec4e130deedde76f6c30fd47d1c4cb873e0d8