[INFO] fetching crate partial-borrow 1.0.1... [INFO] testing partial-borrow-1.0.1 against try#dec9417b8611e34e787a3e4c37686b5131f9e5c5 for pr-154210-1 [INFO] extracting crate partial-borrow 1.0.1 into /workspace/builds/worker-6-tc2/source [INFO] started tweaking crates.io crate partial-borrow 1.0.1 [INFO] finished tweaking crates.io crate partial-borrow 1.0.1 [INFO] tweaked toml for crates.io crate partial-borrow 1.0.1 written to /workspace/builds/worker-6-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate partial-borrow 1.0.1 on toolchain dec9417b8611e34e787a3e4c37686b5131f9e5c5 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate partial-borrow 1.0.1 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" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] bb0e9fcd56ec1c9594c1928ec1f95776e1995c9342c05446dca6f73c22985932 [INFO] running `Command { std: "docker" "start" "-a" "bb0e9fcd56ec1c9594c1928ec1f95776e1995c9342c05446dca6f73c22985932", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "bb0e9fcd56ec1c9594c1928ec1f95776e1995c9342c05446dca6f73c22985932", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bb0e9fcd56ec1c9594c1928ec1f95776e1995c9342c05446dca6f73c22985932", kill_on_drop: false }` [INFO] [stdout] bb0e9fcd56ec1c9594c1928ec1f95776e1995c9342c05446dca6f73c22985932 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 801cb5fe08a8a0f89561f5ebd79e17a05bacece4d986ba9aa3c3cfec5806949c [INFO] running `Command { std: "docker" "start" "-a" "801cb5fe08a8a0f89561f5ebd79e17a05bacece4d986ba9aa3c3cfec5806949c", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.43 [INFO] [stderr] Compiling unicode-ident v1.0.3 [INFO] [stderr] Compiling quote v1.0.21 [INFO] [stderr] Compiling syn v1.0.99 [INFO] [stderr] Compiling version_check v0.9.4 [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Compiling strsim v0.10.0 [INFO] [stderr] Compiling ident_case v1.0.1 [INFO] [stderr] Compiling libc v0.2.132 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling hashbrown v0.12.3 [INFO] [stderr] Compiling either v1.8.0 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling indexmap v1.9.1 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling memoffset v0.6.5 [INFO] [stderr] Compiling fastrand v1.8.0 [INFO] [stderr] Compiling remove_dir_all v0.5.3 [INFO] [stderr] Compiling itertools v0.10.3 [INFO] [stderr] Compiling tempfile v3.3.0 [INFO] [stderr] Compiling darling_core v0.14.1 [INFO] [stderr] Compiling fehler-macros v1.0.0 [INFO] [stderr] Compiling fehler v1.0.0 [INFO] [stderr] Compiling darling_macro v0.14.1 [INFO] [stderr] Compiling darling v0.14.1 [INFO] [stderr] Compiling partial-borrow-macros v1.0.1 [INFO] [stderr] Compiling partial-borrow v1.0.1 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 17.17s [INFO] running `Command { std: "docker" "inspect" "801cb5fe08a8a0f89561f5ebd79e17a05bacece4d986ba9aa3c3cfec5806949c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "801cb5fe08a8a0f89561f5ebd79e17a05bacece4d986ba9aa3c3cfec5806949c", kill_on_drop: false }` [INFO] [stdout] 801cb5fe08a8a0f89561f5ebd79e17a05bacece4d986ba9aa3c3cfec5806949c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 04e120e98f379527db4a10d5aa66afa30515db8c8471ca3f16febbf69599f67a [INFO] running `Command { std: "docker" "start" "-a" "04e120e98f379527db4a10d5aa66afa30515db8c8471ca3f16febbf69599f67a", kill_on_drop: false }` [INFO] [stderr] Compiling serde v1.0.144 [INFO] [stderr] Compiling serde_derive v1.0.144 [INFO] [stderr] Compiling serde_json v1.0.85 [INFO] [stderr] Compiling trybuild v1.0.64 [INFO] [stderr] Compiling ryu v1.0.11 [INFO] [stderr] Compiling itoa v1.0.3 [INFO] [stderr] Compiling termcolor v1.1.3 [INFO] [stderr] Compiling glob v0.3.0 [INFO] [stderr] Compiling once_cell v1.14.0 [INFO] [stderr] Compiling easy-ext v1.0.0 [INFO] [stderr] Compiling toml v0.5.9 [INFO] [stderr] Compiling partial-borrow v1.0.1 (/opt/rustwide/workdir) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 15.97s [INFO] running `Command { std: "docker" "inspect" "04e120e98f379527db4a10d5aa66afa30515db8c8471ca3f16febbf69599f67a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "04e120e98f379527db4a10d5aa66afa30515db8c8471ca3f16febbf69599f67a", kill_on_drop: false }` [INFO] [stdout] 04e120e98f379527db4a10d5aa66afa30515db8c8471ca3f16febbf69599f67a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] da0bff0b3a8897f0412d4e30b1d13f81a22fdc1c216fa8d0b46038b083097660 [INFO] running `Command { std: "docker" "start" "-a" "da0bff0b3a8897f0412d4e30b1d13f81a22fdc1c216fa8d0b46038b083097660", kill_on_drop: false }` [INFO] [stdout] [INFO] [stdout] running 8 tests [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.10s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/partial_borrow-794cce24feed7d47) [INFO] [stdout] test test::treborrow::asref ... ok [INFO] [stdout] test test::treborrow::downgrade ... ok [INFO] [stdout] test test::treborrow::split_from_from ... ok [INFO] [stdout] test test::treborrow::split_into ... ok [INFO] [stdout] test test::treborrow::split_off ... ok [INFO] [stdout] test test::tgenerics::test ... ok [INFO] [stdout] test test::treborrow::split_into_into ... ok [INFO] [stderr] warning: `/opt/rustwide/target/tests/partial-borrow/.cargo/config` is deprecated in favor of `config.toml` [INFO] [stderr] | [INFO] [stderr] = help: if you need to support cargo 1.38 or earlier, you can symlink `config` to `config.toml` [INFO] [stderr] Compiling proc-macro2 v1.0.43 [INFO] [stderr] Compiling unicode-ident v1.0.3 [INFO] [stderr] Compiling quote v1.0.21 [INFO] [stderr] Compiling syn v1.0.99 [INFO] [stderr] Compiling version_check v0.9.4 [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Compiling libc v0.2.132 [INFO] [stderr] Compiling strsim v0.10.0 [INFO] [stderr] Compiling ident_case v1.0.1 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling either v1.8.0 [INFO] [stderr] Compiling fastrand v1.8.0 [INFO] [stderr] Compiling hashbrown v0.12.3 [INFO] [stderr] Compiling remove_dir_all v0.5.3 [INFO] [stderr] Compiling itertools v0.10.3 [INFO] [stderr] Compiling easy-ext v1.0.0 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling indexmap v1.9.1 [INFO] [stderr] Compiling memoffset v0.6.5 [INFO] [stderr] Compiling tempfile v3.3.0 [INFO] [stderr] Compiling darling_core v0.14.1 [INFO] [stderr] Compiling fehler-macros v1.0.0 [INFO] [stderr] Compiling darling_macro v0.14.1 [INFO] [stderr] Compiling darling v0.14.1 [INFO] [stderr] Compiling fehler v1.0.0 [INFO] [stderr] Compiling partial-borrow-macros v1.0.1 [INFO] [stderr] Checking partial-borrow v1.0.1 (/opt/rustwide/workdir) [INFO] [stderr] Checking partial-borrow-tests v0.0.0 (/opt/rustwide/target/tests/partial-borrow) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 22.61s [INFO] [stderr] [INFO] [stderr] [INFO] [stderr] test reject/autobad-deref-field-const-mut.rs ... mismatch [INFO] [stderr] [INFO] [stderr] EXPECTED: [INFO] [stderr] ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈ [INFO] [stderr] error[E0596]: cannot borrow data in dereference of `F_a` as mutable [INFO] [stderr] --> $DIR/autobad-deref-field-const-mut.rs:15:24 [INFO] [stderr] | [INFO] [stderr] 15 | let _f: &mut usize = &mut *d.a; [INFO] [stderr] | ^^^^^^^^^ cannot borrow as mutable [INFO] [stderr] | [INFO] [stderr] = help: trait `DerefMut` is required to modify through a dereference, but it is not implemented for `F_a` [INFO] [stderr] ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈ [INFO] [stderr] [INFO] [stderr] ACTUAL OUTPUT: [INFO] [stderr] ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈ [INFO] [stderr] error[E0596]: cannot borrow data in dereference of `F_a` as mutable [INFO] [stderr] --> reject/autobad-deref-field-const-mut.rs:15:24 [INFO] [stderr] | [INFO] [stderr] 15 | let _f: &mut usize = &mut *d.a; [INFO] [stderr] | ^^^^^^^^^ cannot borrow as mutable [INFO] [stderr] | [INFO] [stderr] = help: trait `DerefMut` is required to modify through a dereference, but it is not implemented for `F_a` [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 reject/autobad-deref-field-no-const.rs ... mismatch [INFO] [stderr] [INFO] [stderr] EXPECTED: [INFO] [stderr] ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈ [INFO] [stderr] error[E0614]: type `F_a` cannot be dereferenced [INFO] [stderr] --> $DIR/autobad-deref-field-no-const.rs:15:23 [INFO] [stderr] | [INFO] [stderr] 15 | let _f: & usize = & *d.a; [INFO] [stderr] | ^^^^ [INFO] [stderr] ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈ [INFO] [stderr] [INFO] [stderr] ACTUAL OUTPUT: [INFO] [stderr] ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈ [INFO] [stderr] error[E0614]: type `F_a` cannot be dereferenced [INFO] [stderr] --> reject/autobad-deref-field-no-const.rs:15:23 [INFO] [stderr] | [INFO] [stderr] 15 | let _f: & usize = & *d.a; [INFO] [stderr] | ^^^^ can't be dereferenced [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 reject/autobad-deref-field-no-mut.rs ... mismatch [INFO] [stderr] [INFO] [stderr] EXPECTED: [INFO] [stderr] ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈ [INFO] [stderr] error[E0614]: type `F_a` cannot be dereferenced [INFO] [stderr] --> $DIR/autobad-deref-field-no-mut.rs:15:29 [INFO] [stderr] | [INFO] [stderr] 15 | let _f: &mut usize = &mut *d.a; [INFO] [stderr] | ^^^^ [INFO] [stderr] ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈ [INFO] [stderr] [INFO] [stderr] ACTUAL OUTPUT: [INFO] [stderr] ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈ [INFO] [stderr] error[E0614]: type `F_a` cannot be dereferenced [INFO] [stderr] --> reject/autobad-deref-field-no-mut.rs:15:29 [INFO] [stderr] | [INFO] [stderr] 15 | let _f: &mut usize = &mut *d.a; [INFO] [stderr] | ^^^^ can't be dereferenced [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 reject/autobad-deref-whole-const-mut.rs ... mismatch [INFO] [stderr] [INFO] [stderr] EXPECTED: [INFO] [stderr] ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈ [INFO] [stderr] error[E0596]: cannot borrow data in dereference of `X__Partial` as mutable [INFO] [stderr] --> $DIR/autobad-deref-whole-const-mut.rs:15:20 [INFO] [stderr] | [INFO] [stderr] 15 | let _o: &mut X = &mut **d; [INFO] [stderr] | ^^^^^^^^ cannot borrow as mutable [INFO] [stderr] | [INFO] [stderr] = help: trait `DerefMut` is required to modify through a dereference, but it is not implemented for `X__Partial` [INFO] [stderr] ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈ [INFO] [stderr] [INFO] [stderr] ACTUAL OUTPUT: [INFO] [stderr] ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈ [INFO] [stderr] error[E0596]: cannot borrow data in dereference of `X__Partial` as mutable [INFO] [stderr] --> reject/autobad-deref-whole-const-mut.rs:15:20 [INFO] [stderr] | [INFO] [stderr] 15 | let _o: &mut X = &mut **d; [INFO] [stderr] | ^^^^^^^^ cannot borrow as mutable [INFO] [stderr] | [INFO] [stderr] = help: trait `DerefMut` is required to modify through a dereference, but it is not implemented for `X__Partial` [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 reject/autobad-deref-whole-no-const.rs ... mismatch [INFO] [stderr] [INFO] [stderr] EXPECTED: [INFO] [stderr] ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈ [INFO] [stderr] error[E0614]: type `X__Partial` cannot be dereferenced [INFO] [stderr] --> $DIR/autobad-deref-whole-no-const.rs:15:19 [INFO] [stderr] | [INFO] [stderr] 15 | let _o: & X = & **d; [INFO] [stderr] | ^^^ [INFO] [stderr] ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈ [INFO] [stderr] [INFO] [stderr] ACTUAL OUTPUT: [INFO] [stderr] ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈ [INFO] [stderr] error[E0614]: type `X__Partial` cannot be dereferenced [INFO] [stderr] --> reject/autobad-deref-whole-no-const.rs:15:19 [INFO] [stderr] | [INFO] [stderr] 15 | let _o: & X = & **d; [INFO] [stderr] | ^^^ can't be dereferenced [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 reject/autobad-deref-whole-no-mut.rs ... mismatch [INFO] [stderr] [INFO] [stderr] EXPECTED: [INFO] [stderr] ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈ [INFO] [stderr] error[E0614]: type `X__Partial` cannot be dereferenced [INFO] [stderr] --> $DIR/autobad-deref-whole-no-mut.rs:15:25 [INFO] [stderr] | [INFO] [stderr] 15 | let _o: &mut X = &mut **d; [INFO] [stderr] | ^^^ [INFO] [stderr] ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈ [INFO] [stderr] [INFO] [stderr] ACTUAL OUTPUT: [INFO] [stderr] ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈ [INFO] [stderr] error[E0614]: type `X__Partial` cannot be dereferenced [INFO] [stderr] --> reject/autobad-deref-whole-no-mut.rs:15:25 [INFO] [stderr] | [INFO] [stderr] 15 | let _o: &mut X = &mut **d; [INFO] [stderr] | ^^^ can't be dereferenced [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 reject/autobad-dg-const-mut.rs ... mismatch [INFO] [stderr] [INFO] [stderr] EXPECTED: [INFO] [stderr] ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈ [INFO] [stderr] error[E0277]: the trait bound `Mut: IsDowngradeFrom` is not satisfied [INFO] [stderr] --> $DIR/autobad-dg-const-mut.rs:15:37 [INFO] [stderr] | [INFO] [stderr] 15 | let e: &mut partial!(X mut a) = d.as_mut(); [INFO] [stderr] | ^^^^^^ the trait `IsDowngradeFrom` is not implemented for `Mut` [INFO] [stderr] | [INFO] [stderr] = help: the trait `IsDowngradeFrom` is implemented for `Mut` [INFO] [stderr] note: required because of the requirements on the impl of `AsMut>` for `X__Partial` [INFO] [stderr] --> $DIR/autobad-dg-const-mut.rs:9:10 [INFO] [stderr] | [INFO] [stderr] 9 | #[derive(PartialBorrow,Default)] [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] = note: this error originates in the derive macro `PartialBorrow` (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 trait bound `Mut: IsDowngradeFrom` is not satisfied [INFO] [stderr] --> reject/autobad-dg-const-mut.rs:15:37 [INFO] [stderr] | [INFO] [stderr] 15 | let e: &mut partial!(X mut a) = d.as_mut(); [INFO] [stderr] | ^^^^^^ the trait `partial_borrow::perms::IsDowngradeFrom` is not implemented for `partial_borrow::perms::Mut` [INFO] [stderr] | [INFO] [stderr] help: the trait `IsDowngradeFrom` is not implemented for `partial_borrow::perms::Mut` [INFO] [stderr] but trait `IsDowngradeFrom` is implemented for it [INFO] [stderr] --> src/lib.rs [INFO] [stderr] | [INFO] [stderr] | unsafe impl IsDowngradeFrom for Mut { type Remaining = No; } [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] = help: for that trait implementation, expected `partial_borrow::perms::Mut`, found `partial_borrow::perms::Const` [INFO] [stderr] note: required for `X__Partial` to implement `AsMut>` [INFO] [stderr] --> reject/autobad-dg-const-mut.rs:9:10 [INFO] [stderr] | [INFO] [stderr] 9 | #[derive(PartialBorrow,Default)] [INFO] [stderr] | ^^^^^^^^^^^^^ type parameter would need to implement `AsMut>` [INFO] [stderr] = help: consider manually implementing `AsMut>` to avoid undesired bounds [INFO] [stderr] = note: the full name for the type has been written to '/opt/rustwide/target/tests/target/x86_64-unknown-linux-gnu/debug/deps/$CRATE-ade2e39f6c59f0fd.long-type-15897300064508192274.txt' [INFO] [stderr] = note: consider using `--verbose` to print the full type name to the console [INFO] [stderr] = note: this error originates in the derive macro `PartialBorrow` (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 reject/autobad-dg-no-const.rs ... mismatch [INFO] [stderr] [INFO] [stderr] EXPECTED: [INFO] [stderr] ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈ [INFO] [stderr] error[E0277]: the trait bound `Const: IsDowngradeFrom` is not satisfied [INFO] [stderr] --> $DIR/autobad-dg-no-const.rs:15:39 [INFO] [stderr] | [INFO] [stderr] 15 | let e: &mut partial!(X const a) = d.as_mut(); [INFO] [stderr] | ^^^^^^ the trait `IsDowngradeFrom` is not implemented for `Const` [INFO] [stderr] | [INFO] [stderr] = help: the following other types implement trait `IsDowngradeFrom

