[INFO] cloning repository https://github.com/alvarotolentino/docmanager-rust [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/alvarotolentino/docmanager-rust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Falvarotolentino%2Fdocmanager-rust", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Falvarotolentino%2Fdocmanager-rust'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 6855ea1932c4a3ba48dea27587f91c1b399ca2cd [INFO] checking alvarotolentino/docmanager-rust against master#385fa9d845dd326c6bbfd58c22244215e431948a for absurd-question-mark-desugar [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Falvarotolentino%2Fdocmanager-rust" "/workspace/builds/worker-2-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/alvarotolentino/docmanager-rust on toolchain 385fa9d845dd326c6bbfd58c22244215e431948a [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+385fa9d845dd326c6bbfd58c22244215e431948a" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/alvarotolentino/docmanager-rust [INFO] finished tweaking git repo https://github.com/alvarotolentino/docmanager-rust [INFO] tweaked toml for git repo https://github.com/alvarotolentino/docmanager-rust written to /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/alvarotolentino/docmanager-rust already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+385fa9d845dd326c6bbfd58c22244215e431948a" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded whoami v1.2.1 [INFO] [stderr] Downloaded sqlx v0.4.2 [INFO] [stderr] Downloaded sqlx-rt v0.2.0 [INFO] [stderr] Downloaded sqlx-macros v0.4.2 [INFO] [stderr] Downloaded actix-rt v2.5.1 [INFO] [stderr] Downloaded actix-macros v0.2.3 [INFO] [stderr] Downloaded mockall_derive v0.11.0 [INFO] [stderr] Downloaded ahash v0.6.3 [INFO] [stderr] Downloaded sqlx-core v0.4.2 [INFO] [stderr] Downloaded rustls v0.18.1 [INFO] [stderr] Downloaded tracing-subscriber v0.3.5 [INFO] [stderr] Downloaded fs_extra v1.2.0 [INFO] [stderr] Downloaded jemallocator v0.3.2 [INFO] [stderr] Downloaded fragile v1.0.0 [INFO] [stderr] Downloaded predicates v2.1.0 [INFO] [stderr] Downloaded jemalloc-sys v0.3.2 [INFO] [stderr] Downloaded mockall v0.11.0 [INFO] [stderr] Downloaded tokio-rustls v0.14.1 [INFO] [stderr] Downloaded futures-executor v0.3.19 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/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" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+385fa9d845dd326c6bbfd58c22244215e431948a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 37ddd0e520ba57afb47f74b11aace9bf86523e9874ec502b3927fe35818bed07 [INFO] running `Command { std: "docker" "start" "-a" "37ddd0e520ba57afb47f74b11aace9bf86523e9874ec502b3927fe35818bed07", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "37ddd0e520ba57afb47f74b11aace9bf86523e9874ec502b3927fe35818bed07", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "37ddd0e520ba57afb47f74b11aace9bf86523e9874ec502b3927fe35818bed07", kill_on_drop: false }` [INFO] [stdout] 37ddd0e520ba57afb47f74b11aace9bf86523e9874ec502b3927fe35818bed07 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/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" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+385fa9d845dd326c6bbfd58c22244215e431948a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b44c0c3ce88a68f2a760bcfa0fa1d73e2c77f294448e12f1fca8a81e8f1432ee [INFO] running `Command { std: "docker" "start" "-a" "b44c0c3ce88a68f2a760bcfa0fa1d73e2c77f294448e12f1fca8a81e8f1432ee", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.36 [INFO] [stderr] Compiling syn v1.0.84 [INFO] [stderr] Compiling libc v0.2.112 [INFO] [stderr] Compiling generic-array v0.14.4 [INFO] [stderr] Checking pin-project-lite v0.2.8 [INFO] [stderr] Compiling ring v0.16.20 [INFO] [stderr] Checking mio v0.6.23 [INFO] [stderr] Checking once_cell v1.9.0 [INFO] [stderr] Compiling typenum v1.15.0 [INFO] [stderr] Compiling slab v0.4.5 [INFO] [stderr] Compiling crossbeam-utils v0.8.5 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling futures-core v0.3.19 [INFO] [stderr] Compiling untrusted v0.7.1 [INFO] [stderr] Checking rand_chacha v0.2.2 [INFO] [stderr] Compiling nom v7.1.0 [INFO] [stderr] Compiling standback v0.2.17 [INFO] [stderr] Checking tracing-core v0.1.21 [INFO] [stderr] Checking rand v0.7.3 [INFO] [stderr] Compiling tinyvec_macros v0.1.0 [INFO] [stderr] Compiling build_const v0.2.2 [INFO] [stderr] Compiling futures-channel v0.3.19 [INFO] [stderr] Compiling tinyvec v1.5.1 [INFO] [stderr] Compiling ahash v0.6.3 [INFO] [stderr] Compiling futures-sink v0.3.19 [INFO] [stderr] Compiling crc v1.8.1 [INFO] [stderr] Compiling crossbeam-queue v0.3.2 [INFO] [stderr] Checking http v0.2.6 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling futures-task v0.3.19 [INFO] [stderr] Compiling time v0.2.27 [INFO] [stderr] Compiling bytes v0.5.6 [INFO] [stderr] Compiling pin-utils v0.1.0 [INFO] [stderr] Compiling pin-project-lite v0.1.12 [INFO] [stderr] Compiling futures-io v0.3.19 [INFO] [stderr] Compiling ucd-trie v0.1.3 [INFO] [stderr] Compiling matches v0.1.9 [INFO] [stderr] Compiling base64 v0.12.3 [INFO] [stderr] Compiling unicode-bidi v0.3.7 [INFO] [stderr] Compiling pest v2.1.3 [INFO] [stderr] Compiling iovec v0.1.4 [INFO] [stderr] Compiling quote v1.0.14 [INFO] [stderr] Checking mio-uds v0.6.8 [INFO] [stderr] Checking digest v0.9.0 [INFO] [stderr] Checking block-buffer v0.9.0 [INFO] [stderr] Compiling net2 v0.2.37 [INFO] [stderr] Compiling getrandom v0.1.16 [INFO] [stderr] Compiling num_cpus v1.13.1 [INFO] [stderr] Checking sha-1 v0.9.8 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Checking itertools v0.10.3 [INFO] [stderr] Compiling instant v0.1.12 [INFO] [stderr] Compiling cookie v0.14.4 [INFO] [stderr] Compiling ppv-lite86 v0.2.16 [INFO] [stderr] Compiling minimal-lexical v0.2.1 [INFO] [stderr] Compiling percent-encoding v2.1.0 [INFO] [stderr] Compiling smallvec v1.7.0 [INFO] [stderr] Compiling unicode-normalization v0.1.19 [INFO] [stderr] Compiling serde_json v1.0.73 [INFO] [stderr] Compiling scopeguard v1.1.0 [INFO] [stderr] Compiling subtle v2.4.1 [INFO] [stderr] Compiling ahash v0.4.7 [INFO] [stderr] Compiling parking_lot_core v0.8.5 [INFO] [stderr] Compiling crypto-mac v0.10.1 [INFO] [stderr] Compiling hashbrown v0.9.1 [INFO] [stderr] Compiling form_urlencoded v1.0.1 [INFO] [stderr] Compiling lock_api v0.4.5 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling semver-parser v0.10.2 [INFO] [stderr] Compiling getrandom v0.2.3 [INFO] [stderr] Compiling itoa v1.0.1 [INFO] [stderr] Compiling unicode_categories v0.1.1 [INFO] [stderr] Compiling ryu v1.0.9 [INFO] [stderr] Compiling fs_extra v1.2.0 [INFO] [stderr] Compiling chrono v0.4.19 [INFO] [stderr] Compiling parking_lot v0.11.2 [INFO] [stderr] Compiling idna v0.2.3 [INFO] [stderr] Compiling stringprep v0.1.2 [INFO] [stderr] Compiling hmac v0.10.1 [INFO] [stderr] Compiling hashlink v0.6.0 [INFO] [stderr] Compiling crossbeam-channel v0.5.1 [INFO] [stderr] Compiling jemalloc-sys v0.3.2 [INFO] [stderr] Compiling sha2 v0.9.8 [INFO] [stderr] Compiling md-5 v0.9.1 [INFO] [stderr] Compiling url v2.2.2 [INFO] [stderr] Compiling atoi v0.4.0 [INFO] [stderr] Checking time v0.1.43 [INFO] [stderr] Compiling hex v0.4.3 [INFO] [stderr] Compiling base64 v0.13.0 [INFO] [stderr] Compiling byteorder v1.4.3 [INFO] [stderr] Compiling uuid v0.8.2 [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Compiling whoami v1.2.1 [INFO] [stderr] Checking regex-automata v0.1.10 [INFO] [stderr] Compiling dotenv v0.15.0 [INFO] [stderr] Checking predicates-core v1.0.2 [INFO] [stderr] Checking tracing-log v0.1.2 [INFO] [stderr] Compiling webpki v0.21.4 [INFO] [stderr] Compiling sct v0.6.1 [INFO] [stderr] Checking thread_local v1.1.3 [INFO] [stderr] Checking time v0.3.5 [INFO] [stderr] Checking float-cmp v0.9.0 [INFO] [stderr] Checking mio v0.7.14 [INFO] [stderr] Checking sqlformat v0.1.8 [INFO] [stderr] Checking sharded-slab v0.1.4 [INFO] [stderr] Checking termtree v0.2.3 [INFO] [stderr] Checking difflib v0.4.0 [INFO] [stderr] Checking ansi_term v0.12.1 [INFO] [stderr] Checking normalize-line-endings v0.3.0 [INFO] [stderr] Checking downcast v0.11.0 [INFO] [stderr] Checking predicates-tree v1.0.4 [INFO] [stderr] Checking fragile v1.0.0 [INFO] [stderr] Checking predicates v2.1.0 [INFO] [stderr] Compiling rustls v0.18.1 [INFO] [stderr] Compiling webpki-roots v0.21.1 [INFO] [stderr] Checking tokio v1.15.0 [INFO] [stderr] Checking matchers v0.1.0 [INFO] [stderr] Compiling tokio-macros v0.2.6 [INFO] [stderr] Compiling futures-macro v0.3.19 [INFO] [stderr] Compiling serde_derive v1.0.132 [INFO] [stderr] Compiling thiserror-impl v1.0.30 [INFO] [stderr] Compiling pin-project-internal v0.4.29 [INFO] [stderr] Compiling derive_more v0.99.17 [INFO] [stderr] Compiling actix-macros v0.1.3 [INFO] [stderr] Compiling tracing-attributes v0.1.18 [INFO] [stderr] Compiling async-trait v0.1.52 [INFO] [stderr] Compiling pin-project-internal v1.0.10 [INFO] [stderr] Compiling time-macros-impl v0.1.2 [INFO] [stderr] Compiling enum-as-inner v0.3.3 [INFO] [stderr] Compiling actix-web-codegen v0.4.0 [INFO] [stderr] Compiling mockall_derive v0.11.0 [INFO] [stderr] Compiling actix-macros v0.2.3 [INFO] [stderr] Checking time-macros v0.1.1 [INFO] [stderr] Checking futures-util v0.3.19 [INFO] [stderr] Checking tokio v0.2.25 [INFO] [stderr] Checking pin-project v1.0.10 [INFO] [stderr] Checking actix-rt v2.5.1 [INFO] [stderr] Checking tracing v0.1.29 [INFO] [stderr] Checking tracing-futures v0.2.5 [INFO] [stderr] Checking pin-project v0.4.29 [INFO] [stderr] Checking thiserror v1.0.30 [INFO] [stderr] Checking serde v1.0.132 [INFO] [stderr] Checking actix-threadpool v0.3.3 [INFO] [stderr] Checking actix-service v1.0.6 [INFO] [stderr] Checking futures-executor v0.3.19 [INFO] [stderr] Checking futures v0.3.19 [INFO] [stderr] Checking mockall v0.11.0 [INFO] [stderr] Compiling tokio-rustls v0.14.1 [INFO] [stderr] Checking tokio-util v0.3.1 [INFO] [stderr] Checking actix-rt v1.1.1 [INFO] [stderr] Checking trust-dns-proto v0.19.7 [INFO] [stderr] Compiling sqlx-rt v0.2.0 [INFO] [stderr] Compiling sqlx-core v0.4.2 [INFO] [stderr] Checking actix-codec v0.3.0 [INFO] [stderr] Checking h2 v0.2.7 [INFO] [stderr] Checking actix-utils v2.0.0 [INFO] [stderr] Checking actix-server v1.0.4 [INFO] [stderr] Checking actix-tls v2.0.0 [INFO] [stderr] Checking actix-testing v1.0.1 [INFO] [stderr] Checking trust-dns-resolver v0.19.7 [INFO] [stderr] Compiling semver v0.11.0 [INFO] [stderr] Compiling cargo-platform v0.1.2 [INFO] [stderr] Checking serde_urlencoded v0.7.0 [INFO] [stderr] Checking actix-router v0.2.7 [INFO] [stderr] Checking tracing-serde v0.1.2 [INFO] [stderr] Checking actix-connect v2.0.0 [INFO] [stderr] Compiling cargo_metadata v0.12.3 [INFO] [stderr] Checking tracing-subscriber v0.3.5 [INFO] [stderr] Checking actix-http v2.2.1 [INFO] [stderr] Compiling sqlx-macros v0.4.2 [INFO] [stderr] Checking awc v2.0.3 [INFO] [stderr] Checking actix-web v3.3.3 [INFO] [stderr] Checking sqlx v0.4.2 [INFO] [stderr] Checking jemallocator v0.3.2 [INFO] [stderr] Checking docmanager v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: the item `User` is imported redundantly [INFO] [stdout] --> src/v1/user_services.rs:64:42 [INFO] [stdout] | [INFO] [stdout] 63 | use super::*; [INFO] [stdout] | -------- the item `User` is already imported here [INFO] [stdout] 64 | use crate::model::user::{CustomData, User}; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: lifetime may not live long enough [INFO] [stdout] --> src/model/user.rs:15:48 [INFO] [stdout] | [INFO] [stdout] 15 | #[derive(Debug, Clone, Deserialize, Serialize, sqlx::Type)] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | lifetime `'r` defined here [INFO] [stdout] | requires that `'r` must outlive `'static` [INFO] [stdout] | [INFO] [stdout] note: due to current limitations in the borrow checker, this implies a `'static` lifetime [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/sqlx-core-0.4.2/src/postgres/types/record.rs:96:12 [INFO] [stdout] | [INFO] [stdout] 96 | T: for<'a> Decode<'a, Postgres> + Type, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: this error originates in the derive macro `sqlx::Type` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: implementation of `sqlx::Decode` is not general enough [INFO] [stdout] --> src/model/user.rs:15:48 [INFO] [stdout] | [INFO] [stdout] 15 | #[derive(Debug, Clone, Deserialize, Serialize, sqlx::Type)] [INFO] [stdout] | ^^^^^^^^^^ implementation of `sqlx::Decode` is not general enough [INFO] [stdout] | [INFO] [stdout] = note: `i32` must implement `sqlx::Decode<'0, Postgres>`, for any lifetime `'0`... [INFO] [stdout] = note: ...but it actually implements `sqlx::Decode<'1, Postgres>`, for some specific lifetime `'1` [INFO] [stdout] = note: this error originates in the derive macro `sqlx::Type` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `docmanager` (bin "docmanager") due to 3 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: lifetime may not live long enough [INFO] [stdout] --> src/model/user.rs:15:48 [INFO] [stdout] | [INFO] [stdout] 15 | #[derive(Debug, Clone, Deserialize, Serialize, sqlx::Type)] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | lifetime `'r` defined here [INFO] [stdout] | requires that `'r` must outlive `'static` [INFO] [stdout] | [INFO] [stdout] note: due to current limitations in the borrow checker, this implies a `'static` lifetime [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/sqlx-core-0.4.2/src/postgres/types/record.rs:96:12 [INFO] [stdout] | [INFO] [stdout] 96 | T: for<'a> Decode<'a, Postgres> + Type, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: this error originates in the derive macro `sqlx::Type` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: implementation of `sqlx::Decode` is not general enough [INFO] [stdout] --> src/model/user.rs:15:48 [INFO] [stdout] | [INFO] [stdout] 15 | #[derive(Debug, Clone, Deserialize, Serialize, sqlx::Type)] [INFO] [stdout] | ^^^^^^^^^^ implementation of `sqlx::Decode` is not general enough [INFO] [stdout] | [INFO] [stdout] = note: `i32` must implement `sqlx::Decode<'0, Postgres>`, for any lifetime `'0`... [INFO] [stdout] = note: ...but it actually implements `sqlx::Decode<'1, Postgres>`, for some specific lifetime `'1` [INFO] [stdout] = note: this error originates in the derive macro `sqlx::Type` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `docmanager` (bin "docmanager" test) due to 3 previous errors; 1 warning emitted [INFO] running `Command { std: "docker" "inspect" "b44c0c3ce88a68f2a760bcfa0fa1d73e2c77f294448e12f1fca8a81e8f1432ee", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b44c0c3ce88a68f2a760bcfa0fa1d73e2c77f294448e12f1fca8a81e8f1432ee", kill_on_drop: false }` [INFO] [stdout] b44c0c3ce88a68f2a760bcfa0fa1d73e2c77f294448e12f1fca8a81e8f1432ee