[INFO] cloning repository https://github.com/stusmall/di_example_iron [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/stusmall/di_example_iron" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fstusmall%2Fdi_example_iron", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fstusmall%2Fdi_example_iron'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] b33bbe2f44d1a03c3641de5ca2d1d74490af2a03 [INFO] testing stusmall/di_example_iron against 1.86.0 for beta-1.87-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fstusmall%2Fdi_example_iron" "/workspace/builds/worker-4-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/stusmall/di_example_iron 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/stusmall/di_example_iron [INFO] finished tweaking git repo https://github.com/stusmall/di_example_iron [INFO] tweaked toml for git repo https://github.com/stusmall/di_example_iron written to /workspace/builds/worker-4-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/stusmall/di_example_iron 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] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded unicode-xid v0.1.0 [INFO] [stderr] Downloaded quote v0.6.8 [INFO] [stderr] Downloaded serde_derive v1.0.80 [INFO] [stderr] Downloaded cfg-if v0.1.6 [INFO] [stderr] Downloaded itoa v0.4.3 [INFO] [stderr] Downloaded proc-macro2 v0.4.20 [INFO] [stderr] Downloaded iron-test v0.6.0 [INFO] [stderr] Downloaded route-recognizer v0.1.12 [INFO] [stderr] Downloaded modifier v0.1.0 [INFO] [stderr] Downloaded traitobject v0.1.0 [INFO] [stderr] Downloaded typemap v0.3.3 [INFO] [stderr] Downloaded antidote v1.0.0 [INFO] [stderr] Downloaded typeable v0.1.2 [INFO] [stderr] Downloaded mime v0.2.6 [INFO] [stderr] Downloaded r2d2 v0.8.2 [INFO] [stderr] Downloaded diesel_derives v1.3.0 [INFO] [stderr] Downloaded proc-macro2 v0.3.8 [INFO] [stderr] Downloaded cc v1.0.25 [INFO] [stderr] Downloaded synstructure v0.10.0 [INFO] [stderr] Downloaded rand v0.4.3 [INFO] [stderr] Downloaded url v1.7.1 [INFO] [stderr] Downloaded syn v0.13.11 [INFO] [stderr] Downloaded rand v0.5.5 [INFO] [stderr] Downloaded hyper v0.10.13 [INFO] [stderr] Downloaded syn v0.15.13 [INFO] [stderr] Downloaded diesel v1.3.3 [INFO] [stderr] Downloaded serde v1.0.80 [INFO] [stderr] Downloaded time v0.1.40 [INFO] [stderr] Downloaded backtrace v0.3.9 [INFO] [stderr] Downloaded idna v0.1.5 [INFO] [stderr] Downloaded failure v0.1.3 [INFO] [stderr] Downloaded base64 v0.6.0 [INFO] [stderr] Downloaded iron v0.6.0 [INFO] [stderr] Downloaded unicode-normalization v0.1.7 [INFO] [stderr] Downloaded libc v0.2.43 [INFO] [stderr] Downloaded unicode-bidi v0.3.4 [INFO] [stderr] Downloaded ryu v0.2.6 [INFO] [stderr] Downloaded quote v0.5.2 [INFO] [stderr] Downloaded vcpkg v0.2.6 [INFO] [stderr] Downloaded scheduled-thread-pool v0.2.0 [INFO] [stderr] Downloaded rand v0.3.22 [INFO] [stderr] Downloaded lazy_static v1.1.0 [INFO] [stderr] Downloaded backtrace-sys v0.1.24 [INFO] [stderr] Downloaded byteorder v1.2.6 [INFO] [stderr] Downloaded httparse v1.3.3 [INFO] [stderr] Downloaded log v0.4.5 [INFO] [stderr] Downloaded fuchsia-zircon v0.3.3 [INFO] [stderr] Downloaded version_check v0.1.5 [INFO] [stderr] Downloaded percent-encoding v1.0.1 [INFO] [stderr] Downloaded serde_json v1.0.32 [INFO] [stderr] Downloaded pkg-config v0.3.14 [INFO] [stderr] Downloaded uuid v0.5.1 [INFO] [stderr] Downloaded language-tags v0.2.2 [INFO] [stderr] Downloaded redox_syscall v0.1.40 [INFO] [stderr] Downloaded cloudabi v0.0.3 [INFO] [stderr] Downloaded bitflags v1.0.4 [INFO] [stderr] Downloaded rand_core v0.3.0 [INFO] [stderr] Downloaded mime_guess v1.8.6 [INFO] [stderr] Downloaded rustc-demangle v0.1.9 [INFO] [stderr] Downloaded log v0.3.9 [INFO] [stderr] Downloaded phf v0.7.23 [INFO] [stderr] Downloaded siphasher v0.2.3 [INFO] [stderr] Downloaded num_cpus v1.8.0 [INFO] [stderr] Downloaded rand_core v0.2.2 [INFO] [stderr] Downloaded plugin v0.2.6 [INFO] [stderr] Downloaded failure_derive v0.1.3 [INFO] [stderr] Downloaded router v0.6.0 [INFO] [stderr] Downloaded safemem v0.2.0 [INFO] [stderr] Downloaded fuchsia-zircon-sys v0.3.3 [INFO] [stderr] Downloaded phf_generator v0.7.23 [INFO] [stderr] Downloaded phf_shared v0.7.23 [INFO] [stderr] Downloaded phf_codegen v0.7.23 [INFO] [stderr] Downloaded unicase v1.4.2 [INFO] [stderr] Downloaded unsafe-any v0.4.2 [INFO] [stderr] Downloaded matches v0.1.8 [INFO] [stderr] Downloaded libsqlite3-sys v0.9.3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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] 57a30105b38375c1672bab6351a3a540dca6649d653eb660f67e24f3a16eaef4 [INFO] running `Command { std: "docker" "start" "-a" "57a30105b38375c1672bab6351a3a540dca6649d653eb660f67e24f3a16eaef4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "57a30105b38375c1672bab6351a3a540dca6649d653eb660f67e24f3a16eaef4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "57a30105b38375c1672bab6351a3a540dca6649d653eb660f67e24f3a16eaef4", kill_on_drop: false }` [INFO] [stdout] 57a30105b38375c1672bab6351a3a540dca6649d653eb660f67e24f3a16eaef4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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] 87b1463ecc1a559f5e02cb6391c4837e14b348dfc31c743c590099cb78227fe3 [INFO] running `Command { std: "docker" "start" "-a" "87b1463ecc1a559f5e02cb6391c4837e14b348dfc31c743c590099cb78227fe3", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Compiling version_check v0.1.5 [INFO] [stderr] Compiling libc v0.2.43 [INFO] [stderr] Compiling unicode-xid v0.1.0 [INFO] [stderr] Compiling cfg-if v0.1.6 [INFO] [stderr] Compiling siphasher v0.2.3 [INFO] [stderr] Compiling rand_core v0.3.0 [INFO] [stderr] Compiling proc-macro2 v0.4.20 [INFO] [stderr] Compiling traitobject v0.1.0 [INFO] [stderr] Compiling matches v0.1.8 [INFO] [stderr] Compiling cc v1.0.25 [INFO] [stderr] Compiling httparse v1.3.3 [INFO] [stderr] Compiling unicode-normalization v0.1.7 [INFO] [stderr] Compiling byteorder v1.2.6 [INFO] [stderr] Compiling pkg-config v0.3.14 [INFO] [stderr] Compiling percent-encoding v1.0.1 [INFO] [stderr] Compiling safemem v0.2.0 [INFO] [stderr] Compiling log v0.4.5 [INFO] [stderr] Compiling unicode-bidi v0.3.4 [INFO] [stderr] Compiling proc-macro2 v0.3.8 [INFO] [stderr] Compiling unsafe-any v0.4.2 [INFO] [stderr] Compiling ryu v0.2.6 [INFO] [stderr] Compiling typeable v0.1.2 [INFO] [stderr] Compiling typemap v0.3.3 [INFO] [stderr] Compiling serde v1.0.80 [INFO] [stderr] Compiling unicase v1.4.2 [INFO] [stderr] Compiling rand_core v0.2.2 [INFO] [stderr] Compiling log v0.3.9 [INFO] [stderr] Compiling num_cpus v1.8.0 [INFO] [stderr] Compiling time v0.1.40 [INFO] [stderr] Compiling failure_derive v0.1.3 [INFO] [stderr] Compiling rand v0.5.5 [INFO] [stderr] Compiling quote v0.5.2 [INFO] [stderr] Compiling mime v0.2.6 [INFO] [stderr] Compiling base64 v0.6.0 [INFO] [stderr] Compiling phf_shared v0.7.23 [INFO] [stderr] Compiling language-tags v0.2.2 [INFO] [stderr] Compiling antidote v1.0.0 [INFO] [stderr] Compiling phf v0.7.23 [INFO] [stderr] Compiling syn v0.13.11 [INFO] [stderr] Compiling libsqlite3-sys v0.9.3 [INFO] [stderr] Compiling plugin v0.2.6 [INFO] [stderr] Compiling lazy_static v1.1.0 [INFO] [stderr] Compiling modifier v0.1.0 [INFO] [stderr] Compiling scheduled-thread-pool v0.2.0 [INFO] [stderr] Compiling rustc-demangle v0.1.9 [INFO] [stderr] Compiling itoa v0.4.3 [INFO] [stderr] Compiling route-recognizer v0.1.12 [INFO] [stderr] Compiling r2d2 v0.8.2 [INFO] [stderr] Compiling backtrace-sys v0.1.24 [INFO] [stderr] Compiling quote v0.6.8 [INFO] [stderr] Compiling syn v0.15.13 [INFO] [stderr] Compiling idna v0.1.5 [INFO] [stderr] Compiling phf_generator v0.7.23 [INFO] [stderr] Compiling phf_codegen v0.7.23 [INFO] [stderr] Compiling mime_guess v1.8.6 [INFO] [stderr] Compiling backtrace v0.3.9 [INFO] [stderr] Compiling url v1.7.1 [INFO] [stderr] Compiling hyper v0.10.13 [INFO] [stderr] Compiling diesel_derives v1.3.0 [INFO] [stderr] Compiling synstructure v0.10.0 [INFO] [stderr] Compiling serde_derive v1.0.80 [INFO] [stderr] Compiling iron v0.6.0 [INFO] [stderr] Compiling router v0.6.0 [INFO] [stderr] Compiling serde_json v1.0.32 [INFO] [stderr] Compiling failure v0.1.3 [INFO] [stderr] Compiling diesel v1.3.3 [INFO] [stderr] Compiling di_example_iron v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> src/dao/model.rs:1:19 [INFO] [stdout] | [INFO] [stdout] 1 | #[derive(Default, Serialize, Queryable)] [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: `#[warn(unexpected_cfgs)]` 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/dao/model.rs:1:19 [INFO] [stdout] | [INFO] [stdout] 1 | #[derive(Default, Serialize, Queryable)] [INFO] [stdout] | ^-------- [INFO] [stdout] | | [INFO] [stdout] | `Serialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_SERIALIZE_FOR_Widget` [INFO] [stdout] 2 | pub struct Widget { [INFO] [stdout] | ------ `Widget` 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] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 27.64s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: di_example_iron v0.1.0 (/opt/rustwide/workdir), diesel v1.3.3, route-recognizer v0.1.12, syn v0.13.11, traitobject v0.1.0, typemap v0.3.3 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1` [INFO] running `Command { std: "docker" "inspect" "87b1463ecc1a559f5e02cb6391c4837e14b348dfc31c743c590099cb78227fe3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "87b1463ecc1a559f5e02cb6391c4837e14b348dfc31c743c590099cb78227fe3", kill_on_drop: false }` [INFO] [stdout] 87b1463ecc1a559f5e02cb6391c4837e14b348dfc31c743c590099cb78227fe3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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] c4a61fbeaa31e15eaa2cdeffa6c36d85ce5e6d9934fbeabb51f6d3796b098acb [INFO] running `Command { std: "docker" "start" "-a" "c4a61fbeaa31e15eaa2cdeffa6c36d85ce5e6d9934fbeabb51f6d3796b098acb", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Compiling rand v0.4.3 [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> src/dao/model.rs:1:19 [INFO] [stdout] | [INFO] [stdout] 1 | #[derive(Default, Serialize, Queryable)] [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: `#[warn(unexpected_cfgs)]` 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/dao/model.rs:1:19 [INFO] [stdout] | [INFO] [stdout] 1 | #[derive(Default, Serialize, Queryable)] [INFO] [stdout] | ^-------- [INFO] [stdout] | | [INFO] [stdout] | `Serialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_SERIALIZE_FOR_Widget` [INFO] [stdout] 2 | pub struct Widget { [INFO] [stdout] | ------ `Widget` 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] [stderr] Compiling rand v0.3.22 [INFO] [stderr] Compiling uuid v0.5.1 [INFO] [stderr] Compiling iron-test v0.6.0 [INFO] [stderr] Compiling di_example_iron v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unnecessary trailing semicolon [INFO] [stdout] --> tests/test.rs:22:23 [INFO] [stdout] | [INFO] [stdout] 22 | struct BadDBDao {}; [INFO] [stdout] | ^ help: remove this semicolon [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(redundant_semicolons)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary trailing semicolon [INFO] [stdout] --> tests/test.rs:42:23 [INFO] [stdout] | [INFO] [stdout] 42 | struct BadDBDao {}; [INFO] [stdout] | ^ help: remove this semicolon [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> src/dao/model.rs:1:19 [INFO] [stdout] | [INFO] [stdout] 1 | #[derive(Default, Serialize, Queryable)] [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: `#[warn(unexpected_cfgs)]` 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/dao/model.rs:1:19 [INFO] [stdout] | [INFO] [stdout] 1 | #[derive(Default, Serialize, Queryable)] [INFO] [stdout] | ^-------- [INFO] [stdout] | | [INFO] [stdout] | `Serialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_SERIALIZE_FOR_Widget` [INFO] [stdout] 2 | pub struct Widget { [INFO] [stdout] | ------ `Widget` 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] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 3.33s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: di_example_iron v0.1.0 (/opt/rustwide/workdir), diesel v1.3.3, route-recognizer v0.1.12, syn v0.13.11, traitobject v0.1.0, typemap v0.3.3 [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" "c4a61fbeaa31e15eaa2cdeffa6c36d85ce5e6d9934fbeabb51f6d3796b098acb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c4a61fbeaa31e15eaa2cdeffa6c36d85ce5e6d9934fbeabb51f6d3796b098acb", kill_on_drop: false }` [INFO] [stdout] c4a61fbeaa31e15eaa2cdeffa6c36d85ce5e6d9934fbeabb51f6d3796b098acb [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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] 327a8d59106595a9f044c0479739f2577d24dd307157e185375c04ab30b0202c [INFO] running `Command { std: "docker" "start" "-a" "327a8d59106595a9f044c0479739f2577d24dd307157e185375c04ab30b0202c", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stderr] --> src/dao/model.rs:1:19 [INFO] [stderr] | [INFO] [stderr] 1 | #[derive(Default, Serialize, Queryable)] [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: `#[warn(unexpected_cfgs)]` 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/dao/model.rs:1:19 [INFO] [stderr] | [INFO] [stderr] 1 | #[derive(Default, Serialize, Queryable)] [INFO] [stderr] | ^-------- [INFO] [stderr] | | [INFO] [stderr] | `Serialize` is not local [INFO] [stderr] | move the `impl` block outside of this constant `_IMPL_SERIALIZE_FOR_Widget` [INFO] [stderr] 2 | pub struct Widget { [INFO] [stderr] | ------ `Widget` 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: `di_example_iron` (lib) generated 2 warnings [INFO] [stderr] warning: `di_example_iron` (lib test) generated 2 warnings (2 duplicates) [INFO] [stderr] warning: unnecessary trailing semicolon [INFO] [stderr] --> tests/test.rs:22:23 [INFO] [stderr] | [INFO] [stderr] 22 | struct BadDBDao {}; [INFO] [stderr] | ^ help: remove this semicolon [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(redundant_semicolons)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unnecessary trailing semicolon [INFO] [stderr] --> tests/test.rs:42:23 [INFO] [stderr] | [INFO] [stderr] 42 | struct BadDBDao {}; [INFO] [stderr] | ^ help: remove this semicolon [INFO] [stderr] [INFO] [stderr] warning: `di_example_iron` (test "test") generated 2 warnings [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.14s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: di_example_iron v0.1.0 (/opt/rustwide/workdir), diesel v1.3.3, route-recognizer v0.1.12, syn v0.13.11, traitobject v0.1.0, typemap v0.3.3 [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/lib.rs (/opt/rustwide/target/debug/deps/di_example_iron-5c6d0fcac9788686) [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] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/di_example_iron-83b78d5274138adc) [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] [stderr] Running tests/test.rs (/opt/rustwide/target/debug/deps/test-439b99ad8efb2bdc) [INFO] [stdout] [INFO] [stdout] running 2 tests [INFO] [stdout] test test_bad_db ... ok [INFO] [stderr] Doc-tests di_example_iron [INFO] [stdout] test test_get_widget ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 2 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [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" "327a8d59106595a9f044c0479739f2577d24dd307157e185375c04ab30b0202c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "327a8d59106595a9f044c0479739f2577d24dd307157e185375c04ab30b0202c", kill_on_drop: false }` [INFO] [stdout] 327a8d59106595a9f044c0479739f2577d24dd307157e185375c04ab30b0202c