[INFO] fetching crate solana_libra_vm_genesis 0.0.1-sol5... [INFO] testing solana_libra_vm_genesis-0.0.1-sol5 against try#dec9417b8611e34e787a3e4c37686b5131f9e5c5 for pr-154210-1 [INFO] extracting crate solana_libra_vm_genesis 0.0.1-sol5 into /workspace/builds/worker-7-tc2/source [INFO] started tweaking crates.io crate solana_libra_vm_genesis 0.0.1-sol5 [INFO] finished tweaking crates.io crate solana_libra_vm_genesis 0.0.1-sol5 [INFO] tweaked toml for crates.io crate solana_libra_vm_genesis 0.0.1-sol5 written to /workspace/builds/worker-7-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate solana_libra_vm_genesis 0.0.1-sol5 on toolchain dec9417b8611e34e787a3e4c37686b5131f9e5c5 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate solana_libra_vm_genesis 0.0.1-sol5 already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 6b652c09a2269bc601430afd2aedf90affa53cba80c4cc042bcfc50195d61788 [INFO] running `Command { std: "docker" "start" "-a" "6b652c09a2269bc601430afd2aedf90affa53cba80c4cc042bcfc50195d61788", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "6b652c09a2269bc601430afd2aedf90affa53cba80c4cc042bcfc50195d61788", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6b652c09a2269bc601430afd2aedf90affa53cba80c4cc042bcfc50195d61788", kill_on_drop: false }` [INFO] [stdout] 6b652c09a2269bc601430afd2aedf90affa53cba80c4cc042bcfc50195d61788 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 103db0a9725546df91b659c9b065d3e5e3b217a0c88e84934b4a58401db1c819 [INFO] running `Command { std: "docker" "start" "-a" "103db0a9725546df91b659c9b065d3e5e3b217a0c88e84934b4a58401db1c819", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.69 [INFO] [stderr] Compiling proc-macro2 v1.0.10 [INFO] [stderr] Compiling unicode-xid v0.2.0 [INFO] [stderr] Compiling syn v1.0.18 [INFO] [stderr] Compiling byteorder v1.3.4 [INFO] [stderr] Compiling autocfg v1.0.0 [INFO] [stderr] Compiling serde v1.0.106 [INFO] [stderr] Compiling cc v1.0.52 [INFO] [stderr] Compiling either v1.5.3 [INFO] [stderr] Compiling rand_core v0.4.2 [INFO] [stderr] Compiling maybe-uninit v2.0.0 [INFO] [stderr] Compiling autocfg v0.1.7 [INFO] [stderr] Compiling rand_core v0.3.1 [INFO] [stderr] Compiling log v0.4.8 [INFO] [stderr] Compiling crossbeam-utils v0.7.2 [INFO] [stderr] Compiling getrandom v0.1.14 [INFO] [stderr] Compiling typenum v1.12.0 [INFO] [stderr] Compiling iovec v0.1.4 [INFO] [stderr] Compiling bytes v0.4.12 [INFO] [stderr] Compiling rustc-demangle v0.1.16 [INFO] [stderr] Compiling failure_derive v0.1.7 [INFO] [stderr] Compiling rand_chacha v0.1.1 [INFO] [stderr] Compiling quote v1.0.4 [INFO] [stderr] Compiling rand_pcg v0.1.2 [INFO] [stderr] Compiling backtrace-sys v0.1.37 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling rand v0.6.5 [INFO] [stderr] Compiling rand_os v0.1.3 [INFO] [stderr] Compiling rand_isaac v0.1.1 [INFO] [stderr] Compiling rand_hc v0.1.0 [INFO] [stderr] Compiling rand_xorshift v0.1.1 [INFO] [stderr] Compiling rand_jitter v0.1.4 [INFO] [stderr] Compiling scopeguard v1.1.0 [INFO] [stderr] Compiling unicode-xid v0.1.0 [INFO] [stderr] Compiling memoffset v0.5.4 [INFO] [stderr] Compiling fnv v1.0.6 [INFO] [stderr] Compiling ppv-lite86 v0.2.6 [INFO] [stderr] Compiling rand_pcg v0.2.1 [INFO] [stderr] Compiling itertools v0.8.2 [INFO] [stderr] Compiling crossbeam-epoch v0.8.2 [INFO] [stderr] Compiling proc-macro2 v0.4.30 [INFO] [stderr] Compiling generic-array v0.12.3 [INFO] [stderr] Compiling byte-tools v0.3.1 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling digest v0.8.1 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling num-traits v0.2.11 [INFO] [stderr] Compiling regex-syntax v0.6.17 [INFO] [stderr] Compiling syn v0.15.44 [INFO] [stderr] Compiling quote v0.6.13 [INFO] [stderr] Compiling crossbeam-deque v0.7.3 [INFO] [stderr] Compiling block-padding v0.1.5 [INFO] [stderr] Compiling crossbeam-queue v0.2.1 [INFO] [stderr] Compiling memchr v2.3.3 [INFO] [stderr] Compiling opaque-debug v0.2.3 [INFO] [stderr] Compiling block-buffer v0.7.3 [INFO] [stderr] Compiling thread_local v1.0.1 [INFO] [stderr] Compiling rand v0.4.6 [INFO] [stderr] Compiling remove_dir_all v0.5.2 [INFO] [stderr] Compiling fake-simd v0.1.2 [INFO] [stderr] Compiling slog v2.5.2 [INFO] [stderr] Compiling tempfile v3.1.0 [INFO] [stderr] Compiling aho-corasick v0.7.10 [INFO] [stderr] Compiling bit-vec v0.5.1 [INFO] [stderr] Compiling bit-set v0.5.1 [INFO] [stderr] Compiling sha2 v0.8.1 [INFO] [stderr] Compiling clear_on_drop v0.2.3 [INFO] [stderr] Compiling crossbeam-channel v0.4.2 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling num-integer v0.1.42 [INFO] [stderr] Compiling subtle v2.2.2 [INFO] [stderr] Compiling ordermap v0.3.5 [INFO] [stderr] Compiling itoa v0.4.5 [INFO] [stderr] Compiling fixedbitset v0.1.9 [INFO] [stderr] Compiling time v0.1.43 [INFO] [stderr] Compiling dirs-sys v0.3.4 [INFO] [stderr] Compiling futures v0.1.29 [INFO] [stderr] Compiling petgraph v0.4.13 [INFO] [stderr] Compiling subtle v1.0.0 [INFO] [stderr] Compiling crypto-mac v0.7.0 [INFO] [stderr] Compiling dirs v2.0.2 [INFO] [stderr] Compiling crossbeam v0.7.3 [INFO] [stderr] Compiling wait-timeout v0.2.0 [INFO] [stderr] Compiling ryu v1.0.4 [INFO] [stderr] Compiling synstructure v0.12.3 [INFO] [stderr] Compiling regex v1.3.7 [INFO] [stderr] Compiling arc-swap v0.4.6 [INFO] [stderr] Compiling semver-parser v0.7.0 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Compiling slog-scope v4.3.0 [INFO] [stderr] Compiling chrono v0.4.11 [INFO] [stderr] Compiling rusty-fork v0.2.2 [INFO] [stderr] Compiling term v0.6.1 [INFO] [stderr] Compiling keccak v0.1.0 [INFO] [stderr] Compiling take_mut v0.2.2 [INFO] [stderr] Compiling memsec v0.5.7 [INFO] [stderr] Compiling unicode-segmentation v1.6.0 [INFO] [stderr] Compiling solana_libra_failure_macros v0.0.1-sol5 [INFO] [stderr] Compiling slog-async v2.5.0 [INFO] [stderr] Compiling sha3 v0.8.2 [INFO] [stderr] Compiling slog-term v2.5.0 [INFO] [stderr] Compiling heck v0.3.1 [INFO] [stderr] Compiling proptest v0.9.6 [INFO] [stderr] Compiling serde_derive v1.0.106 [INFO] [stderr] Compiling zeroize_derive v1.0.0 [INFO] [stderr] Compiling slog-stdlog v4.0.0 [INFO] [stderr] Compiling rustc_version v0.2.3 [INFO] [stderr] Compiling curve25519-dalek v1.2.3 [INFO] [stderr] Compiling rand04 v0.1.1 [INFO] [stderr] Compiling zeroize v1.1.0 [INFO] [stderr] Compiling multimap v0.4.0 [INFO] [stderr] Compiling curve25519-dalek v2.0.0 [INFO] [stderr] Compiling rand04_compat v0.1.1 [INFO] [stderr] Compiling tiny-keccak v1.5.0 [INFO] [stderr] Compiling slog-envlogger v2.2.0 [INFO] [stderr] Compiling pairing v0.14.2 [INFO] [stderr] Compiling errno v0.2.5 [INFO] [stderr] Compiling thread-id v3.3.0 [INFO] [stderr] Compiling hex v0.3.2 [INFO] [stderr] Compiling hex_fmt v0.3.0 [INFO] [stderr] Compiling siphasher v0.2.3 [INFO] [stderr] Compiling phf_shared v0.7.24 [INFO] [stderr] Compiling x25519-dalek v0.6.0 [INFO] [stderr] Compiling solana_libra_crypto-derive v0.0.1-sol5 [INFO] [stderr] Compiling derivative v2.1.1 [INFO] [stderr] Compiling hmac v0.7.1 [INFO] [stderr] Compiling smallvec v0.6.13 [INFO] [stderr] Compiling nibble_vec v0.0.4 [INFO] [stderr] Compiling endian-type v0.1.2 [INFO] [stderr] Compiling proptest-derive v0.1.2 [INFO] [stderr] Compiling radix_trie v0.1.6 [INFO] [stderr] Compiling phf_generator v0.7.24 [INFO] [stderr] Compiling bech32 v0.6.0 [INFO] [stderr] Compiling string_cache_shared v0.3.0 [INFO] [stderr] Compiling num_cpus v1.13.0 [INFO] [stderr] Compiling string_cache_codegen v0.4.4 [INFO] [stderr] Compiling slab v0.4.2 [INFO] [stderr] Compiling parking_lot_core v0.6.2 [INFO] [stderr] Compiling tokio-executor v0.1.10 [INFO] [stderr] Compiling dirs v1.0.5 [INFO] [stderr] Compiling term v0.5.2 [INFO] [stderr] Compiling string_cache v0.7.5 [INFO] [stderr] Compiling parking_lot v0.9.0 [INFO] [stderr] Compiling strsim v0.9.3 [INFO] [stderr] Compiling new_debug_unreachable v1.0.4 [INFO] [stderr] Compiling mirai-annotations v1.7.0 [INFO] [stderr] Compiling precomputed-hash v0.1.1 [INFO] [stderr] Compiling ascii-canvas v2.0.0 [INFO] [stderr] Compiling tokio-io v0.1.13 [INFO] [stderr] Compiling lock_api v0.3.4 [INFO] [stderr] Compiling ena v0.13.1 [INFO] [stderr] Compiling net2 v0.2.33 [INFO] [stderr] Compiling matches v0.1.8 [INFO] [stderr] Compiling lalrpop-util v0.17.2 [INFO] [stderr] Compiling diff v0.1.12 [INFO] [stderr] Compiling smallvec v1.4.0 [INFO] [stderr] Compiling unicode-normalization v0.1.12 [INFO] [stderr] Compiling mio v0.6.21 [INFO] [stderr] Compiling unicode-bidi v0.3.4 [INFO] [stderr] Compiling tokio-sync v0.1.8 [INFO] [stderr] Compiling indexmap v1.3.2 [INFO] [stderr] Compiling stable_deref_trait v1.1.1 [INFO] [stderr] Compiling blake2 v0.8.1 [INFO] [stderr] Compiling http v0.1.21 [INFO] [stderr] Compiling sha-1 v0.8.2 [INFO] [stderr] Compiling tokio-reactor v0.1.12 [INFO] [stderr] Compiling percent-encoding v1.0.1 [INFO] [stderr] Compiling idna v0.1.5 [INFO] [stderr] Compiling bit-vec v0.6.1 [INFO] [stderr] Compiling unsigned-varint v0.2.3 [INFO] [stderr] Compiling httparse v1.3.4 [INFO] [stderr] Compiling parity-multihash v0.1.3 [INFO] [stderr] Compiling solana_libra_proptest_helpers v0.0.1-sol5 [INFO] [stderr] Compiling owning_ref v0.3.3 [INFO] [stderr] Compiling tokio-threadpool v0.1.18 [INFO] [stderr] Compiling tokio-timer v0.2.13 [INFO] [stderr] Compiling tokio-current-thread v0.1.7 [INFO] [stderr] Compiling url v1.7.2 [INFO] [stderr] Compiling parking_lot_core v0.2.14 [INFO] [stderr] Compiling hyper v0.12.35 [INFO] [stderr] Compiling tokio-buf v0.1.1 [INFO] [stderr] Compiling string v0.2.1 [INFO] [stderr] Compiling bs58 v0.2.5 [INFO] [stderr] Compiling prometheus v0.7.0 [INFO] [stderr] Compiling c_linked_list v1.1.1 [INFO] [stderr] Compiling rayon-core v1.7.0 [INFO] [stderr] Compiling try-lock v0.2.2 [INFO] [stderr] Compiling termcolor v1.1.0 [INFO] [stderr] Compiling data-encoding v2.2.0 [INFO] [stderr] Compiling arrayref v0.3.6 [INFO] [stderr] Compiling want v0.2.0 [INFO] [stderr] Compiling backtrace v0.3.46 [INFO] [stderr] Compiling toml v0.5.6 [INFO] [stderr] Compiling serde_json v1.0.52 [INFO] [stderr] Compiling solana_libra_nibble v0.0.1-sol5 [INFO] [stderr] Compiling failure v0.1.7 [INFO] [stderr] Compiling bincode v1.2.1 [INFO] [stderr] Compiling ed25519-dalek v1.0.0-pre.3 [INFO] [stderr] Compiling docopt v1.1.0 [INFO] [stderr] Compiling which v2.0.1 [INFO] [stderr] Compiling prost-derive v0.5.0 [INFO] [stderr] Compiling solana_libra_failure_ext v0.0.1-sol5 [INFO] [stderr] Compiling threshold_crypto v0.3.2 [INFO] [stderr] Compiling prost-build v0.5.0 [INFO] [stderr] Compiling solana_libra_canonical_serialization v0.0.1-sol5 [INFO] [stderr] Compiling solana_libra_logger v0.0.1-sol5 [INFO] [stderr] Compiling codespan v0.2.1 [INFO] [stderr] Compiling proc-macro-crate v0.1.4 [INFO] [stderr] Compiling solana_libra_crypto v0.0.1-sol5 [INFO] [stderr] Compiling lalrpop v0.17.2 [INFO] [stderr] Compiling codespan-reporting v0.2.1 [INFO] [stderr] Compiling parity-multiaddr v0.5.0 [INFO] [stderr] Compiling h2 v0.1.26 [INFO] [stderr] Compiling http-body v0.1.0 [INFO] [stderr] Compiling get_if_addrs v0.5.3 [INFO] [stderr] Compiling parking_lot v0.4.8 [INFO] [stderr] Compiling tokio v0.1.22 [INFO] [stderr] Compiling tokio-tcp v0.1.4 [INFO] [stderr] Compiling futures-cpupool v0.1.8 [INFO] [stderr] Compiling solana_libra_tools v0.0.1-sol5 [INFO] [stderr] Compiling num_enum_derive v0.4.3 [INFO] [stderr] Compiling chashmap v2.2.2 [INFO] [stderr] Compiling rental-impl v0.5.5 [INFO] [stderr] Compiling typed-arena v1.7.0 [INFO] [stderr] Compiling solana_libra_vm_cache_map v0.0.1-sol5 [INFO] [stderr] Compiling rayon v1.3.0 [INFO] [stderr] Compiling prost v0.5.0 [INFO] [stderr] Compiling num_enum v0.4.3 [INFO] [stderr] Compiling prost-types v0.5.0 [INFO] [stderr] Compiling solana_libra_prost_ext v0.0.1-sol5 [INFO] [stderr] Compiling solana_libra_types v0.0.1-sol5 [INFO] [stderr] Compiling solana_libra_metrics v0.0.1-sol5 [INFO] [stderr] Compiling rental v0.5.5 [INFO] [stdout] error: proc-macro derive panicked [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/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/index.crates.io-1949cf8c6b5b557f/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] 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, 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, 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, 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, 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, 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, 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, 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\n { head: Box, 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/index.crates.io-1949cf8c6b5b557f/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] 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\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\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\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\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\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\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\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] [stderr] error: could not compile `rental` (lib) due to 3 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] running `Command { std: "docker" "inspect" "103db0a9725546df91b659c9b065d3e5e3b217a0c88e84934b4a58401db1c819", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "103db0a9725546df91b659c9b065d3e5e3b217a0c88e84934b4a58401db1c819", kill_on_drop: false }` [INFO] [stdout] 103db0a9725546df91b659c9b065d3e5e3b217a0c88e84934b4a58401db1c819