[INFO] cloning repository https://github.com/paulchernoch/shy [INFO] running `"git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/paulchernoch/shy" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpaulchernoch%2Fshy"` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpaulchernoch%2Fshy'... [INFO] running `"git" "rev-parse" "HEAD"` [INFO] [stdout] c15116386a0a915252a46ef6abf6c99b8d8bb72c [INFO] checking paulchernoch/shy against beta-2019-10-27 for pr-65897 [INFO] running `"git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpaulchernoch%2Fshy" "/workspace/builds/worker-1/source"` [INFO] [stderr] Cloning into '/workspace/builds/worker-1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/paulchernoch/shy on toolchain beta-2019-10-27 [INFO] running `"/workspace/cargo-home/bin/cargo" "+beta-2019-10-27" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] started tweaking git repo https://github.com/paulchernoch/shy [INFO] finished tweaking git repo https://github.com/paulchernoch/shy [INFO] tweaked toml for git repo https://github.com/paulchernoch/shy written to /workspace/builds/worker-1/source/Cargo.toml [INFO] crate git repo https://github.com/paulchernoch/shy already has a lockfile, it will not be regenerated [INFO] running `"/workspace/cargo-home/bin/cargo" "+beta-2019-10-27" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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=allow" "-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" "+beta-2019-10-27" "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] 3a086f12541140b6c13e3574e577b987e50fbc7c481ed19905e9125426b2bff5 [INFO] running `"docker" "start" "-a" "3a086f12541140b6c13e3574e577b987e50fbc7c481ed19905e9125426b2bff5"` [INFO] [stderr] Compiling log v0.4.8 [INFO] [stderr] Checking enum_derive v0.1.7 [INFO] [stderr] Checking rand_os v0.1.3 [INFO] [stderr] Checking bytes v0.4.12 [INFO] [stderr] Checking flate2 v1.0.12 [INFO] [stderr] Checking num-bigint v0.1.44 [INFO] [stderr] Checking chrono v0.4.9 [INFO] [stderr] Checking serde_json v1.0.41 [INFO] [stderr] Checking failure v0.1.6 [INFO] [stderr] Checking rand v0.6.5 [INFO] [stderr] Checking http v0.1.18 [INFO] [stderr] Checking string v0.2.1 [INFO] [stderr] Checking num-rational v0.1.42 [INFO] [stderr] Checking tokio-io v0.1.12 [INFO] [stderr] Checking mio v0.6.19 [INFO] [stderr] Checking actix-threadpool v0.1.2 [INFO] [stderr] Checking env_logger v0.7.1 [INFO] [stderr] Checking num v0.1.42 [INFO] [stderr] Checking spectral v0.6.0 [INFO] [stderr] Checking actix-router v0.1.5 [INFO] [stderr] Checking tokio-codec v0.1.1 [INFO] [stderr] Checking h2 v0.1.26 [INFO] [stderr] Checking tokio-reactor v0.1.10 [INFO] [stderr] Checking mio-uds v0.6.7 [INFO] [stderr] Checking actix-codec v0.1.2 [INFO] [stderr] Checking tokio-tcp v0.1.3 [INFO] [stderr] Checking actix-rt v0.2.5 [INFO] [stderr] Checking tokio-udp v0.1.5 [INFO] [stderr] Checking tokio-signal v0.2.7 [INFO] [stderr] Checking actix-utils v0.4.7 [INFO] [stderr] Checking actix-server-config v0.1.2 [INFO] [stderr] Checking trust-dns-proto v0.7.4 [INFO] [stderr] Checking actix-server v0.6.1 [INFO] [stderr] Checking actix-testing v0.1.0 [INFO] [stderr] Checking trust-dns-resolver v0.11.1 [INFO] [stderr] Checking actix-connect v0.2.5 [INFO] [stderr] Checking actix-http v0.2.10 [INFO] [stderr] Checking awc v0.2.7 [INFO] [stderr] Checking actix-web v1.0.8 [INFO] [stderr] Checking shy v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] error: cannot infer an appropriate lifetime [INFO] [stderr] --> src/parser/shy_object.rs:46:26 [INFO] [stderr] | [INFO] [stderr] 45 | pub fn as_deref(&self) -> impl Deref { [INFO] [stderr] | ----------------------------------------------------- this return type evaluates to the `'static` lifetime... [INFO] [stderr] 46 | self.association.read().unwrap() [INFO] [stderr] | ---------------- ^^^^ [INFO] [stderr] | | [INFO] [stderr] | ...but this borrow... [INFO] [stderr] | [INFO] [stderr] note: ...can't outlive the anonymous lifetime #1 defined on the method body at 45:5 [INFO] [stderr] --> src/parser/shy_object.rs:45:5 [INFO] [stderr] | [INFO] [stderr] 45 | / pub fn as_deref(&self) -> impl Deref { [INFO] [stderr] 46 | | self.association.read().unwrap() [INFO] [stderr] 47 | | } [INFO] [stderr] | |_____^ [INFO] [stderr] help: you can add a constraint to the return type to make it last less than `'static` and match the anonymous lifetime #1 defined on the method body at 45:5 [INFO] [stderr] | [INFO] [stderr] 45 | pub fn as_deref(&self) -> impl Deref + '_ { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error: cannot infer an appropriate lifetime [INFO] [stderr] --> src/parser/shy_object.rs:50:26 [INFO] [stderr] | [INFO] [stderr] 49 | pub fn as_deref_mut(&self) -> impl DerefMut { [INFO] [stderr] | -------------------------------------------------------- this return type evaluates to the `'static` lifetime... [INFO] [stderr] 50 | self.association.write().unwrap() [INFO] [stderr] | ---------------- ^^^^^ [INFO] [stderr] | | [INFO] [stderr] | ...but this borrow... [INFO] [stderr] | [INFO] [stderr] note: ...can't outlive the anonymous lifetime #1 defined on the method body at 49:5 [INFO] [stderr] --> src/parser/shy_object.rs:49:5 [INFO] [stderr] | [INFO] [stderr] 49 | / pub fn as_deref_mut(&self) -> impl DerefMut { [INFO] [stderr] 50 | | self.association.write().unwrap() [INFO] [stderr] 51 | | } [INFO] [stderr] | |_____^ [INFO] [stderr] help: you can add a constraint to the return type to make it last less than `'static` and match the anonymous lifetime #1 defined on the method body at 49:5 [INFO] [stderr] | [INFO] [stderr] 49 | pub fn as_deref_mut(&self) -> impl DerefMut + '_ { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error: cannot infer an appropriate lifetime [INFO] [stderr] --> src/parser/shy_object.rs:46:26 [INFO] [stderr] | [INFO] [stderr] 45 | pub fn as_deref(&self) -> impl Deref { [INFO] [stderr] | ----------------------------------------------------- this return type evaluates to the `'static` lifetime... [INFO] [stderr] 46 | self.association.read().unwrap() [INFO] [stderr] | ---------------- ^^^^ [INFO] [stderr] | | [INFO] [stderr] | ...but this borrow... [INFO] [stderr] | [INFO] [stderr] note: ...can't outlive the anonymous lifetime #1 defined on the method body at 45:5 [INFO] [stderr] --> src/parser/shy_object.rs:45:5 [INFO] [stderr] | [INFO] [stderr] 45 | / pub fn as_deref(&self) -> impl Deref { [INFO] [stderr] 46 | | self.association.read().unwrap() [INFO] [stderr] 47 | | } [INFO] [stderr] | |_____^ [INFO] [stderr] help: you can add a constraint to the return type to make it last less than `'static` and match the anonymous lifetime #1 defined on the method body at 45:5 [INFO] [stderr] | [INFO] [stderr] 45 | pub fn as_deref(&self) -> impl Deref + '_ { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error: cannot infer an appropriate lifetime [INFO] [stderr] --> src/parser/shy_object.rs:50:26 [INFO] [stderr] | [INFO] [stderr] 49 | pub fn as_deref_mut(&self) -> impl DerefMut { [INFO] [stderr] | -------------------------------------------------------- this return type evaluates to the `'static` lifetime... [INFO] [stderr] 50 | self.association.write().unwrap() [INFO] [stderr] | ---------------- ^^^^^ [INFO] [stderr] | | [INFO] [stderr] | ...but this borrow... [INFO] [stderr] | [INFO] [stderr] note: ...can't outlive the anonymous lifetime #1 defined on the method body at 49:5 [INFO] [stderr] --> src/parser/shy_object.rs:49:5 [INFO] [stderr] | [INFO] [stderr] 49 | / pub fn as_deref_mut(&self) -> impl DerefMut { [INFO] [stderr] 50 | | self.association.write().unwrap() [INFO] [stderr] 51 | | } [INFO] [stderr] | |_____^ [INFO] [stderr] help: you can add a constraint to the return type to make it last less than `'static` and match the anonymous lifetime #1 defined on the method body at 49:5 [INFO] [stderr] | [INFO] [stderr] 49 | pub fn as_deref_mut(&self) -> impl DerefMut + '_ { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error: aborting due to 2 previous errors [INFO] [stderr] [INFO] [stderr] error: could not compile `shy`. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: aborting due to 2 previous errors [INFO] [stderr] [INFO] [stderr] error: could not compile `shy`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `"docker" "inspect" "3a086f12541140b6c13e3574e577b987e50fbc7c481ed19905e9125426b2bff5"` [INFO] running `"docker" "rm" "-f" "3a086f12541140b6c13e3574e577b987e50fbc7c481ed19905e9125426b2bff5"` [INFO] [stdout] 3a086f12541140b6c13e3574e577b987e50fbc7c481ed19905e9125426b2bff5