[INFO] cloning repository https://github.com/Arekkusuva/web-sample [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Arekkusuva/web-sample" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FArekkusuva%2Fweb-sample", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FArekkusuva%2Fweb-sample'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] cecb44c6f82452c3b009d095a72a801ac0fccb77 [INFO] testing Arekkusuva/web-sample against 1.86.0 for beta-1.87-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FArekkusuva%2Fweb-sample" "/workspace/builds/worker-3-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Arekkusuva/web-sample on toolchain 1.86.0 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.86.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/Arekkusuva/web-sample [INFO] finished tweaking git repo https://github.com/Arekkusuva/web-sample [INFO] tweaked toml for git repo https://github.com/Arekkusuva/web-sample written to /workspace/builds/worker-3-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/Arekkusuva/web-sample 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.86.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] warning: unused manifest key: dependencies.diesel.dotenv [INFO] [stderr] Updating crates.io index [INFO] [stderr] Updating git repository `https://github.com/Arekkusuva/iron-auth` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded validator v0.8.0 [INFO] [stderr] Downloaded validator_derive v0.8.0 [INFO] [stderr] Downloaded ryu v0.2.6 [INFO] [stderr] Downloaded quote v0.5.2 [INFO] [stderr] Downloaded phf_shared v0.7.23 [INFO] [stderr] Downloaded quote v0.6.10 [INFO] [stderr] Downloaded bodyparser v0.8.0 [INFO] [stderr] Downloaded either v1.5.0 [INFO] [stderr] Downloaded iron v0.6.0 [INFO] [stderr] Downloaded rand_core v0.3.0 [INFO] [stderr] Downloaded diesel v1.3.3 [INFO] [stderr] Downloaded syn v0.13.11 [INFO] [stderr] Downloaded num-traits v0.2.6 [INFO] [stderr] Downloaded combine v3.6.3 [INFO] [stderr] Downloaded chrono v0.4.6 [INFO] [stderr] Downloaded regex-syntax v0.6.3 [INFO] [stderr] Downloaded slog v2.4.1 [INFO] [stderr] Downloaded term v0.5.1 [INFO] [stderr] Downloaded parking_lot_core v0.3.1 [INFO] [stderr] Downloaded regex v1.0.6 [INFO] [stderr] Downloaded parking_lot v0.6.4 [INFO] [stderr] Downloaded num-integer v0.1.39 [INFO] [stderr] Downloaded byteorder v1.2.6 [INFO] [stderr] Downloaded rand v0.5.5 [INFO] [stderr] Downloaded slog-term v2.4.0 [INFO] [stderr] Downloaded aho-corasick v0.6.9 [INFO] [stderr] Downloaded proc-macro2 v0.4.24 [INFO] [stderr] Downloaded scheduled-thread-pool v0.2.0 [INFO] [stderr] Downloaded r2d2 v0.8.2 [INFO] [stderr] Downloaded ascii v0.9.1 [INFO] [stderr] Downloaded rand_core v0.2.2 [INFO] [stderr] Downloaded smallvec v0.6.7 [INFO] [stderr] Downloaded slab v0.4.1 [INFO] [stderr] Downloaded tokio-executor v0.1.5 [INFO] [stderr] Downloaded isatty v0.1.9 [INFO] [stderr] Downloaded time v0.1.40 [INFO] [stderr] Downloaded if_chain v0.1.3 [INFO] [stderr] Downloaded memchr v2.1.1 [INFO] [stderr] Downloaded tokio-io v0.1.10 [INFO] [stderr] Downloaded redis v0.9.1 [INFO] [stderr] Downloaded r2d2_redis v0.8.0 [INFO] [stderr] Downloaded proc-macro2 v0.3.8 [INFO] [stderr] Downloaded diesel_derives v1.3.0 [INFO] [stderr] Downloaded backtrace v0.3.11 [INFO] [stderr] Downloaded error-chain v0.12.0 [INFO] [stderr] Downloaded jsonwebtoken v5.0.1 [INFO] [stderr] Downloaded hyper v0.10.13 [INFO] [stderr] Downloaded phf v0.7.23 [INFO] [stderr] Downloaded phf_generator v0.7.23 [INFO] [stderr] Downloaded modifier v0.1.0 [INFO] [stderr] Downloaded plugin v0.2.6 [INFO] [stderr] Downloaded persistent v0.4.0 [INFO] [stderr] Downloaded crossbeam-utils v0.6.1 [INFO] [stderr] Downloaded tokio-reactor v0.1.7 [INFO] [stderr] Downloaded phf_codegen v0.7.23 [INFO] [stderr] Downloaded mime_guess v1.8.6 [INFO] [stderr] Downloaded tokio-tcp v0.1.2 [INFO] [stderr] Downloaded syn v0.15.22 [INFO] [stderr] Downloaded unicode-normalization v0.1.7 [INFO] [stderr] Downloaded iron-json-response v0.6.0 [INFO] [stderr] Downloaded serde_derive v1.0.80 [INFO] [stderr] Downloaded serde v1.0.80 [INFO] [stderr] Downloaded serde_json v1.0.33 [INFO] [stderr] Downloaded url v1.7.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:b0b074c097205a61b89e8ad263052f976b2b332c4dc5f02aef1fe52501660d6e" "/opt/rustwide/cargo-home/bin/cargo" "+1.86.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] c01b6ddcde3a4e68699f99a671bfad9dc83cafe8085587cf185843b12008825f [INFO] running `Command { std: "docker" "start" "-a" "c01b6ddcde3a4e68699f99a671bfad9dc83cafe8085587cf185843b12008825f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c01b6ddcde3a4e68699f99a671bfad9dc83cafe8085587cf185843b12008825f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c01b6ddcde3a4e68699f99a671bfad9dc83cafe8085587cf185843b12008825f", kill_on_drop: false }` [INFO] [stdout] c01b6ddcde3a4e68699f99a671bfad9dc83cafe8085587cf185843b12008825f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:b0b074c097205a61b89e8ad263052f976b2b332c4dc5f02aef1fe52501660d6e" "/opt/rustwide/cargo-home/bin/cargo" "+1.86.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b768abfbaf77d87279d47221758f1d9c33fa268f5aac4c182fcccb2450a75d9a [INFO] running `Command { std: "docker" "start" "-a" "b768abfbaf77d87279d47221758f1d9c33fa268f5aac4c182fcccb2450a75d9a", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] warning: unused manifest key: dependencies.diesel.dotenv [INFO] [stderr] Compiling libc v0.2.43 [INFO] [stderr] Compiling cfg-if v0.1.5 [INFO] [stderr] Compiling version_check v0.1.5 [INFO] [stderr] Compiling byteorder v1.2.6 [INFO] [stderr] Compiling rand_core v0.3.0 [INFO] [stderr] Compiling matches v0.1.8 [INFO] [stderr] Compiling unicode-xid v0.1.0 [INFO] [stderr] Compiling siphasher v0.2.3 [INFO] [stderr] Compiling unicode-normalization v0.1.7 [INFO] [stderr] Compiling lazy_static v1.2.0 [INFO] [stderr] Compiling percent-encoding v1.0.1 [INFO] [stderr] Compiling semver-parser v0.7.0 [INFO] [stderr] Compiling ryu v0.2.6 [INFO] [stderr] Compiling cc v1.0.25 [INFO] [stderr] Compiling serde v1.0.80 [INFO] [stderr] Compiling proc-macro2 v0.4.24 [INFO] [stderr] Compiling log v0.4.5 [INFO] [stderr] Compiling unicode-bidi v0.3.4 [INFO] [stderr] Compiling stable_deref_trait v1.1.1 [INFO] [stderr] Compiling num-traits v0.2.6 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Compiling itoa v0.4.3 [INFO] [stderr] Compiling httparse v1.3.3 [INFO] [stderr] Compiling rand_core v0.2.2 [INFO] [stderr] Compiling time v0.1.40 [INFO] [stderr] Compiling num_cpus v1.8.0 [INFO] [stderr] Compiling iovec v0.1.2 [INFO] [stderr] Compiling log v0.3.9 [INFO] [stderr] Compiling rand v0.5.5 [INFO] [stderr] Compiling rustc_version v0.2.3 [INFO] [stderr] Compiling unicase v1.4.2 [INFO] [stderr] Compiling memchr v2.1.1 [INFO] [stderr] Compiling futures v0.1.25 [INFO] [stderr] Compiling parking_lot_core v0.3.1 [INFO] [stderr] Compiling mime v0.2.6 [INFO] [stderr] Compiling bytes v0.4.11 [INFO] [stderr] Compiling owning_ref v0.4.0 [INFO] [stderr] Compiling unsafe-any v0.4.2 [INFO] [stderr] Compiling smallvec v0.6.7 [INFO] [stderr] Compiling num-integer v0.1.39 [INFO] [stderr] Compiling scopeguard v0.3.3 [INFO] [stderr] Compiling base64 v0.6.0 [INFO] [stderr] Compiling phf_shared v0.7.23 [INFO] [stderr] Compiling lock_api v0.1.5 [INFO] [stderr] Compiling quote v0.6.10 [INFO] [stderr] Compiling typemap v0.3.3 [INFO] [stderr] Compiling phf v0.7.23 [INFO] [stderr] Compiling net2 v0.2.33 [INFO] [stderr] Compiling phf_generator v0.7.23 [INFO] [stderr] Compiling lazycell v1.2.1 [INFO] [stderr] Compiling slab v0.4.1 [INFO] [stderr] Compiling phf_codegen v0.7.23 [INFO] [stderr] Compiling syn v0.15.22 [INFO] [stderr] Compiling backtrace-sys v0.1.28 [INFO] [stderr] Compiling plugin v0.2.6 [INFO] [stderr] Compiling crossbeam-utils v0.6.1 [INFO] [stderr] Compiling modifier v0.1.0 [INFO] [stderr] Compiling antidote v1.0.0 [INFO] [stderr] Compiling ring v0.13.5 [INFO] [stderr] Compiling proc-macro2 v0.3.8 [INFO] [stderr] Compiling thread_local v0.3.6 [INFO] [stderr] Compiling either v1.5.0 [INFO] [stderr] Compiling ucd-util v0.1.3 [INFO] [stderr] Compiling mio v0.6.16 [INFO] [stderr] Compiling parking_lot v0.6.4 [INFO] [stderr] Compiling scheduled-thread-pool v0.2.0 [INFO] [stderr] Compiling ascii v0.9.1 [INFO] [stderr] Compiling idna v0.1.5 [INFO] [stderr] Compiling slog v2.4.1 [INFO] [stderr] Compiling regex v1.0.6 [INFO] [stderr] Compiling mime_guess v1.8.6 [INFO] [stderr] Compiling redis v0.9.1 [INFO] [stderr] Compiling combine v3.6.3 [INFO] [stderr] Compiling r2d2 v0.8.2 [INFO] [stderr] Compiling tokio-io v0.1.10 [INFO] [stderr] Compiling tokio-executor v0.1.5 [INFO] [stderr] Compiling quote v0.5.2 [INFO] [stderr] Compiling regex-syntax v0.6.3 [INFO] [stderr] Compiling aho-corasick v0.6.9 [INFO] [stderr] Compiling chrono v0.4.6 [INFO] [stderr] Compiling pq-sys v0.4.6 [INFO] [stderr] Compiling rustc-demangle v0.1.13 [INFO] [stderr] Compiling untrusted v0.6.2 [INFO] [stderr] Compiling sha1 v0.6.0 [INFO] [stderr] Compiling url v1.7.1 [INFO] [stderr] Compiling safemem v0.3.0 [INFO] [stderr] Compiling utf8-ranges v1.0.2 [INFO] [stderr] Compiling backtrace v0.3.11 [INFO] [stderr] Compiling syn v0.13.11 [INFO] [stderr] Compiling tokio-reactor v0.1.7 [INFO] [stderr] Compiling tokio-codec v0.1.1 [INFO] [stderr] Compiling base64 v0.9.3 [INFO] [stderr] Compiling tokio-tcp v0.1.2 [INFO] [stderr] Compiling error-chain v0.12.0 [INFO] [stderr] Compiling term v0.5.1 [INFO] [stderr] Compiling hyper v0.10.13 [INFO] [stderr] Compiling isatty v0.1.9 [INFO] [stderr] Compiling bitflags v1.0.4 [INFO] [stderr] Compiling if_chain v0.1.3 [INFO] [stderr] Compiling serde_json v1.0.33 [INFO] [stderr] Compiling slog-term v2.4.0 [INFO] [stderr] Compiling serde_derive v1.0.80 [INFO] [stderr] Compiling slog-json v2.3.0 [INFO] [stderr] Compiling iron v0.6.0 [INFO] [stderr] Compiling persistent v0.4.0 [INFO] [stderr] Compiling iron-json-response v0.6.0 [INFO] [stderr] Compiling bodyparser v0.8.0 [INFO] [stderr] Compiling diesel_derives v1.3.0 [INFO] [stderr] Compiling jsonwebtoken v5.0.1 [INFO] [stderr] Compiling validator v0.8.0 [INFO] [stderr] Compiling diesel v1.3.3 [INFO] [stderr] Compiling validator_derive v0.8.0 [INFO] [stderr] Compiling r2d2_redis v0.8.0 [INFO] [stderr] Compiling iron-auth v0.1.0 (https://github.com/Arekkusuva/iron-auth#def129df) [INFO] [stderr] Compiling web_sample v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `super::db::DBRequestExt` [INFO] [stdout] --> src/api/middlewares/prelude.rs:1:9 [INFO] [stdout] | [INFO] [stdout] 1 | pub use super::db::DBRequestExt; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::logger::LoggerReqExt` [INFO] [stdout] --> src/api/middlewares/prelude.rs:2:9 [INFO] [stdout] | [INFO] [stdout] 2 | pub use super::logger::LoggerReqExt; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `self::db::DBMiddleware` [INFO] [stdout] --> src/api/middlewares/mod.rs:9:9 [INFO] [stdout] | [INFO] [stdout] 9 | pub use self::db::DBMiddleware; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> src/api/transport/users.rs:3:34 [INFO] [stdout] | [INFO] [stdout] 3 | #[derive(Debug, Clone, Validate, Deserialize)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Deserialize` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `Deserialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] = note: this warning originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> src/api/transport/mod.rs:22:24 [INFO] [stdout] | [INFO] [stdout] 22 | #[derive(Debug, Clone, Serialize)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Serialize` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `Serialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the derive macro `Serialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: cannot find type `table` in this scope [INFO] [stdout] --> src/db/schema.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | / table! { [INFO] [stdout] 2 | | users (id) { [INFO] [stdout] 3 | | id -> Int8, [INFO] [stdout] 4 | | name -> Varchar, [INFO] [stdout] 5 | | } [INFO] [stdout] 6 | | } [INFO] [stdout] | |_^ names from parent modules are not accessible without an explicit import [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #83583 [INFO] [stdout] = note: `#[warn(proc_macro_derive_resolution_fallback)]` on by default [INFO] [stdout] = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: cannot find type `id` in this scope [INFO] [stdout] --> src/db/schema.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | / table! { [INFO] [stdout] 2 | | users (id) { [INFO] [stdout] 3 | | id -> Int8, [INFO] [stdout] 4 | | name -> Varchar, [INFO] [stdout] 5 | | } [INFO] [stdout] 6 | | } [INFO] [stdout] | |_^ names from parent modules are not accessible without an explicit import [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #83583 [INFO] [stdout] = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: cannot find type `name` in this scope [INFO] [stdout] --> src/db/schema.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | / table! { [INFO] [stdout] 2 | | users (id) { [INFO] [stdout] 3 | | id -> Int8, [INFO] [stdout] 4 | | name -> Varchar, [INFO] [stdout] 5 | | } [INFO] [stdout] 6 | | } [INFO] [stdout] | |_^ names from parent modules are not accessible without an explicit import [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #83583 [INFO] [stdout] = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/api/mod.rs:22:33 [INFO] [stdout] | [INFO] [stdout] 22 | routes: HashMap>, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 22 | routes: HashMap>, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `iron::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/api/transport/mod.rs:127:30 [INFO] [stdout] | [INFO] [stdout] 127 | write!(f, "{}", self.description()) [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [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/api/transport/mod.rs:22:24 [INFO] [stdout] | [INFO] [stdout] 22 | #[derive(Debug, Clone, Serialize)] [INFO] [stdout] | ^-------- [INFO] [stdout] | | [INFO] [stdout] | `Serialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_SERIALIZE_FOR_ResponseBody` [INFO] [stdout] 23 | pub struct ResponseBody { [INFO] [stdout] | ------------ `ResponseBody` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Serialize` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Serialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_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 `Serialize` (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/api/transport/users.rs:3:34 [INFO] [stdout] | [INFO] [stdout] 3 | #[derive(Debug, Clone, Validate, Deserialize)] [INFO] [stdout] | ^---------- [INFO] [stdout] | | [INFO] [stdout] | `Deserialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_DESERIALIZE_FOR_PostUser` [INFO] [stdout] 4 | pub struct PostUser { [INFO] [stdout] | -------- `PostUser` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Deserialize` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Deserialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_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 `Deserialize` (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 41.44s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: diesel v1.3.3, redis v0.9.1, syn v0.13.11, traitobject v0.1.0, typemap v0.3.3, web_sample v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 2` [INFO] running `Command { std: "docker" "inspect" "b768abfbaf77d87279d47221758f1d9c33fa268f5aac4c182fcccb2450a75d9a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b768abfbaf77d87279d47221758f1d9c33fa268f5aac4c182fcccb2450a75d9a", kill_on_drop: false }` [INFO] [stdout] b768abfbaf77d87279d47221758f1d9c33fa268f5aac4c182fcccb2450a75d9a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:b0b074c097205a61b89e8ad263052f976b2b332c4dc5f02aef1fe52501660d6e" "/opt/rustwide/cargo-home/bin/cargo" "+1.86.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] dfd6d8325a4de4a12c55dadefeacd1b3213208792ff5070f9942b5ee0ad940bb [INFO] running `Command { std: "docker" "start" "-a" "dfd6d8325a4de4a12c55dadefeacd1b3213208792ff5070f9942b5ee0ad940bb", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] warning: unused manifest key: dependencies.diesel.dotenv [INFO] [stderr] Compiling web_sample v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `super::db::DBRequestExt` [INFO] [stdout] --> src/api/middlewares/prelude.rs:1:9 [INFO] [stdout] | [INFO] [stdout] 1 | pub use super::db::DBRequestExt; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::logger::LoggerReqExt` [INFO] [stdout] --> src/api/middlewares/prelude.rs:2:9 [INFO] [stdout] | [INFO] [stdout] 2 | pub use super::logger::LoggerReqExt; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `self::db::DBMiddleware` [INFO] [stdout] --> src/api/middlewares/mod.rs:9:9 [INFO] [stdout] | [INFO] [stdout] 9 | pub use self::db::DBMiddleware; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> src/api/transport/users.rs:3:34 [INFO] [stdout] | [INFO] [stdout] 3 | #[derive(Debug, Clone, Validate, Deserialize)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Deserialize` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `Deserialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] = note: this warning originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> src/api/transport/mod.rs:22:24 [INFO] [stdout] | [INFO] [stdout] 22 | #[derive(Debug, Clone, Serialize)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Serialize` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `Serialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the derive macro `Serialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: cannot find type `table` in this scope [INFO] [stdout] --> src/db/schema.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | / table! { [INFO] [stdout] 2 | | users (id) { [INFO] [stdout] 3 | | id -> Int8, [INFO] [stdout] 4 | | name -> Varchar, [INFO] [stdout] 5 | | } [INFO] [stdout] 6 | | } [INFO] [stdout] | |_^ names from parent modules are not accessible without an explicit import [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #83583 [INFO] [stdout] = note: `#[warn(proc_macro_derive_resolution_fallback)]` on by default [INFO] [stdout] = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: cannot find type `id` in this scope [INFO] [stdout] --> src/db/schema.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | / table! { [INFO] [stdout] 2 | | users (id) { [INFO] [stdout] 3 | | id -> Int8, [INFO] [stdout] 4 | | name -> Varchar, [INFO] [stdout] 5 | | } [INFO] [stdout] 6 | | } [INFO] [stdout] | |_^ names from parent modules are not accessible without an explicit import [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #83583 [INFO] [stdout] = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: cannot find type `name` in this scope [INFO] [stdout] --> src/db/schema.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | / table! { [INFO] [stdout] 2 | | users (id) { [INFO] [stdout] 3 | | id -> Int8, [INFO] [stdout] 4 | | name -> Varchar, [INFO] [stdout] 5 | | } [INFO] [stdout] 6 | | } [INFO] [stdout] | |_^ names from parent modules are not accessible without an explicit import [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #83583 [INFO] [stdout] = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/api/mod.rs:22:33 [INFO] [stdout] | [INFO] [stdout] 22 | routes: HashMap>, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 22 | routes: HashMap>, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `iron::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/api/transport/mod.rs:127:30 [INFO] [stdout] | [INFO] [stdout] 127 | write!(f, "{}", self.description()) [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [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/api/transport/mod.rs:22:24 [INFO] [stdout] | [INFO] [stdout] 22 | #[derive(Debug, Clone, Serialize)] [INFO] [stdout] | ^-------- [INFO] [stdout] | | [INFO] [stdout] | `Serialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_SERIALIZE_FOR_ResponseBody` [INFO] [stdout] 23 | pub struct ResponseBody { [INFO] [stdout] | ------------ `ResponseBody` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Serialize` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Serialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_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 `Serialize` (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/api/transport/users.rs:3:34 [INFO] [stdout] | [INFO] [stdout] 3 | #[derive(Debug, Clone, Validate, Deserialize)] [INFO] [stdout] | ^---------- [INFO] [stdout] | | [INFO] [stdout] | `Deserialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_DESERIALIZE_FOR_PostUser` [INFO] [stdout] 4 | pub struct PostUser { [INFO] [stdout] | -------- `PostUser` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Deserialize` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Deserialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_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 `Deserialize` (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 0.92s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: diesel v1.3.3, redis v0.9.1, syn v0.13.11, traitobject v0.1.0, typemap v0.3.3, web_sample v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 2` [INFO] running `Command { std: "docker" "inspect" "dfd6d8325a4de4a12c55dadefeacd1b3213208792ff5070f9942b5ee0ad940bb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "dfd6d8325a4de4a12c55dadefeacd1b3213208792ff5070f9942b5ee0ad940bb", kill_on_drop: false }` [INFO] [stdout] dfd6d8325a4de4a12c55dadefeacd1b3213208792ff5070f9942b5ee0ad940bb [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:b0b074c097205a61b89e8ad263052f976b2b332c4dc5f02aef1fe52501660d6e" "/opt/rustwide/cargo-home/bin/cargo" "+1.86.0" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] d48539eecf3a6be7e35104cfb310d59563d3e24b9b949cfc4be5d7ec8de24f40 [INFO] running `Command { std: "docker" "start" "-a" "d48539eecf3a6be7e35104cfb310d59563d3e24b9b949cfc4be5d7ec8de24f40", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] warning: unused manifest key: dependencies.diesel.dotenv [INFO] [stderr] warning: unused import: `super::db::DBRequestExt` [INFO] [stderr] --> src/api/middlewares/prelude.rs:1:9 [INFO] [stderr] | [INFO] [stderr] 1 | pub use super::db::DBRequestExt; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `super::logger::LoggerReqExt` [INFO] [stderr] --> src/api/middlewares/prelude.rs:2:9 [INFO] [stderr] | [INFO] [stderr] 2 | pub use super::logger::LoggerReqExt; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `self::db::DBMiddleware` [INFO] [stderr] --> src/api/middlewares/mod.rs:9:9 [INFO] [stderr] | [INFO] [stderr] 9 | pub use self::db::DBMiddleware; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stderr] --> src/api/transport/users.rs:3:34 [INFO] [stderr] | [INFO] [stderr] 3 | #[derive(Debug, Clone, Validate, Deserialize)] [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: no expected values for `feature` [INFO] [stderr] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stderr] = help: try referring to `Deserialize` crate for guidance on how handle this unexpected cfg [INFO] [stderr] = help: the derive macro `Deserialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stderr] = note: this warning originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stderr] --> src/api/transport/mod.rs:22:24 [INFO] [stderr] | [INFO] [stderr] 22 | #[derive(Debug, Clone, Serialize)] [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: no expected values for `feature` [INFO] [stderr] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stderr] = help: try referring to `Serialize` crate for guidance on how handle this unexpected cfg [INFO] [stderr] = help: the derive macro `Serialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] = note: this warning originates in the derive macro `Serialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: cannot find type `table` in this scope [INFO] [stderr] --> src/db/schema.rs:1:1 [INFO] [stderr] | [INFO] [stderr] 1 | / table! { [INFO] [stderr] 2 | | users (id) { [INFO] [stderr] 3 | | id -> Int8, [INFO] [stderr] 4 | | name -> Varchar, [INFO] [stderr] 5 | | } [INFO] [stderr] 6 | | } [INFO] [stderr] | |_^ names from parent modules are not accessible without an explicit import [INFO] [stderr] | [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stderr] = note: for more information, see issue #83583 [INFO] [stderr] = note: `#[warn(proc_macro_derive_resolution_fallback)]` on by default [INFO] [stderr] = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: cannot find type `id` in this scope [INFO] [stderr] --> src/db/schema.rs:1:1 [INFO] [stderr] | [INFO] [stderr] 1 | / table! { [INFO] [stderr] 2 | | users (id) { [INFO] [stderr] 3 | | id -> Int8, [INFO] [stderr] 4 | | name -> Varchar, [INFO] [stderr] 5 | | } [INFO] [stderr] 6 | | } [INFO] [stderr] | |_^ names from parent modules are not accessible without an explicit import [INFO] [stderr] | [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stderr] = note: for more information, see issue #83583 [INFO] [stderr] = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: cannot find type `name` in this scope [INFO] [stderr] --> src/db/schema.rs:1:1 [INFO] [stderr] | [INFO] [stderr] 1 | / table! { [INFO] [stderr] 2 | | users (id) { [INFO] [stderr] 3 | | id -> Int8, [INFO] [stderr] 4 | | name -> Varchar, [INFO] [stderr] 5 | | } [INFO] [stderr] 6 | | } [INFO] [stderr] | |_^ names from parent modules are not accessible without an explicit import [INFO] [stderr] | [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stderr] = note: for more information, see issue #83583 [INFO] [stderr] = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/api/mod.rs:22:33 [INFO] [stderr] | [INFO] [stderr] 22 | routes: HashMap>, [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stderr] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stderr] | [INFO] [stderr] 22 | routes: HashMap>, [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated method `iron::Error::description`: use the Display impl or to_string() [INFO] [stderr] --> src/api/transport/mod.rs:127:30 [INFO] [stderr] | [INFO] [stderr] 127 | write!(f, "{}", self.description()) [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(deprecated)]` on by default [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> src/api/transport/mod.rs:22:24 [INFO] [stderr] | [INFO] [stderr] 22 | #[derive(Debug, Clone, Serialize)] [INFO] [stderr] | ^-------- [INFO] [stderr] | | [INFO] [stderr] | `Serialize` is not local [INFO] [stderr] | move the `impl` block outside of this constant `_IMPL_SERIALIZE_FOR_ResponseBody` [INFO] [stderr] 23 | pub struct ResponseBody { [INFO] [stderr] | ------------ `ResponseBody` is not local [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `Serialize` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = note: the derive macro `Serialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_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 `Serialize` (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/api/transport/users.rs:3:34 [INFO] [stderr] | [INFO] [stderr] 3 | #[derive(Debug, Clone, Validate, Deserialize)] [INFO] [stderr] | ^---------- [INFO] [stderr] | | [INFO] [stderr] | `Deserialize` is not local [INFO] [stderr] | move the `impl` block outside of this constant `_IMPL_DESERIALIZE_FOR_PostUser` [INFO] [stderr] 4 | pub struct PostUser { [INFO] [stderr] | -------- `PostUser` is not local [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `Deserialize` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = note: the derive macro `Deserialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_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 `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: `web_sample` (bin "web_sample" test) generated 12 warnings (run `cargo fix --bin "web_sample" --tests` to apply 4 suggestions) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.19s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: diesel v1.3.3, redis v0.9.1, syn v0.13.11, traitobject v0.1.0, typemap v0.3.3, web_sample v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 2` [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/web_sample-e1659d281ac2fb63) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "d48539eecf3a6be7e35104cfb310d59563d3e24b9b949cfc4be5d7ec8de24f40", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d48539eecf3a6be7e35104cfb310d59563d3e24b9b949cfc4be5d7ec8de24f40", kill_on_drop: false }` [INFO] [stdout] d48539eecf3a6be7e35104cfb310d59563d3e24b9b949cfc4be5d7ec8de24f40