[INFO] cloning repository https://github.com/lucasbrendel/green-thumb [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/lucasbrendel/green-thumb" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flucasbrendel%2Fgreen-thumb", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flucasbrendel%2Fgreen-thumb'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] d7570f049b2e0b9c79344a7be0ab7496d09f7584 [INFO] building lucasbrendel/green-thumb against master#f5209000832c9d3bc29c91f4daef4ca9f28dc797+target=wasm32-wasip1 for pr-149868 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flucasbrendel%2Fgreen-thumb" "/workspace/builds/worker-1-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/lucasbrendel/green-thumb [INFO] finished tweaking git repo https://github.com/lucasbrendel/green-thumb [INFO] tweaked toml for git repo https://github.com/lucasbrendel/green-thumb written to /workspace/builds/worker-1-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/lucasbrendel/green-thumb on toolchain f5209000832c9d3bc29c91f4daef4ca9f28dc797 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f5209000832c9d3bc29c91f4daef4ca9f28dc797" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/lucasbrendel/green-thumb 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" "+f5209000832c9d3bc29c91f4daef4ca9f28dc797" "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 unicode-xid v0.2.0 [INFO] [stderr] Downloaded simplelog v0.7.6 [INFO] [stderr] Downloaded strum v0.18.0 [INFO] [stderr] Downloaded quote v1.0.2 [INFO] [stderr] Downloaded strum_macros v0.18.0 [INFO] [stderr] Downloaded proc-macro2 v1.0.1 [INFO] [stderr] Downloaded heck v0.3.0 [INFO] [stderr] Downloaded bitflags v1.0.4 [INFO] [stderr] Downloaded atty v0.2.11 [INFO] [stderr] Downloaded cfg-if v0.1.6 [INFO] [stderr] Downloaded vcpkg v0.2.6 [INFO] [stderr] Downloaded redox_termios v0.1.1 [INFO] [stderr] Downloaded lru-cache v0.1.1 [INFO] [stderr] Downloaded linked-hash-map v0.4.2 [INFO] [stderr] Downloaded termion v1.5.1 [INFO] [stderr] Downloaded num-integer v0.1.39 [INFO] [stderr] Downloaded serde_derive v1.0.106 [INFO] [stderr] Downloaded cc v1.0.48 [INFO] [stderr] Downloaded rusqlite v0.15.0 [INFO] [stderr] Downloaded serde v1.0.106 [INFO] [stderr] Downloaded time v0.1.40 [INFO] [stderr] Downloaded num-traits v0.2.6 [INFO] [stderr] Downloaded chrono v0.4.11 [INFO] [stderr] Downloaded clap v2.33.0 [INFO] [stderr] Downloaded syn v1.0.3 [INFO] [stderr] Downloaded term v0.5.1 [INFO] [stderr] Downloaded unicode-segmentation v1.2.1 [INFO] [stderr] Downloaded log v0.4.8 [INFO] [stderr] Downloaded byteorder v1.2.7 [INFO] [stderr] Downloaded vec_map v0.8.1 [INFO] [stderr] Downloaded serde_rusqlite v0.16.0 [INFO] [stderr] Downloaded redox_syscall v0.1.40 [INFO] [stderr] Downloaded libc v0.2.43 [INFO] [stderr] Downloaded unicode-width v0.1.5 [INFO] [stderr] Downloaded pkg-config v0.3.14 [INFO] [stderr] Downloaded winapi v0.3.6 [INFO] [stderr] Downloaded libsqlite3-sys v0.10.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+f5209000832c9d3bc29c91f4daef4ca9f28dc797" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 4f90e21d92b91325226334023abf946a624e12cdfaba97b01c821a108a5605d2 [INFO] running `Command { std: "docker" "start" "-a" "4f90e21d92b91325226334023abf946a624e12cdfaba97b01c821a108a5605d2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "4f90e21d92b91325226334023abf946a624e12cdfaba97b01c821a108a5605d2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4f90e21d92b91325226334023abf946a624e12cdfaba97b01c821a108a5605d2", kill_on_drop: false }` [INFO] [stdout] 4f90e21d92b91325226334023abf946a624e12cdfaba97b01c821a108a5605d2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+f5209000832c9d3bc29c91f4daef4ca9f28dc797" "build" "--frozen" "--message-format=json" "--target" "wasm32-wasip1", kill_on_drop: false }` [INFO] [stdout] a44fc1e8ec4b477a3fa3cd4138cb2fe614ff6d1aa4919770e8edfe7201f83b18 [INFO] running `Command { std: "docker" "start" "-a" "a44fc1e8ec4b477a3fa3cd4138cb2fe614ff6d1aa4919770e8edfe7201f83b18", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Compiling num-traits v0.2.6 [INFO] [stderr] Compiling proc-macro2 v1.0.1 [INFO] [stderr] Compiling num-integer v0.1.39 [INFO] [stderr] Compiling cc v1.0.48 [INFO] [stderr] Compiling libc v0.2.43 [INFO] [stderr] Compiling unicode-xid v0.2.0 [INFO] [stderr] Compiling pkg-config v0.3.14 [INFO] [stderr] Compiling syn v1.0.3 [INFO] [stderr] Compiling time v0.1.40 [INFO] [stderr] Compiling serde v1.0.106 [INFO] [stderr] Compiling bitflags v1.0.4 [INFO] [stderr] Compiling linked-hash-map v0.4.2 [INFO] [stderr] Compiling log v0.4.8 [INFO] [stderr] Compiling lru-cache v0.1.1 [INFO] [stderr] Compiling unicode-width v0.1.5 [INFO] [stderr] Compiling cfg-if v0.1.6 [INFO] [stderr] Compiling byteorder v1.2.7 [INFO] [stderr] Compiling unicode-segmentation v1.2.1 [INFO] [stderr] Compiling textwrap v0.11.0 [INFO] [stderr] Compiling term v0.5.1 [INFO] [stderr] Compiling quote v1.0.2 [INFO] [stderr] Compiling heck v0.3.0 [INFO] [stderr] Compiling chrono v0.4.11 [INFO] [stderr] Compiling vec_map v0.8.1 [INFO] [stderr] Compiling atty v0.2.11 [INFO] [stderr] Compiling strsim v0.8.0 [INFO] [stderr] Compiling ansi_term v0.11.0 [INFO] [stderr] Compiling strum v0.18.0 [INFO] [stderr] Compiling clap v2.33.0 [INFO] [stderr] Compiling libsqlite3-sys v0.10.0 [INFO] [stderr] Compiling simplelog v0.7.6 [INFO] [stderr] Compiling strum_macros v0.18.0 [INFO] [stderr] Compiling serde_derive v1.0.106 [INFO] [stderr] Compiling rusqlite v0.15.0 [INFO] [stderr] Compiling serde_rusqlite v0.16.0 [INFO] [stderr] Compiling green-thumb v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> src/db/plant.rs:27:28 [INFO] [stdout] | [INFO] [stdout] 27 | #[derive(Debug, PartialEq, Serialize, Deserialize, Display, EnumString, AsStaticStr)] [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: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> src/db/plant.rs:27:39 [INFO] [stdout] | [INFO] [stdout] 27 | #[derive(Debug, PartialEq, Serialize, Deserialize, Display, EnumString, AsStaticStr)] [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: 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: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/db/plant.rs:86:24 [INFO] [stdout] | [INFO] [stdout] 86 | let mut stmt = try!( [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/db/plant.rs:90:26 [INFO] [stdout] | [INFO] [stdout] 90 | let map_plants = try!(stmt.query_map(NO_PARAMS, |row| Plant { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/db/plant.rs:107:24 [INFO] [stdout] | [INFO] [stdout] 107 | let mut stmt = try!(conn.prepare( [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/db/plant.rs:111:21 [INFO] [stdout] | [INFO] [stdout] 111 | let plant = try!(stmt.query_map(&[&uid], |row| Plant { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/db/task.rs:85:13 [INFO] [stdout] | [INFO] [stdout] 85 | try!(conn.prepare("SELECT id, text, is_completed, completed_date FROM tasks")); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/db/task.rs:86:25 [INFO] [stdout] | [INFO] [stdout] 86 | let map_tasks = try!(stmt.query_map(NO_PARAMS, |row| Task { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/db/task.rs:100:24 [INFO] [stdout] | [INFO] [stdout] 100 | let mut stmt = try!( [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/db/task.rs:103:20 [INFO] [stdout] | [INFO] [stdout] 103 | let task = try!(stmt.query_map(&[&id], |row| Task { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/db/plant.rs:27:28 [INFO] [stdout] | [INFO] [stdout] 27 | #[derive(Debug, PartialEq, Serialize, Deserialize, Display, EnumString, AsStaticStr)] [INFO] [stdout] | ^-------- [INFO] [stdout] | | [INFO] [stdout] | `Serialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_SERIALIZE_FOR_PlantType` [INFO] [stdout] 28 | pub enum PlantType { [INFO] [stdout] | --------- `PlantType` 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/db/plant.rs:27:39 [INFO] [stdout] | [INFO] [stdout] 27 | #[derive(Debug, PartialEq, Serialize, Deserialize, Display, EnumString, AsStaticStr)] [INFO] [stdout] | ^---------- [INFO] [stdout] | | [INFO] [stdout] | `Deserialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_DESERIALIZE_FOR_PlantType` [INFO] [stdout] 28 | pub enum PlantType { [INFO] [stdout] | --------- `PlantType` 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] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/db/plant.rs:36:15 [INFO] [stdout] | [INFO] [stdout] 36 | fn to_sql(&self) -> Result { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 36 | fn to_sql(&self) -> Result> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 07s [INFO] running `Command { std: "docker" "inspect" "a44fc1e8ec4b477a3fa3cd4138cb2fe614ff6d1aa4919770e8edfe7201f83b18", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a44fc1e8ec4b477a3fa3cd4138cb2fe614ff6d1aa4919770e8edfe7201f83b18", kill_on_drop: false }` [INFO] [stdout] a44fc1e8ec4b477a3fa3cd4138cb2fe614ff6d1aa4919770e8edfe7201f83b18 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+f5209000832c9d3bc29c91f4daef4ca9f28dc797" "test" "--frozen" "--no-run" "--message-format=json" "--target" "wasm32-wasip1", kill_on_drop: false }` [INFO] [stdout] 75b7603e98fc0e502ef9faf1587133a7d0e3b3f88045e671a2a723c5403edb97 [INFO] running `Command { std: "docker" "start" "-a" "75b7603e98fc0e502ef9faf1587133a7d0e3b3f88045e671a2a723c5403edb97", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Compiling green-thumb v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> src/db/plant.rs:27:28 [INFO] [stdout] | [INFO] [stdout] 27 | #[derive(Debug, PartialEq, Serialize, Deserialize, Display, EnumString, AsStaticStr)] [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: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> src/db/plant.rs:27:39 [INFO] [stdout] | [INFO] [stdout] 27 | #[derive(Debug, PartialEq, Serialize, Deserialize, Display, EnumString, AsStaticStr)] [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: 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: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/db/plant.rs:86:24 [INFO] [stdout] | [INFO] [stdout] 86 | let mut stmt = try!( [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/db/plant.rs:90:26 [INFO] [stdout] | [INFO] [stdout] 90 | let map_plants = try!(stmt.query_map(NO_PARAMS, |row| Plant { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/db/plant.rs:107:24 [INFO] [stdout] | [INFO] [stdout] 107 | let mut stmt = try!(conn.prepare( [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/db/plant.rs:111:21 [INFO] [stdout] | [INFO] [stdout] 111 | let plant = try!(stmt.query_map(&[&uid], |row| Plant { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/db/task.rs:85:13 [INFO] [stdout] | [INFO] [stdout] 85 | try!(conn.prepare("SELECT id, text, is_completed, completed_date FROM tasks")); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/db/task.rs:86:25 [INFO] [stdout] | [INFO] [stdout] 86 | let map_tasks = try!(stmt.query_map(NO_PARAMS, |row| Task { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/db/task.rs:100:24 [INFO] [stdout] | [INFO] [stdout] 100 | let mut stmt = try!( [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/db/task.rs:103:20 [INFO] [stdout] | [INFO] [stdout] 103 | let task = try!(stmt.query_map(&[&id], |row| Task { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/db/plant.rs:27:28 [INFO] [stdout] | [INFO] [stdout] 27 | #[derive(Debug, PartialEq, Serialize, Deserialize, Display, EnumString, AsStaticStr)] [INFO] [stdout] | ^-------- [INFO] [stdout] | | [INFO] [stdout] | `Serialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_SERIALIZE_FOR_PlantType` [INFO] [stdout] 28 | pub enum PlantType { [INFO] [stdout] | --------- `PlantType` 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/db/plant.rs:27:39 [INFO] [stdout] | [INFO] [stdout] 27 | #[derive(Debug, PartialEq, Serialize, Deserialize, Display, EnumString, AsStaticStr)] [INFO] [stdout] | ^---------- [INFO] [stdout] | | [INFO] [stdout] | `Deserialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_DESERIALIZE_FOR_PlantType` [INFO] [stdout] 28 | pub enum PlantType { [INFO] [stdout] | --------- `PlantType` 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] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/db/plant.rs:36:15 [INFO] [stdout] | [INFO] [stdout] 36 | fn to_sql(&self) -> Result { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 36 | fn to_sql(&self) -> Result> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 1.08s [INFO] running `Command { std: "docker" "inspect" "75b7603e98fc0e502ef9faf1587133a7d0e3b3f88045e671a2a723c5403edb97", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "75b7603e98fc0e502ef9faf1587133a7d0e3b3f88045e671a2a723c5403edb97", kill_on_drop: false }` [INFO] [stdout] 75b7603e98fc0e502ef9faf1587133a7d0e3b3f88045e671a2a723c5403edb97