[INFO] fetching crate auto_impl 0.5.0... [INFO] testing auto_impl-0.5.0 against beta-2022-04-10 for beta-1.61-1 [INFO] extracting crate auto_impl 0.5.0 into /workspace/builds/worker-9/source [INFO] validating manifest of crates.io crate auto_impl 0.5.0 on toolchain beta-2022-04-10 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate auto_impl 0.5.0 [INFO] finished tweaking crates.io crate auto_impl 0.5.0 [INFO] tweaked toml for crates.io crate auto_impl 0.5.0 written to /workspace/builds/worker-9/source/Cargo.toml [INFO] crate crates.io crate auto_impl 0.5.0 already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "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] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 2ea0bd90f8c2022c42a0ae049aa5fbbee972da7ab80133485f7950e7f9dbe03f [INFO] running `Command { std: "docker" "start" "-a" "2ea0bd90f8c2022c42a0ae049aa5fbbee972da7ab80133485f7950e7f9dbe03f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "2ea0bd90f8c2022c42a0ae049aa5fbbee972da7ab80133485f7950e7f9dbe03f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2ea0bd90f8c2022c42a0ae049aa5fbbee972da7ab80133485f7950e7f9dbe03f", kill_on_drop: false }` [INFO] [stdout] 2ea0bd90f8c2022c42a0ae049aa5fbbee972da7ab80133485f7950e7f9dbe03f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e415c32fd014ce83bb573f816707c63d57782971562d7d80b8260b23ebe633cc [INFO] running `Command { std: "docker" "start" "-a" "e415c32fd014ce83bb573f816707c63d57782971562d7d80b8260b23ebe633cc", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.32 [INFO] [stderr] Compiling version_check v0.9.3 [INFO] [stderr] Compiling syn v1.0.81 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling quote v1.0.10 [INFO] [stderr] Compiling auto_impl v0.5.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 32.96s [INFO] running `Command { std: "docker" "inspect" "e415c32fd014ce83bb573f816707c63d57782971562d7d80b8260b23ebe633cc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e415c32fd014ce83bb573f816707c63d57782971562d7d80b8260b23ebe633cc", kill_on_drop: false }` [INFO] [stdout] e415c32fd014ce83bb573f816707c63d57782971562d7d80b8260b23ebe633cc [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 79db4290b9689ab6006369bc97134545d96173c3d524b30171a1fc456c7b1530 [INFO] running `Command { std: "docker" "start" "-a" "79db4290b9689ab6006369bc97134545d96173c3d524b30171a1fc456c7b1530", kill_on_drop: false }` [INFO] [stderr] Compiling serde_derive v1.0.130 [INFO] [stderr] Compiling serde v1.0.130 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Compiling serde_json v1.0.68 [INFO] [stderr] Compiling trybuild v1.0.52 [INFO] [stderr] Compiling itoa v0.4.8 [INFO] [stderr] Compiling glob v0.3.0 [INFO] [stderr] Compiling termcolor v1.1.2 [INFO] [stderr] Compiling toml v0.5.8 [INFO] [stderr] Compiling auto_impl v0.5.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 19.78s [INFO] [stderr] Executable unittests src/lib.rs (/opt/rustwide/target/debug/deps/auto_impl-3b95e377f8a6edc0) [INFO] [stderr] Executable tests/no_std.rs (/opt/rustwide/target/debug/deps/no_std-09044e7acab1d31c) [INFO] [stderr] Executable tests/ui.rs (/opt/rustwide/target/debug/deps/ui-baf748c9acd8939c) [INFO] running `Command { std: "docker" "inspect" "79db4290b9689ab6006369bc97134545d96173c3d524b30171a1fc456c7b1530", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "79db4290b9689ab6006369bc97134545d96173c3d524b30171a1fc456c7b1530", kill_on_drop: false }` [INFO] [stdout] 79db4290b9689ab6006369bc97134545d96173c3d524b30171a1fc456c7b1530 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 301521b1938d6130a57027e3a893ba0dfe4878074f38195b8fb03bb0e36ce355 [INFO] running `Command { std: "docker" "start" "-a" "301521b1938d6130a57027e3a893ba0dfe4878074f38195b8fb03bb0e36ce355", kill_on_drop: false }` [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.06s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/auto_impl-3b95e377f8a6edc0) [INFO] [stderr] Running tests/no_std.rs (/opt/rustwide/target/debug/deps/no_std-09044e7acab1d31c) [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] [stderr] Running tests/ui.rs (/opt/rustwide/target/debug/deps/ui-baf748c9acd8939c) [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 2 tests [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling proc-macro2 v1.0.32 [INFO] [stderr] Compiling version_check v0.9.3 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling syn v1.0.81 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Checking quote v1.0.10 [INFO] [stderr] Compiling auto_impl v0.5.0 (/opt/rustwide/workdir) [INFO] [stderr] Checking auto_impl-tests v0.0.0 (/opt/rustwide/target/tests/auto_impl) [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 29.91s [INFO] [stderr] [INFO] [stderr] [INFO] [stderr] test tests/compile-fail/attr_on_enum.rs ... mismatch [INFO] [stderr] [INFO] [stderr] EXPECTED: [INFO] [stderr] ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈ [INFO] [stderr] error: couldn't parse trait item [INFO] [stderr] [INFO] [stderr] = note: expected `trait` [INFO] [stderr] = note: the #[auto_impl] attribute can only be applied to traits! [INFO] [stderr] [INFO] [stderr] --> $DIR/attr_on_enum.rs:4:1 [INFO] [stderr] | [INFO] [stderr] 4 | #[auto_impl(&, &mut)] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [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: couldn't parse trait item [INFO] [stderr] [INFO] [stderr] = note: expected `trait` [INFO] [stderr] = note: the #[auto_impl] attribute can only be applied to traits! [INFO] [stderr] [INFO] [stderr] --> tests/compile-fail/attr_on_enum.rs:4:1 [INFO] [stderr] | [INFO] [stderr] 4 | #[auto_impl(&, &mut)] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [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/attr_on_fn.rs ... mismatch [INFO] [stderr] [INFO] [stderr] EXPECTED: [INFO] [stderr] ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈ [INFO] [stderr] error: couldn't parse trait item [INFO] [stderr] [INFO] [stderr] = note: expected `trait` [INFO] [stderr] = note: the #[auto_impl] attribute can only be applied to traits! [INFO] [stderr] [INFO] [stderr] --> $DIR/attr_on_fn.rs:4:1 [INFO] [stderr] | [INFO] [stderr] 4 | #[auto_impl(&, &mut)] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [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: couldn't parse trait item [INFO] [stderr] [INFO] [stderr] = note: expected `trait` [INFO] [stderr] = note: the #[auto_impl] attribute can only be applied to traits! [INFO] [stderr] [INFO] [stderr] --> tests/compile-fail/attr_on_fn.rs:4:1 [INFO] [stderr] | [INFO] [stderr] 4 | #[auto_impl(&, &mut)] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [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/attr_on_impl_block.rs ... mismatch [INFO] [stderr] [INFO] [stderr] EXPECTED: [INFO] [stderr] ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈ [INFO] [stderr] error: couldn't parse trait item [INFO] [stderr] [INFO] [stderr] = note: expected `trait` [INFO] [stderr] = note: the #[auto_impl] attribute can only be applied to traits! [INFO] [stderr] [INFO] [stderr] --> $DIR/attr_on_impl_block.rs:6:1 [INFO] [stderr] | [INFO] [stderr] 6 | #[auto_impl(&, &mut)] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [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: couldn't parse trait item [INFO] [stderr] [INFO] [stderr] = note: expected `trait` [INFO] [stderr] = note: the #[auto_impl] attribute can only be applied to traits! [INFO] [stderr] [INFO] [stderr] --> tests/compile-fail/attr_on_impl_block.rs:6:1 [INFO] [stderr] | [INFO] [stderr] 6 | #[auto_impl(&, &mut)] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [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/attr_on_struct.rs ... mismatch [INFO] [stderr] [INFO] [stderr] EXPECTED: [INFO] [stderr] ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈ [INFO] [stderr] error: couldn't parse trait item [INFO] [stderr] [INFO] [stderr] = note: expected `trait` [INFO] [stderr] = note: the #[auto_impl] attribute can only be applied to traits! [INFO] [stderr] [INFO] [stderr] --> $DIR/attr_on_struct.rs:4:1 [INFO] [stderr] | [INFO] [stderr] 4 | #[auto_impl(&, &mut)] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [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: couldn't parse trait item [INFO] [stderr] [INFO] [stderr] = note: expected `trait` [INFO] [stderr] = note: the #[auto_impl] attribute can only be applied to traits! [INFO] [stderr] [INFO] [stderr] --> tests/compile-fail/attr_on_struct.rs:4:1 [INFO] [stderr] | [INFO] [stderr] 4 | #[auto_impl(&, &mut)] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [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/attr_on_type.rs ... mismatch [INFO] [stderr] [INFO] [stderr] EXPECTED: [INFO] [stderr] ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈ [INFO] [stderr] error: couldn't parse trait item [INFO] [stderr] [INFO] [stderr] = note: expected `trait` [INFO] [stderr] = note: the #[auto_impl] attribute can only be applied to traits! [INFO] [stderr] [INFO] [stderr] --> $DIR/attr_on_type.rs:4:1 [INFO] [stderr] | [INFO] [stderr] 4 | #[auto_impl(&, &mut)] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [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: couldn't parse trait item [INFO] [stderr] [INFO] [stderr] = note: expected `trait` [INFO] [stderr] = note: the #[auto_impl] attribute can only be applied to traits! [INFO] [stderr] [INFO] [stderr] --> tests/compile-fail/attr_on_type.rs:4:1 [INFO] [stderr] | [INFO] [stderr] 4 | #[auto_impl(&, &mut)] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [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/attr_on_unit_struct.rs ... mismatch [INFO] [stderr] [INFO] [stderr] EXPECTED: [INFO] [stderr] ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈ [INFO] [stderr] error: couldn't parse trait item [INFO] [stderr] [INFO] [stderr] = note: expected `trait` [INFO] [stderr] = note: the #[auto_impl] attribute can only be applied to traits! [INFO] [stderr] [INFO] [stderr] --> $DIR/attr_on_unit_struct.rs:4:1 [INFO] [stderr] | [INFO] [stderr] 4 | #[auto_impl(&, &mut)] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [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: couldn't parse trait item [INFO] [stderr] [INFO] [stderr] = note: expected `trait` [INFO] [stderr] = note: the #[auto_impl] attribute can only be applied to traits! [INFO] [stderr] [INFO] [stderr] --> tests/compile-fail/attr_on_unit_struct.rs:4:1 [INFO] [stderr] | [INFO] [stderr] 4 | #[auto_impl(&, &mut)] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [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/fn_associated_const.rs ... mismatch [INFO] [stderr] [INFO] [stderr] EXPECTED: [INFO] [stderr] ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈ [INFO] [stderr] error: this trait cannot be auto-implemented for Fn-traits (only traits with exactly one method and no other items are allowed) [INFO] [stderr] --> $DIR/fn_associated_const.rs:5:1 [INFO] [stderr] | [INFO] [stderr] 5 | trait Foo { [INFO] [stderr] | ^^^^^ [INFO] [stderr] [INFO] [stderr] error: the trait `Foo` cannot be auto-implemented for Fn-traits, because it has associated consts [INFO] [stderr] [INFO] [stderr] = note: only traits with a single method can be implemented for Fn-traits [INFO] [stderr] [INFO] [stderr] --> $DIR/fn_associated_const.rs:6:5 [INFO] [stderr] | [INFO] [stderr] 6 | const LEN: usize; [INFO] [stderr] | ^^^^^ [INFO] [stderr] ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈ [INFO] [stderr] [INFO] [stderr] ACTUAL OUTPUT: [INFO] [stderr] ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈ [INFO] [stderr] error: this trait cannot be auto-implemented for Fn-traits (only traits with exactly one method and no other items are allowed) [INFO] [stderr] --> tests/compile-fail/fn_associated_const.rs:5:1 [INFO] [stderr] | [INFO] [stderr] 5 | trait Foo { [INFO] [stderr] | ^^^^^ [INFO] [stderr] [INFO] [stderr] error: the trait `Foo` cannot be auto-implemented for Fn-traits, because it has associated consts [INFO] [stderr] [INFO] [stderr] = note: only traits with a single method can be implemented for Fn-traits [INFO] [stderr] [INFO] [stderr] --> tests/compile-fail/fn_associated_const.rs:6:5 [INFO] [stderr] | [INFO] [stderr] 6 | const LEN: usize; [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/fn_associated_type.rs ... mismatch [INFO] [stderr] [INFO] [stderr] EXPECTED: [INFO] [stderr] ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈ [INFO] [stderr] error: this trait cannot be auto-implemented for Fn-traits (only traits with exactly one method and no other items are allowed) [INFO] [stderr] --> $DIR/fn_associated_type.rs:5:1 [INFO] [stderr] | [INFO] [stderr] 5 | trait Foo { [INFO] [stderr] | ^^^^^ [INFO] [stderr] [INFO] [stderr] error: the trait `Foo` cannot be auto-implemented for Fn-traits, because it has associated types [INFO] [stderr] [INFO] [stderr] = note: only traits with a single method can be implemented for Fn-traits [INFO] [stderr] [INFO] [stderr] --> $DIR/fn_associated_type.rs:6:5 [INFO] [stderr] | [INFO] [stderr] 6 | type Out; [INFO] [stderr] | ^^^^ [INFO] [stderr] ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈ [INFO] [stderr] [INFO] [stderr] ACTUAL OUTPUT: [INFO] [stderr] ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈ [INFO] [stderr] error: this trait cannot be auto-implemented for Fn-traits (only traits with exactly one method and no other items are allowed) [INFO] [stderr] --> tests/compile-fail/fn_associated_type.rs:5:1 [INFO] [stderr] | [INFO] [stderr] 5 | trait Foo { [INFO] [stderr] | ^^^^^ [INFO] [stderr] [INFO] [stderr] error: the trait `Foo` cannot be auto-implemented for Fn-traits, because it has associated types [INFO] [stderr] [INFO] [stderr] = note: only traits with a single method can be implemented for Fn-traits [INFO] [stderr] [INFO] [stderr] --> tests/compile-fail/fn_associated_type.rs:6:5 [INFO] [stderr] | [INFO] [stderr] 6 | type Out; [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/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 ... mismatch [INFO] [stderr] [INFO] [stderr] EXPECTED: [INFO] [stderr] ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈ [INFO] [stderr] error: the trait `Foo` cannot be auto-implemented for Arc, because this method has a `&mut self` receiver [INFO] [stderr] [INFO] [stderr] = note: only `&self` and no receiver are allowed [INFO] [stderr] [INFO] [stderr] --> $DIR/mut_self_for_arc.rs:6:5 [INFO] [stderr] | [INFO] [stderr] 6 | fn foo(&mut self); [INFO] [stderr] | ^^ [INFO] [stderr] ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈ [INFO] [stderr] [INFO] [stderr] ACTUAL OUTPUT: [INFO] [stderr] ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈ [INFO] [stderr] error: the trait `Foo` cannot be auto-implemented for Arc, because this method has a `&mut self` receiver [INFO] [stderr] [INFO] [stderr] = note: only `&self` and no receiver are allowed [INFO] [stderr] [INFO] [stderr] --> tests/compile-fail/mut_self_for_arc.rs:6:5 [INFO] [stderr] | [INFO] [stderr] 6 | fn foo(&mut self); [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/mut_self_for_immutable_ref.rs ... mismatch [INFO] [stderr] [INFO] [stderr] EXPECTED: [INFO] [stderr] ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈ [INFO] [stderr] error: the trait `Foo` cannot be auto-implemented for immutable references, because this method has a `&mut self` receiver [INFO] [stderr] [INFO] [stderr] = note: only `&self` and no receiver are allowed [INFO] [stderr] [INFO] [stderr] --> $DIR/mut_self_for_immutable_ref.rs:6:5 [INFO] [stderr] | [INFO] [stderr] 6 | fn foo(&mut self); [INFO] [stderr] | ^^ [INFO] [stderr] ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈ [INFO] [stderr] [INFO] [stderr] ACTUAL OUTPUT: [INFO] [stderr] ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈ [INFO] [stderr] error: the trait `Foo` cannot be auto-implemented for immutable references, because this method has a `&mut self` receiver [INFO] [stderr] [INFO] [stderr] = note: only `&self` and no receiver are allowed [INFO] [stderr] [INFO] [stderr] --> tests/compile-fail/mut_self_for_immutable_ref.rs:6:5 [INFO] [stderr] | [INFO] [stderr] 6 | fn foo(&mut self); [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/mut_self_for_rc.rs ... mismatch [INFO] [stderr] [INFO] [stderr] EXPECTED: [INFO] [stderr] ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈ [INFO] [stderr] error: the trait `Foo` cannot be auto-implemented for Rc, because this method has a `&mut self` receiver [INFO] [stderr] [INFO] [stderr] = note: only `&self` and no receiver are allowed [INFO] [stderr] [INFO] [stderr] --> $DIR/mut_self_for_rc.rs:6:5 [INFO] [stderr] | [INFO] [stderr] 6 | fn foo(&mut self); [INFO] [stderr] | ^^ [INFO] [stderr] ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈ [INFO] [stderr] [INFO] [stderr] ACTUAL OUTPUT: [INFO] [stderr] ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈ [INFO] [stderr] error: the trait `Foo` cannot be auto-implemented for Rc, because this method has a `&mut self` receiver [INFO] [stderr] [INFO] [stderr] = note: only `&self` and no receiver are allowed [INFO] [stderr] [INFO] [stderr] --> tests/compile-fail/mut_self_for_rc.rs:6:5 [INFO] [stderr] | [INFO] [stderr] 6 | fn foo(&mut self); [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/super_trait_not_implemented.rs ... mismatch [INFO] [stderr] [INFO] [stderr] EXPECTED: [INFO] [stderr] ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈ [INFO] [stderr] error[E0277]: the trait bound `Box: Supi` is not satisfied [INFO] [stderr] --> $DIR/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] = note: required because of the requirements on the impl of `Foo` for `Box` [INFO] [stderr] note: required by a bound in `requires_foo` [INFO] [stderr] --> $DIR/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] ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈ [INFO] [stderr] [INFO] [stderr] ACTUAL OUTPUT: [INFO] [stderr] ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈ [INFO] [stderr] error[E0277]: the trait bound `Box: Supi` 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 because of the requirements on the impl of `Foo` for `Box` [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] | ^^^ [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] ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈ [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 ... ok [INFO] [stderr] test tests/compile-fail/value_self_for_immutable_ref.rs ... mismatch [INFO] [stderr] [INFO] [stderr] EXPECTED: [INFO] [stderr] ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈ [INFO] [stderr] error: the trait `Foo` cannot be auto-implemented for immutable references, because this method has a `self` receiver [INFO] [stderr] [INFO] [stderr] = note: only `&self` and no receiver are allowed [INFO] [stderr] [INFO] [stderr] --> $DIR/value_self_for_immutable_ref.rs:6:5 [INFO] [stderr] | [INFO] [stderr] 6 | fn foo(self); [INFO] [stderr] | ^^ [INFO] [stderr] ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈ [INFO] [stderr] [INFO] [stderr] ACTUAL OUTPUT: [INFO] [stderr] ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈ [INFO] [stderr] error: the trait `Foo` cannot be auto-implemented for immutable references, because this method has a `self` receiver [INFO] [stderr] [INFO] [stderr] = note: only `&self` and no receiver are allowed [INFO] [stderr] [INFO] [stderr] --> tests/compile-fail/value_self_for_immutable_ref.rs:6:5 [INFO] [stderr] | [INFO] [stderr] 6 | fn foo(self); [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/value_self_for_mutable_ref.rs ... mismatch [INFO] [stderr] [INFO] [stderr] EXPECTED: [INFO] [stderr] ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈ [INFO] [stderr] error: the trait `Foo` cannot be auto-implemented for mutable references, because this method has a `self` receiver [INFO] [stderr] [INFO] [stderr] = note: only `&self`, `&mut self` and no receiver are allowed [INFO] [stderr] [INFO] [stderr] --> $DIR/value_self_for_mutable_ref.rs:6:5 [INFO] [stderr] | [INFO] [stderr] 6 | fn foo(self); [INFO] [stderr] | ^^ [INFO] [stderr] ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈ [INFO] [stderr] [INFO] [stderr] ACTUAL OUTPUT: [INFO] [stderr] ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈ [INFO] [stderr] error: the trait `Foo` cannot be auto-implemented for mutable references, because this method has a `self` receiver [INFO] [stderr] [INFO] [stderr] = note: only `&self`, `&mut self` and no receiver are allowed [INFO] [stderr] [INFO] [stderr] --> tests/compile-fail/value_self_for_mutable_ref.rs:6:5 [INFO] [stderr] | [INFO] [stderr] 6 | fn foo(self); [INFO] [stderr] | ^^ [INFO] [stderr] ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈ [INFO] [stderr] note: If the actual output is the correct output you can bless it by rerunning [INFO] [stderr] your test with the environment variable TRYBUILD=overwrite [INFO] [stderr] [INFO] [stderr] [INFO] [stderr] [INFO] [stdout] test ui_compile_fail ... FAILED [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling proc-macro2 v1.0.32 [INFO] [stderr] Compiling quote v1.0.10 [INFO] [stderr] Compiling syn v1.0.81 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling auto_impl-tests v0.0.0 (/opt/rustwide/target/tests/auto_impl) [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 10.77s [INFO] [stderr] [INFO] [stderr] [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] [stdout] test ui_compile_pass has been running for over 60 seconds [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/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/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] [stdout] test ui_compile_pass ... ok [INFO] [stderr] test tests/compile-pass/value_self_for_fn_once.rs ... ok [INFO] [stdout] [INFO] [stderr] [INFO] [stdout] failures: [INFO] [stderr] [INFO] [stdout] [INFO] [stdout] ---- ui_compile_fail stdout ---- [INFO] [stdout] thread 'ui_compile_fail' panicked at '14 of 20 tests failed', /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/trybuild-1.0.52/src/run.rs:74:13 [INFO] [stdout] stack backtrace: [INFO] [stdout] 0: 0x562fb4180ecd - std::backtrace_rs::backtrace::libunwind::trace::ha359b7f0090e2792 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/std/src/../../backtrace/src/backtrace/libunwind.rs:93:5 [INFO] [stdout] 1: 0x562fb4180ecd - std::backtrace_rs::backtrace::trace_unsynchronized::h0584631f25c1d70e [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/std/src/../../backtrace/src/backtrace/mod.rs:66:5 [INFO] [stdout] 2: 0x562fb4180ecd - std::sys_common::backtrace::_print_fmt::hdadffd97d279ff14 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/std/src/sys_common/backtrace.rs:66:5 [INFO] [stdout] 3: 0x562fb4180ecd - ::fmt::h26f189e611080a74 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/std/src/sys_common/backtrace.rs:45:22 [INFO] [stdout] 4: 0x562fb41a593c - core::fmt::write::hfb5d11dfe037e8b7 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/core/src/fmt/mod.rs:1194:17 [INFO] [stdout] 5: 0x562fb417ca81 - std::io::Write::write_fmt::h6a24ec64406df9e2 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/std/src/io/mod.rs:1655:15 [INFO] [stdout] 6: 0x562fb4182c15 - std::sys_common::backtrace::_print::h7a0e44402913ba60 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/std/src/sys_common/backtrace.rs:48:5 [INFO] [stdout] 7: 0x562fb4182c15 - std::sys_common::backtrace::print::h9767dc455a84e728 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/std/src/sys_common/backtrace.rs:35:9 [INFO] [stdout] 8: 0x562fb4182c15 - std::panicking::default_hook::{{closure}}::h60afd6c8b12988ad [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/std/src/panicking.rs:295:22 [INFO] [stdout] 9: 0x562fb4182904 - std::panicking::default_hook::ha7b9bac6813f9d21 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/std/src/panicking.rs:311:9 [INFO] [stdout] 10: 0x562fb4183162 - std::panicking::rust_panic_with_hook::h7b117a162a6f8664 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/std/src/panicking.rs:698:17 [INFO] [stdout] 11: 0x562fb4183047 - std::panicking::begin_panic_handler::{{closure}}::h346750923c608600 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/std/src/panicking.rs:588:13 [INFO] [stdout] 12: 0x562fb4181384 - std::sys_common::backtrace::__rust_end_short_backtrace::h768c56c6a0c055c0 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/std/src/sys_common/backtrace.rs:138:18 [INFO] [stdout] 13: 0x562fb4182d79 - rust_begin_unwind [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/std/src/panicking.rs:584:5 [INFO] [stdout] 14: 0x562fb3f17573 - core::panicking::panic_fmt::h5c41cb2fa118fdbc [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/core/src/panicking.rs:143:14 [INFO] [stdout] 15: 0x562fb3fa591d - trybuild::run::::run::h18e5596841485b95 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/trybuild-1.0.52/src/run.rs:74:13 [INFO] [stdout] 16: 0x562fb3faa034 - ::drop::hc2d5b58161657ae9 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/trybuild-1.0.52/src/lib.rs:306:13 [INFO] [stdout] 17: 0x562fb3f188a7 - core::ptr::drop_in_place::h0ccda6877ab96779 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/core/src/ptr/mod.rs:448:1 [INFO] [stdout] 18: 0x562fb3f186bd - ui::ui_compile_fail::hfda05719ae30cf87 [INFO] [stdout] at /opt/rustwide/workdir/tests/ui.rs:13:1 [INFO] [stdout] 19: 0x562fb3f1865a - ui::ui_compile_fail::{{closure}}::h59769984c5bd598f [INFO] [stdout] at /opt/rustwide/workdir/tests/ui.rs:10:1 [INFO] [stdout] 20: 0x562fb3f1883e - core::ops::function::FnOnce::call_once::h5e72a4a417a7fb15 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/core/src/ops/function.rs:227:5 [INFO] [stdout] 21: 0x562fb3f4dc63 - core::ops::function::FnOnce::call_once::h018fc248431ce8de [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/core/src/ops/function.rs:227:5 [INFO] [stdout] 22: 0x562fb3f4dc63 - test::__rust_begin_short_backtrace::h293b982b6069d6e3 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/test/src/lib.rs:574:5 [INFO] [stdout] 23: 0x562fb3f4ca19 - as core::ops::function::FnOnce>::call_once::h4fc1be1a762c7a46 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/alloc/src/boxed.rs:1861:9 [INFO] [stdout] 24: 0x562fb3f4ca19 - as core::ops::function::FnOnce<()>>::call_once::hd44623ec51b9e897 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/core/src/panic/unwind_safe.rs:271:9 [INFO] [stdout] 25: 0x562fb3f4ca19 - std::panicking::try::do_call::ha8cfa4b025f5b832 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/std/src/panicking.rs:492:40 [INFO] [stdout] 26: 0x562fb3f4ca19 - std::panicking::try::h664f75e41c112145 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/std/src/panicking.rs:456:19 [INFO] [stdout] 27: 0x562fb3f4ca19 - std::panic::catch_unwind::h4932ec05cd60558e [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/std/src/panic.rs:137:14 [INFO] [stdout] 28: 0x562fb3f4ca19 - test::run_test_in_process::ha14a47756671755c [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/test/src/lib.rs:597:18 [INFO] [stdout] 29: 0x562fb3f4ca19 - test::run_test::run_test_inner::{{closure}}::h0ec9e37c8f67b62d [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/test/src/lib.rs:491:39 [INFO] [stdout] 30: 0x562fb3f18bce - test::run_test::run_test_inner::{{closure}}::hd9d2e7f26d4f59e6 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/test/src/lib.rs:518:37 [INFO] [stdout] 31: 0x562fb3f18bce - std::sys_common::backtrace::__rust_begin_short_backtrace::h41c0a39fac5123f8 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/std/src/sys_common/backtrace.rs:122:18 [INFO] [stdout] 32: 0x562fb3f1e138 - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::h69a02ca0bebb6eeb [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/std/src/thread/mod.rs:498:17 [INFO] [stdout] 33: 0x562fb3f1e138 - as core::ops::function::FnOnce<()>>::call_once::hdd05632920ce689b [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/core/src/panic/unwind_safe.rs:271:9 [INFO] [stdout] 34: 0x562fb3f1e138 - std::panicking::try::do_call::hb4947142729b90fd [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/std/src/panicking.rs:492:40 [INFO] [stdout] 35: 0x562fb3f1e138 - std::panicking::try::h15a7e9b8394e6878 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/std/src/panicking.rs:456:19 [INFO] [stdout] 36: 0x562fb3f1e138 - std::panic::catch_unwind::hbd3f4a3f9df49b85 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/std/src/panic.rs:137:14 [INFO] [stdout] 37: 0x562fb3f1e138 - std::thread::Builder::spawn_unchecked_::{{closure}}::h880b5d5f1b9799f4 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/std/src/thread/mod.rs:497:30 [INFO] [stdout] 38: 0x562fb3f1e138 - core::ops::function::FnOnce::call_once{{vtable.shim}}::h304d5eaf401f5061 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/core/src/ops/function.rs:227:5 [INFO] [stdout] 39: 0x562fb4188803 - as core::ops::function::FnOnce>::call_once::hdba7f2afed0c35b3 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/alloc/src/boxed.rs:1861:9 [INFO] [stdout] 40: 0x562fb4188803 - as core::ops::function::FnOnce>::call_once::h38b0832765bf7961 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/alloc/src/boxed.rs:1861:9 [INFO] [stdout] 41: 0x562fb4188803 - std::sys::unix::thread::Thread::new::thread_start::h70236dc17753425e [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/std/src/sys/unix/thread.rs:108:17 [INFO] [stdout] 42: 0x7f36883d7609 - start_thread [INFO] [stdout] 43: 0x7f36881a7163 - clone [INFO] [stdout] 44: 0x0 - [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] ui_compile_fail [INFO] [stdout] [INFO] [stdout] test result: FAILED. 1 passed; 1 failed; 0 ignored; 0 measured; 0 filtered out; finished in 148.06s [INFO] [stdout] [INFO] [stderr] error: test failed, to rerun pass '--test ui' [INFO] running `Command { std: "docker" "inspect" "301521b1938d6130a57027e3a893ba0dfe4878074f38195b8fb03bb0e36ce355", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "301521b1938d6130a57027e3a893ba0dfe4878074f38195b8fb03bb0e36ce355", kill_on_drop: false }` [INFO] [stdout] 301521b1938d6130a57027e3a893ba0dfe4878074f38195b8fb03bb0e36ce355