[INFO] fetching crate feldera-size-of 0.1.7... [INFO] testing feldera-size-of-0.1.7 against master#350d0ef0ec0493e6d21cfb265cb8211a0e74d766 for pr-145330-1 [INFO] extracting crate feldera-size-of 0.1.7 into /workspace/builds/worker-4-tc1/source [INFO] started tweaking crates.io crate feldera-size-of 0.1.7 [INFO] finished tweaking crates.io crate feldera-size-of 0.1.7 [INFO] tweaked toml for crates.io crate feldera-size-of 0.1.7 written to /workspace/builds/worker-4-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate feldera-size-of 0.1.7 on toolchain 350d0ef0ec0493e6d21cfb265cb8211a0e74d766 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate feldera-size-of 0.1.7 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" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded trybuild v1.0.105 [INFO] [stderr] Downloaded arcstr v1.2.0 [INFO] [stderr] Downloaded size-of-derive v0.1.2 [INFO] [stderr] Downloaded bigdecimal v0.3.1 [INFO] [stderr] Downloaded feldera_rust_decimal v1.33.1-feldera.1 [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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 2d0c9b1d0bc53e7968e29d12a78364cb570fb664d0311b400ffefad57227af22 [INFO] running `Command { std: "docker" "start" "-a" "2d0c9b1d0bc53e7968e29d12a78364cb570fb664d0311b400ffefad57227af22", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "2d0c9b1d0bc53e7968e29d12a78364cb570fb664d0311b400ffefad57227af22", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2d0c9b1d0bc53e7968e29d12a78364cb570fb664d0311b400ffefad57227af22", kill_on_drop: false }` [INFO] [stdout] 2d0c9b1d0bc53e7968e29d12a78364cb570fb664d0311b400ffefad57227af22 [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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 2f05856ac5f293d07e122b4f7005a6ba9fbba3a09ea0fafd73172bcc0b26c1fe [INFO] running `Command { std: "docker" "start" "-a" "2f05856ac5f293d07e122b4f7005a6ba9fbba3a09ea0fafd73172bcc0b26c1fe", kill_on_drop: false }` [INFO] [stderr] Compiling size-of-derive v0.1.2 [INFO] [stderr] Compiling feldera-size-of v0.1.7 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1.32s [INFO] running `Command { std: "docker" "inspect" "2f05856ac5f293d07e122b4f7005a6ba9fbba3a09ea0fafd73172bcc0b26c1fe", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2f05856ac5f293d07e122b4f7005a6ba9fbba3a09ea0fafd73172bcc0b26c1fe", kill_on_drop: false }` [INFO] [stdout] 2f05856ac5f293d07e122b4f7005a6ba9fbba3a09ea0fafd73172bcc0b26c1fe [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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] eb56e0428673deef698acf49963b0bd7651ddb01be4ce9fe71ff7cc6e121b7fe [INFO] running `Command { std: "docker" "start" "-a" "eb56e0428673deef698acf49963b0bd7651ddb01be4ce9fe71ff7cc6e121b7fe", kill_on_drop: false }` [INFO] [stderr] Compiling target-triple v0.1.4 [INFO] [stderr] Compiling memchr v2.7.4 [INFO] [stderr] Compiling glob v0.3.2 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling indexmap v2.9.0 [INFO] [stderr] Compiling syn v2.0.101 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling serde_spanned v0.6.8 [INFO] [stderr] Compiling toml_datetime v0.6.9 [INFO] [stderr] Compiling serde_json v1.0.140 [INFO] [stderr] Compiling toml_edit v0.22.26 [INFO] [stderr] Compiling toml v0.8.22 [INFO] [stderr] Compiling trybuild v1.0.105 [INFO] [stderr] Compiling feldera-size-of v0.1.7 (/opt/rustwide/workdir) [INFO] [stdout] warning: unnecessary allocation, use `&` instead [INFO] [stdout] --> src/tests/mod.rs:43:9 [INFO] [stdout] | [INFO] [stdout] 43 | Box::new(0u32).size_of(), [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_allocation)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary allocation, use `&` instead [INFO] [stdout] --> src/tests/mod.rs:51:9 [INFO] [stdout] | [INFO] [stdout] 51 | Box::new(()).size_of(), [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 17.18s [INFO] running `Command { std: "docker" "inspect" "eb56e0428673deef698acf49963b0bd7651ddb01be4ce9fe71ff7cc6e121b7fe", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "eb56e0428673deef698acf49963b0bd7651ddb01be4ce9fe71ff7cc6e121b7fe", kill_on_drop: false }` [INFO] [stdout] eb56e0428673deef698acf49963b0bd7651ddb01be4ce9fe71ff7cc6e121b7fe [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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 213d07dc2b9d88f6ae2fd7f8c3dfad8af8417af3ded7347b374cd38ab33adc03 [INFO] running `Command { std: "docker" "start" "-a" "213d07dc2b9d88f6ae2fd7f8c3dfad8af8417af3ded7347b374cd38ab33adc03", kill_on_drop: false }` [INFO] [stderr] warning: unnecessary allocation, use `&` instead [INFO] [stderr] --> src/tests/mod.rs:43:9 [INFO] [stderr] | [INFO] [stderr] 43 | Box::new(0u32).size_of(), [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_allocation)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unnecessary allocation, use `&` instead [INFO] [stderr] --> src/tests/mod.rs:51:9 [INFO] [stderr] | [INFO] [stderr] 51 | Box::new(()).size_of(), [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: `feldera-size-of` (lib test) generated 2 warnings [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.11s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/feldera_size_of-c47c58a0557a3cbf) [INFO] [stdout] [INFO] [stdout] running 13 tests [INFO] [stdout] test tests::arc ... ok [INFO] [stdout] test tests::boxed ... ok [INFO] [stdout] test tests::boxed_zst ... ok [INFO] [stdout] test tests::std::hashset ... ok [INFO] [stdout] test tests::btree ... ok [INFO] [stdout] test tests::collections_of_zsts ... ok [INFO] [stdout] test tests::primitives ... ok [INFO] [stdout] test tests::slices ... ok [INFO] [stdout] test tests::std::hashmap ... ok [INFO] [stdout] test tests::strings ... ok [INFO] [stdout] test tests::vec ... ok [INFO] [stdout] test tests::std::socket_addresses ... ok [INFO] [stderr] Compiling proc-macro2 v1.0.95 [INFO] [stderr] Compiling unicode-ident v1.0.18 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Compiling size-of-derive v0.1.2 [INFO] [stderr] Compiling feldera-size-of v0.1.7 (/opt/rustwide/workdir) [INFO] [stderr] Compiling feldera-size-of-tests v0.0.0 (/opt/rustwide/target/tests/trybuild/feldera-size-of) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 7.86s [INFO] [stderr] [INFO] [stderr] [INFO] [stderr] test src/tests/pass/derive_enum.rs ... error [INFO] [stderr] ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈ [INFO] [stderr] error[E0433]: failed to resolve: could not find `size_of` in the list of imported crates [INFO] [stderr] --> src/tests/pass/derive_enum.rs:3:10 [INFO] [stderr] | [INFO] [stderr] 3 | #[derive(SizeOf)] [INFO] [stderr] | ^^^^^^ could not find `size_of` in the list of imported crates [INFO] [stderr] | [INFO] [stderr] = note: this error originates in the derive macro `SizeOf` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `size_of` in the list of imported crates [INFO] [stderr] --> src/tests/pass/derive_enum.rs:6:10 [INFO] [stderr] | [INFO] [stderr] 6 | #[derive(SizeOf)] [INFO] [stderr] | ^^^^^^ could not find `size_of` in the list of imported crates [INFO] [stderr] | [INFO] [stderr] = note: this error originates in the derive macro `SizeOf` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `size_of` in the list of imported crates [INFO] [stderr] --> src/tests/pass/derive_enum.rs:14:10 [INFO] [stderr] | [INFO] [stderr] 14 | #[derive(SizeOf)] [INFO] [stderr] | ^^^^^^ could not find `size_of` in the list of imported crates [INFO] [stderr] | [INFO] [stderr] = note: this error originates in the derive macro `SizeOf` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `size_of` in the list of imported crates [INFO] [stderr] --> src/tests/pass/derive_enum.rs:30:10 [INFO] [stderr] | [INFO] [stderr] 30 | #[derive(SizeOf)] [INFO] [stderr] | ^^^^^^ could not find `size_of` in the list of imported crates [INFO] [stderr] | [INFO] [stderr] = note: this error originates in the derive macro `SizeOf` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `size_of` in the list of imported crates [INFO] [stderr] --> src/tests/pass/derive_enum.rs:38:10 [INFO] [stderr] | [INFO] [stderr] 38 | #[derive(SizeOf)] [INFO] [stderr] | ^^^^^^ could not find `size_of` in the list of imported crates [INFO] [stderr] | [INFO] [stderr] = note: this error originates in the derive macro `SizeOf` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `size_of` in the list of imported crates [INFO] [stderr] --> src/tests/pass/derive_enum.rs:50:10 [INFO] [stderr] | [INFO] [stderr] 50 | #[derive(SizeOf)] [INFO] [stderr] | ^^^^^^ could not find `size_of` in the list of imported crates [INFO] [stderr] | [INFO] [stderr] = note: this error originates in the derive macro `SizeOf` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈ [INFO] [stderr] [INFO] [stderr] test src/tests/pass/derive_struct.rs ... error [INFO] [stderr] ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈ [INFO] [stderr] error[E0432]: unresolved import `size_of` [INFO] [stderr] --> src/tests/pass/derive_struct.rs:2:5 [INFO] [stderr] | [INFO] [stderr] 2 | use size_of::{SizeOf, TotalSize}; [INFO] [stderr] | ^^^^^^^ function `size_of` is not a crate or module [INFO] [stderr] [INFO] [stderr] error: cannot find attribute `size_of` in this scope [INFO] [stderr] --> src/tests/pass/derive_struct.rs:10:42 [INFO] [stderr] | [INFO] [stderr] 10 | struct TupleStruct(usize, usize, bool, #[size_of(skip)] Vec); [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `size_of` is imported here, but it is a function, not an attribute [INFO] [stderr] --> src/tests/pass/derive_struct.rs:1:5 [INFO] [stderr] | [INFO] [stderr] 1 | use core::mem::size_of; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error: cannot find attribute `size_of` in this scope [INFO] [stderr] --> src/tests/pass/derive_struct.rs:20:7 [INFO] [stderr] | [INFO] [stderr] 20 | #[size_of(skip)] [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `size_of` is imported here, but it is a function, not an attribute [INFO] [stderr] --> src/tests/pass/derive_struct.rs:1:5 [INFO] [stderr] | [INFO] [stderr] 1 | use core::mem::size_of; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `size_of` found for struct `Zst` in the current scope [INFO] [stderr] --> src/tests/pass/derive_struct.rs:25:20 [INFO] [stderr] | [INFO] [stderr] 7 | struct Zst; [INFO] [stderr] | ---------- method `size_of` not found for this struct [INFO] [stderr] ... [INFO] [stderr] 25 | assert_eq!(Zst.size_of(), TotalSize::zero()); [INFO] [stderr] | ^^^^^^^ method not found in `Zst` [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 `size_of`, perhaps you need to implement it: [INFO] [stderr] candidate #1: `feldera_size_of::SizeOf` [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `size_of` found for struct `TupleStruct` in the current scope [INFO] [stderr] --> src/tests/pass/derive_struct.rs:28:22 [INFO] [stderr] | [INFO] [stderr] 10 | struct TupleStruct(usize, usize, bool, #[size_of(skip)] Vec); [INFO] [stderr] | ------------------ method `size_of` not found for this struct [INFO] [stderr] ... [INFO] [stderr] 28 | assert_eq!(tuple.size_of(), TotalSize::total(size_of::())); [INFO] [stderr] | ^^^^^^^ method not found in `TupleStruct` [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 `size_of`, perhaps you need to implement it: [INFO] [stderr] candidate #1: `feldera_size_of::SizeOf` [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `size_of` found for struct `BracketStruct` in the current scope [INFO] [stderr] --> src/tests/pass/derive_struct.rs:37:17 [INFO] [stderr] | [INFO] [stderr] 16 | struct BracketStruct { [INFO] [stderr] | -------------------- method `size_of` not found for this struct [INFO] [stderr] ... [INFO] [stderr] 37 | bracket.size_of(), [INFO] [stderr] | ^^^^^^^ method not found in `BracketStruct` [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 `size_of`, perhaps you need to implement it: [INFO] [stderr] candidate #1: `feldera_size_of::SizeOf` [INFO] [stderr] ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈ [INFO] [stderr] [INFO] [stderr] test src/tests/pass/recursive.rs ... error [INFO] [stderr] ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈ [INFO] [stderr] error[E0432]: unresolved import `size_of` [INFO] [stderr] --> src/tests/pass/recursive.rs:2:5 [INFO] [stderr] | [INFO] [stderr] 2 | use size_of::{SizeOf, TotalSize}; [INFO] [stderr] | ^^^^^^^ function `size_of` is not a crate or module [INFO] [stderr] [INFO] [stderr] error: cannot find attribute `size_of` in this scope [INFO] [stderr] --> src/tests/pass/recursive.rs:12:11 [INFO] [stderr] | [INFO] [stderr] 12 | #[size_of(skip_bounds)] [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `size_of` is imported here, but it is a function, not an attribute [INFO] [stderr] --> src/tests/pass/recursive.rs:1:5 [INFO] [stderr] | [INFO] [stderr] 1 | use core::mem::size_of; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `size_of` found for enum `Action` in the current scope [INFO] [stderr] --> src/tests/pass/recursive.rs:18:35 [INFO] [stderr] | [INFO] [stderr] 7 | enum Action { [INFO] [stderr] | ----------- method `size_of` not found for this enum [INFO] [stderr] ... [INFO] [stderr] 18 | let action1 = Action::Action1.size_of(); [INFO] [stderr] | ^^^^^^^ method not found in `Action` [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 `size_of`, perhaps you need to implement it: [INFO] [stderr] candidate #1: `feldera_size_of::SizeOf` [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `size_of` found for enum `Action` in the current scope [INFO] [stderr] --> src/tests/pass/recursive.rs:21:35 [INFO] [stderr] | [INFO] [stderr] 7 | enum Action { [INFO] [stderr] | ----------- method `size_of` not found for this enum [INFO] [stderr] ... [INFO] [stderr] 21 | let action2 = Action::Action2.size_of(); [INFO] [stderr] | ^^^^^^^ method not found in `Action` [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 `size_of`, perhaps you need to implement it: [INFO] [stderr] candidate #1: `feldera_size_of::SizeOf` [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `size_of` found for enum `Action` in the current scope [INFO] [stderr] --> src/tests/pass/recursive.rs:27:6 [INFO] [stderr] | [INFO] [stderr] 7 | enum Action { [INFO] [stderr] | ----------- method `size_of` not found for this enum [INFO] [stderr] ... [INFO] [stderr] 24 | let empty_injection = Action::InjectActions { [INFO] [stderr] | ___________________________- [INFO] [stderr] 25 | | injected_actions: Vec::new(), [INFO] [stderr] 26 | | } [INFO] [stderr] 27 | | .size_of(); [INFO] [stderr] | | -^^^^^^^ method not found in `Action` [INFO] [stderr] | |_____| [INFO] [stderr] | [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 `size_of`, perhaps you need to implement it: [INFO] [stderr] candidate #1: `feldera_size_of::SizeOf` [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `size_of` found for enum `Action` in the current scope [INFO] [stderr] --> src/tests/pass/recursive.rs:33:6 [INFO] [stderr] | [INFO] [stderr] 7 | enum Action { [INFO] [stderr] | ----------- method `size_of` not found for this enum [INFO] [stderr] ... [INFO] [stderr] 30 | let filled_injection = Action::InjectActions { [INFO] [stderr] | ____________________________- [INFO] [stderr] 31 | | injected_actions: vec![Action::Action1, Action::Action2], [INFO] [stderr] 32 | | } [INFO] [stderr] 33 | | .size_of(); [INFO] [stderr] | | -^^^^^^^ method not found in `Action` [INFO] [stderr] | |_____| [INFO] [stderr] | [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 `size_of`, perhaps you need to implement it: [INFO] [stderr] candidate #1: `feldera_size_of::SizeOf` [INFO] [stderr] ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈ [INFO] [stderr] [INFO] [stderr] test src/tests/pass/skip_all.rs ... error [INFO] [stderr] ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈ [INFO] [stderr] error[E0432]: unresolved import `size_of` [INFO] [stderr] --> src/tests/pass/skip_all.rs:2:5 [INFO] [stderr] | [INFO] [stderr] 2 | use size_of::{SizeOf, TotalSize}; [INFO] [stderr] | ^^^^^^^ function `size_of` is not a crate or module [INFO] [stderr] [INFO] [stderr] error: cannot find attribute `size_of` in this scope [INFO] [stderr] --> src/tests/pass/skip_all.rs:9:3 [INFO] [stderr] | [INFO] [stderr] 9 | #[size_of(skip_all)] [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `size_of` is imported here, but it is a function, not an attribute [INFO] [stderr] --> src/tests/pass/skip_all.rs:1:17 [INFO] [stderr] | [INFO] [stderr] 1 | use core::mem::{size_of, ManuallyDrop}; [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] [INFO] [stderr] error: cannot find attribute `size_of` in this scope [INFO] [stderr] --> src/tests/pass/skip_all.rs:16:3 [INFO] [stderr] | [INFO] [stderr] 16 | #[size_of(skip_all)] [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `size_of` is imported here, but it is a function, not an attribute [INFO] [stderr] --> src/tests/pass/skip_all.rs:1:17 [INFO] [stderr] | [INFO] [stderr] 1 | use core::mem::{size_of, ManuallyDrop}; [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `size_of` found for struct `ContainsNonImplementer` in the current scope [INFO] [stderr] --> src/tests/pass/skip_all.rs:28:19 [INFO] [stderr] | [INFO] [stderr] 10 | struct ContainsNonImplementer { [INFO] [stderr] | ----------------------------- method `size_of` not found for this struct [INFO] [stderr] ... [INFO] [stderr] 28 | container.size_of(), [INFO] [stderr] | ^^^^^^^ method not found in `ContainsNonImplementer` [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 `size_of`, perhaps you need to implement it: [INFO] [stderr] candidate #1: `feldera_size_of::SizeOf` [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `size_of` found for union `Union` in the current scope [INFO] [stderr] --> src/tests/pass/skip_all.rs:35:22 [INFO] [stderr] | [INFO] [stderr] 17 | union Union { [INFO] [stderr] | ----------- method `size_of` not found for this union [INFO] [stderr] ... [INFO] [stderr] 35 | assert_eq!(union.size_of(), TotalSize::total(size_of::())); [INFO] [stderr] | ^^^^^^^ method not found in `Union` [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 `size_of`, perhaps you need to implement it: [INFO] [stderr] candidate #1: `feldera_size_of::SizeOf` [INFO] [stderr] ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈ [INFO] [stderr] [INFO] [stderr] [INFO] [stderr] [INFO] [stdout] test tests::std::ui ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- tests::std::ui stdout ---- [INFO] [stdout] [INFO] [stdout] thread 'tests::std::ui' (34) panicked at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/trybuild-1.0.105/src/run.rs:102:13: [INFO] [stdout] 4 of 4 tests failed [INFO] [stdout] stack backtrace: [INFO] [stdout] 0: 0x556ed2194cc2 - std::backtrace_rs::backtrace::libunwind::trace::h0fb8082ca5562a61 [INFO] [stdout] at /rustc/350d0ef0ec0493e6d21cfb265cb8211a0e74d766/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9 [INFO] [stdout] 1: 0x556ed2194cc2 - std::backtrace_rs::backtrace::trace_unsynchronized::hfaa258994374a3cd [INFO] [stdout] at /rustc/350d0ef0ec0493e6d21cfb265cb8211a0e74d766/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14 [INFO] [stdout] 2: 0x556ed2194cc2 - std::sys::backtrace::_print_fmt::h11496fe34963a885 [INFO] [stdout] at /rustc/350d0ef0ec0493e6d21cfb265cb8211a0e74d766/library/std/src/sys/backtrace.rs:66:9 [INFO] [stdout] 3: 0x556ed2194cc2 - ::fmt::hff1a9408d012ee89 [INFO] [stdout] at /rustc/350d0ef0ec0493e6d21cfb265cb8211a0e74d766/library/std/src/sys/backtrace.rs:39:26 [INFO] [stdout] 4: 0x556ed21ba88f - core::fmt::rt::Argument::fmt::hf11195b61445f5d1 [INFO] [stdout] at /rustc/350d0ef0ec0493e6d21cfb265cb8211a0e74d766/library/core/src/fmt/rt.rs:173:76 [INFO] [stdout] 5: 0x556ed21ba88f - core::fmt::write::h2f1fc679f228cc52 [INFO] [stdout] at /rustc/350d0ef0ec0493e6d21cfb265cb8211a0e74d766/library/core/src/fmt/mod.rs:1468:25 [INFO] [stdout] 6: 0x556ed2180f63 - std::io::default_write_fmt::h12bd533187bc883d [INFO] [stdout] at /rustc/350d0ef0ec0493e6d21cfb265cb8211a0e74d766/library/std/src/io/mod.rs:639:11 [INFO] [stdout] 7: 0x556ed2180f63 - std::io::Write::write_fmt::h926a1fdfdcb90065 [INFO] [stdout] at /rustc/350d0ef0ec0493e6d21cfb265cb8211a0e74d766/library/std/src/io/mod.rs:1954:13 [INFO] [stdout] 8: 0x556ed2194b12 - std::sys::backtrace::BacktraceLock::print::h28bfdbcac6d3828b [INFO] [stdout] at /rustc/350d0ef0ec0493e6d21cfb265cb8211a0e74d766/library/std/src/sys/backtrace.rs:42:9 [INFO] [stdout] 9: 0x556ed217f70c - std::panicking::default_hook::{{closure}}::h1f968e3a24b0e3b4 [INFO] [stdout] at /rustc/350d0ef0ec0493e6d21cfb265cb8211a0e74d766/library/std/src/panicking.rs:301:27 [INFO] [stdout] 10: 0x556ed217f589 - std::panicking::default_hook::h43da101644971931 [INFO] [stdout] at /rustc/350d0ef0ec0493e6d21cfb265cb8211a0e74d766/library/std/src/panicking.rs:325:9 [INFO] [stdout] 11: 0x556ed21262ae - as core::ops::function::Fn>::call::h4b2012949041da5d [INFO] [stdout] at /rustc/350d0ef0ec0493e6d21cfb265cb8211a0e74d766/library/alloc/src/boxed.rs:1985:9 [INFO] [stdout] 12: 0x556ed21262ae - test::test_main_with_exit_callback::{{closure}}::h53c9154cdc260357 [INFO] [stdout] at /rustc/350d0ef0ec0493e6d21cfb265cb8211a0e74d766/library/test/src/lib.rs:145:21 [INFO] [stdout] 13: 0x556ed217fd13 - as core::ops::function::Fn>::call::h911f2e3e7e84b764 [INFO] [stdout] at /rustc/350d0ef0ec0493e6d21cfb265cb8211a0e74d766/library/alloc/src/boxed.rs:1985:9 [INFO] [stdout] 14: 0x556ed217fd13 - std::panicking::panic_with_hook::hb4e916c3e65eccec [INFO] [stdout] at /rustc/350d0ef0ec0493e6d21cfb265cb8211a0e74d766/library/std/src/panicking.rs:842:13 [INFO] [stdout] 15: 0x556ed219469a - std::panicking::panic_handler::{{closure}}::hbff715d0475cf1bd [INFO] [stdout] at /rustc/350d0ef0ec0493e6d21cfb265cb8211a0e74d766/library/std/src/panicking.rs:707:13 [INFO] [stdout] 16: 0x556ed21945f9 - std::sys::backtrace::__rust_end_short_backtrace::hd6f43484e45a4955 [INFO] [stdout] at /rustc/350d0ef0ec0493e6d21cfb265cb8211a0e74d766/library/std/src/sys/backtrace.rs:174:18 [INFO] [stdout] 17: 0x556ed218033d - __rustc[b29d3319de9a3146]::rust_begin_unwind [INFO] [stdout] at /rustc/350d0ef0ec0493e6d21cfb265cb8211a0e74d766/library/std/src/panicking.rs:698:5 [INFO] [stdout] 18: 0x556ed21c3150 - core::panicking::panic_fmt::h5f8d281875be5ff1 [INFO] [stdout] at /rustc/350d0ef0ec0493e6d21cfb265cb8211a0e74d766/library/core/src/panicking.rs:75:14 [INFO] [stdout] 19: 0x556ed1ec7123 - trybuild::run::::run::hfaaa8e9f3f85f457 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/trybuild-1.0.105/src/run.rs:102:13 [INFO] [stdout] 20: 0x556ed1eca6a8 - ::drop::h6ee2329e62094cf7 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/trybuild-1.0.105/src/lib.rs:341:38 [INFO] [stdout] 21: 0x556ed1e6e7b7 - core::ptr::drop_in_place::h3437d2997971ea2f [INFO] [stdout] at /rustc/350d0ef0ec0493e6d21cfb265cb8211a0e74d766/library/core/src/ptr/mod.rs:804:1 [INFO] [stdout] 22: 0x556ed1e65dbb - feldera_size_of::tests::std::ui::h1ae9a7db4cdd57ee [INFO] [stdout] at /opt/rustwide/workdir/src/tests/mod.rs:271:5 [INFO] [stdout] 23: 0x556ed1e65d37 - feldera_size_of::tests::std::ui::{{closure}}::h88ff7e5b304a2b8d [INFO] [stdout] at /opt/rustwide/workdir/src/tests/mod.rs:267:12 [INFO] [stdout] 24: 0x556ed1e6e8e6 - core::ops::function::FnOnce::call_once::h2a11b4b5b6c795d8 [INFO] [stdout] at /rustc/350d0ef0ec0493e6d21cfb265cb8211a0e74d766/library/core/src/ops/function.rs:253:5 [INFO] [stdout] 25: 0x556ed212b7eb - core::ops::function::FnOnce::call_once::haf4e03bb51ef1351 [INFO] [stdout] at /rustc/350d0ef0ec0493e6d21cfb265cb8211a0e74d766/library/core/src/ops/function.rs:253:5 [INFO] [stdout] 26: 0x556ed212b7eb - test::__rust_begin_short_backtrace::h50f5566ee84f2f21 [INFO] [stdout] at /rustc/350d0ef0ec0493e6d21cfb265cb8211a0e74d766/library/test/src/lib.rs:663:18 [INFO] [stdout] 27: 0x556ed212e9e5 - test::run_test_in_process::{{closure}}::heb3733b71d876eca [INFO] [stdout] at /rustc/350d0ef0ec0493e6d21cfb265cb8211a0e74d766/library/test/src/lib.rs:686:74 [INFO] [stdout] 28: 0x556ed212e9e5 - as core::ops::function::FnOnce<()>>::call_once::he2fe41e1b161faa9 [INFO] [stdout] at /rustc/350d0ef0ec0493e6d21cfb265cb8211a0e74d766/library/core/src/panic/unwind_safe.rs:272:9 [INFO] [stdout] 29: 0x556ed212e9e5 - std::panicking::catch_unwind::do_call::h00aa383d8fd97a09 [INFO] [stdout] at /rustc/350d0ef0ec0493e6d21cfb265cb8211a0e74d766/library/std/src/panicking.rs:590:40 [INFO] [stdout] 30: 0x556ed212e9e5 - std::panicking::catch_unwind::he482e1914bc21641 [INFO] [stdout] at /rustc/350d0ef0ec0493e6d21cfb265cb8211a0e74d766/library/std/src/panicking.rs:553:19 [INFO] [stdout] 31: 0x556ed212e9e5 - std::panic::catch_unwind::h86ac9705098f4f22 [INFO] [stdout] at /rustc/350d0ef0ec0493e6d21cfb265cb8211a0e74d766/library/std/src/panic.rs:359:14 [INFO] [stdout] 32: 0x556ed212e9e5 - test::run_test_in_process::h636a992821e3c6aa [INFO] [stdout] at /rustc/350d0ef0ec0493e6d21cfb265cb8211a0e74d766/library/test/src/lib.rs:686:27 [INFO] [stdout] 33: 0x556ed212e9e5 - test::run_test::{{closure}}::he454cc9a192df79f [INFO] [stdout] at /rustc/350d0ef0ec0493e6d21cfb265cb8211a0e74d766/library/test/src/lib.rs:607:43 [INFO] [stdout] 34: 0x556ed2154394 - test::run_test::{{closure}}::haec47455908dff86 [INFO] [stdout] at /rustc/350d0ef0ec0493e6d21cfb265cb8211a0e74d766/library/test/src/lib.rs:637:41 [INFO] [stdout] 35: 0x556ed2154394 - std::sys::backtrace::__rust_begin_short_backtrace::h230785972524cdc1 [INFO] [stdout] at /rustc/350d0ef0ec0493e6d21cfb265cb8211a0e74d766/library/std/src/sys/backtrace.rs:158:18 [INFO] [stdout] 36: 0x556ed213afaa - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::haa5a562db4cde838 [INFO] [stdout] at /rustc/350d0ef0ec0493e6d21cfb265cb8211a0e74d766/library/std/src/thread/mod.rs:559:17 [INFO] [stdout] 37: 0x556ed213afaa - as core::ops::function::FnOnce<()>>::call_once::h89254f37a55d0a87 [INFO] [stdout] at /rustc/350d0ef0ec0493e6d21cfb265cb8211a0e74d766/library/core/src/panic/unwind_safe.rs:272:9 [INFO] [stdout] 38: 0x556ed213afaa - std::panicking::catch_unwind::do_call::h499f5a462f019d9d [INFO] [stdout] at /rustc/350d0ef0ec0493e6d21cfb265cb8211a0e74d766/library/std/src/panicking.rs:590:40 [INFO] [stdout] 39: 0x556ed213afaa - std::panicking::catch_unwind::h6736fbbb1a264383 [INFO] [stdout] at /rustc/350d0ef0ec0493e6d21cfb265cb8211a0e74d766/library/std/src/panicking.rs:553:19 [INFO] [stdout] 40: 0x556ed213afaa - std::panic::catch_unwind::h49ea7bdd1cbee572 [INFO] [stdout] at /rustc/350d0ef0ec0493e6d21cfb265cb8211a0e74d766/library/std/src/panic.rs:359:14 [INFO] [stdout] 41: 0x556ed213afaa - std::thread::Builder::spawn_unchecked_::{{closure}}::h653dfa62acf32f5a [INFO] [stdout] at /rustc/350d0ef0ec0493e6d21cfb265cb8211a0e74d766/library/std/src/thread/mod.rs:557:30 [INFO] [stdout] 42: 0x556ed213afaa - core::ops::function::FnOnce::call_once{{vtable.shim}}::h82582a626a045a45 [INFO] [stdout] at /rustc/350d0ef0ec0493e6d21cfb265cb8211a0e74d766/library/core/src/ops/function.rs:253:5 [INFO] [stdout] 43: 0x556ed2168a9f - as core::ops::function::FnOnce>::call_once::h4ab26c07513156cc [INFO] [stdout] at /rustc/350d0ef0ec0493e6d21cfb265cb8211a0e74d766/library/alloc/src/boxed.rs:1971:9 [INFO] [stdout] 44: 0x556ed2168a9f - std::sys::pal::unix::thread::Thread::new::thread_start::h66ff1bba185a50cf [INFO] [stdout] at /rustc/350d0ef0ec0493e6d21cfb265cb8211a0e74d766/library/std/src/sys/pal/unix/thread.rs:107:17 [INFO] [stdout] 45: 0x72e9a4817aa4 - [INFO] [stdout] 46: 0x72e9a48a4a34 - clone [INFO] [stdout] 47: 0x0 - [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: test failed, to rerun pass `--lib` [INFO] [stdout] failures: [INFO] [stdout] tests::std::ui [INFO] [stdout] [INFO] [stdout] test result: FAILED. 12 passed; 1 failed; 0 ignored; 0 measured; 0 filtered out; finished in 9.67s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "213d07dc2b9d88f6ae2fd7f8c3dfad8af8417af3ded7347b374cd38ab33adc03", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "213d07dc2b9d88f6ae2fd7f8c3dfad8af8417af3ded7347b374cd38ab33adc03", kill_on_drop: false }` [INFO] [stdout] 213d07dc2b9d88f6ae2fd7f8c3dfad8af8417af3ded7347b374cd38ab33adc03