[INFO] cloning repository https://github.com/jspaulsen/papers [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/jspaulsen/papers" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjspaulsen%2Fpapers", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjspaulsen%2Fpapers'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 0bebd4540cf1b24b98cdb42b1babc431b2f13068 [INFO] testing jspaulsen/papers/0bebd4540cf1b24b98cdb42b1babc431b2f13068 against 1.85.0 for beta-1.86-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjspaulsen%2Fpapers" "/workspace/builds/worker-7-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/jspaulsen/papers on toolchain 1.85.0 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.85.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/jspaulsen/papers [INFO] finished tweaking git repo https://github.com/jspaulsen/papers [INFO] tweaked toml for git repo https://github.com/jspaulsen/papers written to /workspace/builds/worker-7-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/jspaulsen/papers 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" "+1.85.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded tower-http v0.1.2 [INFO] [stderr] Downloaded axum-debug-macros v0.1.0 [INFO] [stderr] Downloaded envconfig v0.10.0 [INFO] [stderr] Downloaded axum-debug v0.1.0 [INFO] [stderr] Downloaded der v0.4.4 [INFO] [stderr] Downloaded envconfig_derive v0.10.0 [INFO] [stderr] Downloaded opg_derive v0.0.34 [INFO] [stderr] Downloaded rsa v0.5.0 [INFO] [stderr] Downloaded anyhow v1.0.47 [INFO] [stderr] Downloaded pkcs1 v0.2.4 [INFO] [stderr] Downloaded axum v0.3.4 [INFO] [stderr] Downloaded axum v0.2.8 [INFO] [stderr] Downloaded crypto-bigint v0.2.11 [INFO] [stderr] Downloaded num-bigint-dig v0.7.0 [INFO] [stderr] Downloaded openssl-sys v0.9.71 [INFO] [stderr] Downloaded tracing-subscriber v0.3.1 [INFO] [stderr] Downloaded opg v0.0.34 [INFO] [stderr] Downloaded base64ct v1.1.1 [INFO] [stderr] Downloaded pkcs8 v0.7.6 [INFO] [stderr] Downloaded pem-rfc7468 v0.2.4 [INFO] [stderr] Downloaded const-oid v0.6.2 [INFO] [stderr] Downloaded whoami v1.2.0 [INFO] [stderr] Downloaded spki v0.4.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:3959728d45483eb673ba100a951a6b9f5012970368db2a9e08e0ac9b67c8a5ad" "/opt/rustwide/cargo-home/bin/cargo" "+1.85.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 9a1a5fe74c685c79db323ade22c76cb9434d7fcf35a0beeb7e3b5b30af48b3e9 [INFO] running `Command { std: "docker" "start" "-a" "9a1a5fe74c685c79db323ade22c76cb9434d7fcf35a0beeb7e3b5b30af48b3e9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "9a1a5fe74c685c79db323ade22c76cb9434d7fcf35a0beeb7e3b5b30af48b3e9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9a1a5fe74c685c79db323ade22c76cb9434d7fcf35a0beeb7e3b5b30af48b3e9", kill_on_drop: false }` [INFO] [stdout] 9a1a5fe74c685c79db323ade22c76cb9434d7fcf35a0beeb7e3b5b30af48b3e9 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:3959728d45483eb673ba100a951a6b9f5012970368db2a9e08e0ac9b67c8a5ad" "/opt/rustwide/cargo-home/bin/cargo" "+1.85.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 3a9852213a798da4e7e522ae03d23b81c885e2ced6e47eff0bc5d4806a245097 [INFO] running `Command { std: "docker" "start" "-a" "3a9852213a798da4e7e522ae03d23b81c885e2ced6e47eff0bc5d4806a245097", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling libc v0.2.107 [INFO] [stderr] Compiling proc-macro2 v1.0.32 [INFO] [stderr] Compiling syn v1.0.81 [INFO] [stderr] Compiling memchr v2.4.1 [INFO] [stderr] Compiling pin-project-lite v0.2.7 [INFO] [stderr] Compiling version_check v0.9.3 [INFO] [stderr] Compiling bytes v1.1.0 [INFO] [stderr] Compiling futures-core v0.3.17 [INFO] [stderr] Compiling futures-sink v0.3.17 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling once_cell v1.8.0 [INFO] [stderr] Compiling spin v0.5.2 [INFO] [stderr] Compiling cc v1.0.72 [INFO] [stderr] Compiling typenum v1.14.0 [INFO] [stderr] Compiling serde_derive v1.0.130 [INFO] [stderr] Compiling itoa v0.4.8 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling futures-channel v0.3.17 [INFO] [stderr] Compiling serde v1.0.130 [INFO] [stderr] Compiling pkg-config v0.3.22 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Compiling generic-array v0.14.4 [INFO] [stderr] Compiling libm v0.2.1 [INFO] [stderr] Compiling tokio v1.14.0 [INFO] [stderr] Compiling proc-macro-hack v0.5.19 [INFO] [stderr] Compiling futures-macro v0.3.17 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling matches v0.1.9 [INFO] [stderr] Compiling futures-task v0.3.17 [INFO] [stderr] Compiling proc-macro-nested v0.1.7 [INFO] [stderr] Compiling futures-util v0.3.17 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling openssl v0.10.38 [INFO] [stderr] Compiling serde_json v1.0.71 [INFO] [stderr] Compiling subtle v2.4.1 [INFO] [stderr] Compiling quote v1.0.10 [INFO] [stderr] Compiling form_urlencoded v1.0.1 [INFO] [stderr] Compiling http v0.2.5 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling num_cpus v1.13.0 [INFO] [stderr] Compiling getrandom v0.2.3 [INFO] [stderr] Compiling mio v0.7.14 [INFO] [stderr] Compiling regex-syntax v0.6.25 [INFO] [stderr] Compiling rand_core v0.6.3 [INFO] [stderr] Compiling openssl-sys v0.9.71 [INFO] [stderr] Compiling crossbeam-utils v0.8.5 [INFO] [stderr] Compiling tower-service v0.3.1 [INFO] [stderr] Compiling slab v0.4.5 [INFO] [stderr] Compiling native-tls v0.2.8 [INFO] [stderr] Compiling futures-io v0.3.17 [INFO] [stderr] Compiling ahash v0.7.6 [INFO] [stderr] Compiling smallvec v1.7.0 [INFO] [stderr] Compiling openssl-probe v0.1.4 [INFO] [stderr] Compiling aho-corasick v0.7.18 [INFO] [stderr] Compiling tracing-core v0.1.21 [INFO] [stderr] Compiling tower-layer v0.3.1 [INFO] [stderr] Compiling ppv-lite86 v0.2.15 [INFO] [stderr] Compiling tinyvec_macros v0.1.0 [INFO] [stderr] Compiling httparse v1.5.1 [INFO] [stderr] Compiling try-lock v0.2.3 [INFO] [stderr] Compiling tinyvec v1.5.1 [INFO] [stderr] Compiling either v1.6.1 [INFO] [stderr] Compiling hashbrown v0.11.2 [INFO] [stderr] Compiling socket2 v0.4.2 [INFO] [stderr] Compiling indexmap v1.7.0 [INFO] [stderr] Compiling nom v7.1.0 [INFO] [stderr] Compiling async-trait v0.1.51 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling httpdate v1.0.2 [INFO] [stderr] Compiling digest v0.9.0 [INFO] [stderr] Compiling block-buffer v0.9.0 [INFO] [stderr] Compiling opaque-debug v0.3.0 [INFO] [stderr] Compiling unicode-bidi v0.3.7 [INFO] [stderr] Compiling crossbeam-queue v0.3.2 [INFO] [stderr] Compiling lock_api v0.4.5 [INFO] [stderr] Compiling parking_lot_core v0.8.5 [INFO] [stderr] Compiling byteorder v1.4.3 [INFO] [stderr] Compiling unicode-normalization v0.1.19 [INFO] [stderr] Compiling whoami v1.2.0 [INFO] [stderr] Compiling cpufeatures v0.2.1 [INFO] [stderr] Compiling parking_lot v0.11.2 [INFO] [stderr] Compiling crypto-bigint v0.2.11 [INFO] [stderr] Compiling crypto-mac v0.11.1 [INFO] [stderr] Compiling itertools v0.10.1 [INFO] [stderr] Compiling dirs-sys v0.3.6 [INFO] [stderr] Compiling http-body v0.4.4 [INFO] [stderr] Compiling time v0.1.44 [INFO] [stderr] Compiling const-oid v0.6.2 [INFO] [stderr] Compiling sync_wrapper v0.1.1 [INFO] [stderr] Compiling crc-catalog v1.1.1 [INFO] [stderr] Compiling unicode_categories v0.1.1 [INFO] [stderr] Compiling crc v2.1.0 [INFO] [stderr] Compiling dirs v3.0.2 [INFO] [stderr] Compiling futures-intrusive v0.4.0 [INFO] [stderr] Compiling hmac v0.11.0 [INFO] [stderr] Compiling regex v1.5.4 [INFO] [stderr] Compiling der v0.4.4 [INFO] [stderr] Compiling sha-1 v0.9.8 [INFO] [stderr] Compiling sha2 v0.9.8 [INFO] [stderr] Compiling rand v0.8.4 [INFO] [stderr] Compiling idna v0.2.3 [INFO] [stderr] Compiling stringprep v0.1.2 [INFO] [stderr] Compiling md-5 v0.9.1 [INFO] [stderr] Compiling hashlink v0.7.0 [INFO] [stderr] Compiling want v0.3.0 [INFO] [stderr] Compiling num-iter v0.1.42 [INFO] [stderr] Compiling num-bigint v0.2.6 [INFO] [stderr] Compiling hex v0.4.3 [INFO] [stderr] Compiling url v2.2.2 [INFO] [stderr] Compiling base64 v0.13.0 [INFO] [stderr] Compiling base64ct v1.1.1 [INFO] [stderr] Compiling num-bigint-dig v0.7.0 [INFO] [stderr] Compiling pem-rfc7468 v0.2.4 [INFO] [stderr] Compiling chrono v0.4.19 [INFO] [stderr] Compiling synstructure v0.12.6 [INFO] [stderr] Compiling atoi v0.4.0 [INFO] [stderr] Compiling crossbeam-channel v0.5.1 [INFO] [stderr] Compiling ring v0.16.20 [INFO] [stderr] Compiling unicode-segmentation v1.8.0 [INFO] [stderr] Compiling sqlformat v0.1.8 [INFO] [stderr] Compiling spki v0.4.1 [INFO] [stderr] Compiling regex-automata v0.1.10 [INFO] [stderr] Compiling dotenv v0.15.0 [INFO] [stderr] Compiling anyhow v1.0.47 [INFO] [stderr] Compiling untrusted v0.7.1 [INFO] [stderr] Compiling heck v0.3.3 [INFO] [stderr] Compiling linked-hash-map v0.5.4 [INFO] [stderr] Compiling pem v0.8.3 [INFO] [stderr] Compiling tracing-log v0.1.2 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling yaml-rust v0.4.5 [INFO] [stderr] Compiling thread_local v1.1.3 [INFO] [stderr] Compiling sharded-slab v0.1.4 [INFO] [stderr] Compiling termcolor v1.1.2 [INFO] [stderr] Compiling mime v0.3.16 [INFO] [stderr] Compiling matchit v0.4.4 [INFO] [stderr] Compiling humantime v2.1.0 [INFO] [stderr] Compiling tokio-util v0.6.9 [INFO] [stderr] Compiling tokio-native-tls v0.3.0 [INFO] [stderr] Compiling tokio-stream v0.1.8 [INFO] [stderr] Compiling dtoa v0.4.8 [INFO] [stderr] Compiling base64 v0.12.3 [INFO] [stderr] Compiling sqlx-rt v0.5.9 [INFO] [stderr] Compiling ansi_term v0.12.1 [INFO] [stderr] Compiling env_logger v0.9.0 [INFO] [stderr] Compiling uuid v0.8.2 [INFO] [stderr] Compiling matchers v0.1.0 [INFO] [stderr] Compiling tracing-attributes v0.1.18 [INFO] [stderr] Compiling tokio-macros v1.6.0 [INFO] [stderr] Compiling pin-project-internal v1.0.8 [INFO] [stderr] Compiling zeroize_derive v1.2.2 [INFO] [stderr] Compiling thiserror-impl v1.0.30 [INFO] [stderr] Compiling opg_derive v0.0.34 [INFO] [stderr] Compiling envconfig_derive v0.10.0 [INFO] [stderr] Compiling zeroize v1.4.3 [INFO] [stderr] Compiling pkcs1 v0.2.4 [INFO] [stderr] Compiling envconfig v0.10.0 [INFO] [stderr] Compiling pkcs8 v0.7.6 [INFO] [stderr] Compiling thiserror v1.0.30 [INFO] [stderr] Compiling tracing v0.1.29 [INFO] [stderr] Compiling tracing-subscriber v0.3.1 [INFO] [stderr] Compiling pin-project v1.0.8 [INFO] [stderr] Compiling hyper v0.14.15 [INFO] [stderr] Compiling tower v0.4.11 [INFO] [stderr] Compiling tower-http v0.1.2 [INFO] [stderr] Compiling rsa v0.5.0 [INFO] [stderr] Compiling futures-executor v0.3.17 [INFO] [stderr] Compiling futures v0.3.17 [INFO] [stderr] Compiling serde_urlencoded v0.7.0 [INFO] [stderr] Compiling serde_yaml v0.8.21 [INFO] [stderr] Compiling opg v0.0.34 [INFO] [stderr] Compiling simple_asn1 v0.4.1 [INFO] [stderr] Compiling axum v0.2.8 [INFO] [stderr] Compiling sqlx-core v0.5.9 [INFO] [stderr] Compiling axum v0.3.4 [INFO] [stderr] Compiling jsonwebtoken v7.2.0 [INFO] [stderr] Compiling axum-debug-macros v0.1.0 [INFO] [stderr] Compiling axum-debug v0.1.0 [INFO] [stderr] Compiling sqlx-macros v0.5.9 [INFO] [stderr] Compiling sqlx v0.5.9 [INFO] [stderr] Compiling papers v0.1.3 (/opt/rustwide/workdir) [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/db/account.rs:19:31 [INFO] [stdout] | [INFO] [stdout] 19 | #[derive(Clone, Deserialize, opg::OpgModel, Serialize, sqlx::FromRow)] [INFO] [stdout] | ^------------ [INFO] [stdout] | | [INFO] [stdout] | `OpgModel` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_OPG_MODEL_FOR_Account` [INFO] [stdout] 20 | pub struct Account { [INFO] [stdout] | ------- `Account` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `opg::OpgModel` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `opg::OpgModel` may come from an old version of the `opg_derive` crate, try updating your dependency with `cargo update -p opg_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 `opg::OpgModel` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/db/role.rs:16:37 [INFO] [stdout] | [INFO] [stdout] 16 | #[derive(Clone, Debug, Deserialize, opg::OpgModel, PartialEq, Serialize, sqlx::FromRow)] [INFO] [stdout] | ^------------ [INFO] [stdout] | | [INFO] [stdout] | `OpgModel` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_OPG_MODEL_FOR_RolePermission` [INFO] [stdout] 17 | pub struct RolePermission { [INFO] [stdout] | -------------- `RolePermission` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `opg::OpgModel` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `opg::OpgModel` may come from an old version of the `opg_derive` crate, try updating your dependency with `cargo update -p opg_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: this warning originates in the derive macro `opg::OpgModel` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/models/api_secret.rs:15:21 [INFO] [stdout] | [INFO] [stdout] 15 | #[derive(Serialize, opg::OpgModel)] [INFO] [stdout] | ^------------ [INFO] [stdout] | | [INFO] [stdout] | `OpgModel` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_OPG_MODEL_FOR_ApiSecret` [INFO] [stdout] 16 | pub struct ApiSecret { [INFO] [stdout] | --------- `ApiSecret` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `opg::OpgModel` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `opg::OpgModel` may come from an old version of the `opg_derive` crate, try updating your dependency with `cargo update -p opg_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: this warning originates in the derive macro `opg::OpgModel` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/schemas/account.rs:5:23 [INFO] [stdout] | [INFO] [stdout] 5 | #[derive(Deserialize, OpgModel)] [INFO] [stdout] | ^------- [INFO] [stdout] | | [INFO] [stdout] | `OpgModel` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_OPG_MODEL_FOR_AccountPayload` [INFO] [stdout] 6 | pub struct AccountPayload { [INFO] [stdout] | -------------- `AccountPayload` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `OpgModel` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `OpgModel` may come from an old version of the `opg_derive` crate, try updating your dependency with `cargo update -p opg_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: this warning originates in the derive macro `OpgModel` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/schemas/jwt.rs:8:23 [INFO] [stdout] | [INFO] [stdout] 8 | #[derive(Deserialize, OpgModel, Serialize)] [INFO] [stdout] | ^------- [INFO] [stdout] | | [INFO] [stdout] | `OpgModel` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_OPG_MODEL_FOR_JwtResponsePayload` [INFO] [stdout] 9 | pub struct JwtResponsePayload { [INFO] [stdout] | ------------------ `JwtResponsePayload` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `OpgModel` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `OpgModel` may come from an old version of the `opg_derive` crate, try updating your dependency with `cargo update -p opg_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: this warning originates in the derive macro `OpgModel` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/schemas/role.rs:10:23 [INFO] [stdout] | [INFO] [stdout] 10 | #[derive(Deserialize, OpgModel)] [INFO] [stdout] | ^------- [INFO] [stdout] | | [INFO] [stdout] | `OpgModel` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_OPG_MODEL_FOR_RolePayload` [INFO] [stdout] 11 | pub struct RolePayload { [INFO] [stdout] | ----------- `RolePayload` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `OpgModel` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `OpgModel` may come from an old version of the `opg_derive` crate, try updating your dependency with `cargo update -p opg_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: this warning originates in the derive macro `OpgModel` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/schemas/role.rs:16:23 [INFO] [stdout] | [INFO] [stdout] 16 | #[derive(Deserialize, OpgModel)] [INFO] [stdout] | ^------- [INFO] [stdout] | | [INFO] [stdout] | `OpgModel` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_OPG_MODEL_FOR_RolePermissionPayload` [INFO] [stdout] 17 | pub struct RolePermissionPayload { [INFO] [stdout] | --------------------- `RolePermissionPayload` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `OpgModel` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `OpgModel` may come from an old version of the `opg_derive` crate, try updating your dependency with `cargo update -p opg_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: this warning originates in the derive macro `OpgModel` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/schemas/role.rs:25:23 [INFO] [stdout] | [INFO] [stdout] 25 | #[derive(Deserialize, OpgModel, Serialize)] [INFO] [stdout] | ^------- [INFO] [stdout] | | [INFO] [stdout] | `OpgModel` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_OPG_MODEL_FOR_RolePermissionsResponsePayload` [INFO] [stdout] 26 | pub struct RolePermissionsResponsePayload { [INFO] [stdout] | ------------------------------ `RolePermissionsResponsePayload` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `OpgModel` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `OpgModel` may come from an old version of the `opg_derive` crate, try updating your dependency with `cargo update -p opg_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: this warning originates in the derive macro `OpgModel` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/schemas/role.rs:31:23 [INFO] [stdout] | [INFO] [stdout] 31 | #[derive(Deserialize, OpgModel, Serialize)] [INFO] [stdout] | ^------- [INFO] [stdout] | | [INFO] [stdout] | `OpgModel` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_OPG_MODEL_FOR_RoleResponsePayload` [INFO] [stdout] 32 | pub struct RoleResponsePayload { [INFO] [stdout] | ------------------- `RoleResponsePayload` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `OpgModel` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `OpgModel` may come from an old version of the `opg_derive` crate, try updating your dependency with `cargo update -p opg_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: this warning originates in the derive macro `OpgModel` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/schemas/token.rs:10:23 [INFO] [stdout] | [INFO] [stdout] 10 | #[derive(Deserialize, OpgModel, Serialize)] [INFO] [stdout] | ^------- [INFO] [stdout] | | [INFO] [stdout] | `OpgModel` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_OPG_MODEL_FOR_TokenPayload` [INFO] [stdout] 11 | pub struct TokenPayload { [INFO] [stdout] | ------------ `TokenPayload` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `OpgModel` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `OpgModel` may come from an old version of the `opg_derive` crate, try updating your dependency with `cargo update -p opg_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: this warning originates in the derive macro `OpgModel` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 29s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: sqlx-macros v0.5.9 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 4` [INFO] running `Command { std: "docker" "inspect" "3a9852213a798da4e7e522ae03d23b81c885e2ced6e47eff0bc5d4806a245097", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3a9852213a798da4e7e522ae03d23b81c885e2ced6e47eff0bc5d4806a245097", kill_on_drop: false }` [INFO] [stdout] 3a9852213a798da4e7e522ae03d23b81c885e2ced6e47eff0bc5d4806a245097 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:3959728d45483eb673ba100a951a6b9f5012970368db2a9e08e0ac9b67c8a5ad" "/opt/rustwide/cargo-home/bin/cargo" "+1.85.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d28a645fa37236baf28cf71b4773b021e8b465722ad685168155f0f87fd5ee7c [INFO] running `Command { std: "docker" "start" "-a" "d28a645fa37236baf28cf71b4773b021e8b465722ad685168155f0f87fd5ee7c", kill_on_drop: false }` [INFO] [stderr] Compiling papers v0.1.3 (/opt/rustwide/workdir) [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/db/account.rs:19:31 [INFO] [stdout] | [INFO] [stdout] 19 | #[derive(Clone, Deserialize, opg::OpgModel, Serialize, sqlx::FromRow)] [INFO] [stdout] | ^------------ [INFO] [stdout] | | [INFO] [stdout] | `OpgModel` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_OPG_MODEL_FOR_Account` [INFO] [stdout] 20 | pub struct Account { [INFO] [stdout] | ------- `Account` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `opg::OpgModel` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `opg::OpgModel` may come from an old version of the `opg_derive` crate, try updating your dependency with `cargo update -p opg_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 `opg::OpgModel` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/db/role.rs:16:37 [INFO] [stdout] | [INFO] [stdout] 16 | #[derive(Clone, Debug, Deserialize, opg::OpgModel, PartialEq, Serialize, sqlx::FromRow)] [INFO] [stdout] | ^------------ [INFO] [stdout] | | [INFO] [stdout] | `OpgModel` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_OPG_MODEL_FOR_RolePermission` [INFO] [stdout] 17 | pub struct RolePermission { [INFO] [stdout] | -------------- `RolePermission` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `opg::OpgModel` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `opg::OpgModel` may come from an old version of the `opg_derive` crate, try updating your dependency with `cargo update -p opg_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: this warning originates in the derive macro `opg::OpgModel` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/models/api_secret.rs:15:21 [INFO] [stdout] | [INFO] [stdout] 15 | #[derive(Serialize, opg::OpgModel)] [INFO] [stdout] | ^------------ [INFO] [stdout] | | [INFO] [stdout] | `OpgModel` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_OPG_MODEL_FOR_ApiSecret` [INFO] [stdout] 16 | pub struct ApiSecret { [INFO] [stdout] | --------- `ApiSecret` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `opg::OpgModel` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `opg::OpgModel` may come from an old version of the `opg_derive` crate, try updating your dependency with `cargo update -p opg_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: this warning originates in the derive macro `opg::OpgModel` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/schemas/account.rs:5:23 [INFO] [stdout] | [INFO] [stdout] 5 | #[derive(Deserialize, OpgModel)] [INFO] [stdout] | ^------- [INFO] [stdout] | | [INFO] [stdout] | `OpgModel` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_OPG_MODEL_FOR_AccountPayload` [INFO] [stdout] 6 | pub struct AccountPayload { [INFO] [stdout] | -------------- `AccountPayload` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `OpgModel` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `OpgModel` may come from an old version of the `opg_derive` crate, try updating your dependency with `cargo update -p opg_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: this warning originates in the derive macro `OpgModel` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/schemas/jwt.rs:8:23 [INFO] [stdout] | [INFO] [stdout] 8 | #[derive(Deserialize, OpgModel, Serialize)] [INFO] [stdout] | ^------- [INFO] [stdout] | | [INFO] [stdout] | `OpgModel` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_OPG_MODEL_FOR_JwtResponsePayload` [INFO] [stdout] 9 | pub struct JwtResponsePayload { [INFO] [stdout] | ------------------ `JwtResponsePayload` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `OpgModel` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `OpgModel` may come from an old version of the `opg_derive` crate, try updating your dependency with `cargo update -p opg_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: this warning originates in the derive macro `OpgModel` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/schemas/role.rs:10:23 [INFO] [stdout] | [INFO] [stdout] 10 | #[derive(Deserialize, OpgModel)] [INFO] [stdout] | ^------- [INFO] [stdout] | | [INFO] [stdout] | `OpgModel` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_OPG_MODEL_FOR_RolePayload` [INFO] [stdout] 11 | pub struct RolePayload { [INFO] [stdout] | ----------- `RolePayload` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `OpgModel` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `OpgModel` may come from an old version of the `opg_derive` crate, try updating your dependency with `cargo update -p opg_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: this warning originates in the derive macro `OpgModel` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/schemas/role.rs:16:23 [INFO] [stdout] | [INFO] [stdout] 16 | #[derive(Deserialize, OpgModel)] [INFO] [stdout] | ^------- [INFO] [stdout] | | [INFO] [stdout] | `OpgModel` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_OPG_MODEL_FOR_RolePermissionPayload` [INFO] [stdout] 17 | pub struct RolePermissionPayload { [INFO] [stdout] | --------------------- `RolePermissionPayload` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `OpgModel` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `OpgModel` may come from an old version of the `opg_derive` crate, try updating your dependency with `cargo update -p opg_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: this warning originates in the derive macro `OpgModel` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/schemas/role.rs:25:23 [INFO] [stdout] | [INFO] [stdout] 25 | #[derive(Deserialize, OpgModel, Serialize)] [INFO] [stdout] | ^------- [INFO] [stdout] | | [INFO] [stdout] | `OpgModel` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_OPG_MODEL_FOR_RolePermissionsResponsePayload` [INFO] [stdout] 26 | pub struct RolePermissionsResponsePayload { [INFO] [stdout] | ------------------------------ `RolePermissionsResponsePayload` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `OpgModel` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `OpgModel` may come from an old version of the `opg_derive` crate, try updating your dependency with `cargo update -p opg_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: this warning originates in the derive macro `OpgModel` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/schemas/role.rs:31:23 [INFO] [stdout] | [INFO] [stdout] 31 | #[derive(Deserialize, OpgModel, Serialize)] [INFO] [stdout] | ^------- [INFO] [stdout] | | [INFO] [stdout] | `OpgModel` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_OPG_MODEL_FOR_RoleResponsePayload` [INFO] [stdout] 32 | pub struct RoleResponsePayload { [INFO] [stdout] | ------------------- `RoleResponsePayload` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `OpgModel` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `OpgModel` may come from an old version of the `opg_derive` crate, try updating your dependency with `cargo update -p opg_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: this warning originates in the derive macro `OpgModel` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/schemas/token.rs:10:23 [INFO] [stdout] | [INFO] [stdout] 10 | #[derive(Deserialize, OpgModel, Serialize)] [INFO] [stdout] | ^------- [INFO] [stdout] | | [INFO] [stdout] | `OpgModel` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_OPG_MODEL_FOR_TokenPayload` [INFO] [stdout] 11 | pub struct TokenPayload { [INFO] [stdout] | ------------ `TokenPayload` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `OpgModel` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `OpgModel` may come from an old version of the `opg_derive` crate, try updating your dependency with `cargo update -p opg_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: this warning originates in the derive macro `OpgModel` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 12.15s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: sqlx-macros v0.5.9 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 4` [INFO] running `Command { std: "docker" "inspect" "d28a645fa37236baf28cf71b4773b021e8b465722ad685168155f0f87fd5ee7c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d28a645fa37236baf28cf71b4773b021e8b465722ad685168155f0f87fd5ee7c", kill_on_drop: false }` [INFO] [stdout] d28a645fa37236baf28cf71b4773b021e8b465722ad685168155f0f87fd5ee7c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:3959728d45483eb673ba100a951a6b9f5012970368db2a9e08e0ac9b67c8a5ad" "/opt/rustwide/cargo-home/bin/cargo" "+1.85.0" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 011a65e339b048c5271b32e921ce82adde239537d1731ae6ef068aef53425e51 [INFO] running `Command { std: "docker" "start" "-a" "011a65e339b048c5271b32e921ce82adde239537d1731ae6ef068aef53425e51", kill_on_drop: false }` [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> src/db/account.rs:19:31 [INFO] [stderr] | [INFO] [stderr] 19 | #[derive(Clone, Deserialize, opg::OpgModel, Serialize, sqlx::FromRow)] [INFO] [stderr] | ^------------ [INFO] [stderr] | | [INFO] [stderr] | `OpgModel` is not local [INFO] [stderr] | move the `impl` block outside of this constant `_IMPL_OPG_MODEL_FOR_Account` [INFO] [stderr] 20 | pub struct Account { [INFO] [stderr] | ------- `Account` is not local [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `opg::OpgModel` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = note: the derive macro `opg::OpgModel` may come from an old version of the `opg_derive` crate, try updating your dependency with `cargo update -p opg_derive` [INFO] [stderr] = 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] [stderr] = 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] [stderr] = note: `#[warn(non_local_definitions)]` on by default [INFO] [stderr] = note: this warning originates in the derive macro `opg::OpgModel` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> src/db/role.rs:16:37 [INFO] [stderr] | [INFO] [stderr] 16 | #[derive(Clone, Debug, Deserialize, opg::OpgModel, PartialEq, Serialize, sqlx::FromRow)] [INFO] [stderr] | ^------------ [INFO] [stderr] | | [INFO] [stderr] | `OpgModel` is not local [INFO] [stderr] | move the `impl` block outside of this constant `_IMPL_OPG_MODEL_FOR_RolePermission` [INFO] [stderr] 17 | pub struct RolePermission { [INFO] [stderr] | -------------- `RolePermission` is not local [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `opg::OpgModel` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = note: the derive macro `opg::OpgModel` may come from an old version of the `opg_derive` crate, try updating your dependency with `cargo update -p opg_derive` [INFO] [stderr] = 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] [stderr] = 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] [stderr] = note: this warning originates in the derive macro `opg::OpgModel` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> src/models/api_secret.rs:15:21 [INFO] [stderr] | [INFO] [stderr] 15 | #[derive(Serialize, opg::OpgModel)] [INFO] [stderr] | ^------------ [INFO] [stderr] | | [INFO] [stderr] | `OpgModel` is not local [INFO] [stderr] | move the `impl` block outside of this constant `_IMPL_OPG_MODEL_FOR_ApiSecret` [INFO] [stderr] 16 | pub struct ApiSecret { [INFO] [stderr] | --------- `ApiSecret` is not local [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `opg::OpgModel` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = note: the derive macro `opg::OpgModel` may come from an old version of the `opg_derive` crate, try updating your dependency with `cargo update -p opg_derive` [INFO] [stderr] = 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] [stderr] = 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] [stderr] = note: this warning originates in the derive macro `opg::OpgModel` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> src/schemas/account.rs:5:23 [INFO] [stderr] | [INFO] [stderr] 5 | #[derive(Deserialize, OpgModel)] [INFO] [stderr] | ^------- [INFO] [stderr] | | [INFO] [stderr] | `OpgModel` is not local [INFO] [stderr] | move the `impl` block outside of this constant `_IMPL_OPG_MODEL_FOR_AccountPayload` [INFO] [stderr] 6 | pub struct AccountPayload { [INFO] [stderr] | -------------- `AccountPayload` is not local [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `OpgModel` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = note: the derive macro `OpgModel` may come from an old version of the `opg_derive` crate, try updating your dependency with `cargo update -p opg_derive` [INFO] [stderr] = 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] [stderr] = 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] [stderr] = note: this warning originates in the derive macro `OpgModel` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> src/schemas/jwt.rs:8:23 [INFO] [stderr] | [INFO] [stderr] 8 | #[derive(Deserialize, OpgModel, Serialize)] [INFO] [stderr] | ^------- [INFO] [stderr] | | [INFO] [stderr] | `OpgModel` is not local [INFO] [stderr] | move the `impl` block outside of this constant `_IMPL_OPG_MODEL_FOR_JwtResponsePayload` [INFO] [stderr] 9 | pub struct JwtResponsePayload { [INFO] [stderr] | ------------------ `JwtResponsePayload` is not local [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `OpgModel` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = note: the derive macro `OpgModel` may come from an old version of the `opg_derive` crate, try updating your dependency with `cargo update -p opg_derive` [INFO] [stderr] = 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] [stderr] = 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] [stderr] = note: this warning originates in the derive macro `OpgModel` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> src/schemas/role.rs:10:23 [INFO] [stderr] | [INFO] [stderr] 10 | #[derive(Deserialize, OpgModel)] [INFO] [stderr] | ^------- [INFO] [stderr] | | [INFO] [stderr] | `OpgModel` is not local [INFO] [stderr] | move the `impl` block outside of this constant `_IMPL_OPG_MODEL_FOR_RolePayload` [INFO] [stderr] 11 | pub struct RolePayload { [INFO] [stderr] | ----------- `RolePayload` is not local [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `OpgModel` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = note: the derive macro `OpgModel` may come from an old version of the `opg_derive` crate, try updating your dependency with `cargo update -p opg_derive` [INFO] [stderr] = 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] [stderr] = 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] [stderr] = note: this warning originates in the derive macro `OpgModel` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> src/schemas/role.rs:16:23 [INFO] [stderr] | [INFO] [stderr] 16 | #[derive(Deserialize, OpgModel)] [INFO] [stderr] | ^------- [INFO] [stderr] | | [INFO] [stderr] | `OpgModel` is not local [INFO] [stderr] | move the `impl` block outside of this constant `_IMPL_OPG_MODEL_FOR_RolePermissionPayload` [INFO] [stderr] 17 | pub struct RolePermissionPayload { [INFO] [stderr] | --------------------- `RolePermissionPayload` is not local [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `OpgModel` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = note: the derive macro `OpgModel` may come from an old version of the `opg_derive` crate, try updating your dependency with `cargo update -p opg_derive` [INFO] [stderr] = 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] [stderr] = 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] [stderr] = note: this warning originates in the derive macro `OpgModel` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> src/schemas/role.rs:25:23 [INFO] [stderr] | [INFO] [stderr] 25 | #[derive(Deserialize, OpgModel, Serialize)] [INFO] [stderr] | ^------- [INFO] [stderr] | | [INFO] [stderr] | `OpgModel` is not local [INFO] [stderr] | move the `impl` block outside of this constant `_IMPL_OPG_MODEL_FOR_RolePermissionsResponsePayload` [INFO] [stderr] 26 | pub struct RolePermissionsResponsePayload { [INFO] [stderr] | ------------------------------ `RolePermissionsResponsePayload` is not local [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `OpgModel` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = note: the derive macro `OpgModel` may come from an old version of the `opg_derive` crate, try updating your dependency with `cargo update -p opg_derive` [INFO] [stderr] = 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] [stderr] = 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] [stderr] = note: this warning originates in the derive macro `OpgModel` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> src/schemas/role.rs:31:23 [INFO] [stderr] | [INFO] [stderr] 31 | #[derive(Deserialize, OpgModel, Serialize)] [INFO] [stderr] | ^------- [INFO] [stderr] | | [INFO] [stderr] | `OpgModel` is not local [INFO] [stderr] | move the `impl` block outside of this constant `_IMPL_OPG_MODEL_FOR_RoleResponsePayload` [INFO] [stderr] 32 | pub struct RoleResponsePayload { [INFO] [stderr] | ------------------- `RoleResponsePayload` is not local [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `OpgModel` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = note: the derive macro `OpgModel` may come from an old version of the `opg_derive` crate, try updating your dependency with `cargo update -p opg_derive` [INFO] [stderr] = 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] [stderr] = 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] [stderr] = note: this warning originates in the derive macro `OpgModel` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> src/schemas/token.rs:10:23 [INFO] [stderr] | [INFO] [stderr] 10 | #[derive(Deserialize, OpgModel, Serialize)] [INFO] [stderr] | ^------- [INFO] [stderr] | | [INFO] [stderr] | `OpgModel` is not local [INFO] [stderr] | move the `impl` block outside of this constant `_IMPL_OPG_MODEL_FOR_TokenPayload` [INFO] [stderr] 11 | pub struct TokenPayload { [INFO] [stderr] | ------------ `TokenPayload` is not local [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `OpgModel` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = note: the derive macro `OpgModel` may come from an old version of the `opg_derive` crate, try updating your dependency with `cargo update -p opg_derive` [INFO] [stderr] = 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] [stderr] = 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] [stderr] = note: this warning originates in the derive macro `OpgModel` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: `papers` (bin "papers" test) generated 10 warnings [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.42s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: sqlx-macros v0.5.9 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 4` [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/papers-e858cfc182a33411) [INFO] [stdout] [INFO] [stdout] running 36 tests [INFO] [stdout] test db::account::tests::test_accounts ... ignored [INFO] [stdout] test db::role::tests::test_get_all_role_permissions ... ignored [INFO] [stdout] test db::role::tests::test_get_root_role ... ignored [INFO] [stdout] test db::role::tests::test_role_permissions ... ignored [INFO] [stdout] test db::role::tests::test_roles ... ignored [INFO] [stdout] test models::claims::tests::test_claims_no_permissions ... ok [INFO] [stdout] test models::claims::tests::test_claims_wildcard_action ... ok [INFO] [stdout] test keys::hmac::tests::test_hmac_key ... ok [INFO] [stdout] test keys::jwk::tests::test_jwk ... ok [INFO] [stdout] test models::claims::tests::test_claims_wildcard ... ok [INFO] [stdout] test models::claims::tests::test_claims ... ok [INFO] [stdout] test routes::roles::tests::test_create_role ... ok [INFO] [stdout] test routes::role_permissions::tests::test_delete_role_permission_fail ... ok [INFO] [stdout] test routes::roles::tests::test_create_role_fail ... ok [INFO] [stdout] test routes::roles::tests::test_get_role_fail ... ok [INFO] [stdout] test routes::roles::tests::test_get_role ... ok [INFO] [stdout] test routes::role_permissions::tests::test_get_all_role_permissions ... ok [INFO] [stdout] test routes::accounts::tests::test_delete_account ... ok [INFO] [stdout] test routes::accounts::tests::test_create_account ... ok [INFO] [stdout] test routes::role_permissions::tests::test_create_role_permission_fail ... ok [INFO] [stdout] test routes::role_permissions::tests::test_get_all_fail ... ok [INFO] [stdout] test routes::roles::tests::test_get_role_secrets_fail ... ok [INFO] [stdout] test routes::roles::tests::test_delete_role ... ok [INFO] [stdout] test routes::accounts::tests::test_create_account_fail ... ok [INFO] [stdout] test routes::role_permissions::tests::test_get_role_permission ... ok [INFO] [stdout] test routes::role_permissions::tests::test_delete_role_permission_not_found ... ok [INFO] [stdout] test routes::roles::tests::test_get_role_secrets ... ok [INFO] [stdout] test routes::accounts::tests::test_get_account_fail ... ok [INFO] [stdout] test routes::role_permissions::tests::test_get_role_permission_fail ... ok [INFO] [stdout] test routes::token::tests::test_post_token_bad_request ... ok [INFO] [stdout] test routes::role_permissions::tests::test_delete_role_permission ... ok [INFO] [stdout] test routes::token::tests::test_post_token ... ok [INFO] [stdout] test routes::roles::tests::test_regenerate_role_secrets ... ok [INFO] [stdout] test routes::token::tests::test_post_token_not_found ... ok [INFO] [stdout] test routes::accounts::tests::test_get_account ... ok [INFO] [stdout] test routes::role_permissions::tests::test_create_role_permission ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 31 passed; 0 failed; 5 ignored; 0 measured; 0 filtered out; finished in 4.17s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "011a65e339b048c5271b32e921ce82adde239537d1731ae6ef068aef53425e51", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "011a65e339b048c5271b32e921ce82adde239537d1731ae6ef068aef53425e51", kill_on_drop: false }` [INFO] [stdout] 011a65e339b048c5271b32e921ce82adde239537d1731ae6ef068aef53425e51