[INFO] cloning repository https://github.com/mars/persistent-state-machine
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/mars/persistent-state-machine" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmars%2Fpersistent-state-machine", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmars%2Fpersistent-state-machine'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] d74eaf7d8a09a4aa688309dae9e62674866df92b
[INFO] checking mars/persistent-state-machine against master#5518eaa946291f00471af8b254b2a1715f234882 for pr-120393
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmars%2Fpersistent-state-machine" "/workspace/builds/worker-7-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc1/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/mars/persistent-state-machine on toolchain 5518eaa946291f00471af8b254b2a1715f234882
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+5518eaa946291f00471af8b254b2a1715f234882" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking git repo https://github.com/mars/persistent-state-machine
[INFO] finished tweaking git repo https://github.com/mars/persistent-state-machine
[INFO] tweaked toml for git repo https://github.com/mars/persistent-state-machine written to /workspace/builds/worker-7-tc1/source/Cargo.toml
[INFO] crate git repo https://github.com/mars/persistent-state-machine 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" "+5518eaa946291f00471af8b254b2a1715f234882" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded derive-error-chain v0.11.0
[INFO] [stderr]   Downloaded serde_derive v1.0.29
[INFO] [stderr]   Downloaded regex v0.2.7
[INFO] [stderr]   Downloaded syn v0.12.14
[INFO] [stderr]   Downloaded serde v1.0.29
[INFO] [stderr]   Downloaded serde_json v1.0.10
[INFO] [stderr]   Downloaded serde_derive_internals v0.20.0
[INFO] [stderr]   Downloaded regex-syntax v0.5.0
[INFO] [stderr]   Downloaded cc v1.0.6
[INFO] [stderr]   Downloaded diesel v1.1.1
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+5518eaa946291f00471af8b254b2a1715f234882" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] c6a7ff636014896b8deafb0cef1b2bd963dd50b6bd2f2e3de7cd32d8c04e8db2
[INFO] running `Command { std: "docker" "start" "-a" "c6a7ff636014896b8deafb0cef1b2bd963dd50b6bd2f2e3de7cd32d8c04e8db2", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "c6a7ff636014896b8deafb0cef1b2bd963dd50b6bd2f2e3de7cd32d8c04e8db2", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "c6a7ff636014896b8deafb0cef1b2bd963dd50b6bd2f2e3de7cd32d8c04e8db2", kill_on_drop: false }`
[INFO] [stdout] c6a7ff636014896b8deafb0cef1b2bd963dd50b6bd2f2e3de7cd32d8c04e8db2
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+5518eaa946291f00471af8b254b2a1715f234882" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] d8b6610bfd8b2ffe67d5c0775a85cd4390bde416584b428b85f4cb6ae5bb5b4f
[INFO] running `Command { std: "docker" "start" "-a" "d8b6610bfd8b2ffe67d5c0775a85cd4390bde416584b428b85f4cb6ae5bb5b4f", kill_on_drop: false }`
[INFO] [stderr]     Checking libc v0.2.37
[INFO] [stderr]     Checking num-traits v0.2.1
[INFO] [stderr]    Compiling unicode-xid v0.0.4
[INFO] [stderr]    Compiling quote v0.3.15
[INFO] [stderr]    Compiling cc v1.0.6
[INFO] [stderr]     Checking cfg-if v0.1.2
[INFO] [stderr]    Compiling unicode-xid v0.1.0
[INFO] [stderr]    Compiling pq-sys v0.4.4
[INFO] [stderr]     Checking void v1.0.2
[INFO] [stderr]     Checking serde v1.0.29
[INFO] [stderr]     Checking rustc-demangle v0.1.7
[INFO] [stderr]     Checking itoa v0.3.4
[INFO] [stderr]     Checking lazy_static v1.0.0
[INFO] [stderr]     Checking antidote v1.0.0
[INFO] [stderr]     Checking ucd-util v0.1.1
[INFO] [stderr]     Checking dtoa v0.4.2
[INFO] [stderr]     Checking log v0.4.1
[INFO] [stderr]    Compiling synom v0.11.3
[INFO] [stderr]    Compiling proc-macro2 v0.2.3
[INFO] [stderr]     Checking unreachable v1.0.0
[INFO] [stderr]     Checking byteorder v1.2.1
[INFO] [stderr]     Checking bitflags v1.0.1
[INFO] [stderr]     Checking scheduled-thread-pool v0.2.0
[INFO] [stderr]     Checking regex-syntax v0.5.0
[INFO] [stderr]     Checking thread_local v0.3.5
[INFO] [stderr]     Checking utf8-ranges v1.0.0
[INFO] [stderr]    Compiling syn v0.11.11
[INFO] [stderr]     Checking r2d2 v0.8.2
[INFO] [stderr]    Compiling quote v0.4.2
[INFO] [stderr]     Checking memchr v2.0.1
[INFO] [stderr]     Checking time v0.1.39
[INFO] [stderr]    Compiling syn v0.12.14
[INFO] [stderr]     Checking aho-corasick v0.6.4
[INFO] [stderr]     Checking num-integer v0.1.36
[INFO] [stderr]    Compiling backtrace-sys v0.1.16
[INFO] [stderr]     Checking num-iter v0.1.35
[INFO] [stderr]     Checking num v0.1.42
[INFO] [stderr]     Checking regex v0.2.7
[INFO] [stderr]    Compiling serde_derive_internals v0.20.0
[INFO] [stderr]    Compiling diesel_derives v1.1.0
[INFO] [stderr]    Compiling derive-error-chain v0.11.0
[INFO] [stderr]    Compiling serde_derive v1.0.29
[INFO] [stderr]     Checking chrono v0.4.0
[INFO] [stderr]     Checking serde_json v1.0.10
[INFO] [stderr]     Checking diesel v1.1.1
[INFO] [stderr]     Checking r2d2-diesel v1.0.0
[INFO] [stderr]     Checking backtrace v0.3.5
[INFO] [stderr]     Checking error-chain v0.11.0
[INFO] [stderr]     Checking dotenv v0.11.0
[INFO] [stderr]     Checking persistent-state-machine v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `r2d2::Pool`
[INFO] [stdout]  --> src/models.rs:6:5
[INFO] [stdout]   |
[INFO] [stdout] 6 | use r2d2::Pool;
[INFO] [stdout]   |     ^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `r2d2_diesel::ConnectionManager`
[INFO] [stdout]  --> src/models.rs:7:5
[INFO] [stdout]   |
[INFO] [stdout] 7 | use r2d2_diesel::ConnectionManager;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `r2d2::Pool`
[INFO] [stdout]  --> src/models.rs:6:5
[INFO] [stdout]   |
[INFO] [stdout] 6 | use r2d2::Pool;
[INFO] [stdout]   |     ^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `r2d2_diesel::ConnectionManager`
[INFO] [stdout]  --> src/models.rs:7:5
[INFO] [stdout]   |
[INFO] [stdout] 7 | use r2d2_diesel::ConnectionManager;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `now`
[INFO] [stdout]    --> src/lifecycle.rs:415:13
[INFO] [stdout]     |
[INFO] [stdout] 415 |         let now = Utc::now().naive_utc();
[INFO] [stdout]     |             ^^^ help: if this is intentional, prefix it with an underscore: `_now`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `Event` is never used
[INFO] [stdout]   --> src/lifecycle.rs:64:6
[INFO] [stdout]    |
[INFO] [stdout] 64 | enum Event {
[INFO] [stdout]    |      ^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused return value of `std::mem::replace` that must be used
[INFO] [stdout]   --> src/lifecycle.rs:33:9
[INFO] [stdout]    |
[INFO] [stdout] 33 |         mem::replace(self, new_self);
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: if you don't need the old value, you can just assign the new value directly
[INFO] [stdout]    = note: `#[warn(unused_must_use)]` on by default
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]    |
[INFO] [stdout] 33 |         let _ = mem::replace(self, new_self);
[INFO] [stdout]    |         +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused return value of `std::mem::replace` that must be used
[INFO] [stdout]   --> src/models.rs:75:9
[INFO] [stdout]    |
[INFO] [stdout] 75 |         mem::replace(self, new_self);
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: if you don't need the old value, you can just assign the new value directly
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]    |
[INFO] [stdout] 75 |         let _ = mem::replace(self, new_self);
[INFO] [stdout]    |         +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 5 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `Event` is never used
[INFO] [stdout]   --> src/lifecycle.rs:64:6
[INFO] [stdout]    |
[INFO] [stdout] 64 | enum Event {
[INFO] [stdout]    |      ^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused return value of `std::mem::replace` that must be used
[INFO] [stdout]   --> src/lifecycle.rs:33:9
[INFO] [stdout]    |
[INFO] [stdout] 33 |         mem::replace(self, new_self);
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: if you don't need the old value, you can just assign the new value directly
[INFO] [stdout]    = note: `#[warn(unused_must_use)]` on by default
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]    |
[INFO] [stdout] 33 |         let _ = mem::replace(self, new_self);
[INFO] [stdout]    |         +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: panic message is not a string literal
[INFO] [stdout]    --> src/lifecycle.rs:138:35
[INFO] [stdout]     |
[INFO] [stdout] 138 |             val => assert!(false, format!("Expecting Gestating; instead got {:?}", val)),
[INFO] [stdout]     |                                   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this usage of `assert!()` is deprecated; it will be a hard error in Rust 2021
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/panic-macro-consistency.html>
[INFO] [stdout]     = note: the `assert!()` macro supports formatting, so there's no need for the `format!()` macro here
[INFO] [stdout]     = note: `#[warn(non_fmt_panics)]` on by default
[INFO] [stdout] help: remove the `format!(..)` macro call
[INFO] [stdout]     |
[INFO] [stdout] 138 -             val => assert!(false, format!("Expecting Gestating; instead got {:?}", val)),
[INFO] [stdout] 138 +             val => assert!(false, "Expecting Gestating; instead got {:?}", val),
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: panic message is not a string literal
[INFO] [stdout]    --> src/lifecycle.rs:158:35
[INFO] [stdout]     |
[INFO] [stdout] 158 |             val => assert!(false, format!("Expecting Gestating; instead got {:?}", val)),
[INFO] [stdout]     |                                   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this usage of `assert!()` is deprecated; it will be a hard error in Rust 2021
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/panic-macro-consistency.html>
[INFO] [stdout]     = note: the `assert!()` macro supports formatting, so there's no need for the `format!()` macro here
[INFO] [stdout] help: remove the `format!(..)` macro call
[INFO] [stdout]     |
[INFO] [stdout] 158 -             val => assert!(false, format!("Expecting Gestating; instead got {:?}", val)),
[INFO] [stdout] 158 +             val => assert!(false, "Expecting Gestating; instead got {:?}", val),
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: panic message is not a string literal
[INFO] [stdout]    --> src/lifecycle.rs:186:35
[INFO] [stdout]     |
[INFO] [stdout] 186 |             val => assert!(false, format!("Expecting Alive; instead got {:?}", val)),
[INFO] [stdout]     |                                   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this usage of `assert!()` is deprecated; it will be a hard error in Rust 2021
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/panic-macro-consistency.html>
[INFO] [stdout]     = note: the `assert!()` macro supports formatting, so there's no need for the `format!()` macro here
[INFO] [stdout] help: remove the `format!(..)` macro call
[INFO] [stdout]     |
[INFO] [stdout] 186 -             val => assert!(false, format!("Expecting Alive; instead got {:?}", val)),
[INFO] [stdout] 186 +             val => assert!(false, "Expecting Alive; instead got {:?}", val),
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: panic message is not a string literal
[INFO] [stdout]    --> src/lifecycle.rs:214:35
[INFO] [stdout]     |
[INFO] [stdout] 214 |             val => assert!(false, format!("Expecting Dead; instead got {:?}", val)),
[INFO] [stdout]     |                                   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this usage of `assert!()` is deprecated; it will be a hard error in Rust 2021
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/panic-macro-consistency.html>
[INFO] [stdout]     = note: the `assert!()` macro supports formatting, so there's no need for the `format!()` macro here
[INFO] [stdout] help: remove the `format!(..)` macro call
[INFO] [stdout]     |
[INFO] [stdout] 214 -             val => assert!(false, format!("Expecting Dead; instead got {:?}", val)),
[INFO] [stdout] 214 +             val => assert!(false, "Expecting Dead; instead got {:?}", val),
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: panic message is not a string literal
[INFO] [stdout]    --> src/lifecycle.rs:242:35
[INFO] [stdout]     |
[INFO] [stdout] 242 |             val => assert!(false, format!("Expecting Dead; instead got {:?}", val)),
[INFO] [stdout]     |                                   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this usage of `assert!()` is deprecated; it will be a hard error in Rust 2021
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/panic-macro-consistency.html>
[INFO] [stdout]     = note: the `assert!()` macro supports formatting, so there's no need for the `format!()` macro here
[INFO] [stdout] help: remove the `format!(..)` macro call
[INFO] [stdout]     |
[INFO] [stdout] 242 -             val => assert!(false, format!("Expecting Dead; instead got {:?}", val)),
[INFO] [stdout] 242 +             val => assert!(false, "Expecting Dead; instead got {:?}", val),
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: panic message is not a string literal
[INFO] [stdout]    --> src/lifecycle.rs:265:35
[INFO] [stdout]     |
[INFO] [stdout] 265 |             val => assert!(false, format!("Expecting Gestating; instead got {:?}", val)),
[INFO] [stdout]     |                                   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this usage of `assert!()` is deprecated; it will be a hard error in Rust 2021
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/panic-macro-consistency.html>
[INFO] [stdout]     = note: the `assert!()` macro supports formatting, so there's no need for the `format!()` macro here
[INFO] [stdout] help: remove the `format!(..)` macro call
[INFO] [stdout]     |
[INFO] [stdout] 265 -             val => assert!(false, format!("Expecting Gestating; instead got {:?}", val)),
[INFO] [stdout] 265 +             val => assert!(false, "Expecting Gestating; instead got {:?}", val),
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: panic message is not a string literal
[INFO] [stdout]    --> src/lifecycle.rs:302:35
[INFO] [stdout]     |
[INFO] [stdout] 302 |             val => assert!(false, format!("Expecting Alive; instead got {:?}", val)),
[INFO] [stdout]     |                                   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this usage of `assert!()` is deprecated; it will be a hard error in Rust 2021
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/panic-macro-consistency.html>
[INFO] [stdout]     = note: the `assert!()` macro supports formatting, so there's no need for the `format!()` macro here
[INFO] [stdout] help: remove the `format!(..)` macro call
[INFO] [stdout]     |
[INFO] [stdout] 302 -             val => assert!(false, format!("Expecting Alive; instead got {:?}", val)),
[INFO] [stdout] 302 +             val => assert!(false, "Expecting Alive; instead got {:?}", val),
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: panic message is not a string literal
[INFO] [stdout]    --> src/lifecycle.rs:339:35
[INFO] [stdout]     |
[INFO] [stdout] 339 |             val => assert!(false, format!("Expecting Dead; instead got {:?}", val)),
[INFO] [stdout]     |                                   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this usage of `assert!()` is deprecated; it will be a hard error in Rust 2021
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/panic-macro-consistency.html>
[INFO] [stdout]     = note: the `assert!()` macro supports formatting, so there's no need for the `format!()` macro here
[INFO] [stdout] help: remove the `format!(..)` macro call
[INFO] [stdout]     |
[INFO] [stdout] 339 -             val => assert!(false, format!("Expecting Dead; instead got {:?}", val)),
[INFO] [stdout] 339 +             val => assert!(false, "Expecting Dead; instead got {:?}", val),
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: panic message is not a string literal
[INFO] [stdout]    --> src/lifecycle.rs:372:35
[INFO] [stdout]     |
[INFO] [stdout] 372 |             val => assert!(false, format!("Expecting Alive; instead got {:?}", val)),
[INFO] [stdout]     |                                   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this usage of `assert!()` is deprecated; it will be a hard error in Rust 2021
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/panic-macro-consistency.html>
[INFO] [stdout]     = note: the `assert!()` macro supports formatting, so there's no need for the `format!()` macro here
[INFO] [stdout] help: remove the `format!(..)` macro call
[INFO] [stdout]     |
[INFO] [stdout] 372 -             val => assert!(false, format!("Expecting Alive; instead got {:?}", val)),
[INFO] [stdout] 372 +             val => assert!(false, "Expecting Alive; instead got {:?}", val),
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: panic message is not a string literal
[INFO] [stdout]    --> src/lifecycle.rs:408:35
[INFO] [stdout]     |
[INFO] [stdout] 408 |             val => assert!(false, format!("Expecting Alive; instead got {:?}", val)),
[INFO] [stdout]     |                                   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this usage of `assert!()` is deprecated; it will be a hard error in Rust 2021
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/panic-macro-consistency.html>
[INFO] [stdout]     = note: the `assert!()` macro supports formatting, so there's no need for the `format!()` macro here
[INFO] [stdout] help: remove the `format!(..)` macro call
[INFO] [stdout]     |
[INFO] [stdout] 408 -             val => assert!(false, format!("Expecting Alive; instead got {:?}", val)),
[INFO] [stdout] 408 +             val => assert!(false, "Expecting Alive; instead got {:?}", val),
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: panic message is not a string literal
[INFO] [stdout]    --> src/lifecycle.rs:436:35
[INFO] [stdout]     |
[INFO] [stdout] 436 |             val => assert!(false, format!("Expecting Dead; instead got {:?}", val)),
[INFO] [stdout]     |                                   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this usage of `assert!()` is deprecated; it will be a hard error in Rust 2021
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/panic-macro-consistency.html>
[INFO] [stdout]     = note: the `assert!()` macro supports formatting, so there's no need for the `format!()` macro here
[INFO] [stdout] help: remove the `format!(..)` macro call
[INFO] [stdout]     |
[INFO] [stdout] 436 -             val => assert!(false, format!("Expecting Dead; instead got {:?}", val)),
[INFO] [stdout] 436 +             val => assert!(false, "Expecting Dead; instead got {:?}", val),
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused return value of `std::mem::replace` that must be used
[INFO] [stdout]   --> src/models.rs:75:9
[INFO] [stdout]    |
[INFO] [stdout] 75 |         mem::replace(self, new_self);
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: if you don't need the old value, you can just assign the new value directly
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]    |
[INFO] [stdout] 75 |         let _ = mem::replace(self, new_self);
[INFO] [stdout]    |         +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 17 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished dev [unoptimized + debuginfo] target(s) in 6.11s
[INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: syn v0.12.14
[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" "d8b6610bfd8b2ffe67d5c0775a85cd4390bde416584b428b85f4cb6ae5bb5b4f", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "d8b6610bfd8b2ffe67d5c0775a85cd4390bde416584b428b85f4cb6ae5bb5b4f", kill_on_drop: false }`
[INFO] [stdout] d8b6610bfd8b2ffe67d5c0775a85cd4390bde416584b428b85f4cb6ae5bb5b4f
[INFO] checking mars/persistent-state-machine against try#7622c0f807a4e13c4db886a1681bf343795692df+rustflags=-Dnon_local_definitions for pr-120393
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmars%2Fpersistent-state-machine" "/workspace/builds/worker-7-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc2/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/mars/persistent-state-machine on toolchain 7622c0f807a4e13c4db886a1681bf343795692df
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+7622c0f807a4e13c4db886a1681bf343795692df" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking git repo https://github.com/mars/persistent-state-machine
[INFO] finished tweaking git repo https://github.com/mars/persistent-state-machine
[INFO] tweaked toml for git repo https://github.com/mars/persistent-state-machine written to /workspace/builds/worker-7-tc2/source/Cargo.toml
[INFO] crate git repo https://github.com/mars/persistent-state-machine 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" "+7622c0f807a4e13c4db886a1681bf343795692df" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+7622c0f807a4e13c4db886a1681bf343795692df" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 31ac60b5f220c99398408f6fdf632f534b6c0d7e4c3848d9b894f15fba653377
[INFO] running `Command { std: "docker" "start" "-a" "31ac60b5f220c99398408f6fdf632f534b6c0d7e4c3848d9b894f15fba653377", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "31ac60b5f220c99398408f6fdf632f534b6c0d7e4c3848d9b894f15fba653377", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "31ac60b5f220c99398408f6fdf632f534b6c0d7e4c3848d9b894f15fba653377", kill_on_drop: false }`
[INFO] [stdout] 31ac60b5f220c99398408f6fdf632f534b6c0d7e4c3848d9b894f15fba653377
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/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 -Dnon_local_definitions" "-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+7622c0f807a4e13c4db886a1681bf343795692df" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] a0df865a7f2b33f641af97c115b19cd183e2c50709250f936ffb60cbd997299c
[INFO] running `Command { std: "docker" "start" "-a" "a0df865a7f2b33f641af97c115b19cd183e2c50709250f936ffb60cbd997299c", kill_on_drop: false }`
[INFO] [stderr]     Checking libc v0.2.37
[INFO] [stderr]     Checking num-traits v0.2.1
[INFO] [stderr]    Compiling unicode-xid v0.0.4
[INFO] [stderr]     Checking cfg-if v0.1.2
[INFO] [stderr]    Compiling quote v0.3.15
[INFO] [stderr]    Compiling cc v1.0.6
[INFO] [stderr]    Compiling unicode-xid v0.1.0
[INFO] [stderr]     Checking serde v1.0.29
[INFO] [stderr]    Compiling pq-sys v0.4.4
[INFO] [stderr]     Checking void v1.0.2
[INFO] [stderr]     Checking itoa v0.3.4
[INFO] [stderr]     Checking lazy_static v1.0.0
[INFO] [stderr]     Checking rustc-demangle v0.1.7
[INFO] [stderr]     Checking ucd-util v0.1.1
[INFO] [stderr]     Checking dtoa v0.4.2
[INFO] [stderr]     Checking antidote v1.0.0
[INFO] [stderr]     Checking log v0.4.1
[INFO] [stderr]    Compiling synom v0.11.3
[INFO] [stderr]    Compiling proc-macro2 v0.2.3
[INFO] [stderr]     Checking unreachable v1.0.0
[INFO] [stderr]     Checking bitflags v1.0.1
[INFO] [stderr]     Checking byteorder v1.2.1
[INFO] [stderr]     Checking regex-syntax v0.5.0
[INFO] [stderr]     Checking utf8-ranges v1.0.0
[INFO] [stderr]     Checking scheduled-thread-pool v0.2.0
[INFO] [stderr]     Checking thread_local v0.3.5
[INFO] [stderr]    Compiling syn v0.11.11
[INFO] [stderr]     Checking r2d2 v0.8.2
[INFO] [stderr]     Checking time v0.1.39
[INFO] [stderr]     Checking memchr v2.0.1
[INFO] [stderr]    Compiling quote v0.4.2
[INFO] [stderr]     Checking aho-corasick v0.6.4
[INFO] [stderr]    Compiling syn v0.12.14
[INFO] [stderr]     Checking num-integer v0.1.36
[INFO] [stderr]    Compiling backtrace-sys v0.1.16
[INFO] [stderr]     Checking num-iter v0.1.35
[INFO] [stderr]     Checking num v0.1.42
[INFO] [stderr]     Checking regex v0.2.7
[INFO] [stderr]    Compiling serde_derive_internals v0.20.0
[INFO] [stderr]    Compiling diesel_derives v1.1.0
[INFO] [stderr]    Compiling derive-error-chain v0.11.0
[INFO] [stderr]    Compiling serde_derive v1.0.29
[INFO] [stderr]     Checking chrono v0.4.0
[INFO] [stderr]     Checking serde_json v1.0.10
[INFO] [stderr]     Checking diesel v1.1.1
[INFO] [stderr]     Checking r2d2-diesel v1.0.0
[INFO] [stderr]     Checking backtrace v0.3.5
[INFO] [stderr]     Checking error-chain v0.11.0
[INFO] [stderr]     Checking dotenv v0.11.0
[INFO] [stderr]     Checking persistent-state-machine v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `r2d2::Pool`
[INFO] [stdout]  --> src/models.rs:6:5
[INFO] [stdout]   |
[INFO] [stdout] 6 | use r2d2::Pool;
[INFO] [stdout]   |     ^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `r2d2_diesel::ConnectionManager`
[INFO] [stdout]  --> src/models.rs:7:5
[INFO] [stdout]   |
[INFO] [stdout] 7 | use r2d2_diesel::ConnectionManager;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `r2d2::Pool`
[INFO] [stdout]  --> src/models.rs:6:5
[INFO] [stdout]   |
[INFO] [stdout] 6 | use r2d2::Pool;
[INFO] [stdout]   |     ^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `r2d2_diesel::ConnectionManager`
[INFO] [stdout]  --> src/models.rs:7:5
[INFO] [stdout]   |
[INFO] [stdout] 7 | use r2d2_diesel::ConnectionManager;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `Event` is never used
[INFO] [stdout]   --> src/lifecycle.rs:64:6
[INFO] [stdout]    |
[INFO] [stdout] 64 | enum Event {
[INFO] [stdout]    |      ^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `now`
[INFO] [stdout]    --> src/lifecycle.rs:415:13
[INFO] [stdout]     |
[INFO] [stdout] 415 |         let now = Utc::now().naive_utc();
[INFO] [stdout]     |             ^^^ help: if this is intentional, prefix it with an underscore: `_now`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused return value of `std::mem::replace` that must be used
[INFO] [stdout]   --> src/lifecycle.rs:33:9
[INFO] [stdout]    |
[INFO] [stdout] 33 |         mem::replace(self, new_self);
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: if you don't need the old value, you can just assign the new value directly
[INFO] [stdout]    = note: `#[warn(unused_must_use)]` on by default
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]    |
[INFO] [stdout] 33 |         let _ = mem::replace(self, new_self);
[INFO] [stdout]    |         +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation
[INFO] [stdout]   --> src/schema.rs:1:1
[INFO] [stdout]    |
[INFO] [stdout] 1  | / table! {
[INFO] [stdout] 2  | |     lives (id) {
[INFO] [stdout] 3  | |         id -> Int4,
[INFO] [stdout] 4  | |         state_type -> Text,
[INFO] [stdout] ...  |
[INFO] [stdout] 9  | |     }
[INFO] [stdout] 10 | | }
[INFO] [stdout]    | |_^
[INFO] [stdout]    |
[INFO] [stdout]    = help: move this `impl` block outside the of the current constant `_IMPL_QUERY_ID_FOR_TABLE`
[INFO] [stdout]    = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block
[INFO] [stdout]    = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue <https://github.com/rust-lang/rust/issues/120363>
[INFO] [stdout]    = note: requested on the command line with `-D non-local-definitions`
[INFO] [stdout]    = note: this error 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] error: non-local `impl` definition, they should be avoided as they go against expectation
[INFO] [stdout]   --> src/schema.rs:1:1
[INFO] [stdout]    |
[INFO] [stdout] 1  | / table! {
[INFO] [stdout] 2  | |     lives (id) {
[INFO] [stdout] 3  | |         id -> Int4,
[INFO] [stdout] 4  | |         state_type -> Text,
[INFO] [stdout] ...  |
[INFO] [stdout] 9  | |     }
[INFO] [stdout] 10 | | }
[INFO] [stdout]    | |_^
[INFO] [stdout]    |
[INFO] [stdout]    = help: move this `impl` block outside the of the current constant `_IMPL_QUERY_ID_FOR_ID`
[INFO] [stdout]    = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block
[INFO] [stdout]    = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue <https://github.com/rust-lang/rust/issues/120363>
[INFO] [stdout]    = note: this error 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] error: non-local `impl` definition, they should be avoided as they go against expectation
[INFO] [stdout]   --> src/schema.rs:1:1
[INFO] [stdout]    |
[INFO] [stdout] 1  | / table! {
[INFO] [stdout] 2  | |     lives (id) {
[INFO] [stdout] 3  | |         id -> Int4,
[INFO] [stdout] 4  | |         state_type -> Text,
[INFO] [stdout] ...  |
[INFO] [stdout] 9  | |     }
[INFO] [stdout] 10 | | }
[INFO] [stdout]    | |_^
[INFO] [stdout]    |
[INFO] [stdout]    = help: move this `impl` block outside the of the current constant `_IMPL_QUERY_ID_FOR_STATE_TYPE`
[INFO] [stdout]    = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block
[INFO] [stdout]    = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue <https://github.com/rust-lang/rust/issues/120363>
[INFO] [stdout]    = note: this error 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] error: non-local `impl` definition, they should be avoided as they go against expectation
[INFO] [stdout]   --> src/schema.rs:1:1
[INFO] [stdout]    |
[INFO] [stdout] 1  | / table! {
[INFO] [stdout] 2  | |     lives (id) {
[INFO] [stdout] 3  | |         id -> Int4,
[INFO] [stdout] 4  | |         state_type -> Text,
[INFO] [stdout] ...  |
[INFO] [stdout] 9  | |     }
[INFO] [stdout] 10 | | }
[INFO] [stdout]    | |_^
[INFO] [stdout]    |
[INFO] [stdout]    = help: move this `impl` block outside the of the current constant `_IMPL_QUERY_ID_FOR_CREATED_AT`
[INFO] [stdout]    = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block
[INFO] [stdout]    = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue <https://github.com/rust-lang/rust/issues/120363>
[INFO] [stdout]    = note: this error 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] error: non-local `impl` definition, they should be avoided as they go against expectation
[INFO] [stdout]   --> src/schema.rs:1:1
[INFO] [stdout]    |
[INFO] [stdout] 1  | / table! {
[INFO] [stdout] 2  | |     lives (id) {
[INFO] [stdout] 3  | |         id -> Int4,
[INFO] [stdout] 4  | |         state_type -> Text,
[INFO] [stdout] ...  |
[INFO] [stdout] 9  | |     }
[INFO] [stdout] 10 | | }
[INFO] [stdout]    | |_^
[INFO] [stdout]    |
[INFO] [stdout]    = help: move this `impl` block outside the of the current constant `_IMPL_QUERY_ID_FOR_UPDATED_AT`
[INFO] [stdout]    = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block
[INFO] [stdout]    = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue <https://github.com/rust-lang/rust/issues/120363>
[INFO] [stdout]    = note: this error 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] error: non-local `impl` definition, they should be avoided as they go against expectation
[INFO] [stdout]   --> src/schema.rs:1:1
[INFO] [stdout]    |
[INFO] [stdout] 1  | / table! {
[INFO] [stdout] 2  | |     lives (id) {
[INFO] [stdout] 3  | |         id -> Int4,
[INFO] [stdout] 4  | |         state_type -> Text,
[INFO] [stdout] ...  |
[INFO] [stdout] 9  | |     }
[INFO] [stdout] 10 | | }
[INFO] [stdout]    | |_^
[INFO] [stdout]    |
[INFO] [stdout]    = help: move this `impl` block outside the of the current constant `_IMPL_QUERY_ID_FOR_BORN_AT`
[INFO] [stdout]    = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block
[INFO] [stdout]    = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue <https://github.com/rust-lang/rust/issues/120363>
[INFO] [stdout]    = note: this error 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] error: non-local `impl` definition, they should be avoided as they go against expectation
[INFO] [stdout]   --> src/schema.rs:1:1
[INFO] [stdout]    |
[INFO] [stdout] 1  | / table! {
[INFO] [stdout] 2  | |     lives (id) {
[INFO] [stdout] 3  | |         id -> Int4,
[INFO] [stdout] 4  | |         state_type -> Text,
[INFO] [stdout] ...  |
[INFO] [stdout] 9  | |     }
[INFO] [stdout] 10 | | }
[INFO] [stdout]    | |_^
[INFO] [stdout]    |
[INFO] [stdout]    = help: move this `impl` block outside the of the current constant `_IMPL_QUERY_ID_FOR_DIED_AT`
[INFO] [stdout]    = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block
[INFO] [stdout]    = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue <https://github.com/rust-lang/rust/issues/120363>
[INFO] [stdout]    = note: this error 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] error: non-local `impl` definition, they should be avoided as they go against expectation
[INFO] [stdout]   --> src/models.rs:23:10
[INFO] [stdout]    |
[INFO] [stdout] 23 | #[derive(Queryable, AsChangeset, Debug, Clone)]
[INFO] [stdout]    |          ^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = help: move this `impl` block outside the of the current constant `_IMPL_QUERYABLE_FOR_LIFE`
[INFO] [stdout]    = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block
[INFO] [stdout]    = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue <https://github.com/rust-lang/rust/issues/120363>
[INFO] [stdout]    = note: this error originates in the derive macro `Queryable` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused return value of `std::mem::replace` that must be used
[INFO] [stdout]   --> src/models.rs:75:9
[INFO] [stdout]    |
[INFO] [stdout] 75 |         mem::replace(self, new_self);
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: if you don't need the old value, you can just assign the new value directly
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]    |
[INFO] [stdout] 75 |         let _ = mem::replace(self, new_self);
[INFO] [stdout]    |         +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 8 previous errors; 5 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `persistent-state-machine` (bin "persistent-state-machine") due to 9 previous errors; 5 warnings emitted
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] warning: enum `Event` is never used
[INFO] [stdout]   --> src/lifecycle.rs:64:6
[INFO] [stdout]    |
[INFO] [stdout] 64 | enum Event {
[INFO] [stdout]    |      ^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused return value of `std::mem::replace` that must be used
[INFO] [stdout]   --> src/lifecycle.rs:33:9
[INFO] [stdout]    |
[INFO] [stdout] 33 |         mem::replace(self, new_self);
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: if you don't need the old value, you can just assign the new value directly
[INFO] [stdout]    = note: `#[warn(unused_must_use)]` on by default
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]    |
[INFO] [stdout] 33 |         let _ = mem::replace(self, new_self);
[INFO] [stdout]    |         +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: panic message is not a string literal
[INFO] [stdout]    --> src/lifecycle.rs:138:35
[INFO] [stdout]     |
[INFO] [stdout] 138 |             val => assert!(false, format!("Expecting Gestating; instead got {:?}", val)),
[INFO] [stdout]     |                                   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this usage of `assert!()` is deprecated; it will be a hard error in Rust 2021
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/panic-macro-consistency.html>
[INFO] [stdout]     = note: the `assert!()` macro supports formatting, so there's no need for the `format!()` macro here
[INFO] [stdout]     = note: `#[warn(non_fmt_panics)]` on by default
[INFO] [stdout] help: remove the `format!(..)` macro call
[INFO] [stdout]     |
[INFO] [stdout] 138 -             val => assert!(false, format!("Expecting Gestating; instead got {:?}", val)),
[INFO] [stdout] 138 +             val => assert!(false, "Expecting Gestating; instead got {:?}", val),
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: panic message is not a string literal
[INFO] [stdout]    --> src/lifecycle.rs:158:35
[INFO] [stdout]     |
[INFO] [stdout] 158 |             val => assert!(false, format!("Expecting Gestating; instead got {:?}", val)),
[INFO] [stdout]     |                                   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this usage of `assert!()` is deprecated; it will be a hard error in Rust 2021
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/panic-macro-consistency.html>
[INFO] [stdout]     = note: the `assert!()` macro supports formatting, so there's no need for the `format!()` macro here
[INFO] [stdout] help: remove the `format!(..)` macro call
[INFO] [stdout]     |
[INFO] [stdout] 158 -             val => assert!(false, format!("Expecting Gestating; instead got {:?}", val)),
[INFO] [stdout] 158 +             val => assert!(false, "Expecting Gestating; instead got {:?}", val),
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: panic message is not a string literal
[INFO] [stdout]    --> src/lifecycle.rs:186:35
[INFO] [stdout]     |
[INFO] [stdout] 186 |             val => assert!(false, format!("Expecting Alive; instead got {:?}", val)),
[INFO] [stdout]     |                                   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this usage of `assert!()` is deprecated; it will be a hard error in Rust 2021
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/panic-macro-consistency.html>
[INFO] [stdout]     = note: the `assert!()` macro supports formatting, so there's no need for the `format!()` macro here
[INFO] [stdout] help: remove the `format!(..)` macro call
[INFO] [stdout]     |
[INFO] [stdout] 186 -             val => assert!(false, format!("Expecting Alive; instead got {:?}", val)),
[INFO] [stdout] 186 +             val => assert!(false, "Expecting Alive; instead got {:?}", val),
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: panic message is not a string literal
[INFO] [stdout]    --> src/lifecycle.rs:214:35
[INFO] [stdout]     |
[INFO] [stdout] 214 |             val => assert!(false, format!("Expecting Dead; instead got {:?}", val)),
[INFO] [stdout]     |                                   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this usage of `assert!()` is deprecated; it will be a hard error in Rust 2021
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/panic-macro-consistency.html>
[INFO] [stdout]     = note: the `assert!()` macro supports formatting, so there's no need for the `format!()` macro here
[INFO] [stdout] help: remove the `format!(..)` macro call
[INFO] [stdout]     |
[INFO] [stdout] 214 -             val => assert!(false, format!("Expecting Dead; instead got {:?}", val)),
[INFO] [stdout] 214 +             val => assert!(false, "Expecting Dead; instead got {:?}", val),
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: panic message is not a string literal
[INFO] [stdout]    --> src/lifecycle.rs:242:35
[INFO] [stdout]     |
[INFO] [stdout] 242 |             val => assert!(false, format!("Expecting Dead; instead got {:?}", val)),
[INFO] [stdout]     |                                   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this usage of `assert!()` is deprecated; it will be a hard error in Rust 2021
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/panic-macro-consistency.html>
[INFO] [stdout]     = note: the `assert!()` macro supports formatting, so there's no need for the `format!()` macro here
[INFO] [stdout] help: remove the `format!(..)` macro call
[INFO] [stdout]     |
[INFO] [stdout] 242 -             val => assert!(false, format!("Expecting Dead; instead got {:?}", val)),
[INFO] [stdout] 242 +             val => assert!(false, "Expecting Dead; instead got {:?}", val),
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: panic message is not a string literal
[INFO] [stdout]    --> src/lifecycle.rs:265:35
[INFO] [stdout]     |
[INFO] [stdout] 265 |             val => assert!(false, format!("Expecting Gestating; instead got {:?}", val)),
[INFO] [stdout]     |                                   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this usage of `assert!()` is deprecated; it will be a hard error in Rust 2021
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/panic-macro-consistency.html>
[INFO] [stdout]     = note: the `assert!()` macro supports formatting, so there's no need for the `format!()` macro here
[INFO] [stdout] help: remove the `format!(..)` macro call
[INFO] [stdout]     |
[INFO] [stdout] 265 -             val => assert!(false, format!("Expecting Gestating; instead got {:?}", val)),
[INFO] [stdout] 265 +             val => assert!(false, "Expecting Gestating; instead got {:?}", val),
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: panic message is not a string literal
[INFO] [stdout]    --> src/lifecycle.rs:302:35
[INFO] [stdout]     |
[INFO] [stdout] 302 |             val => assert!(false, format!("Expecting Alive; instead got {:?}", val)),
[INFO] [stdout]     |                                   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this usage of `assert!()` is deprecated; it will be a hard error in Rust 2021
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/panic-macro-consistency.html>
[INFO] [stdout]     = note: the `assert!()` macro supports formatting, so there's no need for the `format!()` macro here
[INFO] [stdout] help: remove the `format!(..)` macro call
[INFO] [stdout]     |
[INFO] [stdout] 302 -             val => assert!(false, format!("Expecting Alive; instead got {:?}", val)),
[INFO] [stdout] 302 +             val => assert!(false, "Expecting Alive; instead got {:?}", val),
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: panic message is not a string literal
[INFO] [stdout]    --> src/lifecycle.rs:339:35
[INFO] [stdout]     |
[INFO] [stdout] 339 |             val => assert!(false, format!("Expecting Dead; instead got {:?}", val)),
[INFO] [stdout]     |                                   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this usage of `assert!()` is deprecated; it will be a hard error in Rust 2021
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/panic-macro-consistency.html>
[INFO] [stdout]     = note: the `assert!()` macro supports formatting, so there's no need for the `format!()` macro here
[INFO] [stdout] help: remove the `format!(..)` macro call
[INFO] [stdout]     |
[INFO] [stdout] 339 -             val => assert!(false, format!("Expecting Dead; instead got {:?}", val)),
[INFO] [stdout] 339 +             val => assert!(false, "Expecting Dead; instead got {:?}", val),
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: panic message is not a string literal
[INFO] [stdout]    --> src/lifecycle.rs:372:35
[INFO] [stdout]     |
[INFO] [stdout] 372 |             val => assert!(false, format!("Expecting Alive; instead got {:?}", val)),
[INFO] [stdout]     |                                   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this usage of `assert!()` is deprecated; it will be a hard error in Rust 2021
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/panic-macro-consistency.html>
[INFO] [stdout]     = note: the `assert!()` macro supports formatting, so there's no need for the `format!()` macro here
[INFO] [stdout] help: remove the `format!(..)` macro call
[INFO] [stdout]     |
[INFO] [stdout] 372 -             val => assert!(false, format!("Expecting Alive; instead got {:?}", val)),
[INFO] [stdout] 372 +             val => assert!(false, "Expecting Alive; instead got {:?}", val),
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: panic message is not a string literal
[INFO] [stdout]    --> src/lifecycle.rs:408:35
[INFO] [stdout]     |
[INFO] [stdout] 408 |             val => assert!(false, format!("Expecting Alive; instead got {:?}", val)),
[INFO] [stdout]     |                                   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this usage of `assert!()` is deprecated; it will be a hard error in Rust 2021
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/panic-macro-consistency.html>
[INFO] [stdout]     = note: the `assert!()` macro supports formatting, so there's no need for the `format!()` macro here
[INFO] [stdout] help: remove the `format!(..)` macro call
[INFO] [stdout]     |
[INFO] [stdout] 408 -             val => assert!(false, format!("Expecting Alive; instead got {:?}", val)),
[INFO] [stdout] 408 +             val => assert!(false, "Expecting Alive; instead got {:?}", val),
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: panic message is not a string literal
[INFO] [stdout]    --> src/lifecycle.rs:436:35
[INFO] [stdout]     |
[INFO] [stdout] 436 |             val => assert!(false, format!("Expecting Dead; instead got {:?}", val)),
[INFO] [stdout]     |                                   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this usage of `assert!()` is deprecated; it will be a hard error in Rust 2021
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/panic-macro-consistency.html>
[INFO] [stdout]     = note: the `assert!()` macro supports formatting, so there's no need for the `format!()` macro here
[INFO] [stdout] help: remove the `format!(..)` macro call
[INFO] [stdout]     |
[INFO] [stdout] 436 -             val => assert!(false, format!("Expecting Dead; instead got {:?}", val)),
[INFO] [stdout] 436 +             val => assert!(false, "Expecting Dead; instead got {:?}", val),
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation
[INFO] [stdout]   --> src/schema.rs:1:1
[INFO] [stdout]    |
[INFO] [stdout] 1  | / table! {
[INFO] [stdout] 2  | |     lives (id) {
[INFO] [stdout] 3  | |         id -> Int4,
[INFO] [stdout] 4  | |         state_type -> Text,
[INFO] [stdout] ...  |
[INFO] [stdout] 9  | |     }
[INFO] [stdout] 10 | | }
[INFO] [stdout]    | |_^
[INFO] [stdout]    |
[INFO] [stdout]    = help: move this `impl` block outside the of the current constant `_IMPL_QUERY_ID_FOR_TABLE`
[INFO] [stdout]    = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block
[INFO] [stdout]    = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue <https://github.com/rust-lang/rust/issues/120363>
[INFO] [stdout]    = note: requested on the command line with `-D non-local-definitions`
[INFO] [stdout]    = note: this error 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] error: non-local `impl` definition, they should be avoided as they go against expectation
[INFO] [stdout]   --> src/schema.rs:1:1
[INFO] [stdout]    |
[INFO] [stdout] 1  | / table! {
[INFO] [stdout] 2  | |     lives (id) {
[INFO] [stdout] 3  | |         id -> Int4,
[INFO] [stdout] 4  | |         state_type -> Text,
[INFO] [stdout] ...  |
[INFO] [stdout] 9  | |     }
[INFO] [stdout] 10 | | }
[INFO] [stdout]    | |_^
[INFO] [stdout]    |
[INFO] [stdout]    = help: move this `impl` block outside the of the current constant `_IMPL_QUERY_ID_FOR_ID`
[INFO] [stdout]    = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block
[INFO] [stdout]    = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue <https://github.com/rust-lang/rust/issues/120363>
[INFO] [stdout]    = note: this error 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] error: non-local `impl` definition, they should be avoided as they go against expectation
[INFO] [stdout]   --> src/schema.rs:1:1
[INFO] [stdout]    |
[INFO] [stdout] 1  | / table! {
[INFO] [stdout] 2  | |     lives (id) {
[INFO] [stdout] 3  | |         id -> Int4,
[INFO] [stdout] 4  | |         state_type -> Text,
[INFO] [stdout] ...  |
[INFO] [stdout] 9  | |     }
[INFO] [stdout] 10 | | }
[INFO] [stdout]    | |_^
[INFO] [stdout]    |
[INFO] [stdout]    = help: move this `impl` block outside the of the current constant `_IMPL_QUERY_ID_FOR_STATE_TYPE`
[INFO] [stdout]    = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block
[INFO] [stdout]    = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue <https://github.com/rust-lang/rust/issues/120363>
[INFO] [stdout]    = note: this error 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] error: non-local `impl` definition, they should be avoided as they go against expectation
[INFO] [stdout]   --> src/schema.rs:1:1
[INFO] [stdout]    |
[INFO] [stdout] 1  | / table! {
[INFO] [stdout] 2  | |     lives (id) {
[INFO] [stdout] 3  | |         id -> Int4,
[INFO] [stdout] 4  | |         state_type -> Text,
[INFO] [stdout] ...  |
[INFO] [stdout] 9  | |     }
[INFO] [stdout] 10 | | }
[INFO] [stdout]    | |_^
[INFO] [stdout]    |
[INFO] [stdout]    = help: move this `impl` block outside the of the current constant `_IMPL_QUERY_ID_FOR_CREATED_AT`
[INFO] [stdout]    = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block
[INFO] [stdout]    = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue <https://github.com/rust-lang/rust/issues/120363>
[INFO] [stdout]    = note: this error 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] error: non-local `impl` definition, they should be avoided as they go against expectation
[INFO] [stdout]   --> src/schema.rs:1:1
[INFO] [stdout]    |
[INFO] [stdout] 1  | / table! {
[INFO] [stdout] 2  | |     lives (id) {
[INFO] [stdout] 3  | |         id -> Int4,
[INFO] [stdout] 4  | |         state_type -> Text,
[INFO] [stdout] ...  |
[INFO] [stdout] 9  | |     }
[INFO] [stdout] 10 | | }
[INFO] [stdout]    | |_^
[INFO] [stdout]    |
[INFO] [stdout]    = help: move this `impl` block outside the of the current constant `_IMPL_QUERY_ID_FOR_UPDATED_AT`
[INFO] [stdout]    = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block
[INFO] [stdout]    = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue <https://github.com/rust-lang/rust/issues/120363>
[INFO] [stdout]    = note: this error 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] error: non-local `impl` definition, they should be avoided as they go against expectation
[INFO] [stdout]   --> src/schema.rs:1:1
[INFO] [stdout]    |
[INFO] [stdout] 1  | / table! {
[INFO] [stdout] 2  | |     lives (id) {
[INFO] [stdout] 3  | |         id -> Int4,
[INFO] [stdout] 4  | |         state_type -> Text,
[INFO] [stdout] ...  |
[INFO] [stdout] 9  | |     }
[INFO] [stdout] 10 | | }
[INFO] [stdout]    | |_^
[INFO] [stdout]    |
[INFO] [stdout]    = help: move this `impl` block outside the of the current constant `_IMPL_QUERY_ID_FOR_BORN_AT`
[INFO] [stdout]    = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block
[INFO] [stdout]    = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue <https://github.com/rust-lang/rust/issues/120363>
[INFO] [stdout]    = note: this error 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] error: non-local `impl` definition, they should be avoided as they go against expectation
[INFO] [stdout]   --> src/schema.rs:1:1
[INFO] [stdout]    |
[INFO] [stdout] 1  | / table! {
[INFO] [stdout] 2  | |     lives (id) {
[INFO] [stdout] 3  | |         id -> Int4,
[INFO] [stdout] 4  | |         state_type -> Text,
[INFO] [stdout] ...  |
[INFO] [stdout] 9  | |     }
[INFO] [stdout] 10 | | }
[INFO] [stdout]    | |_^
[INFO] [stdout]    |
[INFO] [stdout]    = help: move this `impl` block outside the of the current constant `_IMPL_QUERY_ID_FOR_DIED_AT`
[INFO] [stdout]    = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block
[INFO] [stdout]    = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue <https://github.com/rust-lang/rust/issues/120363>
[INFO] [stdout]    = note: this error 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] error: non-local `impl` definition, they should be avoided as they go against expectation
[INFO] [stdout]   --> src/models.rs:23:10
[INFO] [stdout]    |
[INFO] [stdout] 23 | #[derive(Queryable, AsChangeset, Debug, Clone)]
[INFO] [stdout]    |          ^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = help: move this `impl` block outside the of the current constant `_IMPL_QUERYABLE_FOR_LIFE`
[INFO] [stdout]    = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block
[INFO] [stdout]    = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue <https://github.com/rust-lang/rust/issues/120363>
[INFO] [stdout]    = note: this error originates in the derive macro `Queryable` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused return value of `std::mem::replace` that must be used
[INFO] [stdout]   --> src/models.rs:75:9
[INFO] [stdout]    |
[INFO] [stdout] 75 |         mem::replace(self, new_self);
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: if you don't need the old value, you can just assign the new value directly
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]    |
[INFO] [stdout] 75 |         let _ = mem::replace(self, new_self);
[INFO] [stdout]    |         +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 8 previous errors; 17 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `persistent-state-machine` (bin "persistent-state-machine" test) due to 9 previous errors; 17 warnings emitted
[INFO] running `Command { std: "docker" "inspect" "a0df865a7f2b33f641af97c115b19cd183e2c50709250f936ffb60cbd997299c", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "a0df865a7f2b33f641af97c115b19cd183e2c50709250f936ffb60cbd997299c", kill_on_drop: false }`
[INFO] [stdout] a0df865a7f2b33f641af97c115b19cd183e2c50709250f936ffb60cbd997299c
