[INFO] fetching crate auto_impl 1.3.0... [INFO] testing auto_impl-1.3.0 against master#a1531335fe2807715fff569904d99602022643a7 for pr-145277 [INFO] extracting crate auto_impl 1.3.0 into /workspace/builds/worker-0-tc1/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-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate auto_impl 1.3.0 on toolchain a1531335fe2807715fff569904d99602022643a7 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+a1531335fe2807715fff569904d99602022643a7" "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" "+a1531335fe2807715fff569904d99602022643a7" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded indexmap v2.9.0 [INFO] [stderr] Downloaded winnow v0.7.6 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+a1531335fe2807715fff569904d99602022643a7" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 495bf682572ad9a3320ab3122a8a14cc832d01da4e4522af1fe1cb4ebfed1aeb [INFO] running `Command { std: "docker" "start" "-a" "495bf682572ad9a3320ab3122a8a14cc832d01da4e4522af1fe1cb4ebfed1aeb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "495bf682572ad9a3320ab3122a8a14cc832d01da4e4522af1fe1cb4ebfed1aeb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "495bf682572ad9a3320ab3122a8a14cc832d01da4e4522af1fe1cb4ebfed1aeb", kill_on_drop: false }` [INFO] [stdout] 495bf682572ad9a3320ab3122a8a14cc832d01da4e4522af1fe1cb4ebfed1aeb [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+a1531335fe2807715fff569904d99602022643a7" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 8d6ff654b09cb68b684469a11016aa3ad96b78a6de0966ecc5d1a28a4f26317d [INFO] running `Command { std: "docker" "start" "-a" "8d6ff654b09cb68b684469a11016aa3ad96b78a6de0966ecc5d1a28a4f26317d", 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 7.87s [INFO] running `Command { std: "docker" "inspect" "8d6ff654b09cb68b684469a11016aa3ad96b78a6de0966ecc5d1a28a4f26317d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8d6ff654b09cb68b684469a11016aa3ad96b78a6de0966ecc5d1a28a4f26317d", kill_on_drop: false }` [INFO] [stdout] 8d6ff654b09cb68b684469a11016aa3ad96b78a6de0966ecc5d1a28a4f26317d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+a1531335fe2807715fff569904d99602022643a7" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 97afe4258814bcfcc4c31bfb4676a11cdb8c634d82d462c908d97f6aa61590b7 [INFO] running `Command { std: "docker" "start" "-a" "97afe4258814bcfcc4c31bfb4676a11cdb8c634d82d462c908d97f6aa61590b7", 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 winnow v0.7.6 [INFO] [stderr] Compiling serde_json v1.0.140 [INFO] [stderr] Compiling target-triple v0.1.4 [INFO] [stderr] Compiling proc-macro2 v1.0.94 [INFO] [stderr] Compiling ryu v1.0.20 [INFO] [stderr] Compiling rustversion v1.0.20 [INFO] [stderr] Compiling memchr v2.7.4 [INFO] [stderr] Compiling itoa v1.0.15 [INFO] [stderr] Compiling glob v0.3.2 [INFO] [stderr] Compiling termcolor v1.4.1 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Compiling indexmap v2.9.0 [INFO] [stderr] Compiling syn v2.0.100 [INFO] [stderr] Compiling toml_datetime v0.6.8 [INFO] [stderr] Compiling serde_spanned v0.6.8 [INFO] [stderr] Compiling toml_edit v0.22.24 [INFO] [stderr] Compiling toml v0.8.20 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling auto_impl v1.3.0 (/opt/rustwide/workdir) [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 32.53s [INFO] running `Command { std: "docker" "inspect" "97afe4258814bcfcc4c31bfb4676a11cdb8c634d82d462c908d97f6aa61590b7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "97afe4258814bcfcc4c31bfb4676a11cdb8c634d82d462c908d97f6aa61590b7", kill_on_drop: false }` [INFO] [stdout] 97afe4258814bcfcc4c31bfb4676a11cdb8c634d82d462c908d97f6aa61590b7 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+a1531335fe2807715fff569904d99602022643a7" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 38d3829a1df9685de1f8995bb6b67e30a84615c53d9c31d93f569c9f82638ed7 [INFO] running `Command { std: "docker" "start" "-a" "38d3829a1df9685de1f8995bb6b67e30a84615c53d9c31d93f569c9f82638ed7", 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] [stdout] [INFO] [stdout] running 4 tests [INFO] [stderr] Running tests/ui.rs (/opt/rustwide/target/debug/deps/ui-5011aae6d75fd14d) [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 16.74s [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.23s [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] [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.41s [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 3.94s [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] [stdout] [INFO] [stdout] failures: [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: 0x6016c7cf7132 - std::backtrace_rs::backtrace::libunwind::trace::h28054f4383c3f58e [INFO] [stdout] at /rustc/a1531335fe2807715fff569904d99602022643a7/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9 [INFO] [stdout] 1: 0x6016c7cf7132 - std::backtrace_rs::backtrace::trace_unsynchronized::ha282a8c421679d2f [INFO] [stdout] at /rustc/a1531335fe2807715fff569904d99602022643a7/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14 [INFO] [stdout] 2: 0x6016c7cf7132 - std::sys::backtrace::_print_fmt::hbec33065234e0802 [INFO] [stdout] at /rustc/a1531335fe2807715fff569904d99602022643a7/library/std/src/sys/backtrace.rs:66:9 [INFO] [stdout] 3: 0x6016c7cf7132 - ::fmt::hd1d4bb6928e618aa [INFO] [stdout] at /rustc/a1531335fe2807715fff569904d99602022643a7/library/std/src/sys/backtrace.rs:39:26 [INFO] [stdout] 4: 0x6016c7d2114f - core::fmt::rt::Argument::fmt::h9d7a9c51e359853c [INFO] [stdout] at /rustc/a1531335fe2807715fff569904d99602022643a7/library/core/src/fmt/rt.rs:173:76 [INFO] [stdout] 5: 0x6016c7d2114f - core::fmt::write::hb74543a25e711b4b [INFO] [stdout] at /rustc/a1531335fe2807715fff569904d99602022643a7/library/core/src/fmt/mod.rs:1468:25 [INFO] [stdout] 6: 0x6016c7cf3743 - std::io::default_write_fmt::h5fc6d59ce87844c1 [INFO] [stdout] at /rustc/a1531335fe2807715fff569904d99602022643a7/library/std/src/io/mod.rs:639:11 [INFO] [stdout] 7: 0x6016c7cf3743 - std::io::Write::write_fmt::hd2771080cbf96086 [INFO] [stdout] at /rustc/a1531335fe2807715fff569904d99602022643a7/library/std/src/io/mod.rs:1954:13 [INFO] [stdout] 8: 0x6016c7cf6f82 - std::sys::backtrace::BacktraceLock::print::heea219b8050afbf1 [INFO] [stdout] at /rustc/a1531335fe2807715fff569904d99602022643a7/library/std/src/sys/backtrace.rs:42:9 [INFO] [stdout] 9: 0x6016c7cf969a - std::panicking::default_hook::{{closure}}::hd4259c9ab8b045c5 [INFO] [stdout] at /rustc/a1531335fe2807715fff569904d99602022643a7/library/std/src/panicking.rs:301:27 [INFO] [stdout] 10: 0x6016c7cf9506 - std::panicking::default_hook::h11ff409030846680 [INFO] [stdout] at /rustc/a1531335fe2807715fff569904d99602022643a7/library/std/src/panicking.rs:325:9 [INFO] [stdout] 11: 0x6016c7a150fe - as core::ops::function::Fn>::call::hd51613452276a673 [INFO] [stdout] at /rustc/a1531335fe2807715fff569904d99602022643a7/library/alloc/src/boxed.rs:1985:9 [INFO] [stdout] 12: 0x6016c7a150fe - test::test_main_with_exit_callback::{{closure}}::he745dc5723cd1954 [INFO] [stdout] at /rustc/a1531335fe2807715fff569904d99602022643a7/library/test/src/lib.rs:145:21 [INFO] [stdout] 13: 0x6016c7cfa1ce - as core::ops::function::Fn>::call::h11f03226fe12b23f [INFO] [stdout] at /rustc/a1531335fe2807715fff569904d99602022643a7/library/alloc/src/boxed.rs:1985:9 [INFO] [stdout] 14: 0x6016c7cfa1ce - std::panicking::panic_with_hook::h7ff7afb88160a118 [INFO] [stdout] at /rustc/a1531335fe2807715fff569904d99602022643a7/library/std/src/panicking.rs:842:13 [INFO] [stdout] 15: 0x6016c7cf9e9a - std::panicking::panic_handler::{{closure}}::hcdc643b4bb0ebe9b [INFO] [stdout] at /rustc/a1531335fe2807715fff569904d99602022643a7/library/std/src/panicking.rs:707:13 [INFO] [stdout] 16: 0x6016c7cf7629 - std::sys::backtrace::__rust_end_short_backtrace::h1e475b2065076ac7 [INFO] [stdout] at /rustc/a1531335fe2807715fff569904d99602022643a7/library/std/src/sys/backtrace.rs:174:18 [INFO] [stdout] 17: 0x6016c7cf9b2d - __rustc[e46213fa37f0c562]::rust_begin_unwind [INFO] [stdout] at /rustc/a1531335fe2807715fff569904d99602022643a7/library/std/src/panicking.rs:698:5 [INFO] [stdout] 18: 0x6016c7d1f4e0 - core::panicking::panic_fmt::h80b565e2eb233fe8 [INFO] [stdout] at /rustc/a1531335fe2807715fff569904d99602022643a7/library/core/src/panicking.rs:75:14 [INFO] [stdout] 19: 0x6016c7a2d6c3 - trybuild::run::::run::h359e75c97f963355 [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: 0x6016c7a32df8 - ::drop::h9802af3b0a162591 [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: 0x6016c79da8b7 - core::ptr::drop_in_place::h784e7bc0f43a8584 [INFO] [stdout] at /rustc/a1531335fe2807715fff569904d99602022643a7/library/core/src/ptr/mod.rs:804:1 [INFO] [stdout] 22: 0x6016c79db183 - ui::ui_compile_fail::h3fe720d7cfccecf1 [INFO] [stdout] at /opt/rustwide/workdir/tests/ui.rs:14:1 [INFO] [stdout] 23: 0x6016c79db117 - ui::ui_compile_fail::{{closure}}::hf6272a9a81aa052e [INFO] [stdout] at /opt/rustwide/workdir/tests/ui.rs:11:21 [INFO] [stdout] 24: 0x6016c79da7a6 - core::ops::function::FnOnce::call_once::h83dd0e673c90a90a [INFO] [stdout] at /rustc/a1531335fe2807715fff569904d99602022643a7/library/core/src/ops/function.rs:253:5 [INFO] [stdout] 25: 0x6016c7a1a84b - core::ops::function::FnOnce::call_once::hfc756c52547ce44a [INFO] [stdout] at /rustc/a1531335fe2807715fff569904d99602022643a7/library/core/src/ops/function.rs:253:5 [INFO] [stdout] 26: 0x6016c7a1a84b - test::__rust_begin_short_backtrace::h9a5ae329d078bcd9 [INFO] [stdout] at /rustc/a1531335fe2807715fff569904d99602022643a7/library/test/src/lib.rs:663:18 [INFO] [stdout] 27: 0x6016c7a19a45 - test::run_test_in_process::{{closure}}::h3426e995573c268d [INFO] [stdout] at /rustc/a1531335fe2807715fff569904d99602022643a7/library/test/src/lib.rs:686:74 [INFO] [stdout] 28: 0x6016c7a19a45 - as core::ops::function::FnOnce<()>>::call_once::ha7835434f938d8f3 [INFO] [stdout] at /rustc/a1531335fe2807715fff569904d99602022643a7/library/core/src/panic/unwind_safe.rs:272:9 [INFO] [stdout] 29: 0x6016c7a19a45 - std::panicking::catch_unwind::do_call::hba7daaeffaa7fd92 [INFO] [stdout] at /rustc/a1531335fe2807715fff569904d99602022643a7/library/std/src/panicking.rs:590:40 [INFO] [stdout] 30: 0x6016c7a19a45 - std::panicking::catch_unwind::h429b54e97c207d41 [INFO] [stdout] at /rustc/a1531335fe2807715fff569904d99602022643a7/library/std/src/panicking.rs:553:19 [INFO] [stdout] 31: 0x6016c7a19a45 - std::panic::catch_unwind::h51208656128c85f9 [INFO] [stdout] at /rustc/a1531335fe2807715fff569904d99602022643a7/library/std/src/panic.rs:357:14 [INFO] [stdout] 32: 0x6016c7a19a45 - test::run_test_in_process::h689806cd12adfed7 [INFO] [stdout] at /rustc/a1531335fe2807715fff569904d99602022643a7/library/test/src/lib.rs:686:27 [INFO] [stdout] 33: 0x6016c7a19a45 - test::run_test::{{closure}}::hb7a4442cffb3ca48 [INFO] [stdout] at /rustc/a1531335fe2807715fff569904d99602022643a7/library/test/src/lib.rs:607:43 [INFO] [stdout] 34: 0x6016c79dcca4 - test::run_test::{{closure}}::hbfdd49e739af13e8 [INFO] [stdout] at /rustc/a1531335fe2807715fff569904d99602022643a7/library/test/src/lib.rs:637:41 [INFO] [stdout] 35: 0x6016c79dcca4 - std::sys::backtrace::__rust_begin_short_backtrace::h8748685fe296ef1f [INFO] [stdout] at /rustc/a1531335fe2807715fff569904d99602022643a7/library/std/src/sys/backtrace.rs:158:18 [INFO] [stdout] 36: 0x6016c79e05ea - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::h934221187d822cc7 [INFO] [stdout] at /rustc/a1531335fe2807715fff569904d99602022643a7/library/std/src/thread/mod.rs:559:17 [INFO] [stdout] 37: 0x6016c79e05ea - as core::ops::function::FnOnce<()>>::call_once::ha2070c9c72742147 [INFO] [stdout] at /rustc/a1531335fe2807715fff569904d99602022643a7/library/core/src/panic/unwind_safe.rs:272:9 [INFO] [stdout] 38: 0x6016c79e05ea - std::panicking::catch_unwind::do_call::h0fa4d7384e02a51e [INFO] [stdout] at /rustc/a1531335fe2807715fff569904d99602022643a7/library/std/src/panicking.rs:590:40 [INFO] [stdout] 39: 0x6016c79e05ea - std::panicking::catch_unwind::h57da5b94928bf70d [INFO] [stdout] at /rustc/a1531335fe2807715fff569904d99602022643a7/library/std/src/panicking.rs:553:19 [INFO] [stdout] 40: 0x6016c79e05ea - std::panic::catch_unwind::h11a7caa5ab9505ca [INFO] [stdout] at /rustc/a1531335fe2807715fff569904d99602022643a7/library/std/src/panic.rs:357:14 [INFO] [stdout] 41: 0x6016c79e05ea - std::thread::Builder::spawn_unchecked_::{{closure}}::h81bd754a5aa6f57a [INFO] [stdout] at /rustc/a1531335fe2807715fff569904d99602022643a7/library/std/src/thread/mod.rs:557:30 [INFO] [stdout] 42: 0x6016c79e05ea - core::ops::function::FnOnce::call_once{{vtable.shim}}::hd839d279b244de64 [INFO] [stdout] at /rustc/a1531335fe2807715fff569904d99602022643a7/library/core/src/ops/function.rs:253:5 [INFO] [stdout] 43: 0x6016c7cfd6ef - as core::ops::function::FnOnce>::call_once::h234c89b9d620936c [INFO] [stdout] at /rustc/a1531335fe2807715fff569904d99602022643a7/library/alloc/src/boxed.rs:1971:9 [INFO] [stdout] 44: 0x6016c7cfd6ef - std::sys::pal::unix::thread::Thread::new::thread_start::h185f7d20f8cd290f [INFO] [stdout] at /rustc/a1531335fe2807715fff569904d99602022643a7/library/std/src/sys/pal/unix/thread.rs:107:17 [INFO] [stdout] 45: 0x7fd7cd942aa4 - [INFO] [stdout] 46: 0x7fd7cd9cfa34 - 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 40.16s [INFO] [stdout] [INFO] [stderr] error: test failed, to rerun pass `--test ui` [INFO] running `Command { std: "docker" "inspect" "38d3829a1df9685de1f8995bb6b67e30a84615c53d9c31d93f569c9f82638ed7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "38d3829a1df9685de1f8995bb6b67e30a84615c53d9c31d93f569c9f82638ed7", kill_on_drop: false }` [INFO] [stdout] 38d3829a1df9685de1f8995bb6b67e30a84615c53d9c31d93f569c9f82638ed7