[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] testing paulchernoch/shy against master#28742a1146f10a4f09369baad027a464acb7a766 for pr-71274 [INFO] running `"git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpaulchernoch%2Fshy" "/workspace/builds/worker-6/source"` [INFO] [stderr] Cloning into '/workspace/builds/worker-6/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/paulchernoch/shy on toolchain 28742a1146f10a4f09369baad027a464acb7a766 [INFO] running `"/workspace/cargo-home/bin/cargo" "+28742a1146f10a4f09369baad027a464acb7a766" "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-6/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" "+28742a1146f10a4f09369baad027a464acb7a766" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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" "+28742a1146f10a4f09369baad027a464acb7a766" "build" "--frozen"` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 8adb085e3e9c0f77decbe9f56cc15bfe1ee0778626f52228de9ed1d19d782b42 [INFO] running `"docker" "start" "-a" "8adb085e3e9c0f77decbe9f56cc15bfe1ee0778626f52228de9ed1d19d782b42"` [INFO] [stderr] Compiling libc v0.2.62 [INFO] [stderr] Compiling cfg-if v0.1.9 [INFO] [stderr] Compiling unicode-xid v0.2.0 [INFO] [stderr] Compiling serde v1.0.101 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling byteorder v1.3.2 [INFO] [stderr] Compiling log v0.4.8 [INFO] [stderr] Compiling futures v0.1.29 [INFO] [stderr] Compiling slab v0.4.2 [INFO] [stderr] Compiling cc v1.0.45 [INFO] [stderr] Compiling fnv v1.0.6 [INFO] [stderr] Compiling proc-macro2 v0.4.30 [INFO] [stderr] Compiling memchr v2.2.1 [INFO] [stderr] Compiling unicode-xid v0.1.0 [INFO] [stderr] Compiling syn v0.15.44 [INFO] [stderr] Compiling matches v0.1.8 [INFO] [stderr] Compiling regex-syntax v0.6.12 [INFO] [stderr] Compiling itoa v0.4.4 [INFO] [stderr] Compiling quick-error v1.2.2 [INFO] [stderr] Compiling rustc-demangle v0.1.16 [INFO] [stderr] Compiling percent-encoding v1.0.1 [INFO] [stderr] Compiling either v1.5.2 [INFO] [stderr] Compiling ryu v1.0.0 [INFO] [stderr] Compiling rustc-serialize v0.3.24 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling dtoa v0.4.4 [INFO] [stderr] Compiling termcolor v1.0.5 [INFO] [stderr] Compiling custom_derive v0.1.7 [INFO] [stderr] Compiling enum_derive v0.1.7 [INFO] [stderr] Compiling num-traits v0.2.8 [INFO] [stderr] Compiling num-integer v0.1.41 [INFO] [stderr] Compiling rand_chacha v0.1.1 [INFO] [stderr] Compiling rand_pcg v0.1.2 [INFO] [stderr] Compiling rand v0.6.5 [INFO] [stderr] Compiling num-iter v0.1.39 [INFO] [stderr] Compiling crossbeam-utils v0.6.6 [INFO] [stderr] Compiling thread_local v0.3.6 [INFO] [stderr] Compiling lock_api v0.3.1 [INFO] [stderr] Compiling rand_jitter v0.1.4 [INFO] [stderr] Compiling unicode-bidi v0.3.4 [INFO] [stderr] Compiling humantime v1.3.0 [INFO] [stderr] Compiling c2-chacha v0.2.2 [INFO] [stderr] Compiling itertools v0.8.0 [INFO] [stderr] Compiling proc-macro2 v1.0.5 [INFO] [stderr] Compiling tokio-sync v0.1.7 [INFO] [stderr] Compiling actix-service v0.4.2 [INFO] [stderr] Compiling tokio-executor v0.1.8 [INFO] [stderr] Compiling crc32fast v1.2.0 [INFO] [stderr] Compiling backtrace-sys v0.1.31 [INFO] [stderr] Compiling brotli-sys v0.3.2 [INFO] [stderr] Compiling miniz-sys v0.1.12 [INFO] [stderr] Compiling encoding_rs v0.8.20 [INFO] [stderr] Compiling idna v0.1.5 [INFO] [stderr] Compiling idna v0.2.0 [INFO] [stderr] Compiling parking_lot_core v0.6.2 [INFO] [stderr] Compiling parking_lot v0.9.0 [INFO] [stderr] Compiling quote v1.0.2 [INFO] [stderr] Compiling tokio-timer v0.2.11 [INFO] [stderr] Compiling tokio-current-thread v0.1.6 [INFO] [stderr] Compiling base64 v0.10.1 [INFO] [stderr] Compiling iovec v0.1.4 [INFO] [stderr] Compiling num_cpus v1.10.1 [INFO] [stderr] Compiling net2 v0.2.33 [INFO] [stderr] Compiling rand_os v0.1.3 [INFO] [stderr] Compiling getrandom v0.1.12 [INFO] [stderr] Compiling hostname v0.1.5 [INFO] [stderr] Compiling socket2 v0.3.11 [INFO] [stderr] Compiling signal-hook-registry v1.1.1 [INFO] [stderr] Compiling rand v0.4.6 [INFO] [stderr] Compiling time v0.1.42 [INFO] [stderr] Compiling atty v0.2.13 [INFO] [stderr] Compiling quote v0.6.13 [INFO] [stderr] Compiling aho-corasick v0.7.6 [INFO] [stderr] Compiling url v1.7.2 [INFO] [stderr] Compiling url v2.1.0 [INFO] [stderr] Compiling syn v1.0.5 [INFO] [stderr] Compiling num-complex v0.1.43 [INFO] [stderr] Compiling bytes v0.4.12 [INFO] [stderr] Compiling threadpool v1.7.1 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling resolv-conf v0.6.2 [INFO] [stderr] Compiling signal-hook v0.1.10 [INFO] [stderr] Compiling regex v1.3.1 [INFO] [stderr] Compiling num-bigint v0.1.44 [INFO] [stderr] Compiling chrono v0.4.9 [INFO] [stderr] Compiling http v0.1.18 [INFO] [stderr] Compiling string v0.2.1 [INFO] [stderr] Compiling rand_chacha v0.2.1 [INFO] [stderr] Compiling flate2 v1.0.12 [INFO] [stderr] Compiling backtrace v0.3.38 [INFO] [stderr] Compiling num-rational v0.1.42 [INFO] [stderr] Compiling rand v0.7.2 [INFO] [stderr] Compiling brotli2 v0.3.2 [INFO] [stderr] Compiling num v0.1.42 [INFO] [stderr] Compiling spectral v0.6.0 [INFO] [stderr] Compiling synstructure v0.12.1 [INFO] [stderr] Compiling derive_more v0.15.0 [INFO] [stderr] Compiling enum-as-inner v0.2.1 [INFO] [stderr] Compiling serde_derive v1.0.101 [INFO] [stderr] Compiling failure_derive v0.1.6 [INFO] [stderr] Compiling actix-web-codegen v0.1.3 [INFO] [stderr] Compiling failure v0.1.6 [INFO] [stderr] Compiling serde_urlencoded v0.6.1 [INFO] [stderr] Compiling serde_json v1.0.41 [INFO] [stderr] Compiling tokio-io v0.1.12 [INFO] [stderr] Compiling mio v0.6.19 [INFO] [stderr] Compiling actix-threadpool v0.1.2 [INFO] [stderr] Compiling actix-router v0.1.5 [INFO] [stderr] Compiling env_logger v0.7.1 [INFO] [stderr] Compiling tokio-codec v0.1.1 [INFO] [stderr] Compiling h2 v0.1.26 [INFO] [stderr] Compiling actix-codec v0.1.2 [INFO] [stderr] Compiling tokio-reactor v0.1.10 [INFO] [stderr] Compiling mio-uds v0.6.7 [INFO] [stderr] Compiling actix-utils v0.4.7 [INFO] [stderr] Compiling tokio-tcp v0.1.3 [INFO] [stderr] Compiling actix-rt v0.2.5 [INFO] [stderr] Compiling tokio-udp v0.1.5 [INFO] [stderr] Compiling tokio-signal v0.2.7 [INFO] [stderr] Compiling actix-server-config v0.1.2 [INFO] [stderr] Compiling trust-dns-proto v0.7.4 [INFO] [stderr] Compiling actix-server v0.6.1 [INFO] [stderr] Compiling actix-testing v0.1.0 [INFO] [stderr] Compiling trust-dns-resolver v0.11.1 [INFO] [stderr] Compiling actix-connect v0.2.5 [INFO] [stderr] Compiling actix-http v0.2.10 [INFO] [stderr] Compiling awc v0.2.7 [INFO] [stderr] Compiling actix-web v1.0.8 [INFO] [stderr] Compiling shy v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] warning: unnecessary braces around block return value [INFO] [stderr] --> src/parser/execution_context.rs:263:21 [INFO] [stderr] | [INFO] [stderr] 263 | |a,b| { { if let ShyValue::Scalar(result) = ShyValue::add(&ShyValue::Scalar(a.clone()), &ShyValue::Scalar(b.clone())) { return result; } } [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these braces [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_braces)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unnecessary braces around block return value [INFO] [stderr] --> src/parser/execution_context.rs:266:21 [INFO] [stderr] | [INFO] [stderr] 266 | |a,b| { { if let ShyValue::Scalar(result) = ShyValue::multiply(&ShyValue::Scalar(a.clone()), &ShyValue::Scalar(b.clone())) { return result; } } [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these braces [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 bound 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 bound 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; 2 warnings emitted [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" "8adb085e3e9c0f77decbe9f56cc15bfe1ee0778626f52228de9ed1d19d782b42"` [INFO] running `"docker" "rm" "-f" "8adb085e3e9c0f77decbe9f56cc15bfe1ee0778626f52228de9ed1d19d782b42"` [INFO] [stdout] 8adb085e3e9c0f77decbe9f56cc15bfe1ee0778626f52228de9ed1d19d782b42