[INFO] fetching crate partial-borrow 1.0.1... [INFO] testing partial-borrow-1.0.1 against master#562dee4820c458d823175268e41601d4c060588a for pr-154210-1 [INFO] extracting crate partial-borrow 1.0.1 into /workspace/builds/worker-6-tc1/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-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate partial-borrow 1.0.1 on toolchain 562dee4820c458d823175268e41601d4c060588a [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+562dee4820c458d823175268e41601d4c060588a" "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" "+562dee4820c458d823175268e41601d4c060588a" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded itoa v1.0.3 [INFO] [stderr] Downloaded trybuild v1.0.64 [INFO] [stderr] Downloaded memoffset v0.6.5 [INFO] [stderr] Downloaded darling_macro v0.14.1 [INFO] [stderr] Downloaded fehler v1.0.0 [INFO] [stderr] Downloaded easy-ext v1.0.0 [INFO] [stderr] Downloaded proc-macro-error v1.0.4 [INFO] [stderr] Downloaded darling_core v0.14.1 [INFO] [stderr] Downloaded toml v0.5.9 [INFO] [stderr] Downloaded indexmap v1.9.1 [INFO] [stderr] Downloaded proc-macro2 v1.0.43 [INFO] [stderr] Downloaded itertools v0.10.3 [INFO] [stderr] Downloaded serde_json v1.0.85 [INFO] [stderr] Downloaded serde_derive v1.0.144 [INFO] [stderr] Downloaded syn v1.0.99 [INFO] [stderr] Downloaded ryu v1.0.11 [INFO] [stderr] Downloaded tempfile v3.3.0 [INFO] [stderr] Downloaded quote v1.0.21 [INFO] [stderr] Downloaded unicode-ident v1.0.3 [INFO] [stderr] Downloaded darling v0.14.1 [INFO] [stderr] Downloaded version_check v0.9.4 [INFO] [stderr] Downloaded glob v0.3.0 [INFO] [stderr] Downloaded once_cell v1.14.0 [INFO] [stderr] Downloaded either v1.8.0 [INFO] [stderr] Downloaded fastrand v1.8.0 [INFO] [stderr] Downloaded partial-borrow-macros v1.0.1 [INFO] [stderr] Downloaded termcolor v1.1.3 [INFO] [stderr] Downloaded serde v1.0.144 [INFO] [stderr] Downloaded strsim v0.10.0 [INFO] [stderr] Downloaded fehler-macros v1.0.0 [INFO] [stderr] Downloaded proc-macro-error-attr v1.0.4 [INFO] [stderr] Downloaded remove_dir_all v0.5.3 [INFO] [stderr] Downloaded libc v0.2.132 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+562dee4820c458d823175268e41601d4c060588a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] d33ad34bbb029d375e9c079121456bcb960759085ba5854d1acfbe02d872fb64 [INFO] running `Command { std: "docker" "start" "-a" "d33ad34bbb029d375e9c079121456bcb960759085ba5854d1acfbe02d872fb64", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d33ad34bbb029d375e9c079121456bcb960759085ba5854d1acfbe02d872fb64", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d33ad34bbb029d375e9c079121456bcb960759085ba5854d1acfbe02d872fb64", kill_on_drop: false }` [INFO] [stdout] d33ad34bbb029d375e9c079121456bcb960759085ba5854d1acfbe02d872fb64 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+562dee4820c458d823175268e41601d4c060588a" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 435d1c57386677605b28c9c0ee969e4d921b535a27e4b4c410975e48293bd00d [INFO] running `Command { std: "docker" "start" "-a" "435d1c57386677605b28c9c0ee969e4d921b535a27e4b4c410975e48293bd00d", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.43 [INFO] [stderr] Compiling quote v1.0.21 [INFO] [stderr] Compiling unicode-ident v1.0.3 [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 fnv v1.0.7 [INFO] [stderr] Compiling libc v0.2.132 [INFO] [stderr] Compiling ident_case v1.0.1 [INFO] [stderr] Compiling fastrand v1.8.0 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling remove_dir_all v0.5.3 [INFO] [stderr] Compiling either v1.8.0 [INFO] [stderr] Compiling hashbrown v0.12.3 [INFO] [stderr] Compiling indexmap v1.9.1 [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 17.10s [INFO] running `Command { std: "docker" "inspect" "435d1c57386677605b28c9c0ee969e4d921b535a27e4b4c410975e48293bd00d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "435d1c57386677605b28c9c0ee969e4d921b535a27e4b4c410975e48293bd00d", kill_on_drop: false }` [INFO] [stdout] 435d1c57386677605b28c9c0ee969e4d921b535a27e4b4c410975e48293bd00d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+562dee4820c458d823175268e41601d4c060588a" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e6239b9d6940cd4c908f5e6beb2dd0c563cd57cf03860800e5cd0920038a275d [INFO] running `Command { std: "docker" "start" "-a" "e6239b9d6940cd4c908f5e6beb2dd0c563cd57cf03860800e5cd0920038a275d", 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 ryu v1.0.11 [INFO] [stderr] Compiling trybuild v1.0.64 [INFO] [stderr] Compiling itoa v1.0.3 [INFO] [stderr] Compiling once_cell v1.14.0 [INFO] [stderr] Compiling termcolor v1.1.3 [INFO] [stderr] Compiling glob v0.3.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.23s [INFO] running `Command { std: "docker" "inspect" "e6239b9d6940cd4c908f5e6beb2dd0c563cd57cf03860800e5cd0920038a275d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e6239b9d6940cd4c908f5e6beb2dd0c563cd57cf03860800e5cd0920038a275d", kill_on_drop: false }` [INFO] [stdout] e6239b9d6940cd4c908f5e6beb2dd0c563cd57cf03860800e5cd0920038a275d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+562dee4820c458d823175268e41601d4c060588a" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] cf48c36935559d62701b866ed2c9b523a6f40ed02ebd6c9b59edbb29e0abb444 [INFO] running `Command { std: "docker" "start" "-a" "cf48c36935559d62701b866ed2c9b523a6f40ed02ebd6c9b59edbb29e0abb444", kill_on_drop: false }` [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] [INFO] [stdout] running 8 tests [INFO] [stdout] test test::treborrow::asref ... ok [INFO] [stdout] test test::tgenerics::test ... 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] [stdout] test test::treborrow::split_from_from ... 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 autocfg v1.1.0 [INFO] [stderr] Compiling version_check v0.9.4 [INFO] [stderr] Compiling libc v0.2.132 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling strsim v0.10.0 [INFO] [stderr] Compiling ident_case v1.0.1 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling fastrand v1.8.0 [INFO] [stderr] Compiling remove_dir_all v0.5.3 [INFO] [stderr] Compiling either v1.8.0 [INFO] [stderr] Compiling hashbrown v0.12.3 [INFO] [stderr] Compiling indexmap v1.9.1 [INFO] [stderr] Compiling memoffset v0.6.5 [INFO] [stderr] Compiling itertools v0.10.3 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling easy-ext v1.0.0 [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 22.56s [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-15912760292651749841.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-18188804557929237437.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-919689489007973737.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-802443041398925064.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-3769181871520055163.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-5476148153680637985.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-4319472822564237080.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-3953922625137927344.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-12972335702746013449.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-4157398587845759523.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-11730888184651610883.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-15088325674073593579.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-13434131280253315503.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-16854340352686900178.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] [stderr] error[E0277]: the trait bound `Mut: CanSplitInto` is not satisfied [INFO] [stderr] --> $DIR/autobad-split-whole-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>` for `(&mut X__Partial, &mut X__Partial)` [INFO] [stderr] --> $DIR/autobad-split-whole-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` [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-whole-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>` [INFO] [stderr] --> reject/autobad-split-whole-mut-const.rs:9:10 [INFO] [stderr] | [INFO] [stderr] 9 | #[derive(PartialBorrow,Default)] [INFO] [stderr] | ^^^^^^^^^^^^^ type parameter would need to implement `From<&mut X>` [INFO] [stderr] = help: consider manually implementing `From<&mut X>` to avoid undesired bounds [INFO] [stderr] = note: required for `&mut X` 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-fcdd7a4aab22fafe.long-type-1124961224138847551.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-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-whole-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>` for `(&mut X__Partial, &mut X__Partial)` [INFO] [stderr] --> $DIR/autobad-split-whole-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` [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-whole-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>` [INFO] [stderr] --> reject/autobad-split-whole-mut-mut.rs:9:10 [INFO] [stderr] | [INFO] [stderr] 9 | #[derive(PartialBorrow,Default)] [INFO] [stderr] | ^^^^^^^^^^^^^ type parameter would need to implement `From<&mut X>` [INFO] [stderr] = help: consider manually implementing `From<&mut X>` to avoid undesired bounds [INFO] [stderr] = note: required for `&mut X` 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-26101b8f474f932a.long-type-4392711323227371372.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/bad-field.rs ... ok [INFO] [stderr] [INFO] [stderr] [INFO] [stdout] test test::reject ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- test::reject stdout ---- [INFO] [stdout] [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] [stdout] 23 of 24 tests failed [INFO] [stdout] stack backtrace: [INFO] [stdout] 0: 0x581f8ba77d8a - std[31e582c13f4e914f]::backtrace_rs::backtrace::libunwind::trace [INFO] [stdout] at /rustc/562dee4820c458d823175268e41601d4c060588a/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9 [INFO] [stdout] 1: 0x581f8ba77d8a - std[31e582c13f4e914f]::backtrace_rs::backtrace::trace_unsynchronized:: [INFO] [stdout] at /rustc/562dee4820c458d823175268e41601d4c060588a/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14 [INFO] [stdout] 2: 0x581f8ba77d8a - std[31e582c13f4e914f]::sys::backtrace::_print_fmt [INFO] [stdout] at /rustc/562dee4820c458d823175268e41601d4c060588a/library/std/src/sys/backtrace.rs:74:9 [INFO] [stdout] 3: 0x581f8ba77d8a - <::print::DisplayBacktrace as core[fa0eadad68403074]::fmt::Display>::fmt [INFO] [stdout] at /rustc/562dee4820c458d823175268e41601d4c060588a/library/std/src/sys/backtrace.rs:44:26 [INFO] [stdout] 4: 0x581f8ba8d2aa - ::fmt [INFO] [stdout] at /rustc/562dee4820c458d823175268e41601d4c060588a/library/core/src/fmt/rt.rs:152:76 [INFO] [stdout] 5: 0x581f8ba8d2aa - core[fa0eadad68403074]::fmt::write [INFO] [stdout] 6: 0x581f8ba7cc52 - std[31e582c13f4e914f]::io::default_write_fmt::> [INFO] [stdout] at /rustc/562dee4820c458d823175268e41601d4c060588a/library/std/src/io/mod.rs:639:11 [INFO] [stdout] 7: 0x581f8ba7cc52 - as std[31e582c13f4e914f]::io::Write>::write_fmt [INFO] [stdout] at /rustc/562dee4820c458d823175268e41601d4c060588a/library/std/src/io/mod.rs:1994:13 [INFO] [stdout] 8: 0x581f8ba53dbf - ::print [INFO] [stdout] at /rustc/562dee4820c458d823175268e41601d4c060588a/library/std/src/sys/backtrace.rs:47:9 [INFO] [stdout] 9: 0x581f8ba53dbf - std[31e582c13f4e914f]::panicking::default_hook::{closure#0} [INFO] [stdout] at /rustc/562dee4820c458d823175268e41601d4c060588a/library/std/src/panicking.rs:292:27 [INFO] [stdout] 10: 0x581f8ba6ec49 - std[31e582c13f4e914f]::panicking::default_hook [INFO] [stdout] at /rustc/562dee4820c458d823175268e41601d4c060588a/library/std/src/panicking.rs:316:9 [INFO] [stdout] 11: 0x581f8ba09bec - core[fa0eadad68403074]::ops::function::Fn<(&'a std[31e582c13f4e914f]::panic::PanicHookInfo<'b>,), Output = ()> + core[fa0eadad68403074]::marker::Sync + core[fa0eadad68403074]::marker::Send> as core[fa0eadad68403074]::ops::function::Fn<(&std[31e582c13f4e914f]::panic::PanicHookInfo,)>>::call [INFO] [stdout] at /rustc/562dee4820c458d823175268e41601d4c060588a/library/alloc/src/boxed.rs:2254:9 [INFO] [stdout] 12: 0x581f8ba09bec - test[7530e63dc052480e]::test_main_with_exit_callback::::{closure#0} [INFO] [stdout] at /rustc/562dee4820c458d823175268e41601d4c060588a/library/test/src/lib.rs:145:21 [INFO] [stdout] 13: 0x581f8ba6ee02 - core[fa0eadad68403074]::ops::function::Fn<(&'a std[31e582c13f4e914f]::panic::PanicHookInfo<'b>,), Output = ()> + core[fa0eadad68403074]::marker::Sync + core[fa0eadad68403074]::marker::Send> as core[fa0eadad68403074]::ops::function::Fn<(&std[31e582c13f4e914f]::panic::PanicHookInfo,)>>::call [INFO] [stdout] at /rustc/562dee4820c458d823175268e41601d4c060588a/library/alloc/src/boxed.rs:2254:9 [INFO] [stdout] 14: 0x581f8ba6ee02 - std[31e582c13f4e914f]::panicking::panic_with_hook [INFO] [stdout] at /rustc/562dee4820c458d823175268e41601d4c060588a/library/std/src/panicking.rs:833:13 [INFO] [stdout] 15: 0x581f8ba53e78 - std[31e582c13f4e914f]::panicking::panic_handler::{closure#0} [INFO] [stdout] at /rustc/562dee4820c458d823175268e41601d4c060588a/library/std/src/panicking.rs:698:13 [INFO] [stdout] 16: 0x581f8ba48d99 - std[31e582c13f4e914f]::sys::backtrace::__rust_end_short_backtrace:: [INFO] [stdout] at /rustc/562dee4820c458d823175268e41601d4c060588a/library/std/src/sys/backtrace.rs:182:18 [INFO] [stdout] 17: 0x581f8ba54b8d - __rustc[fc8e3a9f23f26cb]::rust_begin_unwind [INFO] [stdout] at /rustc/562dee4820c458d823175268e41601d4c060588a/library/std/src/panicking.rs:689:5 [INFO] [stdout] 18: 0x581f8ba8da3c - core[fa0eadad68403074]::panicking::panic_fmt [INFO] [stdout] at /rustc/562dee4820c458d823175268e41601d4c060588a/library/core/src/panicking.rs:80:14 [INFO] [stdout] 19: 0x581f8b91f341 - ::run [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/trybuild-1.0.64/src/run.rs:101:13 [INFO] [stdout] 20: 0x581f8b926018 - ::drop [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/trybuild-1.0.64/src/lib.rs:310:38 [INFO] [stdout] 21: 0x581f8b840ab7 - core[fa0eadad68403074]::ptr::drop_in_place:: [INFO] [stdout] at /rustc/562dee4820c458d823175268e41601d4c060588a/library/core/src/ptr/mod.rs:809:1 [INFO] [stdout] 22: 0x581f8b8418b3 - partial_borrow[c43011640c307926]::test::reject [INFO] [stdout] at /opt/rustwide/workdir/src/../test/test.rs:12:69 [INFO] [stdout] 23: 0x581f8b840c77 - partial_borrow[c43011640c307926]::test::reject::{closure#0} [INFO] [stdout] at /opt/rustwide/workdir/src/../test/test.rs:12:12 [INFO] [stdout] 24: 0x581f8b848a26 - >::call_once [INFO] [stdout] at /rustc/562dee4820c458d823175268e41601d4c060588a/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 25: 0x581f8b9fdccb - core[fa0eadad68403074]::result::Result<(), alloc[49b8922c36ca62de]::string::String> as core[fa0eadad68403074]::ops::function::FnOnce<()>>::call_once [INFO] [stdout] at /rustc/562dee4820c458d823175268e41601d4c060588a/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 26: 0x581f8b9fdccb - test[7530e63dc052480e]::__rust_begin_short_backtrace::, fn() -> core[fa0eadad68403074]::result::Result<(), alloc[49b8922c36ca62de]::string::String>> [INFO] [stdout] at /rustc/562dee4820c458d823175268e41601d4c060588a/library/test/src/lib.rs:663:18 [INFO] [stdout] 27: 0x581f8ba0a6bb - test[7530e63dc052480e]::run_test_in_process::{closure#0} [INFO] [stdout] at /rustc/562dee4820c458d823175268e41601d4c060588a/library/test/src/lib.rs:686:74 [INFO] [stdout] 28: 0x581f8ba0a6bb - as core[fa0eadad68403074]::ops::function::FnOnce<()>>::call_once [INFO] [stdout] at /rustc/562dee4820c458d823175268e41601d4c060588a/library/core/src/panic/unwind_safe.rs:275:9 [INFO] [stdout] 29: 0x581f8ba0a6bb - std[31e582c13f4e914f]::panicking::catch_unwind::do_call::, core[fa0eadad68403074]::result::Result<(), alloc[49b8922c36ca62de]::string::String>> [INFO] [stdout] at /rustc/562dee4820c458d823175268e41601d4c060588a/library/std/src/panicking.rs:581:40 [INFO] [stdout] 30: 0x581f8ba0a6bb - std[31e582c13f4e914f]::panicking::catch_unwind::, core[fa0eadad68403074]::panic::unwind_safe::AssertUnwindSafe> [INFO] [stdout] at /rustc/562dee4820c458d823175268e41601d4c060588a/library/std/src/panicking.rs:544:19 [INFO] [stdout] 31: 0x581f8ba0a6bb - std[31e582c13f4e914f]::panic::catch_unwind::, core[fa0eadad68403074]::result::Result<(), alloc[49b8922c36ca62de]::string::String>> [INFO] [stdout] at /rustc/562dee4820c458d823175268e41601d4c060588a/library/std/src/panic.rs:359:14 [INFO] [stdout] 32: 0x581f8ba0a6bb - test[7530e63dc052480e]::run_test_in_process [INFO] [stdout] at /rustc/562dee4820c458d823175268e41601d4c060588a/library/test/src/lib.rs:686:27 [INFO] [stdout] 33: 0x581f8ba0a6bb - test[7530e63dc052480e]::run_test::{closure#0} [INFO] [stdout] at /rustc/562dee4820c458d823175268e41601d4c060588a/library/test/src/lib.rs:607:43 [INFO] [stdout] 34: 0x581f8ba04b14 - test[7530e63dc052480e]::run_test::{closure#1} [INFO] [stdout] at /rustc/562dee4820c458d823175268e41601d4c060588a/library/test/src/lib.rs:637:41 [INFO] [stdout] 35: 0x581f8ba04b14 - std[31e582c13f4e914f]::sys::backtrace::__rust_begin_short_backtrace:: [INFO] [stdout] at /rustc/562dee4820c458d823175268e41601d4c060588a/library/std/src/sys/backtrace.rs:166:18 [INFO] [stdout] 36: 0x581f8ba0d2c2 - std[31e582c13f4e914f]::thread::lifecycle::spawn_unchecked::::{closure#1}::{closure#0} [INFO] [stdout] at /rustc/562dee4820c458d823175268e41601d4c060588a/library/std/src/thread/lifecycle.rs:91:13 [INFO] [stdout] 37: 0x581f8ba0d2c2 - ::{closure#1}::{closure#0}> as core[fa0eadad68403074]::ops::function::FnOnce<()>>::call_once [INFO] [stdout] at /rustc/562dee4820c458d823175268e41601d4c060588a/library/core/src/panic/unwind_safe.rs:275:9 [INFO] [stdout] 38: 0x581f8ba0d2c2 - std[31e582c13f4e914f]::panicking::catch_unwind::do_call::::{closure#1}::{closure#0}>, ()> [INFO] [stdout] at /rustc/562dee4820c458d823175268e41601d4c060588a/library/std/src/panicking.rs:581:40 [INFO] [stdout] 39: 0x581f8ba0d2c2 - std[31e582c13f4e914f]::panicking::catch_unwind::<(), core[fa0eadad68403074]::panic::unwind_safe::AssertUnwindSafe::{closure#1}::{closure#0}>> [INFO] [stdout] at /rustc/562dee4820c458d823175268e41601d4c060588a/library/std/src/panicking.rs:544:19 [INFO] [stdout] 40: 0x581f8ba0d2c2 - std[31e582c13f4e914f]::panic::catch_unwind::::{closure#1}::{closure#0}>, ()> [INFO] [stdout] at /rustc/562dee4820c458d823175268e41601d4c060588a/library/std/src/panic.rs:359:14 [INFO] [stdout] 41: 0x581f8ba0d2c2 - std[31e582c13f4e914f]::thread::lifecycle::spawn_unchecked::::{closure#1} [INFO] [stdout] at /rustc/562dee4820c458d823175268e41601d4c060588a/library/std/src/thread/lifecycle.rs:89:26 [INFO] [stdout] 42: 0x581f8ba0d2c2 - ::{closure#1} as core[fa0eadad68403074]::ops::function::FnOnce<()>>::call_once::{shim:vtable#0} [INFO] [stdout] at /rustc/562dee4820c458d823175268e41601d4c060588a/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 43: 0x581f8ba7709f - + core[fa0eadad68403074]::marker::Send> as core[fa0eadad68403074]::ops::function::FnOnce<()>>::call_once [INFO] [stdout] at /rustc/562dee4820c458d823175268e41601d4c060588a/library/alloc/src/boxed.rs:2240:9 [INFO] [stdout] 44: 0x581f8ba7709f - ::new::thread_start [INFO] [stdout] at /rustc/562dee4820c458d823175268e41601d4c060588a/library/std/src/sys/thread/unix.rs:118:17 [INFO] [stdout] 45: 0x77ac71727aa4 - [INFO] [stdout] 46: 0x77ac717b4a64 - clone [INFO] [stdout] 47: 0x0 - [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] test::reject [INFO] [stdout] [INFO] [stdout] test result: FAILED. 7 passed; 1 failed; 0 ignored; 0 measured; 0 filtered out; finished in 24.83s [INFO] [stdout] [INFO] [stderr] error: test failed, to rerun pass `--lib` [INFO] running `Command { std: "docker" "inspect" "cf48c36935559d62701b866ed2c9b523a6f40ed02ebd6c9b59edbb29e0abb444", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cf48c36935559d62701b866ed2c9b523a6f40ed02ebd6c9b59edbb29e0abb444", kill_on_drop: false }` [INFO] [stdout] cf48c36935559d62701b866ed2c9b523a6f40ed02ebd6c9b59edbb29e0abb444