[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-3 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fstusmall%2Fdi_example_iron" "/workspace/builds/worker-5-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-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-5-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] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded failure v0.1.3 [INFO] [stderr] Downloaded uuid v0.5.1 [INFO] [stderr] Downloaded iron-test v0.6.0 [INFO] [stderr] Downloaded rustc-demangle v0.1.9 [INFO] [stderr] Downloaded failure_derive v0.1.3 [INFO] [stderr] Downloaded rand v0.3.22 [INFO] [stderr] Downloaded backtrace v0.3.9 [INFO] [stderr] Downloaded rand v0.4.3 [INFO] [stderr] Downloaded serde_json v1.0.32 [INFO] [stderr] Downloaded backtrace-sys v0.1.24 [INFO] [stderr] Downloaded syn v0.15.13 [INFO] [stderr] Downloaded synstructure v0.10.0 [INFO] [stderr] Downloaded libsqlite3-sys v0.9.3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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] 573cd30e3f7f8b6c78b9a02f6a04b78018f784d0a11fd6a067f311bede60a73c [INFO] running `Command { std: "docker" "start" "-a" "573cd30e3f7f8b6c78b9a02f6a04b78018f784d0a11fd6a067f311bede60a73c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "573cd30e3f7f8b6c78b9a02f6a04b78018f784d0a11fd6a067f311bede60a73c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "573cd30e3f7f8b6c78b9a02f6a04b78018f784d0a11fd6a067f311bede60a73c", kill_on_drop: false }` [INFO] [stdout] 573cd30e3f7f8b6c78b9a02f6a04b78018f784d0a11fd6a067f311bede60a73c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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] a72b28a1a76abdcc85f280d2b69c74a3042d36a8923da520e47aca5a7a8a8564 [INFO] running `Command { std: "docker" "start" "-a" "a72b28a1a76abdcc85f280d2b69c74a3042d36a8923da520e47aca5a7a8a8564", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Compiling cfg-if v0.1.6 [INFO] [stderr] Compiling rand_core v0.3.0 [INFO] [stderr] Compiling proc-macro2 v0.4.20 [INFO] [stderr] Compiling pkg-config v0.3.14 [INFO] [stderr] Compiling backtrace-sys v0.1.24 [INFO] [stderr] Compiling failure_derive v0.1.3 [INFO] [stderr] Compiling lazy_static v1.1.0 [INFO] [stderr] Compiling rustc-demangle v0.1.9 [INFO] [stderr] Compiling diesel_derives v1.3.0 [INFO] [stderr] Compiling route-recognizer v0.1.12 [INFO] [stderr] Compiling serde_json v1.0.32 [INFO] [stderr] Compiling log v0.4.5 [INFO] [stderr] Compiling rand_core v0.2.2 [INFO] [stderr] Compiling log v0.3.9 [INFO] [stderr] Compiling rand v0.5.5 [INFO] [stderr] Compiling r2d2 v0.8.2 [INFO] [stderr] Compiling mime v0.2.6 [INFO] [stderr] Compiling libsqlite3-sys v0.9.3 [INFO] [stderr] Compiling hyper v0.10.13 [INFO] [stderr] Compiling quote v0.6.8 [INFO] [stderr] Compiling syn v0.15.13 [INFO] [stderr] Compiling backtrace v0.3.9 [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 diesel v1.3.3 [INFO] [stderr] Compiling iron v0.6.0 [INFO] [stderr] Compiling router v0.6.0 [INFO] [stderr] Compiling synstructure v0.10.0 [INFO] [stderr] Compiling serde_derive v1.0.80 [INFO] [stderr] Compiling failure v0.1.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 21.65s [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 4` [INFO] running `Command { std: "docker" "inspect" "a72b28a1a76abdcc85f280d2b69c74a3042d36a8923da520e47aca5a7a8a8564", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a72b28a1a76abdcc85f280d2b69c74a3042d36a8923da520e47aca5a7a8a8564", kill_on_drop: false }` [INFO] [stdout] a72b28a1a76abdcc85f280d2b69c74a3042d36a8923da520e47aca5a7a8a8564 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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] ea5fe58e9f11bf328bfad2d71a26113bb344631cd582f60fabc8ded025f6f6b1 [INFO] running `Command { std: "docker" "start" "-a" "ea5fe58e9f11bf328bfad2d71a26113bb344631cd582f60fabc8ded025f6f6b1", 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 2.83s [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 5` [INFO] running `Command { std: "docker" "inspect" "ea5fe58e9f11bf328bfad2d71a26113bb344631cd582f60fabc8ded025f6f6b1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ea5fe58e9f11bf328bfad2d71a26113bb344631cd582f60fabc8ded025f6f6b1", kill_on_drop: false }` [INFO] [stdout] ea5fe58e9f11bf328bfad2d71a26113bb344631cd582f60fabc8ded025f6f6b1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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] da39ac508f47f4605c7b3db7e4c6222cdea8f9a666d2824648aaed235b72fc75 [INFO] running `Command { std: "docker" "start" "-a" "da39ac508f47f4605c7b3db7e4c6222cdea8f9a666d2824648aaed235b72fc75", 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.09s [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 5` [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_get_widget ... ok [INFO] [stdout] test test_bad_db ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 2 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.01s [INFO] [stdout] [INFO] [stderr] Doc-tests di_example_iron [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" "da39ac508f47f4605c7b3db7e4c6222cdea8f9a666d2824648aaed235b72fc75", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "da39ac508f47f4605c7b3db7e4c6222cdea8f9a666d2824648aaed235b72fc75", kill_on_drop: false }` [INFO] [stdout] da39ac508f47f4605c7b3db7e4c6222cdea8f9a666d2824648aaed235b72fc75