[INFO] updating cached repository https://github.com/gribbet/rust_api_example [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] 6c2086f619b7e3f591cae6a7aa1deed91a504824 [INFO] checking gribbet/rust_api_example against try#e4dba30b9b475d8750370c4dfb49b6541990904d for pr-71393 [INFO] running `"git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fgribbet%2Frust_api_example" "/workspace/builds/worker-12/source"` [INFO] [stderr] Cloning into '/workspace/builds/worker-12/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/gribbet/rust_api_example on toolchain e4dba30b9b475d8750370c4dfb49b6541990904d [INFO] running `"/workspace/cargo-home/bin/cargo" "+e4dba30b9b475d8750370c4dfb49b6541990904d" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] started tweaking git repo https://github.com/gribbet/rust_api_example [INFO] finished tweaking git repo https://github.com/gribbet/rust_api_example [INFO] tweaked toml for git repo https://github.com/gribbet/rust_api_example written to /workspace/builds/worker-12/source/Cargo.toml [INFO] crate git repo https://github.com/gribbet/rust_api_example already has a lockfile, it will not be regenerated [INFO] running `"/workspace/cargo-home/bin/cargo" "+e4dba30b9b475d8750370c4dfb49b6541990904d" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/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" "+e4dba30b9b475d8750370c4dfb49b6541990904d" "check" "--frozen" "--all" "--all-targets"` [INFO] [stdout] 439beba3c52e24674646ade29935bed2bddd24b9e2b55f90f070effbb82c7a4f [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `"docker" "start" "-a" "439beba3c52e24674646ade29935bed2bddd24b9e2b55f90f070effbb82c7a4f"` [INFO] [stderr] Compiling proc-macro2 v1.0.8 [INFO] [stderr] Compiling syn v1.0.14 [INFO] [stderr] Checking cfg-if v0.1.10 [INFO] [stderr] Compiling proc-macro-nested v0.1.3 [INFO] [stderr] Compiling autocfg v1.0.0 [INFO] [stderr] Compiling byteorder v1.3.2 [INFO] [stderr] Checking slab v0.4.2 [INFO] [stderr] Compiling proc-macro2 v0.4.30 [INFO] [stderr] Compiling cc v1.0.50 [INFO] [stderr] Compiling unicode-xid v0.1.0 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling httparse v1.3.4 [INFO] [stderr] Compiling fnv v1.0.6 [INFO] [stderr] Compiling syn v0.15.44 [INFO] [stderr] Compiling bytes v0.5.3 [INFO] [stderr] Compiling yansi v0.4.0 [INFO] [stderr] Compiling futures-core v0.3.1 [INFO] [stderr] Compiling arc-swap v0.4.4 [INFO] [stderr] Checking smallvec v1.1.0 [INFO] [stderr] Compiling pin-project-lite v0.1.4 [INFO] [stderr] Compiling futures-sink v0.3.1 [INFO] [stderr] Compiling yansi v0.5.0 [INFO] [stderr] Compiling version_check v0.9.1 [INFO] [stderr] Compiling futures-task v0.3.1 [INFO] [stderr] Compiling pin-utils v0.1.0-alpha.4 [INFO] [stderr] Compiling try-lock v0.2.2 [INFO] [stderr] Compiling untrusted v0.7.0 [INFO] [stderr] Compiling serde v1.0.104 [INFO] [stderr] Compiling tower-service v0.3.0 [INFO] [stderr] Checking scopeguard v1.0.0 [INFO] [stderr] Compiling percent-encoding v2.1.0 [INFO] [stderr] Checking spin v0.5.2 [INFO] [stderr] Compiling mime v0.3.16 [INFO] [stderr] Compiling state v0.4.1 [INFO] [stderr] Compiling percent-encoding v1.0.1 [INFO] [stderr] Compiling ryu v1.0.2 [INFO] [stderr] Checking same-file v1.0.6 [INFO] [stderr] Compiling pq-sys v0.4.6 [INFO] [stderr] Checking unicode-xid v0.2.0 [INFO] [stderr] Checking base16 v0.2.1 [INFO] [stderr] Compiling libc v0.2.66 [INFO] [stderr] Compiling memchr v2.3.0 [INFO] [stderr] Checking futures-channel v0.3.1 [INFO] [stderr] Checking http v0.2.0 [INFO] [stderr] Compiling pear_codegen v0.1.2 [INFO] [stderr] Checking lock_api v0.3.3 [INFO] [stderr] Compiling indexmap v1.3.1 [INFO] [stderr] Checking walkdir v2.3.1 [INFO] [stderr] Checking log v0.4.8 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling rocket_codegen v0.5.0-dev (https://github.com/SergioBenitez/Rocket.git?branch=async#30c83d56) [INFO] [stderr] Compiling rocket v0.5.0-dev (https://github.com/SergioBenitez/Rocket.git?branch=async#30c83d56) [INFO] [stderr] Checking want v0.3.0 [INFO] [stderr] Checking base64 v0.10.1 [INFO] [stderr] Checking net2 v0.2.33 [INFO] [stderr] Checking iovec v0.1.4 [INFO] [stderr] Checking signal-hook-registry v1.2.0 [INFO] [stderr] Checking num_cpus v1.12.0 [INFO] [stderr] Checking time v0.1.42 [INFO] [stderr] Checking parking_lot_core v0.7.0 [INFO] [stderr] Checking inotify-sys v0.1.3 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking filetime v0.2.8 [INFO] [stderr] Compiling quote v0.6.13 [INFO] [stderr] Compiling quote v1.0.2 [INFO] [stderr] Compiling ring v0.16.9 [INFO] [stderr] Checking inotify v0.7.0 [INFO] [stderr] Checking mio v0.6.21 [INFO] [stderr] Checking parking_lot v0.10.0 [INFO] [stderr] Checking http-body v0.3.1 [INFO] [stderr] Checking scheduled-thread-pool v0.2.3 [INFO] [stderr] Checking mio-uds v0.6.7 [INFO] [stderr] Checking mio-extras v2.0.6 [INFO] [stderr] Checking r2d2 v0.8.8 [INFO] [stderr] Checking tokio v0.2.10 [INFO] [stderr] Checking notify v4.0.15 [INFO] [stderr] Checking cookie v0.12.0 (https://github.com/SergioBenitez/cookie-rs?rev=e0f3e6c#e0f3e6c4) [INFO] [stderr] Checking tokio-util v0.2.0 [INFO] [stderr] Checking toml v0.4.10 [INFO] [stderr] Checking serde_json v1.0.44 [INFO] [stderr] Compiling devise_core v0.3.0 (https://github.com/SergioBenitez/Devise.git?rev=e58b3ac9a#e58b3ac9) [INFO] [stderr] Compiling proc-macro-hack v0.5.11 [INFO] [stderr] Compiling pin-project-internal v0.4.7 [INFO] [stderr] Compiling devise_codegen v0.3.0 (https://github.com/SergioBenitez/Devise.git?rev=e58b3ac9a#e58b3ac9) [INFO] [stderr] Compiling diesel_derives v1.4.1 [INFO] [stderr] Compiling serde_derive v1.0.104 [INFO] [stderr] Compiling pear v0.1.2 [INFO] [stderr] Compiling devise v0.3.0 (https://github.com/SergioBenitez/Devise.git?rev=e58b3ac9a#e58b3ac9) [INFO] [stderr] Compiling futures-macro v0.3.1 [INFO] [stderr] Compiling pin-project v0.4.7 [INFO] [stderr] Compiling futures-util v0.3.1 [INFO] [stderr] Checking diesel v1.4.3 [INFO] [stderr] Checking h2 v0.2.1 [INFO] [stderr] Checking hyper v0.13.1 [INFO] [stderr] Checking rocket_http v0.5.0-dev (https://github.com/SergioBenitez/Rocket.git?branch=async#30c83d56) [INFO] [stderr] error[E0606]: casting `f64` as `i64` is invalid [INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/diesel-1.4.3/src/pg/expression/extensions/interval_dsl.rs:219:9 [INFO] [stderr] | [INFO] [stderr] 219 | (self.round() as i64).microseconds() [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error[E0606]: casting `f64` as `i32` is invalid [INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/diesel-1.4.3/src/pg/expression/extensions/interval_dsl.rs:224:31 [INFO] [stderr] | [INFO] [stderr] 224 | PgInterval::from_days(self.trunc() as i32) + fractional_days [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error[E0606]: casting `f64` as `i32` is invalid [INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/diesel-1.4.3/src/pg/expression/extensions/interval_dsl.rs:229:33 [INFO] [stderr] | [INFO] [stderr] 229 | PgInterval::from_months(self.trunc() as i32) + fractional_months [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error[E0606]: casting `f64` as `i32` is invalid [INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/diesel-1.4.3/src/pg/expression/extensions/interval_dsl.rs:233:9 [INFO] [stderr] | [INFO] [stderr] 233 | ((self * 12.0).trunc() as i32).months() [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error: aborting due to 4 previous errors [INFO] [stderr] [INFO] [stderr] For more information about this error, try `rustc --explain E0606`. [INFO] [stderr] error: could not compile `diesel`. [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" "439beba3c52e24674646ade29935bed2bddd24b9e2b55f90f070effbb82c7a4f"` [INFO] running `"docker" "rm" "-f" "439beba3c52e24674646ade29935bed2bddd24b9e2b55f90f070effbb82c7a4f"` [INFO] [stdout] 439beba3c52e24674646ade29935bed2bddd24b9e2b55f90f070effbb82c7a4f