`: [INFO] [stderr] > [INFO] [stderr] > [INFO] [stderr] note: required because of the requirements on the impl of `AsMut>` for `X__Partial` [INFO] [stderr] --> $DIR/autobad-dg-no-const.rs:9:10 [INFO] [stderr] | [INFO] [stderr] 9 | #[derive(PartialBorrow,Default)] [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] = note: this error originates in the derive macro `PartialBorrow` (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 trait bound `Const: IsDowngradeFrom` is not satisfied [INFO] [stderr] --> reject/autobad-dg-no-const.rs:15:39 [INFO] [stderr] | [INFO] [stderr] 15 | let e: &mut partial!(X const a) = d.as_mut(); [INFO] [stderr] | ^^^^^^ the trait `partial_borrow::perms::IsDowngradeFrom` is not implemented for `partial_borrow::perms::Const` [INFO] [stderr] | [INFO] [stderr] help: the following other types implement trait `partial_borrow::perms::IsDowngradeFrom

` [INFO] [stderr] --> src/lib.rs [INFO] [stderr] | [INFO] [stderr] | unsafe impl IsDowngradeFrom for Const { type Remaining = Const; } [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `partial_borrow::perms::Const` implements `partial_borrow::perms::IsDowngradeFrom` [INFO] [stderr] ... [INFO] [stderr] | unsafe impl IsDowngradeFrom for Const { type Remaining = Const; } [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `partial_borrow::perms::Const` implements `partial_borrow::perms::IsDowngradeFrom` [INFO] [stderr] note: required for `X__Partial` to implement `AsMut>` [INFO] [stderr] --> reject/autobad-dg-no-const.rs:9:10 [INFO] [stderr] | [INFO] [stderr] 9 | #[derive(PartialBorrow,Default)] [INFO] [stderr] | ^^^^^^^^^^^^^ type parameter would need to implement `AsMut>` [INFO] [stderr] = help: consider manually implementing `AsMut>` to avoid undesired bounds [INFO] [stderr] = note: the full name for the type has been written to '/opt/rustwide/target/tests/target/x86_64-unknown-linux-gnu/debug/deps/$CRATE-bfc98b305769527b.long-type-10303377120061160292.txt' [INFO] [stderr] = note: consider using `--verbose` to print the full type name to the console [INFO] [stderr] = note: this error originates in the derive macro `PartialBorrow` (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 reject/autobad-dg-no-mut.rs ... mismatch [INFO] [stderr] [INFO] [stderr] EXPECTED: [INFO] [stderr] ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈ [INFO] [stderr] error[E0277]: the trait bound `Mut: IsDowngradeFrom` is not satisfied [INFO] [stderr] --> $DIR/autobad-dg-no-mut.rs:15:37 [INFO] [stderr] | [INFO] [stderr] 15 | let e: &mut partial!(X mut a) = d.as_mut(); [INFO] [stderr] | ^^^^^^ the trait `IsDowngradeFrom` is not implemented for `Mut` [INFO] [stderr] | [INFO] [stderr] = help: the trait `IsDowngradeFrom` is implemented for `Mut` [INFO] [stderr] note: required because of the requirements on the impl of `AsMut>` for `X__Partial` [INFO] [stderr] --> $DIR/autobad-dg-no-mut.rs:9:10 [INFO] [stderr] | [INFO] [stderr] 9 | #[derive(PartialBorrow,Default)] [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] = note: this error originates in the derive macro `PartialBorrow` (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 trait bound `partial_borrow::perms::Mut: partial_borrow::perms::IsDowngradeFrom` is not satisfied [INFO] [stderr] --> reject/autobad-dg-no-mut.rs:15:37 [INFO] [stderr] | [INFO] [stderr] 15 | let e: &mut partial!(X mut a) = d.as_mut(); [INFO] [stderr] | ^^^^^^ the trait `partial_borrow::perms::IsDowngradeFrom` is not implemented for `partial_borrow::perms::Mut` [INFO] [stderr] | [INFO] [stderr] help: the trait `IsDowngradeFrom` is not implemented for `partial_borrow::perms::Mut` [INFO] [stderr] but trait `IsDowngradeFrom` is implemented for it [INFO] [stderr] --> src/lib.rs [INFO] [stderr] | [INFO] [stderr] | unsafe impl IsDowngradeFrom for Mut { type Remaining = No; } [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] = help: for that trait implementation, expected `partial_borrow::perms::Mut`, found `partial_borrow::perms::No` [INFO] [stderr] note: required for `X__Partial` to implement `AsMut>` [INFO] [stderr] --> reject/autobad-dg-no-mut.rs:9:10 [INFO] [stderr] | [INFO] [stderr] 9 | #[derive(PartialBorrow,Default)] [INFO] [stderr] | ^^^^^^^^^^^^^ type parameter would need to implement `AsMut>` [INFO] [stderr] = help: consider manually implementing `AsMut>` to avoid undesired bounds [INFO] [stderr] = note: this error originates in the derive macro `PartialBorrow` (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 reject/autobad-split-const-const-mut.rs ... mismatch [INFO] [stderr] [INFO] [stderr] EXPECTED: [INFO] [stderr] ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈ [INFO] [stderr] error[E0277]: the trait bound `Const: CanSplitInto` is not satisfied [INFO] [stderr] --> $DIR/autobad-split-const-const-mut.rs:14:43 [INFO] [stderr] | [INFO] [stderr] 14 | &mut partial!(X mut a)) = i.into(); [INFO] [stderr] | ^^^^ the trait `CanSplitInto` is not implemented for `Const` [INFO] [stderr] | [INFO] [stderr] = help: the following other types implement trait `CanSplitInto`: [INFO] [stderr] > [INFO] [stderr] > [INFO] [stderr] > [INFO] [stderr] > [INFO] [stderr] note: required because of the requirements on the impl of `From<&mut X__Partial>` for `(&mut X__Partial, &mut X__Partial)` [INFO] [stderr] --> $DIR/autobad-split-const-const-mut.rs:7:10 [INFO] [stderr] | [INFO] [stderr] 7 | #[derive(PartialBorrow,Default)] [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] = note: required because of the requirements on the impl of `Into<(&mut X__Partial, &mut X__Partial)>` for `&mut X__Partial` [INFO] [stderr] = note: this error originates in the derive macro `PartialBorrow` (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 trait bound `Const: CanSplitInto` is not satisfied [INFO] [stderr] --> reject/autobad-split-const-const-mut.rs:14:43 [INFO] [stderr] | [INFO] [stderr] 14 | &mut partial!(X mut a)) = i.into(); [INFO] [stderr] | ^^^^ unsatisfied trait bound [INFO] [stderr] | [INFO] [stderr] = help: the trait `partial_borrow::perms::CanSplitInto` is not implemented for `partial_borrow::perms::Const` [INFO] [stderr] help: the following other types implement trait `partial_borrow::perms::CanSplitInto` [INFO] [stderr] --> src/lib.rs [INFO] [stderr] | [INFO] [stderr] | unsafe impl CanSplitInto for Const { } [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `partial_borrow::perms::Const` implements `CanSplitInto` [INFO] [stderr] | unsafe impl CanSplitInto for Const { } [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `partial_borrow::perms::Const` implements `partial_borrow::perms::CanSplitInto` [INFO] [stderr] | unsafe impl CanSplitInto for Const { } [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `partial_borrow::perms::Const` implements `partial_borrow::perms::CanSplitInto` [INFO] [stderr] | unsafe impl CanSplitInto for Const { } [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `partial_borrow::perms::Const` implements `partial_borrow::perms::CanSplitInto` [INFO] [stderr] note: required for `(&mut X__Partial, &mut X__Partial)` to implement `From<&mut X__Partial>` [INFO] [stderr] --> reject/autobad-split-const-const-mut.rs:7:10 [INFO] [stderr] | [INFO] [stderr] 7 | #[derive(PartialBorrow,Default)] [INFO] [stderr] | ^^^^^^^^^^^^^ type parameter would need to implement `From<&mut X__Partial>` [INFO] [stderr] = help: consider manually implementing `From<&mut X__Partial>` to avoid undesired bounds [INFO] [stderr] = note: required for `&mut X__Partial` to implement `Into<(&mut X__Partial, &mut X__Partial)>` [INFO] [stderr] = note: the full name for the type has been written to '/opt/rustwide/target/tests/target/x86_64-unknown-linux-gnu/debug/deps/$CRATE-8f015cfcee0d3036.long-type-18154515159352949281.txt' [INFO] [stderr] = note: consider using `--verbose` to print the full type name to the console [INFO] [stderr] = note: this error originates in the derive macro `PartialBorrow` (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 reject/autobad-split-const-mut-const.rs ... mismatch [INFO] [stderr] [INFO] [stderr] EXPECTED: [INFO] [stderr] ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈ [INFO] [stderr] error[E0277]: the trait bound `Const: CanSplitInto` is not satisfied [INFO] [stderr] --> $DIR/autobad-split-const-mut-const.rs:16:45 [INFO] [stderr] | [INFO] [stderr] 16 | &mut partial!(X const a)) = i.into(); [INFO] [stderr] | ^^^^ the trait `CanSplitInto` is not implemented for `Const` [INFO] [stderr] | [INFO] [stderr] = help: the following other types implement trait `CanSplitInto`: [INFO] [stderr] > [INFO] [stderr] > [INFO] [stderr] > [INFO] [stderr] > [INFO] [stderr] note: required because of the requirements on the impl of `From<&mut X__Partial>` for `(&mut X__Partial, &mut X__Partial)` [INFO] [stderr] --> $DIR/autobad-split-const-mut-const.rs:9:10 [INFO] [stderr] | [INFO] [stderr] 9 | #[derive(PartialBorrow,Default)] [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] = note: required because of the requirements on the impl of `Into<(&mut X__Partial, &mut X__Partial)>` for `&mut X__Partial` [INFO] [stderr] = note: this error originates in the derive macro `PartialBorrow` (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 trait bound `Const: CanSplitInto` is not satisfied [INFO] [stderr] --> reject/autobad-split-const-mut-const.rs:16:45 [INFO] [stderr] | [INFO] [stderr] 16 | &mut partial!(X const a)) = i.into(); [INFO] [stderr] | ^^^^ unsatisfied trait bound [INFO] [stderr] | [INFO] [stderr] = help: the trait `partial_borrow::perms::CanSplitInto` is not implemented for `partial_borrow::perms::Const` [INFO] [stderr] help: the following other types implement trait `partial_borrow::perms::CanSplitInto` [INFO] [stderr] --> src/lib.rs [INFO] [stderr] | [INFO] [stderr] | unsafe impl CanSplitInto for Const { } [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `partial_borrow::perms::Const` implements `CanSplitInto` [INFO] [stderr] | unsafe impl CanSplitInto for Const { } [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `partial_borrow::perms::Const` implements `partial_borrow::perms::CanSplitInto` [INFO] [stderr] | unsafe impl CanSplitInto for Const { } [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `partial_borrow::perms::Const` implements `partial_borrow::perms::CanSplitInto` [INFO] [stderr] | unsafe impl CanSplitInto for Const { } [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `partial_borrow::perms::Const` implements `partial_borrow::perms::CanSplitInto` [INFO] [stderr] note: required for `(&mut X__Partial, &mut X__Partial)` to implement `From<&mut X__Partial>` [INFO] [stderr] --> reject/autobad-split-const-mut-const.rs:9:10 [INFO] [stderr] | [INFO] [stderr] 9 | #[derive(PartialBorrow,Default)] [INFO] [stderr] | ^^^^^^^^^^^^^ type parameter would need to implement `From<&mut X__Partial>` [INFO] [stderr] = help: consider manually implementing `From<&mut X__Partial>` to avoid undesired bounds [INFO] [stderr] = note: required for `&mut X__Partial` to implement `Into<(&mut X__Partial, &mut X__Partial)>` [INFO] [stderr] = note: the full name for the type has been written to '/opt/rustwide/target/tests/target/x86_64-unknown-linux-gnu/debug/deps/$CRATE-52383cdf30fd75ea.long-type-17214135426436021527.txt' [INFO] [stderr] = note: consider using `--verbose` to print the full type name to the console [INFO] [stderr] = note: this error originates in the derive macro `PartialBorrow` (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 reject/autobad-split-const-mut-mut.rs ... mismatch [INFO] [stderr] [INFO] [stderr] EXPECTED: [INFO] [stderr] ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈ [INFO] [stderr] error[E0277]: the trait bound `Const: CanSplitInto` is not satisfied [INFO] [stderr] --> $DIR/autobad-split-const-mut-mut.rs:16:43 [INFO] [stderr] | [INFO] [stderr] 16 | &mut partial!(X mut a)) = i.into(); [INFO] [stderr] | ^^^^ the trait `CanSplitInto` is not implemented for `Const` [INFO] [stderr] | [INFO] [stderr] = help: the following other types implement trait `CanSplitInto`: [INFO] [stderr] > [INFO] [stderr] > [INFO] [stderr] > [INFO] [stderr] > [INFO] [stderr] note: required because of the requirements on the impl of `From<&mut X__Partial>` for `(&mut X__Partial, &mut X__Partial)` [INFO] [stderr] --> $DIR/autobad-split-const-mut-mut.rs:9:10 [INFO] [stderr] | [INFO] [stderr] 9 | #[derive(PartialBorrow,Default)] [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] = note: required because of the requirements on the impl of `Into<(&mut X__Partial, &mut X__Partial)>` for `&mut X__Partial` [INFO] [stderr] = note: this error originates in the derive macro `PartialBorrow` (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 trait bound `Const: CanSplitInto` is not satisfied [INFO] [stderr] --> reject/autobad-split-const-mut-mut.rs:16:43 [INFO] [stderr] | [INFO] [stderr] 16 | &mut partial!(X mut a)) = i.into(); [INFO] [stderr] | ^^^^ unsatisfied trait bound [INFO] [stderr] | [INFO] [stderr] = help: the trait `partial_borrow::perms::CanSplitInto` is not implemented for `partial_borrow::perms::Const` [INFO] [stderr] help: the following other types implement trait `partial_borrow::perms::CanSplitInto` [INFO] [stderr] --> src/lib.rs [INFO] [stderr] | [INFO] [stderr] | unsafe impl CanSplitInto for Const { } [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `partial_borrow::perms::Const` implements `CanSplitInto` [INFO] [stderr] | unsafe impl CanSplitInto for Const { } [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `partial_borrow::perms::Const` implements `partial_borrow::perms::CanSplitInto` [INFO] [stderr] | unsafe impl CanSplitInto for Const { } [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `partial_borrow::perms::Const` implements `partial_borrow::perms::CanSplitInto` [INFO] [stderr] | unsafe impl CanSplitInto for Const { } [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `partial_borrow::perms::Const` implements `partial_borrow::perms::CanSplitInto` [INFO] [stderr] note: required for `(&mut X__Partial, &mut X__Partial)` to implement `From<&mut X__Partial>` [INFO] [stderr] --> reject/autobad-split-const-mut-mut.rs:9:10 [INFO] [stderr] | [INFO] [stderr] 9 | #[derive(PartialBorrow,Default)] [INFO] [stderr] | ^^^^^^^^^^^^^ type parameter would need to implement `From<&mut X__Partial>` [INFO] [stderr] = help: consider manually implementing `From<&mut X__Partial>` to avoid undesired bounds [INFO] [stderr] = note: required for `&mut X__Partial` to implement `Into<(&mut X__Partial, &mut X__Partial)>` [INFO] [stderr] = note: the full name for the type has been written to '/opt/rustwide/target/tests/target/x86_64-unknown-linux-gnu/debug/deps/$CRATE-ef484fdf9c8a81f7.long-type-17040767835486048620.txt' [INFO] [stderr] = note: consider using `--verbose` to print the full type name to the console [INFO] [stderr] = note: this error originates in the derive macro `PartialBorrow` (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 reject/autobad-split-const-mut-no.rs ... mismatch [INFO] [stderr] [INFO] [stderr] EXPECTED: [INFO] [stderr] ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈ [INFO] [stderr] error[E0277]: the trait bound `Const: CanSplitInto` is not satisfied [INFO] [stderr] --> $DIR/autobad-split-const-mut-no.rs:16:41 [INFO] [stderr] | [INFO] [stderr] 16 | &mut partial!(X ! a)) = i.into(); [INFO] [stderr] | ^^^^ the trait `CanSplitInto` is not implemented for `Const` [INFO] [stderr] | [INFO] [stderr] = help: the following other types implement trait `CanSplitInto`: [INFO] [stderr] > [INFO] [stderr] > [INFO] [stderr] > [INFO] [stderr] > [INFO] [stderr] note: required because of the requirements on the impl of `From<&mut X__Partial>` for `(&mut X__Partial, &mut X__Partial)` [INFO] [stderr] --> $DIR/autobad-split-const-mut-no.rs:9:10 [INFO] [stderr] | [INFO] [stderr] 9 | #[derive(PartialBorrow,Default)] [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] = note: required because of the requirements on the impl of `Into<(&mut X__Partial, &mut X__Partial)>` for `&mut X__Partial` [INFO] [stderr] = note: this error originates in the derive macro `PartialBorrow` (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 trait bound `Const: CanSplitInto` is not satisfied [INFO] [stderr] --> reject/autobad-split-const-mut-no.rs:16:41 [INFO] [stderr] | [INFO] [stderr] 16 | &mut partial!(X ! a)) = i.into(); [INFO] [stderr] | ^^^^ unsatisfied trait bound [INFO] [stderr] | [INFO] [stderr] = help: the trait `partial_borrow::perms::CanSplitInto` is not implemented for `partial_borrow::perms::Const` [INFO] [stderr] help: the following other types implement trait `partial_borrow::perms::CanSplitInto` [INFO] [stderr] --> src/lib.rs [INFO] [stderr] | [INFO] [stderr] | unsafe impl CanSplitInto for Const { } [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `partial_borrow::perms::Const` implements `CanSplitInto` [INFO] [stderr] | unsafe impl CanSplitInto for Const { } [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `partial_borrow::perms::Const` implements `partial_borrow::perms::CanSplitInto` [INFO] [stderr] | unsafe impl CanSplitInto for Const { } [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `partial_borrow::perms::Const` implements `partial_borrow::perms::CanSplitInto` [INFO] [stderr] | unsafe impl CanSplitInto for Const { } [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `partial_borrow::perms::Const` implements `partial_borrow::perms::CanSplitInto` [INFO] [stderr] note: required for `(&mut X__Partial, &mut X__Partial)` to implement `From<&mut X__Partial>` [INFO] [stderr] --> reject/autobad-split-const-mut-no.rs:9:10 [INFO] [stderr] | [INFO] [stderr] 9 | #[derive(PartialBorrow,Default)] [INFO] [stderr] | ^^^^^^^^^^^^^ type parameter would need to implement `From<&mut X__Partial>` [INFO] [stderr] = help: consider manually implementing `From<&mut X__Partial>` to avoid undesired bounds [INFO] [stderr] = note: required for `&mut X__Partial` to implement `Into<(&mut X__Partial, &mut X__Partial)>` [INFO] [stderr] = note: the full name for the type has been written to '/opt/rustwide/target/tests/target/x86_64-unknown-linux-gnu/debug/deps/$CRATE-4236a2e4720ff611.long-type-16957774472633688728.txt' [INFO] [stderr] = note: consider using `--verbose` to print the full type name to the console [INFO] [stderr] = note: this error originates in the derive macro `PartialBorrow` (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 reject/autobad-split-mut-const-mut.rs ... mismatch [INFO] [stderr] [INFO] [stderr] EXPECTED: [INFO] [stderr] ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈ [INFO] [stderr] error[E0277]: the trait bound `Mut: CanSplitInto` is not satisfied [INFO] [stderr] --> $DIR/autobad-split-mut-const-mut.rs:14:43 [INFO] [stderr] | [INFO] [stderr] 14 | &mut partial!(X mut a)) = i.into(); [INFO] [stderr] | ^^^^ the trait `CanSplitInto` is not implemented for `Mut` [INFO] [stderr] | [INFO] [stderr] = help: the following other types implement trait `CanSplitInto`: [INFO] [stderr] > [INFO] [stderr] > [INFO] [stderr] > [INFO] [stderr] > [INFO] [stderr] > [INFO] [stderr] > [INFO] [stderr] note: required because of the requirements on the impl of `From<&mut X__Partial>` for `(&mut X__Partial, &mut X__Partial)` [INFO] [stderr] --> $DIR/autobad-split-mut-const-mut.rs:7:10 [INFO] [stderr] | [INFO] [stderr] 7 | #[derive(PartialBorrow,Default)] [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] = note: required because of the requirements on the impl of `Into<(&mut X__Partial, &mut X__Partial)>` for `&mut X__Partial` [INFO] [stderr] = note: this error originates in the derive macro `PartialBorrow` (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 trait bound `Mut: CanSplitInto` is not satisfied [INFO] [stderr] --> reject/autobad-split-mut-const-mut.rs:14:43 [INFO] [stderr] | [INFO] [stderr] 14 | &mut partial!(X mut a)) = i.into(); [INFO] [stderr] | ^^^^ unsatisfied trait bound [INFO] [stderr] | [INFO] [stderr] = help: the trait `partial_borrow::perms::CanSplitInto` is not implemented for `partial_borrow::perms::Mut` [INFO] [stderr] = help: the following other types implement trait `partial_borrow::perms::CanSplitInto`: [INFO] [stderr] `partial_borrow::perms::Mut` implements `CanSplitInto` [INFO] [stderr] `partial_borrow::perms::Mut` implements `partial_borrow::perms::CanSplitInto` [INFO] [stderr] `partial_borrow::perms::Mut` implements `partial_borrow::perms::CanSplitInto` [INFO] [stderr] `partial_borrow::perms::Mut` implements `partial_borrow::perms::CanSplitInto` [INFO] [stderr] `partial_borrow::perms::Mut` implements `partial_borrow::perms::CanSplitInto` [INFO] [stderr] `partial_borrow::perms::Mut` implements `partial_borrow::perms::CanSplitInto` [INFO] [stderr] note: required for `(&mut X__Partial, &mut X__Partial)` to implement `From<&mut X__Partial>` [INFO] [stderr] --> reject/autobad-split-mut-const-mut.rs:7:10 [INFO] [stderr] | [INFO] [stderr] 7 | #[derive(PartialBorrow,Default)] [INFO] [stderr] | ^^^^^^^^^^^^^ type parameter would need to implement `From<&mut X__Partial>` [INFO] [stderr] = help: consider manually implementing `From<&mut X__Partial>` to avoid undesired bounds [INFO] [stderr] = note: required for `&mut X__Partial` to implement `Into<(&mut X__Partial, &mut X__Partial)>` [INFO] [stderr] = note: the full name for the type has been written to '/opt/rustwide/target/tests/target/x86_64-unknown-linux-gnu/debug/deps/$CRATE-7a6296e9d89928b9.long-type-1638700836924574866.txt' [INFO] [stderr] = note: consider using `--verbose` to print the full type name to the console [INFO] [stderr] = note: this error originates in the derive macro `PartialBorrow` (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 reject/autobad-split-mut-mut-const.rs ... mismatch [INFO] [stderr] [INFO] [stderr] EXPECTED: [INFO] [stderr] ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈ [INFO] [stderr] error[E0277]: the trait bound `Mut: CanSplitInto` is not satisfied [INFO] [stderr] --> $DIR/autobad-split-mut-mut-const.rs:16:45 [INFO] [stderr] | [INFO] [stderr] 16 | &mut partial!(X const a)) = i.into(); [INFO] [stderr] | ^^^^ the trait `CanSplitInto` is not implemented for `Mut` [INFO] [stderr] | [INFO] [stderr] = help: the following other types implement trait `CanSplitInto`: [INFO] [stderr] > [INFO] [stderr] > [INFO] [stderr] > [INFO] [stderr] > [INFO] [stderr] > [INFO] [stderr] > [INFO] [stderr] note: required because of the requirements on the impl of `From<&mut X__Partial>` for `(&mut X__Partial, &mut X__Partial)` [INFO] [stderr] --> $DIR/autobad-split-mut-mut-const.rs:9:10 [INFO] [stderr] | [INFO] [stderr] 9 | #[derive(PartialBorrow,Default)] [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] = note: required because of the requirements on the impl of `Into<(&mut X__Partial, &mut X__Partial)>` for `&mut X__Partial` [INFO] [stderr] = note: this error originates in the derive macro `PartialBorrow` (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 trait bound `Mut: CanSplitInto` is not satisfied [INFO] [stderr] --> reject/autobad-split-mut-mut-const.rs:16:45 [INFO] [stderr] | [INFO] [stderr] 16 | &mut partial!(X const a)) = i.into(); [INFO] [stderr] | ^^^^ unsatisfied trait bound [INFO] [stderr] | [INFO] [stderr] = help: the trait `partial_borrow::perms::CanSplitInto` is not implemented for `partial_borrow::perms::Mut` [INFO] [stderr] = help: the following other types implement trait `partial_borrow::perms::CanSplitInto`: [INFO] [stderr] `partial_borrow::perms::Mut` implements `CanSplitInto` [INFO] [stderr] `partial_borrow::perms::Mut` implements `partial_borrow::perms::CanSplitInto` [INFO] [stderr] `partial_borrow::perms::Mut` implements `partial_borrow::perms::CanSplitInto` [INFO] [stderr] `partial_borrow::perms::Mut` implements `partial_borrow::perms::CanSplitInto` [INFO] [stderr] `partial_borrow::perms::Mut` implements `partial_borrow::perms::CanSplitInto` [INFO] [stderr] `partial_borrow::perms::Mut` implements `partial_borrow::perms::CanSplitInto` [INFO] [stderr] note: required for `(&mut X__Partial, &mut X__Partial)` to implement `From<&mut X__Partial>` [INFO] [stderr] --> reject/autobad-split-mut-mut-const.rs:9:10 [INFO] [stderr] | [INFO] [stderr] 9 | #[derive(PartialBorrow,Default)] [INFO] [stderr] | ^^^^^^^^^^^^^ type parameter would need to implement `From<&mut X__Partial>` [INFO] [stderr] = help: consider manually implementing `From<&mut X__Partial>` to avoid undesired bounds [INFO] [stderr] = note: required for `&mut X__Partial` to implement `Into<(&mut X__Partial, &mut X__Partial)>` [INFO] [stderr] = note: the full name for the type has been written to '/opt/rustwide/target/tests/target/x86_64-unknown-linux-gnu/debug/deps/$CRATE-f78b8622682255ba.long-type-11760688473951851611.txt' [INFO] [stderr] = note: consider using `--verbose` to print the full type name to the console [INFO] [stderr] = note: this error originates in the derive macro `PartialBorrow` (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 reject/autobad-split-mut-mut-mut.rs ... mismatch [INFO] [stderr] [INFO] [stderr] EXPECTED: [INFO] [stderr] ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈ [INFO] [stderr] error[E0277]: the trait bound `Mut: CanSplitInto` is not satisfied [INFO] [stderr] --> $DIR/autobad-split-mut-mut-mut.rs:16:43 [INFO] [stderr] | [INFO] [stderr] 16 | &mut partial!(X mut a)) = i.into(); [INFO] [stderr] | ^^^^ the trait `CanSplitInto` is not implemented for `Mut` [INFO] [stderr] | [INFO] [stderr] = help: the following other types implement trait `CanSplitInto`: [INFO] [stderr] > [INFO] [stderr] > [INFO] [stderr] > [INFO] [stderr] > [INFO] [stderr] > [INFO] [stderr] > [INFO] [stderr] note: required because of the requirements on the impl of `From<&mut X__Partial>` for `(&mut X__Partial, &mut X__Partial)` [INFO] [stderr] --> $DIR/autobad-split-mut-mut-mut.rs:9:10 [INFO] [stderr] | [INFO] [stderr] 9 | #[derive(PartialBorrow,Default)] [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] = note: required because of the requirements on the impl of `Into<(&mut X__Partial, &mut X__Partial)>` for `&mut X__Partial` [INFO] [stderr] = note: this error originates in the derive macro `PartialBorrow` (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 trait bound `Mut: CanSplitInto` is not satisfied [INFO] [stderr] --> reject/autobad-split-mut-mut-mut.rs:16:43 [INFO] [stderr] | [INFO] [stderr] 16 | &mut partial!(X mut a)) = i.into(); [INFO] [stderr] | ^^^^ unsatisfied trait bound [INFO] [stderr] | [INFO] [stderr] = help: the trait `partial_borrow::perms::CanSplitInto` is not implemented for `partial_borrow::perms::Mut` [INFO] [stderr] = help: the following other types implement trait `partial_borrow::perms::CanSplitInto`: [INFO] [stderr] `partial_borrow::perms::Mut` implements `CanSplitInto` [INFO] [stderr] `partial_borrow::perms::Mut` implements `partial_borrow::perms::CanSplitInto` [INFO] [stderr] `partial_borrow::perms::Mut` implements `partial_borrow::perms::CanSplitInto` [INFO] [stderr] `partial_borrow::perms::Mut` implements `partial_borrow::perms::CanSplitInto` [INFO] [stderr] `partial_borrow::perms::Mut` implements `partial_borrow::perms::CanSplitInto` [INFO] [stderr] `partial_borrow::perms::Mut` implements `partial_borrow::perms::CanSplitInto` [INFO] [stderr] note: required for `(&mut X__Partial, &mut X__Partial)` to implement `From<&mut X__Partial>` [INFO] [stderr] --> reject/autobad-split-mut-mut-mut.rs:9:10 [INFO] [stderr] | [INFO] [stderr] 9 | #[derive(PartialBorrow,Default)] [INFO] [stderr] | ^^^^^^^^^^^^^ type parameter would need to implement `From<&mut X__Partial>` [INFO] [stderr] = help: consider manually implementing `From<&mut X__Partial>` to avoid undesired bounds [INFO] [stderr] = note: required for `&mut X__Partial` to implement `Into<(&mut X__Partial, &mut X__Partial)>` [INFO] [stderr] = note: the full name for the type has been written to '/opt/rustwide/target/tests/target/x86_64-unknown-linux-gnu/debug/deps/$CRATE-a8580f413daef75d.long-type-14568961565835268706.txt' [INFO] [stderr] = note: consider using `--verbose` to print the full type name to the console [INFO] [stderr] = note: this error originates in the derive macro `PartialBorrow` (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 reject/autobad-split-no-const-const.rs ... mismatch [INFO] [stderr] [INFO] [stderr] EXPECTED: [INFO] [stderr] ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈ [INFO] [stderr] error[E0277]: the trait bound `No: CanSplitInto` is not satisfied [INFO] [stderr] --> $DIR/autobad-split-no-const-const.rs:16:45 [INFO] [stderr] | [INFO] [stderr] 16 | &mut partial!(X const a)) = i.into(); [INFO] [stderr] | ^^^^ the trait `CanSplitInto` is not implemented for `No` [INFO] [stderr] | [INFO] [stderr] = help: the trait `CanSplitInto` is implemented for `No` [INFO] [stderr] note: required because of the requirements on the impl of `From<&mut X__Partial>` for `(&mut X__Partial, &mut X__Partial)` [INFO] [stderr] --> $DIR/autobad-split-no-const-const.rs:9:10 [INFO] [stderr] | [INFO] [stderr] 9 | #[derive(PartialBorrow,Default)] [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] = note: required because of the requirements on the impl of `Into<(&mut X__Partial, &mut X__Partial)>` for `&mut X__Partial` [INFO] [stderr] = note: this error originates in the derive macro `PartialBorrow` (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 trait bound `No: CanSplitInto` is not satisfied [INFO] [stderr] --> reject/autobad-split-no-const-const.rs:16:45 [INFO] [stderr] | [INFO] [stderr] 16 | &mut partial!(X const a)) = i.into(); [INFO] [stderr] | ^^^^ unsatisfied trait bound [INFO] [stderr] | [INFO] [stderr] help: the trait `CanSplitInto` is not implemented for `partial_borrow::perms::No` [INFO] [stderr] but trait `CanSplitInto` is implemented for it [INFO] [stderr] --> src/lib.rs [INFO] [stderr] | [INFO] [stderr] | unsafe impl CanSplitInto for No { } [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] note: required for `(&mut X__Partial, &mut X__Partial)` to implement `From<&mut X__Partial>` [INFO] [stderr] --> reject/autobad-split-no-const-const.rs:9:10 [INFO] [stderr] | [INFO] [stderr] 9 | #[derive(PartialBorrow,Default)] [INFO] [stderr] | ^^^^^^^^^^^^^ type parameter would need to implement `From<&mut X__Partial>` [INFO] [stderr] = help: consider manually implementing `From<&mut X__Partial>` to avoid undesired bounds [INFO] [stderr] = note: required for `&mut X__Partial` to implement `Into<(&mut X__Partial, &mut X__Partial)>` [INFO] [stderr] = note: the full name for the type has been written to '/opt/rustwide/target/tests/target/x86_64-unknown-linux-gnu/debug/deps/$CRATE-8979af5bd419ee43.long-type-9281452903292228250.txt' [INFO] [stderr] = note: consider using `--verbose` to print the full type name to the console [INFO] [stderr] = note: this error originates in the derive macro `PartialBorrow` (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 reject/autobad-split-no-const-no.rs ... mismatch [INFO] [stderr] [INFO] [stderr] EXPECTED: [INFO] [stderr] ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈ [INFO] [stderr] error[E0277]: the trait bound `No: CanSplitInto` is not satisfied [INFO] [stderr] --> $DIR/autobad-split-no-const-no.rs:16:41 [INFO] [stderr] | [INFO] [stderr] 16 | &mut partial!(X ! a)) = i.into(); [INFO] [stderr] | ^^^^ the trait `CanSplitInto` is not implemented for `No` [INFO] [stderr] | [INFO] [stderr] = help: the trait `CanSplitInto` is implemented for `No` [INFO] [stderr] note: required because of the requirements on the impl of `From<&mut X__Partial>` for `(&mut X__Partial, &mut X__Partial)` [INFO] [stderr] --> $DIR/autobad-split-no-const-no.rs:9:10 [INFO] [stderr] | [INFO] [stderr] 9 | #[derive(PartialBorrow,Default)] [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] = note: required because of the requirements on the impl of `Into<(&mut X__Partial, &mut X__Partial)>` for `&mut X__Partial` [INFO] [stderr] = note: this error originates in the derive macro `PartialBorrow` (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 trait bound `No: CanSplitInto` is not satisfied [INFO] [stderr] --> reject/autobad-split-no-const-no.rs:16:41 [INFO] [stderr] | [INFO] [stderr] 16 | &mut partial!(X ! a)) = i.into(); [INFO] [stderr] | ^^^^ unsatisfied trait bound [INFO] [stderr] | [INFO] [stderr] help: the trait `CanSplitInto` is not implemented for `partial_borrow::perms::No` [INFO] [stderr] but trait `CanSplitInto` is implemented for it [INFO] [stderr] --> src/lib.rs [INFO] [stderr] | [INFO] [stderr] | unsafe impl CanSplitInto for No { } [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] = help: for that trait implementation, expected `partial_borrow::perms::No`, found `partial_borrow::perms::Const` [INFO] [stderr] note: required for `(&mut X__Partial, &mut X__Partial)` to implement `From<&mut X__Partial>` [INFO] [stderr] --> reject/autobad-split-no-const-no.rs:9:10 [INFO] [stderr] | [INFO] [stderr] 9 | #[derive(PartialBorrow,Default)] [INFO] [stderr] | ^^^^^^^^^^^^^ type parameter would need to implement `From<&mut X__Partial>` [INFO] [stderr] = help: consider manually implementing `From<&mut X__Partial>` to avoid undesired bounds [INFO] [stderr] = note: required for `&mut X__Partial` to implement `Into<(&mut X__Partial, &mut X__Partial)>` [INFO] [stderr] = note: the full name for the type has been written to '/opt/rustwide/target/tests/target/x86_64-unknown-linux-gnu/debug/deps/$CRATE-352493a27d70e75a.long-type-12394103853273638574.txt' [INFO] [stderr] = note: consider using `--verbose` to print the full type name to the console [INFO] [stderr] = note: this error originates in the derive macro `PartialBorrow` (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 reject/autobad-split-no-mut-const.rs ... mismatch [INFO] [stderr] [INFO] [stderr] EXPECTED: [INFO] [stderr] ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈ [INFO] [stderr] error[E0277]: the trait bound `No: CanSplitInto` is not satisfied [INFO] [stderr] --> $DIR/autobad-split-no-mut-const.rs:16:45 [INFO] [stderr] | [INFO] [stderr] 16 | &mut partial!(X const a)) = i.into(); [INFO] [stderr] | ^^^^ the trait `CanSplitInto` is not implemented for `No` [INFO] [stderr] | [INFO] [stderr] = help: the trait `CanSplitInto` is implemented for `No` [INFO] [stderr] note: required because of the requirements on the impl of `From<&mut X__Partial>` for `(&mut X__Partial, &mut X__Partial)` [INFO] [stderr] --> $DIR/autobad-split-no-mut-const.rs:9:10 [INFO] [stderr] | [INFO] [stderr] 9 | #[derive(PartialBorrow,Default)] [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] = note: required because of the requirements on the impl of `Into<(&mut X__Partial, &mut X__Partial)>` for `&mut X__Partial` [INFO] [stderr] = note: this error originates in the derive macro `PartialBorrow` (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 trait bound `No: CanSplitInto` is not satisfied [INFO] [stderr] --> reject/autobad-split-no-mut-const.rs:16:45 [INFO] [stderr] | [INFO] [stderr] 16 | &mut partial!(X const a)) = i.into(); [INFO] [stderr] | ^^^^ unsatisfied trait bound [INFO] [stderr] | [INFO] [stderr] help: the trait `CanSplitInto` is not implemented for `partial_borrow::perms::No` [INFO] [stderr] but trait `CanSplitInto` is implemented for it [INFO] [stderr] --> src/lib.rs [INFO] [stderr] | [INFO] [stderr] | unsafe impl CanSplitInto for No { } [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] note: required for `(&mut X__Partial, &mut X__Partial)` to implement `From<&mut X__Partial>` [INFO] [stderr] --> reject/autobad-split-no-mut-const.rs:9:10 [INFO] [stderr] | [INFO] [stderr] 9 | #[derive(PartialBorrow,Default)] [INFO] [stderr] | ^^^^^^^^^^^^^ type parameter would need to implement `From<&mut X__Partial>` [INFO] [stderr] = help: consider manually implementing `From<&mut X__Partial>` to avoid undesired bounds [INFO] [stderr] = note: required for `&mut X__Partial` to implement `Into<(&mut X__Partial, &mut X__Partial)>` [INFO] [stderr] = note: the full name for the type has been written to '/opt/rustwide/target/tests/target/x86_64-unknown-linux-gnu/debug/deps/$CRATE-ff9afbf1fa2b08e1.long-type-2139630902820941874.txt' [INFO] [stderr] = note: consider using `--verbose` to print the full type name to the console [INFO] [stderr] = note: this error originates in the derive macro `PartialBorrow` (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 reject/autobad-split-no-mut-mut.rs ... mismatch [INFO] [stderr] [INFO] [stderr] EXPECTED: [INFO] [stderr] ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈ [INFO] [stderr] error[E0277]: the trait bound `No: CanSplitInto` is not satisfied [INFO] [stderr] --> $DIR/autobad-split-no-mut-mut.rs:16:43 [INFO] [stderr] | [INFO] [stderr] 16 | &mut partial!(X mut a)) = i.into(); [INFO] [stderr] | ^^^^ the trait `CanSplitInto` is not implemented for `No` [INFO] [stderr] | [INFO] [stderr] = help: the trait `CanSplitInto` is implemented for `No` [INFO] [stderr] note: required because of the requirements on the impl of `From<&mut X__Partial>` for `(&mut X__Partial, &mut X__Partial)` [INFO] [stderr] --> $DIR/autobad-split-no-mut-mut.rs:9:10 [INFO] [stderr] | [INFO] [stderr] 9 | #[derive(PartialBorrow,Default)] [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] = note: required because of the requirements on the impl of `Into<(&mut X__Partial, &mut X__Partial)>` for `&mut X__Partial` [INFO] [stderr] = note: this error originates in the derive macro `PartialBorrow` (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 trait bound `No: CanSplitInto` is not satisfied [INFO] [stderr] --> reject/autobad-split-no-mut-mut.rs:16:43 [INFO] [stderr] | [INFO] [stderr] 16 | &mut partial!(X mut a)) = i.into(); [INFO] [stderr] | ^^^^ unsatisfied trait bound [INFO] [stderr] | [INFO] [stderr] help: the trait `CanSplitInto` is not implemented for `partial_borrow::perms::No` [INFO] [stderr] but trait `CanSplitInto` is implemented for it [INFO] [stderr] --> src/lib.rs [INFO] [stderr] | [INFO] [stderr] | unsafe impl CanSplitInto for No { } [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] note: required for `(&mut X__Partial, &mut X__Partial)` to implement `From<&mut X__Partial>` [INFO] [stderr] --> reject/autobad-split-no-mut-mut.rs:9:10 [INFO] [stderr] | [INFO] [stderr] 9 | #[derive(PartialBorrow,Default)] [INFO] [stderr] | ^^^^^^^^^^^^^ type parameter would need to implement `From<&mut X__Partial>` [INFO] [stderr] = help: consider manually implementing `From<&mut X__Partial>` to avoid undesired bounds [INFO] [stderr] = note: required for `&mut X__Partial` to implement `Into<(&mut X__Partial, &mut X__Partial)>` [INFO] [stderr] = note: the full name for the type has been written to '/opt/rustwide/target/tests/target/x86_64-unknown-linux-gnu/debug/deps/$CRATE-786526ee00450544.long-type-8127480705571967818.txt' [INFO] [stderr] = note: consider using `--verbose` to print the full type name to the console [INFO] [stderr] = note: this error originates in the derive macro `PartialBorrow` (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 reject/autobad-split-no-mut-no.rs ... mismatch [INFO] [stderr] [INFO] [stderr] EXPECTED: [INFO] [stderr] ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈ [INFO] [stderr] error[E0277]: the trait bound `No: CanSplitInto` is not satisfied [INFO] [stderr] --> $DIR/autobad-split-no-mut-no.rs:16:41 [INFO] [stderr] | [INFO] [stderr] 16 | &mut partial!(X ! a)) = i.into(); [INFO] [stderr] | ^^^^ the trait `CanSplitInto` is not implemented for `No` [INFO] [stderr] | [INFO] [stderr] = help: the trait `CanSplitInto` is implemented for `No` [INFO] [stderr] note: required because of the requirements on the impl of `From<&mut X__Partial>` for `(&mut X__Partial, &mut X__Partial)` [INFO] [stderr] --> $DIR/autobad-split-no-mut-no.rs:9:10 [INFO] [stderr] | [INFO] [stderr] 9 | #[derive(PartialBorrow,Default)] [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] = note: required because of the requirements on the impl of `Into<(&mut X__Partial, &mut X__Partial)>` for `&mut X__Partial` [INFO] [stderr] = note: this error originates in the derive macro `PartialBorrow` (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 trait bound `No: CanSplitInto` is not satisfied [INFO] [stderr] --> reject/autobad-split-no-mut-no.rs:16:41 [INFO] [stderr] | [INFO] [stderr] 16 | &mut partial!(X ! a)) = i.into(); [INFO] [stderr] | ^^^^ unsatisfied trait bound [INFO] [stderr] | [INFO] [stderr] help: the trait `CanSplitInto` is not implemented for `partial_borrow::perms::No` [INFO] [stderr] but trait `CanSplitInto` is implemented for it [INFO] [stderr] --> src/lib.rs [INFO] [stderr] | [INFO] [stderr] | unsafe impl CanSplitInto for No { } [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] = help: for that trait implementation, expected `partial_borrow::perms::No`, found `partial_borrow::perms::Mut` [INFO] [stderr] note: required for `(&mut X__Partial, &mut X__Partial)` to implement `From<&mut X__Partial>` [INFO] [stderr] --> reject/autobad-split-no-mut-no.rs:9:10 [INFO] [stderr] | [INFO] [stderr] 9 | #[derive(PartialBorrow,Default)] [INFO] [stderr] | ^^^^^^^^^^^^^ type parameter would need to implement `From<&mut X__Partial>` [INFO] [stderr] = help: consider manually implementing `From<&mut X__Partial>` to avoid undesired bounds [INFO] [stderr] = note: required for `&mut X__Partial` to implement `Into<(&mut X__Partial, &mut X__Partial)>` [INFO] [stderr] = note: the full name for the type has been written to '/opt/rustwide/target/tests/target/x86_64-unknown-linux-gnu/debug/deps/$CRATE-404b37f2ef0c6226.long-type-11804885911284068027.txt' [INFO] [stderr] = note: consider using `--verbose` to print the full type name to the console [INFO] [stderr] = note: this error originates in the derive macro `PartialBorrow` (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 reject/autobad-split-whole-mut-const.rs ... mismatch [INFO] [stderr] [INFO] [stderr] EXPECTED: [INFO] [stderr] ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈ [INFO] [stdout] test test::reject ... FAILED [INFO] [stderr] error[E0277]: the trait bound `Mut: CanSplitInto` is not satisfied [INFO] [stdout] [INFO] [stderr] --> $DIR/autobad-split-whole-mut-const.rs:16:45 [INFO] [stdout] failures: [INFO] [stderr] | [INFO] [stdout] [INFO] [stderr] 16 | &mut partial!(X const a)) = i.into(); [INFO] [stdout] ---- test::reject stdout ---- [INFO] [stderr] | ^^^^ the trait `CanSplitInto` is not implemented for `Mut` [INFO] [stdout] [INFO] [stderr] | [INFO] [stdout] thread 'test::reject' (17) panicked at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/trybuild-1.0.64/src/run.rs:101:13: [INFO] [stderr] = help: the following other types implement trait `CanSplitInto`: [INFO] [stdout] 23 of 24 tests failed [INFO] [stderr] > [INFO] [stdout] stack backtrace: [INFO] [stderr] > [INFO] [stdout] 0: 0x56aab06a581a - std[e72de78501789eb0]::backtrace_rs::backtrace::libunwind::trace [INFO] [stderr] > [INFO] [stdout] at /rustc/dec9417b8611e34e787a3e4c37686b5131f9e5c5/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9 [INFO] [stderr] > [INFO] [stdout] 1: 0x56aab06a581a - std[e72de78501789eb0]::backtrace_rs::backtrace::trace_unsynchronized:: [INFO] [stderr] > [INFO] [stdout] at /rustc/dec9417b8611e34e787a3e4c37686b5131f9e5c5/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14 [INFO] [stderr] > [INFO] [stdout] 2: 0x56aab06a581a - std[e72de78501789eb0]::sys::backtrace::_print_fmt [INFO] [stderr] note: required because of the requirements on the impl of `From<&mut X>` for `(&mut X__Partial, &mut X__Partial)` [INFO] [stdout] at /rustc/dec9417b8611e34e787a3e4c37686b5131f9e5c5/library/std/src/sys/backtrace.rs:74:9 [INFO] [stderr] --> $DIR/autobad-split-whole-mut-const.rs:9:10 [INFO] [stdout] 3: 0x56aab06a581a - <::print::DisplayBacktrace as core[6aaeda2c7ad07a48]::fmt::Display>::fmt [INFO] [stderr] | [INFO] [stdout] at /rustc/dec9417b8611e34e787a3e4c37686b5131f9e5c5/library/std/src/sys/backtrace.rs:44:26 [INFO] [stderr] 9 | #[derive(PartialBorrow,Default)] [INFO] [stdout] 4: 0x56aab06bad3a - ::fmt [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stdout] at /rustc/dec9417b8611e34e787a3e4c37686b5131f9e5c5/library/core/src/fmt/rt.rs:152:76 [INFO] [stderr] = note: required because of the requirements on the impl of `Into<(&mut X__Partial, &mut X__Partial)>` for `&mut X` [INFO] [stdout] 5: 0x56aab06bad3a - core[6aaeda2c7ad07a48]::fmt::write [INFO] [stderr] = note: this error originates in the derive macro `PartialBorrow` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] 6: 0x56aab06aa6e2 - std[e72de78501789eb0]::io::default_write_fmt::> [INFO] [stderr] ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈ [INFO] [stdout] at /rustc/dec9417b8611e34e787a3e4c37686b5131f9e5c5/library/std/src/io/mod.rs:639:11 [INFO] [stderr] [INFO] [stdout] 7: 0x56aab06aa6e2 - as std[e72de78501789eb0]::io::Write>::write_fmt [INFO] [stderr] ACTUAL OUTPUT: [INFO] [stdout] at /rustc/dec9417b8611e34e787a3e4c37686b5131f9e5c5/library/std/src/io/mod.rs:1994:13 [INFO] [stderr] ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈ [INFO] [stdout] 8: 0x56aab068184f - ::print [INFO] [stderr] error[E0277]: the trait bound `Mut: CanSplitInto` is not satisfied [INFO] [stdout] at /rustc/dec9417b8611e34e787a3e4c37686b5131f9e5c5/library/std/src/sys/backtrace.rs:47:9 [INFO] [stderr] --> reject/autobad-split-whole-mut-const.rs:16:45 [INFO] [stdout] 9: 0x56aab068184f - std[e72de78501789eb0]::panicking::default_hook::{closure#0} [INFO] [stderr] | [INFO] [stdout] at /rustc/dec9417b8611e34e787a3e4c37686b5131f9e5c5/library/std/src/panicking.rs:292:27 [INFO] [stderr] 16 | &mut partial!(X const a)) = i.into(); [INFO] [stdout] 10: 0x56aab069c729 - std[e72de78501789eb0]::panicking::default_hook [INFO] [stderr] | ^^^^ unsatisfied trait bound [INFO] [stdout] at /rustc/dec9417b8611e34e787a3e4c37686b5131f9e5c5/library/std/src/panicking.rs:316:9 [INFO] [stderr] | [INFO] [stdout] 11: 0x56aab063768c - core[6aaeda2c7ad07a48]::ops::function::Fn<(&'a std[e72de78501789eb0]::panic::PanicHookInfo<'b>,), Output = ()> + core[6aaeda2c7ad07a48]::marker::Sync + core[6aaeda2c7ad07a48]::marker::Send> as core[6aaeda2c7ad07a48]::ops::function::Fn<(&std[e72de78501789eb0]::panic::PanicHookInfo,)>>::call [INFO] [stderr] = help: the trait `partial_borrow::perms::CanSplitInto` is not implemented for `partial_borrow::perms::Mut` [INFO] [stdout] at /rustc/dec9417b8611e34e787a3e4c37686b5131f9e5c5/library/alloc/src/boxed.rs:2254:9 [INFO] [stderr] = help: the following other types implement trait `partial_borrow::perms::CanSplitInto`: [INFO] [stdout] 12: 0x56aab063768c - test[4f12b380f1fb68c5]::test_main_with_exit_callback::::{closure#0} [INFO] [stderr] `partial_borrow::perms::Mut` implements `CanSplitInto` [INFO] [stdout] at /rustc/dec9417b8611e34e787a3e4c37686b5131f9e5c5/library/test/src/lib.rs:145:21 [INFO] [stderr] `partial_borrow::perms::Mut` implements `partial_borrow::perms::CanSplitInto` [INFO] [stdout] 13: 0x56aab069c8e2 - core[6aaeda2c7ad07a48]::ops::function::Fn<(&'a std[e72de78501789eb0]::panic::PanicHookInfo<'b>,), Output = ()> + core[6aaeda2c7ad07a48]::marker::Sync + core[6aaeda2c7ad07a48]::marker::Send> as core[6aaeda2c7ad07a48]::ops::function::Fn<(&std[e72de78501789eb0]::panic::PanicHookInfo,)>>::call [INFO] [stderr] `partial_borrow::perms::Mut` implements `partial_borrow::perms::CanSplitInto` [INFO] [stdout] at /rustc/dec9417b8611e34e787a3e4c37686b5131f9e5c5/library/alloc/src/boxed.rs:2254:9 [INFO] [stderr] `partial_borrow::perms::Mut` implements `partial_borrow::perms::CanSplitInto` [INFO] [stdout] 14: 0x56aab069c8e2 - std[e72de78501789eb0]::panicking::panic_with_hook [INFO] [stderr] `partial_borrow::perms::Mut` implements `partial_borrow::perms::CanSplitInto` [INFO] [stdout] at /rustc/dec9417b8611e34e787a3e4c37686b5131f9e5c5/library/std/src/panicking.rs:833:13 [INFO] [stderr] `partial_borrow::perms::Mut` implements `partial_borrow::perms::CanSplitInto` [INFO] [stdout] 15: 0x56aab0681908 - std[e72de78501789eb0]::panicking::panic_handler::{closure#0} [INFO] [stderr] note: required for `(&mut X__Partial, &mut X__Partial)` to implement `From<&mut X>` [INFO] [stdout] at /rustc/dec9417b8611e34e787a3e4c37686b5131f9e5c5/library/std/src/panicking.rs:698:13 [INFO] [stderr] --> reject/autobad-split-whole-mut-const.rs:9:10 [INFO] [stdout] 16: 0x56aab0678fb9 - std[e72de78501789eb0]::sys::backtrace::__rust_end_short_backtrace:: [INFO] [stderr] | [INFO] [stdout] at /rustc/dec9417b8611e34e787a3e4c37686b5131f9e5c5/library/std/src/sys/backtrace.rs:182:18 [INFO] [stderr] 9 | #[derive(PartialBorrow,Default)] [INFO] [stdout] 17: 0x56aab068261d - __rustc[78a4cf188af856fc]::rust_begin_unwind [INFO] [stderr] | ^^^^^^^^^^^^^ type parameter would need to implement `From<&mut X>` [INFO] [stdout] at /rustc/dec9417b8611e34e787a3e4c37686b5131f9e5c5/library/std/src/panicking.rs:689:5 [INFO] [stderr] = help: consider manually implementing `From<&mut X>` to avoid undesired bounds [INFO] [stdout] 18: 0x56aab06bb4cc - core[6aaeda2c7ad07a48]::panicking::panic_fmt [INFO] [stderr] = note: required for `&mut X` to implement `Into<(&mut X__Partial, &mut X__Partial)>` [INFO] [stdout] at /rustc/dec9417b8611e34e787a3e4c37686b5131f9e5c5/library/core/src/panicking.rs:80:14 [INFO] [stderr] = note: the full name for the type has been written to '/opt/rustwide/target/tests/target/x86_64-unknown-linux-gnu/debug/deps/$CRATE-fcdd7a4aab22fafe.long-type-3098442308875611361.txt' [INFO] [stdout] 19: 0x56aab054fc11 - ::run [INFO] [stderr] = note: consider using `--verbose` to print the full type name to the console [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/trybuild-1.0.64/src/run.rs:101:13 [INFO] [stderr] = note: this error originates in the derive macro `PartialBorrow` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] 20: 0x56aab0556968 - ::drop [INFO] [stderr] ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈ [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/trybuild-1.0.64/src/lib.rs:310:38 [INFO] [stderr] note: If the actual output is the correct output you can bless it by rerunning [INFO] [stdout] 21: 0x56aab04716c7 - core[6aaeda2c7ad07a48]::ptr::drop_in_place:: [INFO] [stderr] your test with the environment variable TRYBUILD=overwrite [INFO] [stdout] at /rustc/dec9417b8611e34e787a3e4c37686b5131f9e5c5/library/core/src/ptr/mod.rs:809:1 [INFO] [stderr] [INFO] [stdout] 22: 0x56aab0472433 - partial_borrow[1d86a2629bc04c72]::test::reject [INFO] [stderr] test reject/autobad-split-whole-mut-mut.rs ... mismatch [INFO] [stdout] at /opt/rustwide/workdir/src/../test/test.rs:12:69 [INFO] [stderr] [INFO] [stdout] 23: 0x56aab04718c7 - partial_borrow[1d86a2629bc04c72]::test::reject::{closure#0} [INFO] [stderr] EXPECTED: [INFO] [stdout] at /opt/rustwide/workdir/src/../test/test.rs:12:12 [INFO] [stderr] ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈ [INFO] [stdout] 24: 0x56aab0479676 - >::call_once [INFO] [stderr] error[E0277]: the trait bound `Mut: CanSplitInto` is not satisfied [INFO] [stdout] at /rustc/dec9417b8611e34e787a3e4c37686b5131f9e5c5/library/core/src/ops/function.rs:250:5 [INFO] [stderr] --> $DIR/autobad-split-whole-mut-mut.rs:16:43 [INFO] [stdout] 25: 0x56aab062b76b - core[6aaeda2c7ad07a48]::result::Result<(), alloc[28d2dab30c1dc666]::string::String> as core[6aaeda2c7ad07a48]::ops::function::FnOnce<()>>::call_once [INFO] [stderr] | [INFO] [stdout] at /rustc/dec9417b8611e34e787a3e4c37686b5131f9e5c5/library/core/src/ops/function.rs:250:5 [INFO] [stderr] 16 | &mut partial!(X mut a)) = i.into(); [INFO] [stdout] 26: 0x56aab062b76b - test[4f12b380f1fb68c5]::__rust_begin_short_backtrace::, fn() -> core[6aaeda2c7ad07a48]::result::Result<(), alloc[28d2dab30c1dc666]::string::String>> [INFO] [stderr] | ^^^^ the trait `CanSplitInto` is not implemented for `Mut` [INFO] [stdout] at /rustc/dec9417b8611e34e787a3e4c37686b5131f9e5c5/library/test/src/lib.rs:663:18 [INFO] [stderr] | [INFO] [stdout] 27: 0x56aab063815b - test[4f12b380f1fb68c5]::run_test_in_process::{closure#0} [INFO] [stderr] = help: the following other types implement trait `CanSplitInto`: [INFO] [stdout] at /rustc/dec9417b8611e34e787a3e4c37686b5131f9e5c5/library/test/src/lib.rs:686:74 [INFO] [stderr] > [INFO] [stdout] 28: 0x56aab063815b - as core[6aaeda2c7ad07a48]::ops::function::FnOnce<()>>::call_once [INFO] [stderr] > [INFO] [stdout] at /rustc/dec9417b8611e34e787a3e4c37686b5131f9e5c5/library/core/src/panic/unwind_safe.rs:275:9 [INFO] [stderr] > [INFO] [stdout] 29: 0x56aab063815b - std[e72de78501789eb0]::panicking::catch_unwind::do_call::, core[6aaeda2c7ad07a48]::result::Result<(), alloc[28d2dab30c1dc666]::string::String>> [INFO] [stderr] > [INFO] [stdout] at /rustc/dec9417b8611e34e787a3e4c37686b5131f9e5c5/library/std/src/panicking.rs:581:40 [INFO] [stderr] > [INFO] [stdout] 30: 0x56aab063815b - std[e72de78501789eb0]::panicking::catch_unwind::, core[6aaeda2c7ad07a48]::panic::unwind_safe::AssertUnwindSafe> [INFO] [stderr] > [INFO] [stdout] at /rustc/dec9417b8611e34e787a3e4c37686b5131f9e5c5/library/std/src/panicking.rs:544:19 [INFO] [stderr] note: required because of the requirements on the impl of `From<&mut X>` for `(&mut X__Partial, &mut X__Partial)` [INFO] [stdout] 31: 0x56aab063815b - std[e72de78501789eb0]::panic::catch_unwind::, core[6aaeda2c7ad07a48]::result::Result<(), alloc[28d2dab30c1dc666]::string::String>> [INFO] [stderr] --> $DIR/autobad-split-whole-mut-mut.rs:9:10 [INFO] [stdout] at /rustc/dec9417b8611e34e787a3e4c37686b5131f9e5c5/library/std/src/panic.rs:359:14 [INFO] [stderr] | [INFO] [stdout] 32: 0x56aab063815b - test[4f12b380f1fb68c5]::run_test_in_process [INFO] [stderr] 9 | #[derive(PartialBorrow,Default)] [INFO] [stdout] at /rustc/dec9417b8611e34e787a3e4c37686b5131f9e5c5/library/test/src/lib.rs:686:27 [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stdout] 33: 0x56aab063815b - test[4f12b380f1fb68c5]::run_test::{closure#0} [INFO] [stderr] = note: required because of the requirements on the impl of `Into<(&mut X__Partial, &mut X__Partial)>` for `&mut X` [INFO] [stdout] at /rustc/dec9417b8611e34e787a3e4c37686b5131f9e5c5/library/test/src/lib.rs:607:43 [INFO] [stderr] = note: this error originates in the derive macro `PartialBorrow` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] 34: 0x56aab0633874 - test[4f12b380f1fb68c5]::run_test::{closure#1} [INFO] [stderr] ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈ [INFO] [stdout] at /rustc/dec9417b8611e34e787a3e4c37686b5131f9e5c5/library/test/src/lib.rs:637:41 [INFO] [stderr] [INFO] [stdout] 35: 0x56aab0633874 - std[e72de78501789eb0]::sys::backtrace::__rust_begin_short_backtrace:: [INFO] [stderr] ACTUAL OUTPUT: [INFO] [stdout] at /rustc/dec9417b8611e34e787a3e4c37686b5131f9e5c5/library/std/src/sys/backtrace.rs:166:18 [INFO] [stderr] ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈ [INFO] [stdout] 36: 0x56aab063ad62 - std[e72de78501789eb0]::thread::lifecycle::spawn_unchecked::::{closure#1}::{closure#0} [INFO] [stderr] error[E0277]: the trait bound `Mut: CanSplitInto` is not satisfied [INFO] [stdout] at /rustc/dec9417b8611e34e787a3e4c37686b5131f9e5c5/library/std/src/thread/lifecycle.rs:91:13 [INFO] [stderr] --> reject/autobad-split-whole-mut-mut.rs:16:43 [INFO] [stdout] 37: 0x56aab063ad62 - ::{closure#1}::{closure#0}> as core[6aaeda2c7ad07a48]::ops::function::FnOnce<()>>::call_once [INFO] [stderr] | [INFO] [stdout] at /rustc/dec9417b8611e34e787a3e4c37686b5131f9e5c5/library/core/src/panic/unwind_safe.rs:275:9 [INFO] [stderr] 16 | &mut partial!(X mut a)) = i.into(); [INFO] [stdout] 38: 0x56aab063ad62 - std[e72de78501789eb0]::panicking::catch_unwind::do_call::::{closure#1}::{closure#0}>, ()> [INFO] [stderr] | ^^^^ unsatisfied trait bound [INFO] [stdout] at /rustc/dec9417b8611e34e787a3e4c37686b5131f9e5c5/library/std/src/panicking.rs:581:40 [INFO] [stderr] | [INFO] [stdout] 39: 0x56aab063ad62 - std[e72de78501789eb0]::panicking::catch_unwind::<(), core[6aaeda2c7ad07a48]::panic::unwind_safe::AssertUnwindSafe::{closure#1}::{closure#0}>> [INFO] [stderr] = help: the trait `partial_borrow::perms::CanSplitInto` is not implemented for `partial_borrow::perms::Mut` [INFO] [stdout] at /rustc/dec9417b8611e34e787a3e4c37686b5131f9e5c5/library/std/src/panicking.rs:544:19 [INFO] [stderr] = help: the following other types implement trait `partial_borrow::perms::CanSplitInto`: [INFO] [stdout] 40: 0x56aab063ad62 - std[e72de78501789eb0]::panic::catch_unwind::::{closure#1}::{closure#0}>, ()> [INFO] [stderr] `partial_borrow::perms::Mut` implements `CanSplitInto` [INFO] [stdout] at /rustc/dec9417b8611e34e787a3e4c37686b5131f9e5c5/library/std/src/panic.rs:359:14 [INFO] [stderr] `partial_borrow::perms::Mut` implements `partial_borrow::perms::CanSplitInto` [INFO] [stdout] 41: 0x56aab063ad62 - std[e72de78501789eb0]::thread::lifecycle::spawn_unchecked::::{closure#1} [INFO] [stderr] `partial_borrow::perms::Mut` implements `partial_borrow::perms::CanSplitInto` [INFO] [stdout] at /rustc/dec9417b8611e34e787a3e4c37686b5131f9e5c5/library/std/src/thread/lifecycle.rs:89:26 [INFO] [stderr] `partial_borrow::perms::Mut` implements `partial_borrow::perms::CanSplitInto` [INFO] [stdout] 42: 0x56aab063ad62 - ::{closure#1} as core[6aaeda2c7ad07a48]::ops::function::FnOnce<()>>::call_once::{shim:vtable#0} [INFO] [stderr] `partial_borrow::perms::Mut` implements `partial_borrow::perms::CanSplitInto` [INFO] [stdout] at /rustc/dec9417b8611e34e787a3e4c37686b5131f9e5c5/library/core/src/ops/function.rs:250:5 [INFO] [stderr] `partial_borrow::perms::Mut` implements `partial_borrow::perms::CanSplitInto` [INFO] [stdout] 43: 0x56aab06a4b2f - + core[6aaeda2c7ad07a48]::marker::Send> as core[6aaeda2c7ad07a48]::ops::function::FnOnce<()>>::call_once [INFO] [stderr] note: required for `(&mut X__Partial, &mut X__Partial)` to implement `From<&mut X>` [INFO] [stdout] at /rustc/dec9417b8611e34e787a3e4c37686b5131f9e5c5/library/alloc/src/boxed.rs:2240:9 [INFO] [stderr] --> reject/autobad-split-whole-mut-mut.rs:9:10 [INFO] [stdout] 44: 0x56aab06a4b2f - ::new::thread_start [INFO] [stderr] | [INFO] [stdout] at /rustc/dec9417b8611e34e787a3e4c37686b5131f9e5c5/library/std/src/sys/thread/unix.rs:118:17 [INFO] [stderr] 9 | #[derive(PartialBorrow,Default)] [INFO] [stdout] 45: 0x70f1d3bf2aa4 - [INFO] [stderr] | ^^^^^^^^^^^^^ type parameter would need to implement `From<&mut X>` [INFO] [stdout] 46: 0x70f1d3c7fa64 - clone [INFO] [stderr] = help: consider manually implementing `From<&mut X>` to avoid undesired bounds [INFO] [stdout] 47: 0x0 - [INFO] [stderr] = note: required for `&mut X` to implement `Into<(&mut X__Partial, &mut X__Partial)>` [INFO] [stdout] [INFO] [stderr] = note: the full name for the type has been written to '/opt/rustwide/target/tests/target/x86_64-unknown-linux-gnu/debug/deps/$CRATE-26101b8f474f932a.long-type-15719085081874606128.txt' [INFO] [stdout] [INFO] [stderr] = note: consider using `--verbose` to print the full type name to the console [INFO] [stdout] failures: [INFO] [stderr] = note: this error originates in the derive macro `PartialBorrow` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] test::reject [INFO] [stderr] ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈ [INFO] [stdout] [INFO] [stderr] note: If the actual output is the correct output you can bless it by rerunning [INFO] [stdout] test result: FAILED. 7 passed; 1 failed; 0 ignored; 0 measured; 0 filtered out; finished in 24.09s [INFO] [stderr] your test with the environment variable TRYBUILD=overwrite [INFO] [stdout] [INFO] [stderr] [INFO] [stderr] test reject/bad-field.rs ... ok [INFO] [stderr] [INFO] [stderr] [INFO] [stderr] error: test failed, to rerun pass `--lib` [INFO] running `Command { std: "docker" "inspect" "da0bff0b3a8897f0412d4e30b1d13f81a22fdc1c216fa8d0b46038b083097660", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "da0bff0b3a8897f0412d4e30b1d13f81a22fdc1c216fa8d0b46038b083097660", kill_on_drop: false }` [INFO] [stdout] da0bff0b3a8897f0412d4e30b1d13f81a22fdc1c216fa8d0b46038b083097660