[INFO] cloning repository https://github.com/Gurkirat164/tickets
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Gurkirat164/tickets" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FGurkirat164%2Ftickets", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FGurkirat164%2Ftickets'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 27bea65f6394e4bab233c80a824c27fa56ccfe82
[INFO] checking Gurkirat164/tickets against try#e90f1ff63e694965281f833819a486da29772bdf for pr-146167
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FGurkirat164%2Ftickets" "/workspace/builds/worker-2-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc2/source'...
[INFO] [stderr] done.
[INFO] removed /workspace/builds/worker-2-tc2/source/.cargo/config
[INFO] started tweaking git repo https://github.com/Gurkirat164/tickets
[INFO] finished tweaking git repo https://github.com/Gurkirat164/tickets
[INFO] tweaked toml for git repo https://github.com/Gurkirat164/tickets written to /workspace/builds/worker-2-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/Gurkirat164/tickets on toolchain e90f1ff63e694965281f833819a486da29772bdf
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+e90f1ff63e694965281f833819a486da29772bdf" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/Gurkirat164/tickets 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" "+e90f1ff63e694965281f833819a486da29772bdf" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+e90f1ff63e694965281f833819a486da29772bdf" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 7666a89dbca920bacb654824b160343c0a434ca6d85ce8017face415659b1ad7
[INFO] running `Command { std: "docker" "start" "-a" "7666a89dbca920bacb654824b160343c0a434ca6d85ce8017face415659b1ad7", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "7666a89dbca920bacb654824b160343c0a434ca6d85ce8017face415659b1ad7", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "7666a89dbca920bacb654824b160343c0a434ca6d85ce8017face415659b1ad7", kill_on_drop: false }`
[INFO] [stdout] 7666a89dbca920bacb654824b160343c0a434ca6d85ce8017face415659b1ad7
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+e90f1ff63e694965281f833819a486da29772bdf" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 1b2a0196816334d79e9d823c1f82c30bc373d0ebdf0bef799b227f7df82c576c
[INFO] running `Command { std: "docker" "start" "-a" "1b2a0196816334d79e9d823c1f82c30bc373d0ebdf0bef799b227f7df82c576c", kill_on_drop: false }`
[INFO] [stderr] Compiling cc v1.0.99
[INFO] [stderr] Compiling serde v1.0.203
[INFO] [stderr] Checking getrandom v0.2.15
[INFO] [stderr] Compiling syn v2.0.66
[INFO] [stderr] Compiling serde_json v1.0.117
[INFO] [stderr] Compiling syn v1.0.109
[INFO] [stderr] Checking subtle v2.5.0
[INFO] [stderr] Checking allocator-api2 v0.2.18
[INFO] [stderr] Checking http-body v0.4.6
[INFO] [stderr] Checking rand_core v0.6.4
[INFO] [stderr] Checking ahash v0.8.11
[INFO] [stderr] Checking digest v0.10.7
[INFO] [stderr] Checking rand_chacha v0.3.1
[INFO] [stderr] Checking regex-syntax v0.8.4
[INFO] [stderr] Compiling libc v0.2.155
[INFO] [stderr] Compiling miniz_oxide v0.4.4
[INFO] [stderr] Checking hashbrown v0.14.5
[INFO] [stderr] Checking rand v0.8.5
[INFO] [stderr] Checking sha2 v0.10.8
[INFO] [stderr] Checking indexmap v2.2.6
[INFO] [stderr] Checking hmac v0.12.1
[INFO] [stderr] Checking flate2 v1.0.22
[INFO] [stderr] Checking byteorder v1.5.0
[INFO] [stderr] Compiling ring v0.17.8
[INFO] [stderr] Compiling openssl-sys v0.9.102
[INFO] [stderr] Checking unicode-properties v0.1.1
[INFO] [stderr] Checking regex-automata v0.4.7
[INFO] [stderr] Checking md-5 v0.10.6
[INFO] [stderr] Checking whoami v1.5.1
[INFO] [stderr] Checking stringprep v0.1.5
[INFO] [stderr] Compiling zerocopy v0.7.34
[INFO] [stderr] Checking fallible-iterator v0.2.0
[INFO] [stderr] Compiling openssl v0.10.64
[INFO] [stderr] Compiling native-tls v0.2.12
[INFO] [stderr] Checking phf_shared v0.11.2
[INFO] [stderr] Checking postgres-protocol v0.6.6
[INFO] [stderr] Checking phf v0.11.2
[INFO] [stderr] Checking time v0.3.36
[INFO] [stderr] Compiling protobuf v2.28.0
[INFO] [stderr] Compiling ring v0.16.20
[INFO] [stderr] Checking regex v1.10.5
[INFO] [stderr] Compiling prometheus v0.13.4
[INFO] [stderr] Compiling num-traits v0.2.19
[INFO] [stderr] Compiling pin-project-lite v0.2.14
[INFO] [stderr] Compiling bitflags v2.5.0
[INFO] [stderr] Compiling smallvec v1.13.2
[INFO] [stderr] Compiling rustls v0.20.9
[INFO] [stderr] Compiling lock_api v0.4.12
[INFO] [stderr] Compiling parking_lot_core v0.9.10
[INFO] [stderr] Compiling mio v0.8.11
[INFO] [stderr] Compiling rustls v0.21.12
[INFO] [stderr] Compiling socket2 v0.5.7
[INFO] [stderr] Compiling tokio v1.38.0
[INFO] [stderr] Compiling nom v7.1.3
[INFO] [stderr] Compiling parking_lot v0.12.3
[INFO] [stderr] Checking sct v0.7.1
[INFO] [stderr] Checking rustls-webpki v0.101.7
[INFO] [stderr] Checking webpki v0.22.4
[INFO] [stderr] Compiling num-derive v0.3.3
[INFO] [stderr] Compiling serde_derive v1.0.203
[INFO] [stderr] Compiling tokio-macros v2.3.0
[INFO] [stderr] Compiling futures-macro v0.3.30
[INFO] [stderr] Compiling thiserror-impl v1.0.61
[INFO] [stderr] Compiling tracing-attributes v0.1.27
[INFO] [stderr] Compiling async-trait v0.1.80
[INFO] [stderr] Checking futures-util v0.3.30
[INFO] [stderr] Compiling pin-project-internal v1.1.5
[INFO] [stderr] Compiling openssl-macros v0.1.1
[INFO] [stderr] Checking thiserror v1.0.61
[INFO] [stderr] Compiling serde_repr v0.1.19
[INFO] [stderr] Checking tracing v0.1.40
[INFO] [stderr] Checking pin-project v1.1.5
[INFO] [stderr] Compiling zeroize_derive v1.4.2
[INFO] [stderr] Checking zeroize v1.8.1
[INFO] [stderr] Compiling crossbeam-utils v0.8.20
[INFO] [stderr] Compiling slab v0.4.9
[INFO] [stderr] Compiling openssl-probe v0.1.5
[INFO] [stderr] Compiling rustix v0.38.34
[INFO] [stderr] Checking tokio-util v0.7.11
[INFO] [stderr] Checking tower v0.4.13
[INFO] [stderr] Checking tokio-rustls v0.24.1
[INFO] [stderr] Checking async-compression v0.4.11
[INFO] [stderr] Checking hyper v1.3.1
[INFO] [stderr] Checking h2 v0.3.26
[INFO] [stderr] Checking tokio-native-tls v0.3.1
[INFO] [stderr] Compiling crc v3.2.1
[INFO] [stderr] Compiling chrono v0.4.38
[INFO] [stderr] Checking hyper-util v0.1.5
[INFO] [stderr] Compiling sqlformat v0.2.4
[INFO] [stderr] Checking url v2.5.2
[INFO] [stderr] Checking serde_urlencoded v0.7.1
[INFO] [stderr] Checking envy v0.4.2
[INFO] [stderr] Checking uuid v1.8.0
[INFO] [stderr] Compiling either v1.12.0
[INFO] [stderr] Checking debugid v0.8.0
[INFO] [stderr] Compiling crossbeam-queue v0.3.11
[INFO] [stderr] Checking http-body-util v0.1.2
[INFO] [stderr] Compiling tokio-stream v0.1.15
[INFO] [stderr] Compiling futures-intrusive v0.5.0
[INFO] [stderr] Compiling futures-channel v0.3.30
[INFO] [stderr] Compiling atoi v2.0.0
[INFO] [stderr] Checking model v0.1.0 (/opt/rustwide/workdir/model)
[INFO] [stderr] Checking postgres-types v0.2.6
[INFO] [stderr] Compiling hashlink v0.8.4
[INFO] [stderr] Compiling event-listener v2.5.3
[INFO] [stderr] Checking tokio-postgres v0.7.10
[INFO] [stderr] Compiling linux-raw-sys v0.4.14
[INFO] [stderr] Checking backoff v0.3.0
[INFO] [stderr] Checking env_logger v0.9.3
[INFO] [stderr] Compiling hkdf v0.12.4
[INFO] [stderr] Checking tokio-rustls v0.23.4
[INFO] [stderr] Checking futures-executor v0.3.30
[INFO] [stderr] Checking webpki-roots v0.22.6
[INFO] [stderr] Compiling backtrace v0.3.73
[INFO] [stderr] Compiling fastrand v2.1.0
[INFO] [stderr] Checking gimli v0.29.0
[INFO] [stderr] Checking hyper v0.14.29
[INFO] [stderr] Checking unicode_categories v0.1.1
[INFO] [stderr] Compiling home v0.5.9
[INFO] [stderr] Compiling base64 v0.21.7
[INFO] [stderr] Checking futures v0.3.30
[INFO] [stderr] Compiling tempfile v3.10.1
[INFO] [stderr] Checking deadpool-runtime v0.1.4
[INFO] [stderr] Compiling sqlx-core v0.7.4
[INFO] [stderr] Checking miniz_oxide v0.7.4
[INFO] [stderr] Checking object v0.36.0
[INFO] [stderr] Checking rustls-pki-types v1.7.0
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout] --> model/src/user/activity_type.rs:6:63
[INFO] [stdout] |
[INFO] [stdout] 6 | Serialize_repr, Deserialize_repr, Copy, Clone, Debug, Eq, FromPrimitive, PartialEq, Hash,
[INFO] [stdout] | ^------------
[INFO] [stdout] | |
[INFO] [stdout] | `FromPrimitive` is not local
[INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_ActivityType`
[INFO] [stdout] ...
[INFO] [stdout] 9 | pub enum ActivityType {
[INFO] [stdout] | ------------ `ActivityType` is not local
[INFO] [stdout] |
[INFO] [stdout] = note: the derive macro `FromPrimitive` defines the non-local `impl`, and may need to be changed
[INFO] [stdout] = note: the derive macro `FromPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_derive`
[INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint
[INFO] [stdout] = note: `#[warn(non_local_definitions)]` on by default
[INFO] [stdout] = note: this warning originates in the derive macro `FromPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stderr] Checking retain_mut v0.1.9
[INFO] [stderr] Checking rustc-demangle v0.1.24
[INFO] [stderr] Checking cache v0.1.0 (/opt/rustwide/workdir/cache)
[INFO] [stderr] Checking deadpool v0.9.5
[INFO] [stderr] Checking hostname v0.3.1
[INFO] [stderr] Checking brotli-decompressor v2.5.1
[INFO] [stderr] Checking addr2line v0.22.0
[INFO] [stderr] Compiling findshlibs v0.10.2
[INFO] [stdout] warning: unused variable: `id`
[INFO] [stdout] --> cache/src/postgres/worker.rs:231:31
[INFO] [stdout] |
[INFO] [stdout] 231 | async fn get_guild(&self, id: Snowflake) -> Result