[INFO] fetching crate auto_impl 1.3.0... [INFO] testing auto_impl-1.3.0 against try#981ca440e18f6cc4bc9026d4be8ddb1ca8378af7 for pr-145277 [INFO] extracting crate auto_impl 1.3.0 into /workspace/builds/worker-0-tc2/source [INFO] started tweaking crates.io crate auto_impl 1.3.0 [INFO] removed 0 missing examples [INFO] removed 0 missing tests [INFO] finished tweaking crates.io crate auto_impl 1.3.0 [INFO] tweaked toml for crates.io crate auto_impl 1.3.0 written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate auto_impl 1.3.0 on toolchain 981ca440e18f6cc4bc9026d4be8ddb1ca8378af7 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+981ca440e18f6cc4bc9026d4be8ddb1ca8378af7" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate auto_impl 1.3.0 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" "+981ca440e18f6cc4bc9026d4be8ddb1ca8378af7" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/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" "+981ca440e18f6cc4bc9026d4be8ddb1ca8378af7" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 8c5ed2b97fd34af34d74c8efa08f6be028375bf5a1f0af15006322da5369de56 [INFO] running `Command { std: "docker" "start" "-a" "8c5ed2b97fd34af34d74c8efa08f6be028375bf5a1f0af15006322da5369de56", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "8c5ed2b97fd34af34d74c8efa08f6be028375bf5a1f0af15006322da5369de56", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8c5ed2b97fd34af34d74c8efa08f6be028375bf5a1f0af15006322da5369de56", kill_on_drop: false }` [INFO] [stdout] 8c5ed2b97fd34af34d74c8efa08f6be028375bf5a1f0af15006322da5369de56 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/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" "+981ca440e18f6cc4bc9026d4be8ddb1ca8378af7" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 24001617aaed84ed8b409338a158e4037ceda0f4582697d10c30df755e16ce06 [INFO] running `Command { std: "docker" "start" "-a" "24001617aaed84ed8b409338a158e4037ceda0f4582697d10c30df755e16ce06", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.94 [INFO] [stderr] Compiling unicode-ident v1.0.18 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Compiling syn v2.0.100 [INFO] [stderr] Compiling auto_impl v1.3.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 8.46s [INFO] running `Command { std: "docker" "inspect" "24001617aaed84ed8b409338a158e4037ceda0f4582697d10c30df755e16ce06", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "24001617aaed84ed8b409338a158e4037ceda0f4582697d10c30df755e16ce06", kill_on_drop: false }` [INFO] [stdout] 24001617aaed84ed8b409338a158e4037ceda0f4582697d10c30df755e16ce06 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/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" "+981ca440e18f6cc4bc9026d4be8ddb1ca8378af7" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 6f6433d34f88619be2165578e68c8c4091d211c827898117640082bc60c5dfad [INFO] running `Command { std: "docker" "start" "-a" "6f6433d34f88619be2165578e68c8c4091d211c827898117640082bc60c5dfad", kill_on_drop: false }` [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling unicode-ident v1.0.18 [INFO] [stderr] Compiling hashbrown v0.15.2 [INFO] [stderr] Compiling equivalent v1.0.2 [INFO] [stderr] Compiling serde_json v1.0.140 [INFO] [stderr] Compiling proc-macro2 v1.0.94 [INFO] [stderr] Compiling target-triple v0.1.4 [INFO] [stderr] Compiling winnow v0.7.6 [INFO] [stderr] Compiling rustversion v1.0.20 [INFO] [stderr] Compiling memchr v2.7.4 [INFO] [stderr] Compiling itoa v1.0.15 [INFO] [stderr] Compiling ryu v1.0.20 [INFO] [stderr] Compiling glob v0.3.2 [INFO] [stderr] Compiling termcolor v1.4.1 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Compiling syn v2.0.100 [INFO] [stderr] Compiling indexmap v2.9.0 [INFO] [stderr] Compiling serde_spanned v0.6.8 [INFO] [stderr] Compiling toml_datetime v0.6.8 [INFO] [stderr] Compiling toml_edit v0.22.24 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling auto_impl v1.3.0 (/opt/rustwide/workdir) [INFO] [stderr] Compiling toml v0.8.20 [INFO] [stderr] Compiling trybuild v1.0.104 [INFO] [stdout] warning: associated constant `LEN` is never used [INFO] [stdout] --> examples/refs.rs:29:11 [INFO] [stdout] | [INFO] [stdout] 27 | trait DisplayCollection { [INFO] [stdout] | ----------------- associated constant in this trait [INFO] [stdout] 28 | /// If the length is statically known, this is `Some(len)`. [INFO] [stdout] 29 | const LEN: Option; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 26.01s [INFO] running `Command { std: "docker" "inspect" "6f6433d34f88619be2165578e68c8c4091d211c827898117640082bc60c5dfad", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6f6433d34f88619be2165578e68c8c4091d211c827898117640082bc60c5dfad", kill_on_drop: false }` [INFO] [stdout] 6f6433d34f88619be2165578e68c8c4091d211c827898117640082bc60c5dfad [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/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" "+981ca440e18f6cc4bc9026d4be8ddb1ca8378af7" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 5237c5237e714f46b6775f8140180fb3c422c156b28a16e1096b8c48b81f8e8b [INFO] running `Command { std: "docker" "start" "-a" "5237c5237e714f46b6775f8140180fb3c422c156b28a16e1096b8c48b81f8e8b", kill_on_drop: false }` [INFO] [stderr] warning: associated constant `LEN` is never used [INFO] [stderr] --> examples/refs.rs:29:11 [INFO] [stderr] | [INFO] [stderr] 27 | trait DisplayCollection { [INFO] [stderr] | ----------------- associated constant in this trait [INFO] [stderr] 28 | /// If the length is statically known, this is `Some(len)`. [INFO] [stderr] 29 | const LEN: Option; [INFO] [stderr] | ^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: `auto_impl` (example "refs") generated 1 warning [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.08s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/auto_impl-78ca9de55ed621f1) [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/no_std.rs (/opt/rustwide/target/debug/deps/no_std-a8a0053272592b6f) [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/ui.rs (/opt/rustwide/target/debug/deps/ui-5011aae6d75fd14d) [INFO] [stdout] [INFO] [stdout] running 4 tests [INFO] [stderr] Compiling proc-macro2 v1.0.94 [INFO] [stderr] Compiling unicode-ident v1.0.18 [INFO] [stderr] Compiling rustversion v1.0.20 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Compiling syn v2.0.100 [INFO] [stderr] Compiling auto_impl v1.3.0 (/opt/rustwide/workdir) [INFO] [stderr] Compiling auto_impl-tests v0.0.0 (/opt/rustwide/target/tests/trybuild/auto_impl) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 11.57s [INFO] [stderr] [INFO] [stderr] [INFO] [stderr] test tests/since_1.51/compile-pass/associated_lifetime.rs ... ok [INFO] [stderr] test tests/since_1.51/compile-pass/generic_const_method.rs ... ok [INFO] [stderr] test tests/since_1.51/compile-pass/generic_mix.rs ... ok [INFO] [stderr] [INFO] [stderr] [INFO] [stdout] test ui_since_1_51_compile_pass ... ok [INFO] [stderr] Compiling auto_impl-tests v0.0.0 (/opt/rustwide/target/tests/trybuild/auto_impl) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.17s [INFO] [stderr] [INFO] [stderr] [INFO] [stderr] test tests/since_1.75/compile-pass/async_trait.rs ... ok [INFO] [stderr] [INFO] [stderr] [INFO] [stdout] test ui_since_1_75_compile_pass ... ok [INFO] [stderr] Checking unicode-ident v1.0.18 [INFO] [stderr] Checking proc-macro2 v1.0.94 [INFO] [stderr] Checking quote v1.0.40 [INFO] [stderr] Checking syn v2.0.100 [INFO] [stderr] Checking auto_impl-tests v0.0.0 (/opt/rustwide/target/tests/trybuild/auto_impl) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 2.96s [INFO] [stderr] [INFO] [stderr] [INFO] [stderr] test tests/compile-fail/attr_on_enum.rs ... ok [INFO] [stderr] test tests/compile-fail/attr_on_fn.rs ... ok [INFO] [stderr] test tests/compile-fail/attr_on_impl_block.rs ... ok [INFO] [stderr] test tests/compile-fail/attr_on_struct.rs ... ok [INFO] [stderr] test tests/compile-fail/attr_on_type.rs ... ok [INFO] [stderr] test tests/compile-fail/attr_on_unit_struct.rs ... ok [INFO] [stderr] test tests/compile-fail/fn_associated_const.rs ... ok [INFO] [stderr] test tests/compile-fail/fn_associated_type.rs ... ok [INFO] [stderr] test tests/compile-fail/fn_const_generics.rs ... ok [INFO] [stderr] test tests/compile-fail/fn_generics.rs ... ok [INFO] [stderr] test tests/compile-fail/fn_multiple_methods.rs ... ok [INFO] [stderr] test tests/compile-fail/fn_unsafe_method.rs ... ok [INFO] [stderr] test tests/compile-fail/keep_default_for_on_assoc_type.rs ... ok [INFO] [stderr] test tests/compile-fail/keep_default_for_on_required_method.rs ... ok [INFO] [stderr] test tests/compile-fail/method_attr_invalid.rs ... ok [INFO] [stderr] test tests/compile-fail/mut_self_for_arc.rs ... ok [INFO] [stderr] test tests/compile-fail/mut_self_for_immutable_ref.rs ... ok [INFO] [stderr] test tests/compile-fail/mut_self_for_rc.rs ... ok [INFO] [stderr] test tests/compile-fail/super_trait_not_implemented.rs ... mismatch [INFO] [stderr] [INFO] [stderr] EXPECTED: [INFO] [stderr] ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈ [INFO] [stderr] error[E0277]: the trait bound `Box: Foo` is not satisfied [INFO] [stderr] --> tests/compile-fail/super_trait_not_implemented.rs:18:18 [INFO] [stderr] | [INFO] [stderr] 18 | requires_foo(Box::new(Dog)); // shouldn't, because `Box: Supi` is not satisfied [INFO] [stderr] | ------------ ^^^^^^^^^^^^^ the trait `Supi` is not implemented for `Box` [INFO] [stderr] | | [INFO] [stderr] | required by a bound introduced by this call [INFO] [stderr] | [INFO] [stderr] note: required for `Box` to implement `Foo` [INFO] [stderr] --> tests/compile-fail/super_trait_not_implemented.rs:5:1 [INFO] [stderr] | [INFO] [stderr] 5 | #[auto_impl(Box, &)] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] 6 | trait Foo: Supi {} [INFO] [stderr] | ^^^ ---- unsatisfied trait bound introduced here [INFO] [stderr] note: required by a bound in `requires_foo` [INFO] [stderr] --> tests/compile-fail/super_trait_not_implemented.rs:14:20 [INFO] [stderr] | [INFO] [stderr] 14 | fn requires_foo(_: T) {} [INFO] [stderr] | ^^^ required by this bound in `requires_foo` [INFO] [stderr] = note: this error originates in the attribute macro `auto_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] help: consider dereferencing here [INFO] [stderr] | [INFO] [stderr] 18 | requires_foo(*Box::new(Dog)); // shouldn't, because `Box: Supi` is not satisfied [INFO] [stderr] | + [INFO] [stderr] ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈ [INFO] [stderr] [INFO] [stderr] ACTUAL OUTPUT: [INFO] [stderr] ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈ [INFO] [stderr] error[E0277]: the trait bound `Box: Foo` is not satisfied [INFO] [stderr] --> tests/compile-fail/super_trait_not_implemented.rs:18:18 [INFO] [stderr] | [INFO] [stderr] 18 | requires_foo(Box::new(Dog)); // shouldn't, because `Box: Supi` is not satisfied [INFO] [stderr] | ------------ ^^^^^^^^^^^^^ the trait `Supi` is not implemented for `Box` [INFO] [stderr] | | [INFO] [stderr] | required by a bound introduced by this call [INFO] [stderr] | [INFO] [stderr] note: required for `Box` to implement `Foo` [INFO] [stderr] --> tests/compile-fail/super_trait_not_implemented.rs:5:1 [INFO] [stderr] | [INFO] [stderr] 5 | #[auto_impl(Box, &)] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] 6 | trait Foo: Supi {} [INFO] [stderr] | ^^^ ---- unsatisfied trait bound introduced here [INFO] [stderr] note: required by a bound in `requires_foo` [INFO] [stderr] --> tests/compile-fail/super_trait_not_implemented.rs:14:20 [INFO] [stderr] | [INFO] [stderr] 14 | fn requires_foo(_: T) {} [INFO] [stderr] | ^^^ required by this bound in `requires_foo` [INFO] [stderr] = note: this error originates in the attribute macro `auto_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] help: consider dereferencing here [INFO] [stderr] | [INFO] [stderr] 18 | requires_foo(*Box::new(Dog)); // shouldn't, because `Box: Supi` is not satisfied [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] test tests/compile-fail/trait_obj_value_self.rs ... mismatch [INFO] [stderr] [INFO] [stderr] EXPECTED: [INFO] [stderr] ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈ [INFO] [stderr] error[E0277]: the size for values of type `dyn Trait` cannot be known at compilation time [INFO] [stderr] --> tests/compile-fail/trait_obj_value_self.rs:12:19 [INFO] [stderr] | [INFO] [stderr] 12 | assert_impl::>(); [INFO] [stderr] | ^^^^^^^^^^^^^^ doesn't have a size known at compile-time [INFO] [stderr] | [INFO] [stderr] = help: the trait `Sized` is not implemented for `dyn Trait` [INFO] [stderr] = help: the trait `Trait` is implemented for `Box` [INFO] [stderr] note: required for `Box` to implement `Trait` [INFO] [stderr] --> tests/compile-fail/trait_obj_value_self.rs:4:1 [INFO] [stderr] | [INFO] [stderr] 4 | #[auto_impl(Box)] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] 5 | trait Trait { [INFO] [stderr] | ^^^^^ [INFO] [stderr] note: required by a bound in `assert_impl` [INFO] [stderr] --> tests/compile-fail/trait_obj_value_self.rs:9:19 [INFO] [stderr] | [INFO] [stderr] 9 | fn assert_impl() {} [INFO] [stderr] | ^^^^^ required by this bound in `assert_impl` [INFO] [stderr] = note: this error originates in the attribute macro `auto_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈ [INFO] [stderr] [INFO] [stderr] ACTUAL OUTPUT: [INFO] [stderr] ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈ [INFO] [stderr] error[E0277]: the size for values of type `dyn Trait` cannot be known at compilation time [INFO] [stderr] --> tests/compile-fail/trait_obj_value_self.rs:12:19 [INFO] [stderr] | [INFO] [stderr] 12 | assert_impl::>(); [INFO] [stderr] | ^^^^^^^^^^^^^^ doesn't have a size known at compile-time [INFO] [stderr] | [INFO] [stderr] = help: the trait `Sized` is not implemented for `dyn Trait` [INFO] [stderr] = help: the trait `Trait` is implemented for `Box` [INFO] [stderr] note: required for `Box` to implement `Trait` [INFO] [stderr] --> tests/compile-fail/trait_obj_value_self.rs:4:1 [INFO] [stderr] | [INFO] [stderr] 4 | #[auto_impl(Box)] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] 5 | trait Trait { [INFO] [stderr] | ^^^^^ [INFO] [stderr] note: required by a bound in `assert_impl` [INFO] [stderr] --> tests/compile-fail/trait_obj_value_self.rs:9:19 [INFO] [stderr] | [INFO] [stderr] 9 | fn assert_impl() {} [INFO] [stderr] | ^^^^^ required by this bound in `assert_impl` [INFO] [stderr] = note: this error originates in the attribute macro `auto_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [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] test tests/compile-fail/value_self_for_immutable_ref.rs ... ok [INFO] [stderr] test tests/compile-fail/value_self_for_mutable_ref.rs ... ok [INFO] [stderr] [INFO] [stderr] [INFO] [stdout] test ui_compile_fail ... FAILED [INFO] [stderr] Compiling auto_impl-tests v0.0.0 (/opt/rustwide/target/tests/trybuild/auto_impl) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.46s [INFO] [stderr] [INFO] [stderr] [INFO] [stderr] test tests/compile-pass/associated_type_with_where_clause_for_all_refs.rs ... ok [INFO] [stderr] test tests/compile-pass/big_trait_for_all_refs.rs ... ok [INFO] [stderr] test tests/compile-pass/big_trait_for_box.rs ... ok [INFO] [stderr] test tests/compile-pass/big_trait_where_bound_for_all_refs.rs ... ok [INFO] [stderr] test tests/compile-pass/fn_method_lifetimes.rs ... ok [INFO] [stderr] test tests/compile-pass/generic_fn_method_for_refs.rs ... ok [INFO] [stderr] test tests/compile-pass/generic_types_and_lifetimes_for_fn.rs ... ok [INFO] [stderr] test tests/compile-pass/generic_types_and_lifetimes_for_refs.rs ... ok [INFO] [stderr] test tests/compile-pass/keep_default_for_simple.rs ... ok [INFO] [stderr] test tests/compile-pass/keep_default_for_with_where_bounds.rs ... ok [INFO] [stderr] test tests/compile-pass/method_name_shadowing.rs ... ok [INFO] [stderr] test tests/compile-pass/mut_self_for_fn.rs ... ok [INFO] [stderr] test tests/compile-pass/mut_self_for_fn_mut.rs ... ok [INFO] [stderr] test tests/compile-pass/non_inferred_generic_types_for_all_refs.rs ... ok [INFO] [stderr] test tests/compile-pass/non_inferred_generic_types_for_box.rs ... ok [INFO] [stderr] test tests/compile-pass/non_inferred_generic_types_with_lifetimes_for_all_refs.rs ... ok [INFO] [stderr] test tests/compile-pass/ref_self_for_fn.rs ... ok [INFO] [stderr] test tests/compile-pass/self_bound.rs ... ok [INFO] [stderr] test tests/compile-pass/self_bound_default_method.rs ... ok [INFO] [stderr] test tests/compile-pass/self_bound_multiple.rs ... ok [INFO] [stderr] test tests/compile-pass/self_by_value_mut.rs ... ok [INFO] [stderr] test tests/compile-pass/super_trait_complex_for_refs.rs ... ok [INFO] [stderr] test tests/compile-pass/super_trait_simple_for_fn_types.rs ... ok [INFO] [stderr] test tests/compile-pass/super_trait_simple_for_refs.rs ... ok [INFO] [stderr] test tests/compile-pass/trailing_comma.rs ... ok [INFO] [stderr] test tests/compile-pass/trait_in_fn.rs ... ok [INFO] [stderr] test tests/compile-pass/trait_in_mods.rs ... ok [INFO] [stderr] test tests/compile-pass/trait_obj_default_method.rs ... ok [INFO] [stderr] test tests/compile-pass/trait_obj_immutable_self.rs ... ok [INFO] [stderr] test tests/compile-pass/trait_obj_self_sized.rs ... ok [INFO] [stderr] test tests/compile-pass/trait_obj_value_self.rs ... ok [INFO] [stderr] test tests/compile-pass/value_self_for_fn.rs ... ok [INFO] [stderr] test tests/compile-pass/value_self_for_fn_mut.rs ... ok [INFO] [stderr] test tests/compile-pass/value_self_for_fn_once.rs ... ok [INFO] [stderr] [INFO] [stderr] [INFO] [stdout] test ui_compile_pass ... ok [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stderr] error: test failed, to rerun pass `--test ui` [INFO] [stdout] [INFO] [stdout] ---- ui_compile_fail stdout ---- [INFO] [stdout] [INFO] [stdout] thread 'ui_compile_fail' (19) panicked at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/trybuild-1.0.104/src/run.rs:102:13: [INFO] [stdout] 2 of 22 tests failed [INFO] [stdout] stack backtrace: [INFO] [stdout] 0: 0x6482ca2b71d2 - std::backtrace_rs::backtrace::libunwind::trace::h603d1cddbbc3aee5 [INFO] [stdout] at /rustc/981ca440e18f6cc4bc9026d4be8ddb1ca8378af7/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9 [INFO] [stdout] 1: 0x6482ca2b71d2 - std::backtrace_rs::backtrace::trace_unsynchronized::h17954303270b0fe7 [INFO] [stdout] at /rustc/981ca440e18f6cc4bc9026d4be8ddb1ca8378af7/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14 [INFO] [stdout] 2: 0x6482ca2b71d2 - std::sys::backtrace::_print_fmt::h12f20495e200ef40 [INFO] [stdout] at /rustc/981ca440e18f6cc4bc9026d4be8ddb1ca8378af7/library/std/src/sys/backtrace.rs:66:9 [INFO] [stdout] 3: 0x6482ca2b71d2 - ::fmt::hd8794d3b627b79c6 [INFO] [stdout] at /rustc/981ca440e18f6cc4bc9026d4be8ddb1ca8378af7/library/std/src/sys/backtrace.rs:39:26 [INFO] [stdout] 4: 0x6482ca2e11cf - core::fmt::rt::Argument::fmt::h29a4dd23d8e0207f [INFO] [stdout] at /rustc/981ca440e18f6cc4bc9026d4be8ddb1ca8378af7/library/core/src/fmt/rt.rs:173:76 [INFO] [stdout] 5: 0x6482ca2e11cf - core::fmt::write::hd015a34b7a8dbc58 [INFO] [stdout] at /rustc/981ca440e18f6cc4bc9026d4be8ddb1ca8378af7/library/core/src/fmt/mod.rs:1468:25 [INFO] [stdout] 6: 0x6482ca2b36b3 - std::io::default_write_fmt::h1b7c8ab466132bbd [INFO] [stdout] at /rustc/981ca440e18f6cc4bc9026d4be8ddb1ca8378af7/library/std/src/io/mod.rs:639:11 [INFO] [stdout] 7: 0x6482ca2b36b3 - std::io::Write::write_fmt::h159cacfb2877164c [INFO] [stdout] at /rustc/981ca440e18f6cc4bc9026d4be8ddb1ca8378af7/library/std/src/io/mod.rs:1954:13 [INFO] [stdout] 8: 0x6482ca2b7022 - std::sys::backtrace::BacktraceLock::print::hcb8a13fab1ccb0f8 [INFO] [stdout] at /rustc/981ca440e18f6cc4bc9026d4be8ddb1ca8378af7/library/std/src/sys/backtrace.rs:42:9 [INFO] [stdout] 9: 0x6482ca2b973a - std::panicking::default_hook::{{closure}}::hb169ba01439337b6 [INFO] [stdout] at /rustc/981ca440e18f6cc4bc9026d4be8ddb1ca8378af7/library/std/src/panicking.rs:301:27 [INFO] [stdout] 10: 0x6482ca2b95a6 - std::panicking::default_hook::he6935678ffbb5d6c [INFO] [stdout] at /rustc/981ca440e18f6cc4bc9026d4be8ddb1ca8378af7/library/std/src/panicking.rs:325:9 [INFO] [stdout] 11: 0x6482c9fd445e - as core::ops::function::Fn>::call::h92d2bbce9eaf7e22 [INFO] [stdout] at /rustc/981ca440e18f6cc4bc9026d4be8ddb1ca8378af7/library/alloc/src/boxed.rs:1985:9 [INFO] [stdout] 12: 0x6482c9fd445e - test::test_main_with_exit_callback::{{closure}}::hb33dfe196144200d [INFO] [stdout] at /rustc/981ca440e18f6cc4bc9026d4be8ddb1ca8378af7/library/test/src/lib.rs:145:21 [INFO] [stdout] 13: 0x6482ca2ba26e - as core::ops::function::Fn>::call::hcf71595d202aee46 [INFO] [stdout] at /rustc/981ca440e18f6cc4bc9026d4be8ddb1ca8378af7/library/alloc/src/boxed.rs:1985:9 [INFO] [stdout] 14: 0x6482ca2ba26e - std::panicking::panic_with_hook::hb405d6ae42f8ef97 [INFO] [stdout] at /rustc/981ca440e18f6cc4bc9026d4be8ddb1ca8378af7/library/std/src/panicking.rs:842:13 [INFO] [stdout] 15: 0x6482ca2b9f3a - std::panicking::panic_handler::{{closure}}::h53dfc32706f7bb91 [INFO] [stdout] at /rustc/981ca440e18f6cc4bc9026d4be8ddb1ca8378af7/library/std/src/panicking.rs:707:13 [INFO] [stdout] 16: 0x6482ca2b76d9 - std::sys::backtrace::__rust_end_short_backtrace::h851bc60adf74dd8c [INFO] [stdout] at /rustc/981ca440e18f6cc4bc9026d4be8ddb1ca8378af7/library/std/src/sys/backtrace.rs:174:18 [INFO] [stdout] 17: 0x6482ca2b9bcd - __rustc[387a65602a2331bd]::rust_begin_unwind [INFO] [stdout] at /rustc/981ca440e18f6cc4bc9026d4be8ddb1ca8378af7/library/std/src/panicking.rs:698:5 [INFO] [stdout] 18: 0x6482ca2df560 - core::panicking::panic_fmt::h69e946a0bcc8de75 [INFO] [stdout] at /rustc/981ca440e18f6cc4bc9026d4be8ddb1ca8378af7/library/core/src/panicking.rs:75:14 [INFO] [stdout] 19: 0x6482c9feca23 - trybuild::run::::run::h3d01cc58ac83afc4 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/trybuild-1.0.104/src/run.rs:102:13 [INFO] [stdout] 20: 0x6482c9ff2158 - ::drop::hd962765cdda84068 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/trybuild-1.0.104/src/lib.rs:341:38 [INFO] [stdout] 21: 0x6482c9f99c17 - core::ptr::drop_in_place::h22b32df0379a03c8 [INFO] [stdout] at /rustc/981ca440e18f6cc4bc9026d4be8ddb1ca8378af7/library/core/src/ptr/mod.rs:804:1 [INFO] [stdout] 22: 0x6482c9f9a4e3 - ui::ui_compile_fail::h47d19774aa97f9b6 [INFO] [stdout] at /opt/rustwide/workdir/tests/ui.rs:14:1 [INFO] [stdout] 23: 0x6482c9f9a477 - ui::ui_compile_fail::{{closure}}::hfafef5b2846558f4 [INFO] [stdout] at /opt/rustwide/workdir/tests/ui.rs:11:21 [INFO] [stdout] 24: 0x6482c9f99b86 - core::ops::function::FnOnce::call_once::h9e478d8743db476a [INFO] [stdout] at /rustc/981ca440e18f6cc4bc9026d4be8ddb1ca8378af7/library/core/src/ops/function.rs:253:5 [INFO] [stdout] 25: 0x6482c9fd9beb - core::ops::function::FnOnce::call_once::h10f8f50294af1db0 [INFO] [stdout] at /rustc/981ca440e18f6cc4bc9026d4be8ddb1ca8378af7/library/core/src/ops/function.rs:253:5 [INFO] [stdout] 26: 0x6482c9fd9beb - test::__rust_begin_short_backtrace::he9fcae209818bbd1 [INFO] [stdout] at /rustc/981ca440e18f6cc4bc9026d4be8ddb1ca8378af7/library/test/src/lib.rs:663:18 [INFO] [stdout] 27: 0x6482c9fd8da5 - test::run_test_in_process::{{closure}}::hcaf872d254e37171 [INFO] [stdout] at /rustc/981ca440e18f6cc4bc9026d4be8ddb1ca8378af7/library/test/src/lib.rs:686:74 [INFO] [stdout] 28: 0x6482c9fd8da5 - as core::ops::function::FnOnce<()>>::call_once::h47dd53224a144a3e [INFO] [stdout] at /rustc/981ca440e18f6cc4bc9026d4be8ddb1ca8378af7/library/core/src/panic/unwind_safe.rs:272:9 [INFO] [stdout] 29: 0x6482c9fd8da5 - std::panicking::catch_unwind::do_call::h84daeea6f976d9bf [INFO] [stdout] at /rustc/981ca440e18f6cc4bc9026d4be8ddb1ca8378af7/library/std/src/panicking.rs:590:40 [INFO] [stdout] 30: 0x6482c9fd8da5 - std::panicking::catch_unwind::h6c8f823dd867330d [INFO] [stdout] at /rustc/981ca440e18f6cc4bc9026d4be8ddb1ca8378af7/library/std/src/panicking.rs:553:19 [INFO] [stdout] 31: 0x6482c9fd8da5 - std::panic::catch_unwind::hf9c8b255823304bb [INFO] [stdout] at /rustc/981ca440e18f6cc4bc9026d4be8ddb1ca8378af7/library/std/src/panic.rs:357:14 [INFO] [stdout] 32: 0x6482c9fd8da5 - test::run_test_in_process::hfd80f57565d96336 [INFO] [stdout] at /rustc/981ca440e18f6cc4bc9026d4be8ddb1ca8378af7/library/test/src/lib.rs:686:27 [INFO] [stdout] 33: 0x6482c9fd8da5 - test::run_test::{{closure}}::hd6aef6133b8fb50e [INFO] [stdout] at /rustc/981ca440e18f6cc4bc9026d4be8ddb1ca8378af7/library/test/src/lib.rs:607:43 [INFO] [stdout] 34: 0x6482c9f9bfd4 - test::run_test::{{closure}}::hb799cee1357743da [INFO] [stdout] at /rustc/981ca440e18f6cc4bc9026d4be8ddb1ca8378af7/library/test/src/lib.rs:637:41 [INFO] [stdout] 35: 0x6482c9f9bfd4 - std::sys::backtrace::__rust_begin_short_backtrace::h8840cc5158104d4a [INFO] [stdout] at /rustc/981ca440e18f6cc4bc9026d4be8ddb1ca8378af7/library/std/src/sys/backtrace.rs:158:18 [INFO] [stdout] 36: 0x6482c9f9f89a - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::h2e224e32be1f52f7 [INFO] [stdout] at /rustc/981ca440e18f6cc4bc9026d4be8ddb1ca8378af7/library/std/src/thread/mod.rs:559:17 [INFO] [stdout] 37: 0x6482c9f9f89a - as core::ops::function::FnOnce<()>>::call_once::hb46a9efbe0edcbcb [INFO] [stdout] at /rustc/981ca440e18f6cc4bc9026d4be8ddb1ca8378af7/library/core/src/panic/unwind_safe.rs:272:9 [INFO] [stdout] 38: 0x6482c9f9f89a - std::panicking::catch_unwind::do_call::h591967696f9b17c5 [INFO] [stdout] at /rustc/981ca440e18f6cc4bc9026d4be8ddb1ca8378af7/library/std/src/panicking.rs:590:40 [INFO] [stdout] 39: 0x6482c9f9f89a - std::panicking::catch_unwind::h98cfd7540f2626a2 [INFO] [stdout] at /rustc/981ca440e18f6cc4bc9026d4be8ddb1ca8378af7/library/std/src/panicking.rs:553:19 [INFO] [stdout] 40: 0x6482c9f9f89a - std::panic::catch_unwind::h88ac09ce0391d070 [INFO] [stdout] at /rustc/981ca440e18f6cc4bc9026d4be8ddb1ca8378af7/library/std/src/panic.rs:357:14 [INFO] [stdout] 41: 0x6482c9f9f89a - std::thread::Builder::spawn_unchecked_::{{closure}}::hd980038de8c8fa34 [INFO] [stdout] at /rustc/981ca440e18f6cc4bc9026d4be8ddb1ca8378af7/library/std/src/thread/mod.rs:557:30 [INFO] [stdout] 42: 0x6482c9f9f89a - core::ops::function::FnOnce::call_once{{vtable.shim}}::h491febe5417b88b4 [INFO] [stdout] at /rustc/981ca440e18f6cc4bc9026d4be8ddb1ca8378af7/library/core/src/ops/function.rs:253:5 [INFO] [stdout] 43: 0x6482ca2bd78f - as core::ops::function::FnOnce>::call_once::hf454ae6067ead2ce [INFO] [stdout] at /rustc/981ca440e18f6cc4bc9026d4be8ddb1ca8378af7/library/alloc/src/boxed.rs:1971:9 [INFO] [stdout] 44: 0x6482ca2bd78f - std::sys::pal::unix::thread::Thread::new::thread_start::ha98c612b19c4bd3d [INFO] [stdout] at /rustc/981ca440e18f6cc4bc9026d4be8ddb1ca8378af7/library/std/src/sys/pal/unix/thread.rs:107:17 [INFO] [stdout] 45: 0x744412b53aa4 - [INFO] [stdout] 46: 0x744412be0a34 - clone [INFO] [stdout] 47: 0x0 - [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] ui_compile_fail [INFO] [stdout] [INFO] [stdout] test result: FAILED. 3 passed; 1 failed; 0 ignored; 0 measured; 0 filtered out; finished in 27.62s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "5237c5237e714f46b6775f8140180fb3c422c156b28a16e1096b8c48b81f8e8b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5237c5237e714f46b6775f8140180fb3c422c156b28a16e1096b8c48b81f8e8b", kill_on_drop: false }` [INFO] [stdout] 5237c5237e714f46b6775f8140180fb3c422c156b28a16e1096b8c48b81f8e8b