[INFO] updating cached repository https://github.com/paulchernoch/shy [INFO] running `"git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "-c" "remote.origin.fetch=refs/heads/*:refs/heads/*" "fetch" "origin" "--force" "--prune"` [INFO] running `"git" "rev-parse" "HEAD"` [INFO] [stdout] c15116386a0a915252a46ef6abf6c99b8d8bb72c [INFO] checking paulchernoch/shy against try#1a608893c03d7722effeb0058e82770bd36b4b3c for pr-66504-1 [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 1a608893c03d7722effeb0058e82770bd36b4b3c [INFO] running `"/workspace/cargo-home/bin/cargo" "+1a608893c03d7722effeb0058e82770bd36b4b3c" "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" "+1a608893c03d7722effeb0058e82770bd36b4b3c" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] [stderr] Blocking waiting for file lock on package cache [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=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" "+1a608893c03d7722effeb0058e82770bd36b4b3c" "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] 6c6d8c392b2beb2ce57d2a3aef23483cfeb9176afefe639ff875e4eaebd019c1 [INFO] running `"docker" "start" "-a" "6c6d8c392b2beb2ce57d2a3aef23483cfeb9176afefe639ff875e4eaebd019c1"` [INFO] [stderr] Compiling log v0.4.8 [INFO] [stderr] Checking enum_derive v0.1.7 [INFO] [stderr] Checking custom_derive v0.1.7 [INFO] [stderr] Checking num-complex v0.1.43 [INFO] [stderr] Compiling syn v0.15.44 [INFO] [stderr] Checking parking_lot_core v0.6.2 [INFO] [stderr] Checking backtrace v0.3.38 [INFO] [stderr] Checking rand v0.6.5 [INFO] [stderr] Checking num-bigint v0.1.44 [INFO] [stderr] Checking flate2 v1.0.12 [INFO] [stderr] Checking chrono v0.4.9 [INFO] [stderr] Checking serde_json v1.0.41 [INFO] [stderr] Checking parking_lot v0.9.0 [INFO] [stderr] Checking failure v0.1.6 [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-router v0.1.5 [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 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] Compiling derive_more v0.15.0 [INFO] [stderr] Compiling enum-as-inner v0.2.1 [INFO] [stderr] Checking tokio-tcp v0.1.3 [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 trust-dns-resolver v0.11.1 [INFO] [stderr] Checking actix-threadpool v0.1.2 [INFO] [stderr] Checking actix-rt v0.2.5 [INFO] [stderr] Checking actix-connect v0.2.5 [INFO] [stderr] Checking actix-server v0.6.1 [INFO] [stderr] Checking actix-testing v0.1.0 [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" "6c6d8c392b2beb2ce57d2a3aef23483cfeb9176afefe639ff875e4eaebd019c1"` [INFO] running `"docker" "rm" "-f" "6c6d8c392b2beb2ce57d2a3aef23483cfeb9176afefe639ff875e4eaebd019c1"` [INFO] [stdout] 6c6d8c392b2beb2ce57d2a3aef23483cfeb9176afefe639ff875e4eaebd019c1