[INFO] fetching crate adblock 0.2.9... [INFO] checking adblock-0.2.9 against try#c8bdaa84ec1b37f18f30375e196a65b7602f3790 for pr-73345 [INFO] extracting crate adblock 0.2.9 into /workspace/builds/worker-5/source [INFO] validating manifest of crates.io crate adblock 0.2.9 on toolchain c8bdaa84ec1b37f18f30375e196a65b7602f3790 [INFO] running `"/workspace/cargo-home/bin/cargo" "+c8bdaa84ec1b37f18f30375e196a65b7602f3790" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] started tweaking crates.io crate adblock 0.2.9 [INFO] finished tweaking crates.io crate adblock 0.2.9 [INFO] tweaked toml for crates.io crate adblock 0.2.9 written to /workspace/builds/worker-5/source/Cargo.toml [INFO] crate crates.io crate adblock 0.2.9 already has a lockfile, it will not be regenerated [INFO] running `"/workspace/cargo-home/bin/cargo" "+c8bdaa84ec1b37f18f30375e196a65b7602f3790" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded lifeguard v0.6.0 [INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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" "MAP_USER_ID=0" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--network" "none" "rustops/crates-build-env" "/opt/rustwide/cargo-home/bin/cargo" "+c8bdaa84ec1b37f18f30375e196a65b7602f3790" "check" "--frozen" "--all" "--all-targets"` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] eb16594bd2d96dc51adacf37ec6b059ca22851ecbb9e05cc0833ba11f5ca8b25 [INFO] running `"docker" "start" "-a" "eb16594bd2d96dc51adacf37ec6b059ca22851ecbb9e05cc0833ba11f5ca8b25"` [INFO] [stderr] sudo: setrlimit(RLIMIT_CORE): Operation not permitted [INFO] [stderr] Compiling proc-macro2 v1.0.9 [INFO] [stderr] Compiling cc v1.0.50 [INFO] [stderr] Compiling syn v1.0.16 [INFO] [stderr] Compiling log v0.4.8 [INFO] [stderr] Compiling version_check v0.9.1 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling serde v1.0.105 [INFO] [stderr] Checking smallvec v1.2.0 [INFO] [stderr] Compiling openssl v0.10.28 [INFO] [stderr] Checking matches v0.1.8 [INFO] [stderr] Compiling foreign-types-shared v0.1.1 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling getrandom v0.1.14 [INFO] [stderr] Compiling openssl-probe v0.1.2 [INFO] [stderr] Compiling percent-encoding v1.0.1 [INFO] [stderr] Checking regex-syntax v0.6.17 [INFO] [stderr] Compiling crc32fast v1.2.0 [INFO] [stderr] Compiling httparse v1.3.4 [INFO] [stderr] Compiling sequence_trie v0.3.6 [INFO] [stderr] Compiling rayon-core v1.7.0 [INFO] [stderr] Checking stable_deref_trait v1.1.1 [INFO] [stderr] Compiling addr v0.2.0 [INFO] [stderr] Checking mime v0.3.16 [INFO] [stderr] Checking unchecked-index v0.2.2 [INFO] [stderr] Checking seahash v3.0.7 [INFO] [stderr] Checking lifeguard v0.6.0 [INFO] [stderr] Compiling crossbeam-utils v0.7.2 [INFO] [stderr] Compiling memoffset v0.5.4 [INFO] [stderr] Compiling crossbeam-epoch v0.8.2 [INFO] [stderr] Compiling indexmap v1.3.2 [INFO] [stderr] Compiling num-traits v0.2.11 [INFO] [stderr] Checking try_from v0.3.2 [INFO] [stderr] Checking itertools v0.8.2 [INFO] [stderr] Compiling hashbrown v0.6.3 [INFO] [stderr] Checking tokio-sync v0.1.8 [INFO] [stderr] Checking lock_api v0.3.3 [INFO] [stderr] Checking unicode-bidi v0.3.4 [INFO] [stderr] Compiling foreign-types v0.3.2 [INFO] [stderr] Compiling unicode-normalization v0.1.12 [INFO] [stderr] Checking miniz_oxide v0.3.6 [INFO] [stderr] Compiling libc v0.2.68 [INFO] [stderr] Compiling error-chain v0.12.2 [INFO] [stderr] Compiling unicase v2.6.0 [INFO] [stderr] Checking encoding_rs v0.8.22 [INFO] [stderr] Checking net2 v0.2.33 [INFO] [stderr] Checking rand_os v0.1.3 [INFO] [stderr] Compiling psl v0.4.1 [INFO] [stderr] Checking regex-automata v0.1.9 [INFO] [stderr] Checking base64 v0.10.1 [INFO] [stderr] Checking rand_xoshiro v0.1.0 [INFO] [stderr] Checking csv-core v0.1.10 [INFO] [stderr] Checking twoway v0.2.1 [INFO] [stderr] Checking clap v2.33.0 [INFO] [stderr] Checking futures-cpupool v0.1.8 [INFO] [stderr] Checking bytes v0.4.12 [INFO] [stderr] Checking want v0.2.0 [INFO] [stderr] Checking mio v0.6.21 [INFO] [stderr] Checking rand v0.6.5 [INFO] [stderr] Compiling syn v0.14.9 [INFO] [stderr] Checking flate2 v1.0.14 [INFO] [stderr] Compiling idna v0.1.5 [INFO] [stderr] Checking parking_lot_core v0.6.2 [INFO] [stderr] Checking tokio-executor v0.1.10 [INFO] [stderr] Checking crossbeam-queue v0.2.1 [INFO] [stderr] Checking idna v0.2.0 [INFO] [stderr] Checking tokio-io v0.1.13 [INFO] [stderr] Checking http v0.1.21 [INFO] [stderr] Checking tokio-buf v0.1.1 [INFO] [stderr] Checking string v0.2.1 [INFO] [stderr] Compiling quote v1.0.3 [INFO] [stderr] Checking criterion-plot v0.3.1 [INFO] [stderr] Compiling mime_guess v2.0.3 [INFO] [stderr] Checking parking_lot v0.9.0 [INFO] [stderr] Checking tokio-current-thread v0.1.7 [INFO] [stderr] Checking tokio-timer v0.2.13 [INFO] [stderr] Compiling url v1.7.2 [INFO] [stderr] Compiling backtrace-sys v0.1.34 [INFO] [stderr] Compiling openssl-sys v0.9.54 [INFO] [stderr] Checking crossbeam-deque v0.7.3 [INFO] [stderr] Checking rmp v0.8.9 [INFO] [stderr] Checking regex v1.3.5 [INFO] [stderr] Checking url v2.1.1 [INFO] [stderr] Checking uuid v0.7.4 [INFO] [stderr] Checking tokio-reactor v0.1.12 [INFO] [stderr] Checking tokio-threadpool v0.1.18 [INFO] [stderr] Checking tokio-tcp v0.1.4 [INFO] [stderr] Checking rayon v1.3.0 [INFO] [stderr] Checking cookie v0.12.0 [INFO] [stderr] Checking tokio v0.1.22 [INFO] [stderr] Checking backtrace v0.3.45 [INFO] [stderr] Compiling native-tls v0.2.4 [INFO] [stderr] Checking publicsuffix v1.5.4 [INFO] [stderr] Checking h2 v0.1.26 [INFO] [stderr] Checking http-body v0.1.0 [INFO] [stderr] Checking hyper v0.12.35 [INFO] [stderr] Compiling psl-lexer v0.2.0 [INFO] [stderr] Compiling psl-codegen v0.4.2 [INFO] [stderr] Compiling synstructure v0.12.3 [INFO] [stderr] Checking hyper-tls v0.3.2 [INFO] [stderr] Compiling serde_derive v1.0.105 [INFO] [stderr] Compiling proc-macro-hack v0.5.12 [INFO] [stderr] Compiling failure_derive v0.1.7 [INFO] [stderr] Compiling rental-impl v0.5.5 [INFO] [stderr] Checking failure v0.1.7 [INFO] [stderr] Compiling const-random-macro v0.1.8 [INFO] [stderr] Checking const-random v0.1.8 [INFO] [stderr] Checking ahash v0.2.18 [INFO] [stderr] Checking rental v0.5.5 [INFO] [stderr] error: proc-macro derive panicked [INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/rental-0.5.5/src/lib.rs:93:12 [INFO] [stderr] | [INFO] [stderr] 93 | #[derive(__rental_traits)] [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 117 | define_rental_traits!(32); [INFO] [stderr] | -------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = help: message: expected prefix "#[allow(unused)]" not found in "# [allow(unused)] enum ProceduralMasqueradeDummyType\n{ Input = (0, stringify ! (32)) . 0, }" [INFO] [stderr] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error: proc-macro derive panicked [INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/rental-0.5.5/src/lib.rs:257:13 [INFO] [stderr] | [INFO] [stderr] 257 | #[derive(__rental_structs_and_impls)] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 285 | / rental! { [INFO] [stderr] 286 | | /// Example types that demonstrate the API generated by the rental macro. [INFO] [stderr] 287 | | pub mod examples { [INFO] [stderr] 288 | | use std::sync; [INFO] [stderr] ... | [INFO] [stderr] 345 | | } [INFO] [stderr] 346 | | } [INFO] [stderr] | |_- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = help: message: expected prefix "#[allow(unused)]" 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\n { 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] [stderr] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error: proc-macro derive panicked [INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/rental-0.5.5/src/lib.rs:257:13 [INFO] [stderr] | [INFO] [stderr] 257 | #[derive(__rental_structs_and_impls)] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 350 | / rental! { [INFO] [stderr] 351 | | /// Premade types for the most common use cases. [INFO] [stderr] 352 | | pub mod common { [INFO] [stderr] 353 | | use std::ops::DerefMut; [INFO] [stderr] ... | [INFO] [stderr] 484 | | } [INFO] [stderr] 485 | | } [INFO] [stderr] | |_- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = help: message: expected prefix "#[allow(unused)]" 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;\"] #\n [doc = r\" # fn main() {\"] # [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 :\n \'static > { 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\")]\n pub 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;\"] #\n [doc = r\" # fn main() {\"] # [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\")]\n pub struct RentRwLockMut < H : \'static + StableDeref, T : \'static >\n { head : H, suffix : sync :: RwLockWriteGuard < \'head, T >, })) . 0\n}" [INFO] [stderr] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error: aborting due to 3 previous errors [INFO] [stderr] [INFO] [stderr] error: could not compile `rental`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: build failed [INFO] running `"docker" "inspect" "eb16594bd2d96dc51adacf37ec6b059ca22851ecbb9e05cc0833ba11f5ca8b25"` [INFO] running `"docker" "rm" "-f" "eb16594bd2d96dc51adacf37ec6b059ca22851ecbb9e05cc0833ba11f5ca8b25"` [INFO] [stdout] eb16594bd2d96dc51adacf37ec6b059ca22851ecbb9e05cc0833ba11f5ca8b25