[INFO] cloning repository https://github.com/Kixiron/differential-render [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Kixiron/differential-render" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FKixiron%2Fdifferential-render", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FKixiron%2Fdifferential-render'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 58cb299b3cffb1a1c371e12b48b627e8d22217e6 [INFO] checking Kixiron/differential-render against try#ea0b8b54c698a32b6a15d1474117ead6958cef0e for pr-93275-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FKixiron%2Fdifferential-render" "/workspace/builds/worker-7/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Kixiron/differential-render on toolchain ea0b8b54c698a32b6a15d1474117ead6958cef0e [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+ea0b8b54c698a32b6a15d1474117ead6958cef0e" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/Kixiron/differential-render [INFO] finished tweaking git repo https://github.com/Kixiron/differential-render [INFO] tweaked toml for git repo https://github.com/Kixiron/differential-render written to /workspace/builds/worker-7/source/Cargo.toml [INFO] crate git repo https://github.com/Kixiron/differential-render already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+ea0b8b54c698a32b6a15d1474117ead6958cef0e" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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:83125433e4fff17b1ac56874832f668d9df75ee638575aca552b68e127bedee9" "/opt/rustwide/cargo-home/bin/cargo" "+ea0b8b54c698a32b6a15d1474117ead6958cef0e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 23d2f3638dcffa2c6eaf371be79442c685494c2d7b1aa5e142d7ccd6c2ebe79c [INFO] running `Command { std: "docker" "start" "-a" "23d2f3638dcffa2c6eaf371be79442c685494c2d7b1aa5e142d7ccd6c2ebe79c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "23d2f3638dcffa2c6eaf371be79442c685494c2d7b1aa5e142d7ccd6c2ebe79c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "23d2f3638dcffa2c6eaf371be79442c685494c2d7b1aa5e142d7ccd6c2ebe79c", kill_on_drop: false }` [INFO] [stdout] 23d2f3638dcffa2c6eaf371be79442c685494c2d7b1aa5e142d7ccd6c2ebe79c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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:83125433e4fff17b1ac56874832f668d9df75ee638575aca552b68e127bedee9" "/opt/rustwide/cargo-home/bin/cargo" "+ea0b8b54c698a32b6a15d1474117ead6958cef0e" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 1c8b5f7acd526732d35f3385c7101e30b8f38ffac713a0be1ef5357c61ff4fe6 [INFO] running `Command { std: "docker" "start" "-a" "1c8b5f7acd526732d35f3385c7101e30b8f38ffac713a0be1ef5357c61ff4fe6", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.26 [INFO] [stderr] Compiling unicode-xid v0.2.1 [INFO] [stderr] Compiling syn v1.0.68 [INFO] [stderr] Compiling serde_derive v1.0.125 [INFO] [stderr] Compiling serde v1.0.125 [INFO] [stderr] Compiling unicode-segmentation v1.7.1 [INFO] [stderr] Compiling pkg-config v0.3.19 [INFO] [stderr] Compiling strum v0.18.0 [INFO] [stderr] Compiling version-compare v0.0.10 [INFO] [stderr] Compiling libc v0.2.92 [INFO] [stderr] Compiling version_check v0.9.3 [INFO] [stderr] Compiling proc-macro-hack v0.5.19 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Checking pin-project-lite v0.2.6 [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling proc-macro-nested v0.1.7 [INFO] [stderr] Compiling memchr v2.3.4 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Checking futures-sink v0.3.13 [INFO] [stderr] Checking futures-core v0.3.13 [INFO] [stderr] Checking slab v0.4.2 [INFO] [stderr] Checking futures-channel v0.3.13 [INFO] [stderr] Checking pin-utils v0.1.0 [INFO] [stderr] Checking futures-task v0.3.13 [INFO] [stderr] Checking futures-io v0.3.13 [INFO] [stderr] Compiling anyhow v1.0.40 [INFO] [stderr] Compiling heck v0.3.2 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Compiling wasm-bindgen-shared v0.2.73 [INFO] [stderr] Checking once_cell v1.7.2 [INFO] [stderr] Compiling serde_json v1.0.64 [INFO] [stderr] Checking itoa v0.4.7 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling either v1.6.1 [INFO] [stderr] Compiling bumpalo v3.6.1 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling wasm-bindgen v0.2.73 [INFO] [stderr] Compiling itertools v0.9.0 [INFO] [stderr] Compiling byteorder v1.3.4 [INFO] [stderr] Compiling cairo-rs v0.9.1 [INFO] [stderr] Compiling pango v0.9.1 [INFO] [stderr] Compiling standback v0.2.17 [INFO] [stderr] Checking unic-char-range v0.9.0 [INFO] [stderr] Checking unic-common v0.9.0 [INFO] [stderr] Checking tracing-core v0.1.17 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Checking tinystr v0.3.4 [INFO] [stderr] Checking unic-ucd-version v0.9.0 [INFO] [stderr] Checking unic-char-property v0.9.0 [INFO] [stderr] Compiling gio v0.9.1 [INFO] [stderr] Compiling crossbeam-utils v0.8.3 [INFO] [stderr] Checking unic-ucd-bidi v0.9.0 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Checking unic-langid-impl v0.9.0 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Checking arrayvec v0.5.2 [INFO] [stderr] Compiling pangocairo v0.10.0 [INFO] [stderr] Checking regex-syntax v0.6.23 [INFO] [stderr] Compiling gdk-pixbuf v0.9.0 [INFO] [stderr] Checking matches v0.1.8 [INFO] [stderr] Checking unic-langid v0.9.0 [INFO] [stderr] Checking unic-bidi v0.9.0 [INFO] [stderr] Compiling atk v0.9.0 [INFO] [stderr] Compiling gdk v0.13.2 [INFO] [stderr] Compiling const_fn v0.4.6 [INFO] [stderr] Compiling gtk v0.9.2 [INFO] [stderr] Compiling time v0.2.26 [INFO] [stderr] Checking unicode-width v0.1.8 [INFO] [stderr] Checking kurbo v0.8.1 [INFO] [stderr] Checking rustc-hash v1.1.0 [INFO] [stderr] Checking fnv v1.0.7 [INFO] [stderr] Checking xi-unicode v0.3.0 [INFO] [stderr] Checking smallvec v1.6.1 [INFO] [stderr] Checking type-map v0.4.0 [INFO] [stderr] Checking getopts v0.2.21 [INFO] [stderr] Checking tracing-log v0.1.2 [INFO] [stderr] Checking sharded-slab v0.1.1 [INFO] [stderr] Checking thread_local v1.1.3 [INFO] [stderr] Compiling indexmap v1.6.2 [INFO] [stderr] Checking stable_deref_trait v1.2.0 [INFO] [stderr] Checking timely_bytes v0.12.0 [INFO] [stderr] Checking crossbeam-channel v0.5.0 [INFO] [stderr] Checking timely_logging v0.12.0 [INFO] [stderr] Checking abomonation v0.7.3 [INFO] [stderr] Checking ansi_term v0.12.1 [INFO] [stderr] Checking cfg-if v0.1.10 [INFO] [stderr] Checking intl-memoizer v0.5.1 [INFO] [stderr] Checking intl_pluralrules v7.0.1 [INFO] [stderr] Checking fluent-langneg v0.13.0 [INFO] [stderr] Checking keyboard-types v0.5.0 [INFO] [stderr] Checking instant v0.1.9 [INFO] [stderr] Compiling boolinator v2.4.0 [INFO] [stderr] Checking bytes v1.0.1 [INFO] [stderr] Compiling wee_alloc v0.4.5 [INFO] [stderr] Compiling yew v0.17.4 [INFO] [stderr] Checking hashbrown v0.9.1 [INFO] [stderr] Checking fluent-syntax v0.9.3 [INFO] [stderr] Checking anymap v0.12.1 [INFO] [stderr] Checking piet v0.4.0 [INFO] [stderr] Checking tinyvec v1.2.0 [INFO] [stderr] Checking cfg-match v0.2.1 [INFO] [stderr] Checking memory_units v0.4.0 [INFO] [stderr] Checking humantime v2.1.0 [INFO] [stderr] Checking http v0.2.3 [INFO] [stderr] Checking chrono v0.4.19 [INFO] [stderr] Checking gigatrace v0.1.0 (/opt/rustwide/workdir/crates/gigatrace) [INFO] [stderr] Checking regex-automata v0.1.9 [INFO] [stderr] Checking regex v1.4.5 [INFO] [stderr] Checking matchers v0.0.1 [INFO] [stderr] Compiling wasm-bindgen-backend v0.2.73 [INFO] [stderr] Compiling synstructure v0.12.4 [INFO] [stderr] Compiling wasm-bindgen-macro-support v0.2.73 [INFO] [stderr] Compiling thiserror-impl v1.0.24 [INFO] [stderr] Compiling strum_macros v0.18.0 [INFO] [stderr] Compiling futures-macro v0.3.13 [INFO] [stderr] Compiling tracing-attributes v0.1.15 [INFO] [stderr] Compiling time-macros-impl v0.1.1 [INFO] [stderr] Compiling rental-impl v0.5.5 [INFO] [stderr] Compiling abomonation_derive v0.5.0 [INFO] [stderr] Compiling druid-derive v0.4.0 (https://github.com/linebender/druid.git#5138e8b2) [INFO] [stderr] Compiling yew-macro v0.17.0 [INFO] [stderr] Compiling wasm-bindgen-macro v0.2.73 [INFO] [stderr] Checking time-macros v0.1.1 [INFO] [stderr] Checking futures-util v0.3.13 [INFO] [stderr] Compiling thiserror v1.0.24 [INFO] [stderr] Checking tracing v0.1.25 [INFO] [stderr] Checking futures-executor v0.3.13 [INFO] [stderr] Checking futures v0.3.13 [INFO] [stderr] Checking rental v0.5.5 [INFO] [stdout] error: proc-macro derive panicked [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/rental-0.5.5/src/lib.rs:93:12 [INFO] [stdout] | [INFO] [stdout] 93 | #[derive(__rental_traits)] [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 117 | define_rental_traits!(32); [INFO] [stdout] | ------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: message: expected suffix ").0," not found in "#[allow(unused)] enum ProceduralMasqueradeDummyType\n{ Input = (0, stringify! (32)).0 }" [INFO] [stdout] = note: this error originates in the macro `define_rental_traits` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: proc-macro derive panicked [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/rental-0.5.5/src/lib.rs:257:13 [INFO] [stdout] | [INFO] [stdout] 257 | #[derive(__rental_structs_and_impls)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 285 | / rental! { [INFO] [stdout] 286 | | /// Example types that demonstrate the API generated by the rental macro. [INFO] [stdout] 287 | | pub mod examples { [INFO] [stdout] 288 | | use std::sync; [INFO] [stdout] ... | [INFO] [stdout] 345 | | } [INFO] [stdout] 346 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: message: expected suffix ").0," not found in "#[allow(unused)] enum ProceduralMasqueradeDummyType\n{\n Input =\n (0, stringify!\n (use std :: sync ;\n #[doc =\n r\" The simplest shared rental. The head is a boxed integer, and the suffix is a ref to that integer. This struct demonstrates the basic API that all shared rental structs have. See [`SimpleMut`](struct.SimpleMut.html) for the mutable analog.\"]\n #[rental] pub struct SimpleRef { head : Box < i32 >, iref : & 'head i32, }\n #[doc =\n r\" The simplest mutable rental. Mutable rentals have a slightly different API; compare this struct to [`SimpleRef`](struct.SimpleRef.html) for the clearest picture of how they differ.\"]\n #[rental_mut] pub struct SimpleMut\n { head : Box < i32 >, iref : & 'head mut i32, }\n #[doc =\n r\" Identical to [`SimpleRef`](struct.SimpleRef.html), but with the `debug` flag enabled. This will provide a `Debug` impl for the struct as long as all of the fields are `Debug`.\"]\n #[rental(debug)] pub struct SimpleRefDebug\n { head : Box < i32 >, iref : & 'head i32, }\n #[doc =\n r\" Similar to [`SimpleRef`](struct.SimpleRef.html), but with the `clone` flag enabled. This will provide a `Clone` impl for the struct as long as the prefix fields are `CloneStableDeref` and the suffix is `Clone` . Notice that the head is an `Arc`, since a clone of an `Arc` will deref to the same object as the original.\"]\n #[rental(clone)] pub struct SimpleRefClone\n { head : sync :: Arc < i32 >, iref : & 'head i32, }\n #[doc =\n r\" Identical to [`SimpleRef`](struct.SimpleRef.html), but with the `deref_suffix` flag enabled. This will provide a `Deref` impl for the struct, which will in turn deref the suffix. Notice that this flag also removes the `self` param from all methods, replacing it with an explicit param. This prevents any rental methods from blocking deref.\"]\n #[rental(deref_suffix)] pub struct SimpleRefDeref\n { head : Box < i32 >, iref : & 'head i32, }\n #[doc =\n r\" Identical to [`SimpleMut`](struct.SimpleMut.html), but with the `deref_mut_suffix` flag enabled. This will provide a `DerefMut` impl for the struct, which will in turn deref the suffix.Notice that this flag also removes the `self` param from all methods, replacing it with an explicit param. This prevents any rental methods from blocking deref.\"]\n #[rental_mut(deref_mut_suffix)] pub struct SimpleMutDeref\n { head : Box < i32 >, iref : & 'head mut i32, }\n #[doc =\n r\" Identical to [`SimpleRef`](struct.SimpleRef.html), but with the `covariant` flag enabled. For rental structs where the field types have covariant lifetimes, this will allow you to directly borrow the fields, as they can be safely reborrowed to a shorter lifetime. See the [`all`](struct.SimpleRefCovariant.html#method.all) and [`suffix`](struct.SimpleRefCovariant.html#method.suffix) methods.\"]\n #[rental(covariant)] pub struct SimpleRefCovariant\n { head : Box < i32 >, iref : & 'head i32, }\n #[doc =\n r\" Identical to [`SimpleRef`](struct.SimpleRef.html), but with the `map_suffix` flag enabled. This will allow the type of the suffix to be changed by mapping it to another instantiation of the same struct with the different type param. See the [`map`](struct.SimpleRefMap.html#method.map), [`try_map`](struct.SimpleRefMap.html#method.try_map), and [`try_map_or_drop`](struct.SimpleRefMap.html#method.try_map_or_drop) methods.\"]\n #[rental(map_suffix = \"T\")] pub struct SimpleRefMap < T : 'static >\n { head : Box < i32 >, iref : & 'head T, })).0\n}" [INFO] [stdout] = note: this error originates in the macro `rental` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: proc-macro derive panicked [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/rental-0.5.5/src/lib.rs:257:13 [INFO] [stdout] | [INFO] [stdout] 257 | #[derive(__rental_structs_and_impls)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 350 | / rental! { [INFO] [stdout] 351 | | /// Premade types for the most common use cases. [INFO] [stdout] 352 | | pub mod common { [INFO] [stdout] 353 | | use std::ops::DerefMut; [INFO] [stdout] ... | [INFO] [stdout] 484 | | } [INFO] [stdout] 485 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: message: expected suffix ").0," not found in "#[allow(unused)] enum ProceduralMasqueradeDummyType\n{\n Input =\n (0, stringify!\n (use std :: ops :: DerefMut ; use stable_deref_trait :: StableDeref ; use\n std :: cell ; use std :: sync ;\n #[doc = r\" Stores an owner and a shared reference in the same struct.\"]\n #[doc = r\"\"] #[doc = r\" ```rust\"] #[doc = r\" # extern crate rental;\"]\n #[doc = r\" # use rental::common::RentRef;\"] #[doc = r\" # fn main() {\"]\n #[doc = r\" let r = RentRef::new(Box::new(5), |i| &*i);\"]\n #[doc = r\" assert_eq!(*r, RentRef::rent(&r, |iref| **iref));\"]\n #[doc = r\" # }\"] #[doc = r\" ```\"]\n #[rental(debug, clone, deref_suffix, covariant, map_suffix = \"T\")] pub\n struct RentRef < H : 'static + StableDeref, T : 'static >\n { head : H, suffix : & 'head T, }\n #[doc = r\" Stores an owner and a mutable reference in the same struct.\"]\n #[doc = r\"\"] #[doc = r\" ```rust\"] #[doc = r\" # extern crate rental;\"]\n #[doc = r\" # use rental::common::RentMut;\"] #[doc = r\" # fn main() {\"]\n #[doc = r\" let mut r = RentMut::new(Box::new(5), |i| &mut *i);\"]\n #[doc = r\" *r = 12;\"]\n #[doc = r\" assert_eq!(12, RentMut::rent(&mut r, |iref| **iref));\"]\n #[doc = r\" # }\"] #[doc = r\" ```\"]\n #[rental_mut(debug, deref_mut_suffix, covariant, map_suffix = \"T\")] pub\n struct RentMut < H : 'static + StableDeref + DerefMut, T : 'static >\n { head : H, suffix : & 'head mut T, }\n #[doc = r\" Stores a `RefCell` and a `Ref` in the same struct.\"]\n #[doc = r\"\"] #[doc = r\" ```rust\"] #[doc = r\" # extern crate rental;\"]\n #[doc = r\" # use rental::common::RentRefCell;\"] #[doc = r\" # fn main() {\"]\n #[doc = r\" use std::cell;\"] #[doc = r\"\"]\n #[doc =\n r\" let r = RentRefCell::new(Box::new(cell::RefCell::new(5)), |c| c.borrow());\"]\n #[doc = r\" assert_eq!(*r, RentRefCell::rent(&r, |c| **c));\"]\n #[doc = r\" # }\"] #[doc = r\" ```\"]\n #[rental(debug, clone, deref_suffix, covariant, map_suffix = \"T\")] pub\n struct RentRefCell < H : 'static + StableDeref, T : 'static >\n { head : H, suffix : cell :: Ref < 'head, T >, }\n #[doc = r\" Stores a `RefCell` and a `RefMut` in the same struct.\"]\n #[doc = r\"\"] #[doc = r\" ```rust\"] #[doc = r\" # extern crate rental;\"]\n #[doc = r\" # use rental::common::RentRefCellMut;\"]\n #[doc = r\" # fn main() {\"] #[doc = r\" use std::cell;\"] #[doc = r\"\"]\n #[doc =\n r\" let mut r = RentRefCellMut::new(Box::new(cell::RefCell::new(5)), |c| c.borrow_mut());\"]\n #[doc = r\" *r = 12;\"]\n #[doc = r\" assert_eq!(12, RentRefCellMut::rent(&r, |c| **c));\"]\n #[doc = r\" # }\"] #[doc = r\" ```\"]\n #[rental_mut(debug, deref_mut_suffix, covariant, map_suffix = \"T\")] pub\n struct RentRefCellMut < H : 'static + StableDeref + DerefMut, T : 'static\n > { head : H, suffix : cell :: RefMut < 'head, T >, }\n #[doc = r\" Stores a `Mutex` and a `MutexGuard` in the same struct.\"]\n #[doc = r\"\"] #[doc = r\" ```rust\"] #[doc = r\" # extern crate rental;\"]\n #[doc = r\" # use rental::common::RentMutex;\"] #[doc = r\" # fn main() {\"]\n #[doc = r\" use std::sync;\"] #[doc = r\"\"]\n #[doc =\n r\" let mut r = RentMutex::new(Box::new(sync::Mutex::new(5)), |c| c.lock().unwrap());\"]\n #[doc = r\" *r = 12;\"]\n #[doc = r\" assert_eq!(12, RentMutex::rent(&r, |c| **c));\"]\n #[doc = r\" # }\"] #[doc = r\" ```\"]\n #[rental(debug, clone, deref_mut_suffix, covariant, map_suffix = \"T\")] pub\n struct RentMutex < H : 'static + StableDeref + DerefMut, T : 'static >\n { head : H, suffix : sync :: MutexGuard < 'head, T >, }\n #[doc =\n r\" Stores an `RwLock` and an `RwLockReadGuard` in the same struct.\"]\n #[doc = r\"\"] #[doc = r\" ```rust\"] #[doc = r\" # extern crate rental;\"]\n #[doc = r\" # use rental::common::RentRwLock;\"] #[doc = r\" # fn main() {\"]\n #[doc = r\" use std::sync;\"] #[doc = r\"\"]\n #[doc =\n r\" let r = RentRwLock::new(Box::new(sync::RwLock::new(5)), |c| c.read().unwrap());\"]\n #[doc = r\" assert_eq!(*r, RentRwLock::rent(&r, |c| **c));\"]\n #[doc = r\" # }\"] #[doc = r\" ```\"]\n #[rental(debug, clone, deref_suffix, covariant, map_suffix = \"T\")] pub\n struct RentRwLock < H : 'static + StableDeref, T : 'static >\n { head : H, suffix : sync :: RwLockReadGuard < 'head, T >, }\n #[doc =\n r\" Stores an `RwLock` and an `RwLockWriteGuard` in the same struct.\"]\n #[doc = r\"\"] #[doc = r\" ```rust\"] #[doc = r\" # extern crate rental;\"]\n #[doc = r\" # use rental::common::RentRwLockMut;\"]\n #[doc = r\" # fn main() {\"] #[doc = r\" use std::sync;\"] #[doc = r\"\"]\n #[doc =\n r\" let mut r = RentRwLockMut::new(Box::new(sync::RwLock::new(5)), |c| c.write().unwrap());\"]\n #[doc = r\" *r = 12;\"]\n #[doc = r\" assert_eq!(12, RentRwLockMut::rent(&r, |c| **c));\"]\n #[doc = r\" # }\"] #[doc = r\" ```\"]\n #[rental(debug, clone, deref_mut_suffix, covariant, map_suffix = \"T\")] pub\n struct RentRwLockMut < H : 'static + StableDeref, T : 'static >\n { head : H, suffix : sync :: RwLockWriteGuard < 'head, T >, })).0\n}" [INFO] [stdout] = note: this error originates in the macro `rental` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `rental` due to 4 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] running `Command { std: "docker" "inspect" "1c8b5f7acd526732d35f3385c7101e30b8f38ffac713a0be1ef5357c61ff4fe6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1c8b5f7acd526732d35f3385c7101e30b8f38ffac713a0be1ef5357c61ff4fe6", kill_on_drop: false }` [INFO] [stdout] 1c8b5f7acd526732d35f3385c7101e30b8f38ffac713a0be1ef5357c61ff4fe6