[INFO] fetching crate partial-borrow 1.0.1... [INFO] testing partial-borrow-1.0.1 against try#c2e32f1c9652b13ed99608599c1e855462f421f3 for pr-146098-8 [INFO] extracting crate partial-borrow 1.0.1 into /workspace/builds/worker-1-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-1-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate partial-borrow 1.0.1 on toolchain c2e32f1c9652b13ed99608599c1e855462f421f3 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "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" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 6d9b08a5b1a8da998675c8250712b97b63866e4784231dc6876324c6dad8b2e5 [INFO] running `Command { std: "docker" "start" "-a" "6d9b08a5b1a8da998675c8250712b97b63866e4784231dc6876324c6dad8b2e5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "6d9b08a5b1a8da998675c8250712b97b63866e4784231dc6876324c6dad8b2e5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6d9b08a5b1a8da998675c8250712b97b63866e4784231dc6876324c6dad8b2e5", kill_on_drop: false }` [INFO] [stdout] 6d9b08a5b1a8da998675c8250712b97b63866e4784231dc6876324c6dad8b2e5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 24e8c619c240632453536763fedb1e1410c61bd8265e2ff9550591d3ee627a2d [INFO] running `Command { std: "docker" "start" "-a" "24e8c619c240632453536763fedb1e1410c61bd8265e2ff9550591d3ee627a2d", 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 libc v0.2.132 [INFO] [stderr] Compiling strsim v0.10.0 [INFO] [stderr] Compiling remove_dir_all v0.5.3 [INFO] [stderr] Compiling fastrand v1.8.0 [INFO] [stderr] Compiling hashbrown v0.12.3 [INFO] [stderr] Compiling either v1.8.0 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling indexmap v1.9.1 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling memoffset v0.6.5 [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 darling_macro v0.14.1 [INFO] [stderr] Compiling fehler v1.0.0 [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 9.89s [INFO] running `Command { std: "docker" "inspect" "24e8c619c240632453536763fedb1e1410c61bd8265e2ff9550591d3ee627a2d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "24e8c619c240632453536763fedb1e1410c61bd8265e2ff9550591d3ee627a2d", kill_on_drop: false }` [INFO] [stdout] 24e8c619c240632453536763fedb1e1410c61bd8265e2ff9550591d3ee627a2d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 068a4fff8deb4a2da611b46cc361c7059e16c2ae46ab05109668145c012d0832 [INFO] running `Command { std: "docker" "start" "-a" "068a4fff8deb4a2da611b46cc361c7059e16c2ae46ab05109668145c012d0832", kill_on_drop: false }` [INFO] [stderr] Compiling serde v1.0.144 [INFO] [stderr] Compiling serde_json v1.0.85 [INFO] [stderr] Compiling serde_derive v1.0.144 [INFO] [stderr] Compiling itoa v1.0.3 [INFO] [stderr] Compiling ryu v1.0.11 [INFO] [stderr] Compiling trybuild v1.0.64 [INFO] [stderr] Compiling glob v0.3.0 [INFO] [stderr] Compiling termcolor v1.1.3 [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 12.00s [INFO] running `Command { std: "docker" "inspect" "068a4fff8deb4a2da611b46cc361c7059e16c2ae46ab05109668145c012d0832", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "068a4fff8deb4a2da611b46cc361c7059e16c2ae46ab05109668145c012d0832", kill_on_drop: false }` [INFO] [stdout] 068a4fff8deb4a2da611b46cc361c7059e16c2ae46ab05109668145c012d0832 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 939ec3a2dd651a2d297f5e28d083da2e59e179d158a36ad61e6377f0e92bd256 [INFO] running `Command { std: "docker" "start" "-a" "939ec3a2dd651a2d297f5e28d083da2e59e179d158a36ad61e6377f0e92bd256", kill_on_drop: false }` [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.07s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/partial_borrow-3ca3a486909db10b) [INFO] [stdout] [INFO] [stdout] running 8 tests [INFO] [stdout] test test::tgenerics::test ... ok [INFO] [stdout] test test::treborrow::asref ... ok [INFO] [stdout] test test::treborrow::split_from_from ... ok [INFO] [stdout] test test::treborrow::split_into ... ok [INFO] [stdout] test test::treborrow::split_into_into ... ok [INFO] [stdout] test test::treborrow::split_off ... ok [INFO] [stdout] test test::treborrow::downgrade ... 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 fastrand v1.8.0 [INFO] [stderr] Compiling either v1.8.0 [INFO] [stderr] Compiling hashbrown v0.12.3 [INFO] [stderr] Compiling remove_dir_all v0.5.3 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling easy-ext v1.0.0 [INFO] [stderr] Compiling itertools v0.10.3 [INFO] [stderr] Compiling indexmap v1.9.1 [INFO] [stderr] Compiling memoffset v0.6.5 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [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 fehler v1.0.0 [INFO] [stderr] Compiling darling v0.14.1 [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 14.27s [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] | ^^^^^^^^^^^^^ unsatisfied trait bound introduced in this `derive` macro [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-bfa115f12cd95c26.long-type-10718067787043637456.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] | ^^^^^^^^^^^^^ unsatisfied trait bound introduced in this `derive` macro [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-15daa6756b3f7eee.long-type-10442584868452957904.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] | ^^^^^^^^^^^^^ unsatisfied trait bound introduced in this `derive` macro [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] | ^^^^^^^^^^^^^ unsatisfied trait bound introduced in this `derive` macro [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-cb481b04429f6076.long-type-3659143982360783236.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] | ^^^^^^^^^^^^^ unsatisfied trait bound introduced in this `derive` macro [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-0bcc08bed1bda719.long-type-4073933947389046812.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] | ^^^^^^^^^^^^^ unsatisfied trait bound introduced in this `derive` macro [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-4d7e8b36f1d15c40.long-type-4319782407768400478.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] | ^^^^^^^^^^^^^ unsatisfied trait bound introduced in this `derive` macro [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-4d3f7a4096103115.long-type-17639262729056104575.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] | ^^^^^^^^^^^^^ unsatisfied trait bound introduced in this `derive` macro [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-6da72b5b9a9ca54f.long-type-5562288674291228973.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] | ^^^^^^^^^^^^^ unsatisfied trait bound introduced in this `derive` macro [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-2d812df93f007e4a.long-type-4647772113444293824.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] | ^^^^^^^^^^^^^ unsatisfied trait bound introduced in this `derive` macro [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-7d248d102b75d7c6.long-type-4155615390372048171.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] | ^^^^^^^^^^^^^ unsatisfied trait bound introduced in this `derive` macro [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-3b2c913060f69485.long-type-17039903225858648405.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] | ^^^^^^^^^^^^^ unsatisfied trait bound introduced in this `derive` macro [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-1cbd19d722dab772.long-type-14368223874832433162.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] | ^^^^^^^^^^^^^ unsatisfied trait bound introduced in this `derive` macro [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-0808747692d70572.long-type-13390811403226138075.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] | ^^^^^^^^^^^^^ unsatisfied trait bound introduced in this `derive` macro [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-698159fbb8a4cbb3.long-type-686922409749803089.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] | ^^^^^^^^^^^^^ unsatisfied trait bound introduced in this `derive` macro [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-9a899331dd76ddb7.long-type-5706886896670289847.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] [stdout] test test::reject ... FAILED [INFO] [stderr] EXPECTED: [INFO] [stdout] [INFO] [stderr] ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈ [INFO] [stdout] failures: [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] ---- test::reject stdout ---- [INFO] [stderr] | [INFO] [stdout] [INFO] [stderr] 16 | &mut partial!(X const a)) = i.into(); [INFO] [stdout] thread 'test::reject' (25) panicked at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/trybuild-1.0.64/src/run.rs:101:13: [INFO] [stderr] | ^^^^ the trait `CanSplitInto` is not implemented for `Mut` [INFO] [stdout] 23 of 24 tests failed [INFO] [stderr] | [INFO] [stdout] stack backtrace: [INFO] [stderr] = help: the following other types implement trait `CanSplitInto`: [INFO] [stdout] 0: 0x5dab6a1803a2 - std::backtrace_rs::backtrace::libunwind::trace::h9ea1e07ac77a25d7 [INFO] [stderr] > [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9 [INFO] [stderr] > [INFO] [stdout] 1: 0x5dab6a1803a2 - std::backtrace_rs::backtrace::trace_unsynchronized::h72b75eb83b53d15a [INFO] [stderr] > [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14 [INFO] [stderr] > [INFO] [stdout] 2: 0x5dab6a1803a2 - std::sys::backtrace::_print_fmt::h255777b7ec902439 [INFO] [stderr] > [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/sys/backtrace.rs:66:9 [INFO] [stderr] > [INFO] [stdout] 3: 0x5dab6a1803a2 - ::fmt::h8a1ac49fcd7ee8ce [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/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/sys/backtrace.rs:39:26 [INFO] [stderr] --> $DIR/autobad-split-whole-mut-const.rs:9:10 [INFO] [stdout] 4: 0x5dab6a190f7f - core::fmt::rt::Argument::fmt::h635cbf3c6754cc90 [INFO] [stderr] | [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/core/src/fmt/rt.rs:173:76 [INFO] [stderr] 9 | #[derive(PartialBorrow,Default)] [INFO] [stdout] 5: 0x5dab6a190f7f - core::fmt::write::hbdcc0ec4f1bab1db [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/core/src/fmt/mod.rs:1469:25 [INFO] [stderr] = note: required because of the requirements on the impl of `Into<(&mut X__Partial, &mut X__Partial)>` for `&mut X` [INFO] [stdout] 6: 0x5dab6a14b5b3 - std::io::default_write_fmt::h2580ece0d4b58e51 [INFO] [stderr] = note: this error originates in the derive macro `PartialBorrow` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/io/mod.rs:639:11 [INFO] [stderr] ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈ [INFO] [stdout] 7: 0x5dab6a14b5b3 - std::io::Write::write_fmt::hac9e42858f273b87 [INFO] [stderr] [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/io/mod.rs:1954:13 [INFO] [stderr] ACTUAL OUTPUT: [INFO] [stdout] 8: 0x5dab6a158742 - std::sys::backtrace::BacktraceLock::print::h052febbd86f7bf07 [INFO] [stderr] ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈ [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/sys/backtrace.rs:42:9 [INFO] [stderr] error[E0277]: the trait bound `Mut: CanSplitInto` is not satisfied [INFO] [stdout] 9: 0x5dab6a15deef - std::panicking::default_hook::{{closure}}::h66aeee20dd470abb [INFO] [stderr] --> reject/autobad-split-whole-mut-const.rs:16:45 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/panicking.rs:301:27 [INFO] [stderr] | [INFO] [stdout] 10: 0x5dab6a15dd81 - std::panicking::default_hook::h9d66b9642014ce48 [INFO] [stderr] 16 | &mut partial!(X const a)) = i.into(); [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/panicking.rs:325:9 [INFO] [stderr] | ^^^^ unsatisfied trait bound [INFO] [stdout] 11: 0x5dab6a11df4e - as core::ops::function::Fn>::call::h8c698701e444e564 [INFO] [stderr] | [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/alloc/src/boxed.rs:2099:9 [INFO] [stderr] = help: the trait `partial_borrow::perms::CanSplitInto` is not implemented for `partial_borrow::perms::Mut` [INFO] [stdout] 12: 0x5dab6a11df4e - test::test_main_with_exit_callback::{{closure}}::ha1c98e7b69c4defb [INFO] [stderr] = help: the following other types implement trait `partial_borrow::perms::CanSplitInto`: [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/test/src/lib.rs:145:21 [INFO] [stderr] `partial_borrow::perms::Mut` implements `CanSplitInto` [INFO] [stdout] 13: 0x5dab6a15e4ff - as core::ops::function::Fn>::call::hc4f222a8a57c637a [INFO] [stderr] `partial_borrow::perms::Mut` implements `partial_borrow::perms::CanSplitInto` [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/alloc/src/boxed.rs:2099:9 [INFO] [stderr] `partial_borrow::perms::Mut` implements `partial_borrow::perms::CanSplitInto` [INFO] [stdout] 14: 0x5dab6a15e4ff - std::panicking::panic_with_hook::h6d5921a1a1fa5a8e [INFO] [stderr] `partial_borrow::perms::Mut` implements `partial_borrow::perms::CanSplitInto` [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/panicking.rs:842:13 [INFO] [stderr] `partial_borrow::perms::Mut` implements `partial_borrow::perms::CanSplitInto` [INFO] [stdout] 15: 0x5dab6a15e35a - std::panicking::panic_handler::{{closure}}::hafeef6f707d43542 [INFO] [stderr] `partial_borrow::perms::Mut` implements `partial_borrow::perms::CanSplitInto` [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/panicking.rs:707:13 [INFO] [stderr] note: required for `(&mut X__Partial, &mut X__Partial)` to implement `From<&mut X>` [INFO] [stdout] 16: 0x5dab6a158879 - std::sys::backtrace::__rust_end_short_backtrace::h08cbc3319a3d0120 [INFO] [stderr] --> reject/autobad-split-whole-mut-const.rs:9:10 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/sys/backtrace.rs:174:18 [INFO] [stderr] | [INFO] [stdout] 17: 0x5dab6a13ee3d - __rustc[ce5c411ff86ab1b2]::rust_begin_unwind [INFO] [stderr] 9 | #[derive(PartialBorrow,Default)] [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/panicking.rs:698:5 [INFO] [stderr] | ^^^^^^^^^^^^^ unsatisfied trait bound introduced in this `derive` macro [INFO] [stdout] 18: 0x5dab6a19a1b0 - core::panicking::panic_fmt::h774fb860369a0f7b [INFO] [stderr] = note: required for `&mut X` to implement `Into<(&mut X__Partial, &mut X__Partial)>` [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/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-3e27d8862fe9340c.long-type-17624183471355807397.txt' [INFO] [stdout] 19: 0x5dab6a02c209 - trybuild::run::::run::h0d89cedd30a33a47 [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: 0x5dab6a027cf8 - ::drop::h68566a6d35747447 [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: 0x5dab69f3ea87 - core::ptr::drop_in_place::hdb0ffdffa282277e [INFO] [stderr] your test with the environment variable TRYBUILD=overwrite [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/core/src/ptr/mod.rs:805:1 [INFO] [stderr] [INFO] [stdout] 22: 0x5dab69f37f93 - partial_borrow::test::reject::h359b86e997b734a4 [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: 0x5dab69f37fc7 - partial_borrow::test::reject::{{closure}}::h1004fa3fd37e111a [INFO] [stderr] EXPECTED: [INFO] [stdout] at /opt/rustwide/workdir/src/../test/test.rs:12:12 [INFO] [stderr] ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈ [INFO] [stdout] 24: 0x5dab69f3e9e6 - core::ops::function::FnOnce::call_once::hbe11d6c7ad2ca1be [INFO] [stderr] error[E0277]: the trait bound `Mut: CanSplitInto` is not satisfied [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/core/src/ops/function.rs:250:5 [INFO] [stderr] --> $DIR/autobad-split-whole-mut-mut.rs:16:43 [INFO] [stdout] 25: 0x5dab6a11dd9b - core::ops::function::FnOnce::call_once::h4f6eabe90cccb47d [INFO] [stderr] | [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/core/src/ops/function.rs:250:5 [INFO] [stderr] 16 | &mut partial!(X mut a)) = i.into(); [INFO] [stdout] 26: 0x5dab6a11dd9b - test::__rust_begin_short_backtrace::h94208530f2b4c8c7 [INFO] [stderr] | ^^^^ the trait `CanSplitInto` is not implemented for `Mut` [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/test/src/lib.rs:663:18 [INFO] [stderr] | [INFO] [stdout] 27: 0x5dab6a131dad - test::run_test_in_process::{{closure}}::hbdc6a45a78c46404 [INFO] [stderr] = help: the following other types implement trait `CanSplitInto`: [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/test/src/lib.rs:686:74 [INFO] [stderr] > [INFO] [stdout] 28: 0x5dab6a131dad - as core::ops::function::FnOnce<()>>::call_once::h7f9d8efc7eedd165 [INFO] [stderr] > [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/core/src/panic/unwind_safe.rs:274:9 [INFO] [stderr] > [INFO] [stdout] 29: 0x5dab6a131dad - std::panicking::catch_unwind::do_call::he5edbaf126c13b99 [INFO] [stderr] > [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/panicking.rs:590:40 [INFO] [stderr] > [INFO] [stdout] 30: 0x5dab6a131dad - std::panicking::catch_unwind::h3d6a8652eceeabce [INFO] [stderr] > [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/panicking.rs:553: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: 0x5dab6a131dad - std::panic::catch_unwind::hbef0c501dd7bb498 [INFO] [stderr] --> $DIR/autobad-split-whole-mut-mut.rs:9:10 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/panic.rs:359:14 [INFO] [stderr] | [INFO] [stdout] 32: 0x5dab6a131dad - test::run_test_in_process::h400008a46a5006a0 [INFO] [stderr] 9 | #[derive(PartialBorrow,Default)] [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/test/src/lib.rs:686:27 [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stdout] 33: 0x5dab6a131dad - test::run_test::{{closure}}::h9a131655b31d9427 [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/c2e32f1c9652b13ed99608599c1e855462f421f3/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: 0x5dab6a10b2f4 - test::run_test::{{closure}}::he4a7177c216308c0 [INFO] [stderr] ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈ [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/test/src/lib.rs:637:41 [INFO] [stderr] [INFO] [stdout] 35: 0x5dab6a10b2f4 - std::sys::backtrace::__rust_begin_short_backtrace::hd3980e9c55d6c539 [INFO] [stderr] ACTUAL OUTPUT: [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/sys/backtrace.rs:158:18 [INFO] [stderr] ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈ [INFO] [stdout] 36: 0x5dab6a10ec2a - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::h18552df67c7aa9b8 [INFO] [stderr] error[E0277]: the trait bound `Mut: CanSplitInto` is not satisfied [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/thread/mod.rs:562:17 [INFO] [stderr] --> reject/autobad-split-whole-mut-mut.rs:16:43 [INFO] [stdout] 37: 0x5dab6a10ec2a - as core::ops::function::FnOnce<()>>::call_once::h3d7b285234641a08 [INFO] [stderr] | [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/core/src/panic/unwind_safe.rs:274:9 [INFO] [stderr] 16 | &mut partial!(X mut a)) = i.into(); [INFO] [stdout] 38: 0x5dab6a10ec2a - std::panicking::catch_unwind::do_call::h5a2b5cf36528a5b2 [INFO] [stderr] | ^^^^ unsatisfied trait bound [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/panicking.rs:590:40 [INFO] [stderr] | [INFO] [stdout] 39: 0x5dab6a10ec2a - std::panicking::catch_unwind::h7e8b531bbda77d20 [INFO] [stderr] = help: the trait `partial_borrow::perms::CanSplitInto` is not implemented for `partial_borrow::perms::Mut` [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/panicking.rs:553:19 [INFO] [stderr] = help: the following other types implement trait `partial_borrow::perms::CanSplitInto`: [INFO] [stdout] 40: 0x5dab6a10ec2a - std::panic::catch_unwind::hf9bbb2040b4f1e6c [INFO] [stderr] `partial_borrow::perms::Mut` implements `CanSplitInto` [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/panic.rs:359:14 [INFO] [stderr] `partial_borrow::perms::Mut` implements `partial_borrow::perms::CanSplitInto` [INFO] [stdout] 41: 0x5dab6a10ec2a - std::thread::Builder::spawn_unchecked_::{{closure}}::h600f92cf68549574 [INFO] [stderr] `partial_borrow::perms::Mut` implements `partial_borrow::perms::CanSplitInto` [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/thread/mod.rs:560:30 [INFO] [stderr] `partial_borrow::perms::Mut` implements `partial_borrow::perms::CanSplitInto` [INFO] [stdout] 42: 0x5dab6a10ec2a - core::ops::function::FnOnce::call_once{{vtable.shim}}::hb6607307df8a1847 [INFO] [stderr] `partial_borrow::perms::Mut` implements `partial_borrow::perms::CanSplitInto` [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/core/src/ops/function.rs:250:5 [INFO] [stderr] `partial_borrow::perms::Mut` implements `partial_borrow::perms::CanSplitInto` [INFO] [stdout] 43: 0x5dab6a153acf - as core::ops::function::FnOnce>::call_once::h6891ad53a5ed6f52 [INFO] [stderr] note: required for `(&mut X__Partial, &mut X__Partial)` to implement `From<&mut X>` [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/alloc/src/boxed.rs:2085:9 [INFO] [stderr] --> reject/autobad-split-whole-mut-mut.rs:9:10 [INFO] [stdout] 44: 0x5dab6a153acf - std::sys::thread::unix::Thread::new::thread_start::h7f3e77fa86df70af [INFO] [stderr] | [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/sys/thread/unix.rs:124:17 [INFO] [stderr] 9 | #[derive(PartialBorrow,Default)] [INFO] [stdout] 45: 0x72ec6b637aa4 - [INFO] [stderr] | ^^^^^^^^^^^^^ unsatisfied trait bound introduced in this `derive` macro [INFO] [stdout] 46: 0x72ec6b6c4a64 - clone [INFO] [stderr] = note: required for `&mut X` to implement `Into<(&mut X__Partial, &mut X__Partial)>` [INFO] [stdout] 47: 0x0 - [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-4ff8d502f2c5cfbe.long-type-7818580877052615728.txt' [INFO] [stdout] [INFO] [stderr] = note: consider using `--verbose` to print the full type name to the console [INFO] [stdout] [INFO] [stderr] = note: this error originates in the derive macro `PartialBorrow` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] failures: [INFO] [stderr] ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈ [INFO] [stdout] test::reject [INFO] [stderr] note: If the actual output is the correct output you can bless it by rerunning [INFO] [stdout] [INFO] [stderr] your test with the environment variable TRYBUILD=overwrite [INFO] [stdout] test result: FAILED. 7 passed; 1 failed; 0 ignored; 0 measured; 0 filtered out; finished in 15.79s [INFO] [stderr] [INFO] [stdout] [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" "939ec3a2dd651a2d297f5e28d083da2e59e179d158a36ad61e6377f0e92bd256", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "939ec3a2dd651a2d297f5e28d083da2e59e179d158a36ad61e6377f0e92bd256", kill_on_drop: false }` [INFO] [stdout] 939ec3a2dd651a2d297f5e28d083da2e59e179d158a36ad61e6377f0e92bd256