[INFO] fetching crate c3p0_diesel 0.5.1... [INFO] checking c3p0_diesel-0.5.1 against master#350d0ef0ec0493e6d21cfb265cb8211a0e74d766 for pr-145342-1 [INFO] extracting crate c3p0_diesel 0.5.1 into /workspace/builds/worker-0-tc1/source [INFO] started tweaking crates.io crate c3p0_diesel 0.5.1 [INFO] finished tweaking crates.io crate c3p0_diesel 0.5.1 [INFO] tweaked toml for crates.io crate c3p0_diesel 0.5.1 written to /workspace/builds/worker-0-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate c3p0_diesel 0.5.1 on toolchain 350d0ef0ec0493e6d21cfb265cb8211a0e74d766 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 66 packages to latest compatible versions [INFO] [stderr] Adding diesel v1.4.8 (available: v2.2.12) [INFO] [stderr] Adding diesel_migrations v1.4.0 (available: v2.2.0) [INFO] [stderr] Adding testcontainers v0.6.0 (available: v0.25.0) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded debug_stub_derive v0.3.0 [INFO] [stderr] Downloaded testcontainers v0.6.0 [INFO] [stderr] Downloaded tc_redis v0.2.1 [INFO] [stderr] Downloaded tc_postgres v0.2.0 [INFO] [stderr] Downloaded c3p0_diesel_macro v0.5.1 [INFO] [stderr] Downloaded tc_cli_client v0.2.1 [INFO] [stderr] Downloaded tc_trufflesuite_ganachecli v0.4.1 [INFO] [stderr] Downloaded tc_coblox_bitcoincore v0.5.1 [INFO] [stderr] Downloaded tc_parity_parity v0.4.0 [INFO] [stderr] Downloaded tc_core v0.3.1 [INFO] [stderr] Downloaded tc_elasticmq v0.2.1 [INFO] [stderr] Downloaded tc_generic v0.2.1 [INFO] [stderr] Downloaded tc_dynamodb_local v0.2.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 713b48f509369f64017ca91c41c2354b886cc47e28e761d246045fbe9a69f18b [INFO] running `Command { std: "docker" "start" "-a" "713b48f509369f64017ca91c41c2354b886cc47e28e761d246045fbe9a69f18b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "713b48f509369f64017ca91c41c2354b886cc47e28e761d246045fbe9a69f18b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "713b48f509369f64017ca91c41c2354b886cc47e28e761d246045fbe9a69f18b", kill_on_drop: false }` [INFO] [stdout] 713b48f509369f64017ca91c41c2354b886cc47e28e761d246045fbe9a69f18b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 67b64a0b7d8465f1f89f7815489a8f313bf4a4dc541f66dcc4f003599c99725f [INFO] running `Command { std: "docker" "start" "-a" "67b64a0b7d8465f1f89f7815489a8f313bf4a4dc541f66dcc4f003599c99725f", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.101 [INFO] [stderr] Compiling unicode-ident v1.0.18 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling unicode-xid v0.0.4 [INFO] [stderr] Compiling quote v0.3.15 [INFO] [stderr] Compiling serde_json v1.0.143 [INFO] [stderr] Checking log v0.4.27 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling pq-sys v0.4.8 [INFO] [stderr] Compiling typenum v1.18.0 [INFO] [stderr] Compiling libc v0.2.175 [INFO] [stderr] Checking byteorder v1.5.0 [INFO] [stderr] Compiling itoa v1.0.15 [INFO] [stderr] Compiling memchr v2.7.5 [INFO] [stderr] Compiling ryu v1.0.20 [INFO] [stderr] Compiling synom v0.11.3 [INFO] [stderr] Compiling zerocopy v0.8.26 [INFO] [stderr] Compiling getrandom v0.1.16 [INFO] [stderr] Compiling syn v0.11.11 [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Checking cfg-if v1.0.3 [INFO] [stderr] Compiling proc-macro2 v0.4.30 [INFO] [stderr] Compiling unicode-xid v0.1.0 [INFO] [stderr] Checking byte-tools v0.3.1 [INFO] [stderr] Checking block-padding v0.1.5 [INFO] [stderr] Checking subtle v1.0.0 [INFO] [stderr] Checking opaque-debug v0.2.3 [INFO] [stderr] Checking fake-simd v0.1.2 [INFO] [stderr] Checking hex v0.3.2 [INFO] [stderr] Checking generic-array v0.12.4 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Checking digest v0.8.1 [INFO] [stderr] Checking crypto-mac v0.7.0 [INFO] [stderr] Checking block-buffer v0.7.3 [INFO] [stderr] Checking hmac v0.7.1 [INFO] [stderr] Checking sha2 v0.8.2 [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stderr] Compiling debug_stub_derive v0.3.0 [INFO] [stderr] Compiling quote v0.6.13 [INFO] [stderr] Compiling syn v0.14.9 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Checking tc_core v0.3.1 [INFO] [stderr] Checking tc_redis v0.2.1 [INFO] [stderr] Checking tc_generic v0.2.1 [INFO] [stderr] Checking tc_parity_parity v0.4.0 [INFO] [stderr] Checking tc_elasticmq v0.2.1 [INFO] [stderr] Checking tc_dynamodb_local v0.2.1 [INFO] [stderr] Checking tc_trufflesuite_ganachecli v0.4.1 [INFO] [stderr] Checking tc_postgres v0.2.0 [INFO] [stderr] Checking ppv-lite86 v0.2.21 [INFO] [stderr] Checking rand_chacha v0.2.2 [INFO] [stderr] Checking rand v0.7.3 [INFO] [stderr] Checking tc_coblox_bitcoincore v0.5.1 [INFO] [stderr] Compiling diesel_derives v1.4.1 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling diesel v1.4.8 [INFO] [stderr] Checking tc_cli_client v0.2.1 [INFO] [stderr] Checking testcontainers v0.6.0 [INFO] [stderr] Checking migrations_internals v1.4.1 [INFO] [stderr] Compiling c3p0_diesel_macro v0.5.1 [INFO] [stderr] Compiling migrations_macros v1.4.2 [INFO] [stderr] Checking c3p0_diesel v0.5.1 (/opt/rustwide/workdir) [INFO] [stderr] Checking diesel_migrations v1.4.0 [INFO] [stdout] warning: use of deprecated struct `testcontainers::clients::Cli`: Testcontainers is no longer using microcrates, please upgrade to testcontainers version 0.8 [INFO] [stdout] --> tests/diesel_c3p0_test.rs:18:27 [INFO] [stdout] | [INFO] [stdout] 18 | let docker = clients::Cli::default(); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `testcontainers::clients::Cli`: Testcontainers is no longer using microcrates, please upgrade to testcontainers version 0.8 [INFO] [stdout] --> tests/diesel_c3p0_test.rs:94:23 [INFO] [stdout] | [INFO] [stdout] 94 | docker: &clients::Cli, [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `testcontainers::Container`: Testcontainers is no longer using microcrates, please upgrade to testcontainers version 0.8 [INFO] [stdout] --> tests/diesel_c3p0_test.rs:95:21 [INFO] [stdout] | [INFO] [stdout] 95 | ) -> (PgConnection, Container) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `testcontainers::clients::Cli`: Testcontainers is no longer using microcrates, please upgrade to testcontainers version 0.8 [INFO] [stdout] --> tests/diesel_c3p0_test.rs:95:40 [INFO] [stdout] | [INFO] [stdout] 95 | ) -> (PgConnection, Container) { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `testcontainers::Docker::run`: Testcontainers is no longer using microcrates, please upgrade to testcontainers version 0.8 [INFO] [stdout] --> tests/diesel_c3p0_test.rs:96:23 [INFO] [stdout] | [INFO] [stdout] 96 | let node = docker.run(images::postgres::Postgres::default()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `testcontainers::Container::<'d, D, I>::get_host_port`: Testcontainers is no longer using microcrates, please upgrade to testcontainers version 0.8 [INFO] [stdout] --> tests/diesel_c3p0_test.rs:100:14 [INFO] [stdout] | [INFO] [stdout] 100 | node.get_host_port(5432).unwrap() [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> tests/diesel_c3p0_test.rs:94:13 [INFO] [stdout] | [INFO] [stdout] 94 | docker: &clients::Cli, [INFO] [stdout] | ^^^^^^^^^^^^^ the lifetime is elided here [INFO] [stdout] 95 | ) -> (PgConnection, Container) { [INFO] [stdout] | --------------------------------- the same lifetime is hidden 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] 95 | ) -> (PgConnection, Container<'_, clients::Cli, Postgres>) { [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] --> tests/diesel_c3p0_test.rs:68:5 [INFO] [stdout] | [INFO] [stdout] 68 | / table! { [INFO] [stdout] 69 | | test_table (id) { [INFO] [stdout] 70 | | id -> Int8, [INFO] [stdout] 71 | | version -> Int4, [INFO] [stdout] ... | [INFO] [stdout] 74 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | | `table` is not local [INFO] [stdout] | |_____`QueryId` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_query_id_for_table` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives` [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: `#[warn(non_local_definitions)]` on by default [INFO] [stdout] = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> tests/diesel_c3p0_test.rs:68:5 [INFO] [stdout] | [INFO] [stdout] 68 | / table! { [INFO] [stdout] 69 | | test_table (id) { [INFO] [stdout] 70 | | id -> Int8, [INFO] [stdout] | | -- `id` is not local [INFO] [stdout] 71 | | version -> Int4, [INFO] [stdout] ... | [INFO] [stdout] 74 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_____`QueryId` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_query_id_for_id` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives` [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: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> tests/diesel_c3p0_test.rs:68:5 [INFO] [stdout] | [INFO] [stdout] 68 | / table! { [INFO] [stdout] 69 | | test_table (id) { [INFO] [stdout] 70 | | id -> Int8, [INFO] [stdout] 71 | | version -> Int4, [INFO] [stdout] | | ------- `version` is not local [INFO] [stdout] ... | [INFO] [stdout] 74 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_____`QueryId` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_query_id_for_version` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives` [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: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> tests/diesel_c3p0_test.rs:68:5 [INFO] [stdout] | [INFO] [stdout] 68 | / table! { [INFO] [stdout] 69 | | test_table (id) { [INFO] [stdout] 70 | | id -> Int8, [INFO] [stdout] 71 | | version -> Int4, [INFO] [stdout] 72 | | data -> Jsonb, [INFO] [stdout] | | ---- `data` is not local [INFO] [stdout] 73 | | } [INFO] [stdout] 74 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_____`QueryId` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_query_id_for_data` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives` [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: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> tests/diesel_c3p0_test.rs:84:45 [INFO] [stdout] | [INFO] [stdout] 84 | #[derive(Serialize, Deserialize, Debug, C3p0Model)] [INFO] [stdout] | ^-------- [INFO] [stdout] | | [INFO] [stdout] | `FromSqlRow` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_from_sql_row_for_customvaluedieseljsonproxyasexpression` [INFO] [stdout] 85 | #[table_name = "test_table"] [INFO] [stdout] 86 | pub struct CustomValue { [INFO] [stdout] | ----------- `CustomValue` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `FromSqlRow` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `FromSqlRow` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives` [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: this warning originates in the derive macro `FromSqlRow` which comes from the expansion of the derive macro `C3p0Model` (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] --> tests/diesel_c3p0_test.rs:84:45 [INFO] [stdout] | [INFO] [stdout] 84 | #[derive(Serialize, Deserialize, Debug, C3p0Model)] [INFO] [stdout] | ^-------- [INFO] [stdout] | | [INFO] [stdout] | `Queryable` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_from_sql_row_for_customvaluedieseljsonproxyasexpression` [INFO] [stdout] 85 | #[table_name = "test_table"] [INFO] [stdout] 86 | pub struct CustomValue { [INFO] [stdout] | ----------- `CustomValue` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `FromSqlRow` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `FromSqlRow` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives` [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: this warning originates in the derive macro `FromSqlRow` which comes from the expansion of the derive macro `C3p0Model` (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] --> tests/diesel_c3p0_test.rs:84:45 [INFO] [stdout] | [INFO] [stdout] 84 | #[derive(Serialize, Deserialize, Debug, C3p0Model)] [INFO] [stdout] | -^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `AsExpression` is not local [INFO] [stdout] | `Json` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_as_expression_for_customvaluedieseljsonproxyasexpression` [INFO] [stdout] 85 | #[table_name = "test_table"] [INFO] [stdout] 86 | pub struct CustomValue { [INFO] [stdout] | ----------- `CustomValue` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `AsExpression` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `AsExpression` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives` [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: this warning originates in the derive macro `AsExpression` (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] --> tests/diesel_c3p0_test.rs:84:45 [INFO] [stdout] | [INFO] [stdout] 84 | #[derive(Serialize, Deserialize, Debug, C3p0Model)] [INFO] [stdout] | -^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `AsExpression` is not local [INFO] [stdout] | `Nullable` is not local [INFO] [stdout] | `Json` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_as_expression_for_customvaluedieseljsonproxyasexpression` [INFO] [stdout] 85 | #[table_name = "test_table"] [INFO] [stdout] 86 | pub struct CustomValue { [INFO] [stdout] | ----------- `CustomValue` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `AsExpression` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `AsExpression` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives` [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: this warning originates in the derive macro `AsExpression` (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] --> tests/diesel_c3p0_test.rs:84:45 [INFO] [stdout] | [INFO] [stdout] 84 | #[derive(Serialize, Deserialize, Debug, C3p0Model)] [INFO] [stdout] | ^-------- [INFO] [stdout] | | [INFO] [stdout] | `ToSql` is not local [INFO] [stdout] | `Nullable` is not local [INFO] [stdout] | `Json` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_as_expression_for_customvaluedieseljsonproxyasexpression` [INFO] [stdout] 85 | #[table_name = "test_table"] [INFO] [stdout] 86 | pub struct CustomValue { [INFO] [stdout] | ----------- `CustomValue` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `AsExpression` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `AsExpression` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives` [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: this warning originates in the derive macro `AsExpression` which comes from the expansion of the derive macro `C3p0Model` (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] --> tests/diesel_c3p0_test.rs:84:45 [INFO] [stdout] | [INFO] [stdout] 84 | #[derive(Serialize, Deserialize, Debug, C3p0Model)] [INFO] [stdout] | ^-------- [INFO] [stdout] | | [INFO] [stdout] | `AsExpression` is not local [INFO] [stdout] | `Json` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_as_expression_for_customvaluedieseljsonproxyasexpression` [INFO] [stdout] 85 | #[table_name = "test_table"] [INFO] [stdout] 86 | pub struct CustomValue { [INFO] [stdout] | ----------- `CustomValue` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `AsExpression` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `AsExpression` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives` [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: this warning originates in the derive macro `AsExpression` which comes from the expansion of the derive macro `C3p0Model` (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] --> tests/diesel_c3p0_test.rs:84:45 [INFO] [stdout] | [INFO] [stdout] 84 | #[derive(Serialize, Deserialize, Debug, C3p0Model)] [INFO] [stdout] | ^-------- [INFO] [stdout] | | [INFO] [stdout] | `AsExpression` is not local [INFO] [stdout] | `Nullable` is not local [INFO] [stdout] | `Json` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_as_expression_for_customvaluedieseljsonproxyasexpression` [INFO] [stdout] 85 | #[table_name = "test_table"] [INFO] [stdout] 86 | pub struct CustomValue { [INFO] [stdout] | ----------- `CustomValue` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `AsExpression` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `AsExpression` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives` [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: this warning originates in the derive macro `AsExpression` which comes from the expansion of the derive macro `C3p0Model` (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] --> tests/diesel_c3p0_test.rs:84:45 [INFO] [stdout] | [INFO] [stdout] 84 | #[derive(Serialize, Deserialize, Debug, C3p0Model)] [INFO] [stdout] | -^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `AsExpression` is not local [INFO] [stdout] | `Jsonb` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_as_expression_for_customvaluedieseljsonproxyasexpression` [INFO] [stdout] 85 | #[table_name = "test_table"] [INFO] [stdout] 86 | pub struct CustomValue { [INFO] [stdout] | ----------- `CustomValue` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `AsExpression` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `AsExpression` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives` [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: this warning originates in the derive macro `AsExpression` (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] --> tests/diesel_c3p0_test.rs:84:45 [INFO] [stdout] | [INFO] [stdout] 84 | #[derive(Serialize, Deserialize, Debug, C3p0Model)] [INFO] [stdout] | -^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `AsExpression` is not local [INFO] [stdout] | `Nullable` is not local [INFO] [stdout] | `Jsonb` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_as_expression_for_customvaluedieseljsonproxyasexpression` [INFO] [stdout] 85 | #[table_name = "test_table"] [INFO] [stdout] 86 | pub struct CustomValue { [INFO] [stdout] | ----------- `CustomValue` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `AsExpression` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `AsExpression` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives` [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: this warning originates in the derive macro `AsExpression` (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] --> tests/diesel_c3p0_test.rs:84:45 [INFO] [stdout] | [INFO] [stdout] 84 | #[derive(Serialize, Deserialize, Debug, C3p0Model)] [INFO] [stdout] | ^-------- [INFO] [stdout] | | [INFO] [stdout] | `ToSql` is not local [INFO] [stdout] | `Nullable` is not local [INFO] [stdout] | `Jsonb` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_as_expression_for_customvaluedieseljsonproxyasexpression` [INFO] [stdout] 85 | #[table_name = "test_table"] [INFO] [stdout] 86 | pub struct CustomValue { [INFO] [stdout] | ----------- `CustomValue` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `AsExpression` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `AsExpression` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives` [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: this warning originates in the derive macro `AsExpression` which comes from the expansion of the derive macro `C3p0Model` (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] --> tests/diesel_c3p0_test.rs:84:45 [INFO] [stdout] | [INFO] [stdout] 84 | #[derive(Serialize, Deserialize, Debug, C3p0Model)] [INFO] [stdout] | ^-------- [INFO] [stdout] | | [INFO] [stdout] | `AsExpression` is not local [INFO] [stdout] | `Jsonb` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_as_expression_for_customvaluedieseljsonproxyasexpression` [INFO] [stdout] 85 | #[table_name = "test_table"] [INFO] [stdout] 86 | pub struct CustomValue { [INFO] [stdout] | ----------- `CustomValue` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `AsExpression` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `AsExpression` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives` [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: this warning originates in the derive macro `AsExpression` which comes from the expansion of the derive macro `C3p0Model` (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] --> tests/diesel_c3p0_test.rs:84:45 [INFO] [stdout] | [INFO] [stdout] 84 | #[derive(Serialize, Deserialize, Debug, C3p0Model)] [INFO] [stdout] | ^-------- [INFO] [stdout] | | [INFO] [stdout] | `AsExpression` is not local [INFO] [stdout] | `Nullable` is not local [INFO] [stdout] | `Jsonb` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_as_expression_for_customvaluedieseljsonproxyasexpression` [INFO] [stdout] 85 | #[table_name = "test_table"] [INFO] [stdout] 86 | pub struct CustomValue { [INFO] [stdout] | ----------- `CustomValue` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `AsExpression` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `AsExpression` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives` [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: this warning originates in the derive macro `AsExpression` which comes from the expansion of the derive macro `C3p0Model` (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] --> tests/diesel_c3p0_test.rs:84:45 [INFO] [stdout] | [INFO] [stdout] 84 | #[derive(Serialize, Deserialize, Debug, C3p0Model)] [INFO] [stdout] | ^-------- [INFO] [stdout] | | [INFO] [stdout] | `Insertable` is not local [INFO] [stdout] | `table` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_insertable_for_newcustomvaluemodel` [INFO] [stdout] 85 | #[table_name = "test_table"] [INFO] [stdout] 86 | pub struct CustomValue { [INFO] [stdout] | ----------- `NewCustomValueModel` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Insertable` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Insertable` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives` [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: this warning originates in the derive macro `Insertable` which comes from the expansion of the derive macro `C3p0Model` (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] --> tests/diesel_c3p0_test.rs:84:45 [INFO] [stdout] | [INFO] [stdout] 84 | #[derive(Serialize, Deserialize, Debug, C3p0Model)] [INFO] [stdout] | -^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `Insertable` is not local [INFO] [stdout] | `table` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_insertable_for_newcustomvaluemodel` [INFO] [stdout] 85 | #[table_name = "test_table"] [INFO] [stdout] 86 | pub struct CustomValue { [INFO] [stdout] | ----------- `NewCustomValueModel` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Insertable` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Insertable` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives` [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: this warning originates in the derive macro `Insertable` (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] --> tests/diesel_c3p0_test.rs:84:45 [INFO] [stdout] | [INFO] [stdout] 84 | #[derive(Serialize, Deserialize, Debug, C3p0Model)] [INFO] [stdout] | ^-------- [INFO] [stdout] | | [INFO] [stdout] | `UndecoratedInsertRecord` is not local [INFO] [stdout] | `table` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_insertable_for_newcustomvaluemodel` [INFO] [stdout] 85 | #[table_name = "test_table"] [INFO] [stdout] 86 | pub struct CustomValue { [INFO] [stdout] | ----------- `NewCustomValueModel` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Insertable` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Insertable` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives` [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: this warning originates in the derive macro `Insertable` which comes from the expansion of the derive macro `C3p0Model` (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] --> tests/diesel_c3p0_test.rs:84:45 [INFO] [stdout] | [INFO] [stdout] 84 | #[derive(Serialize, Deserialize, Debug, C3p0Model)] [INFO] [stdout] | ^-------- [INFO] [stdout] | | [INFO] [stdout] | `Queryable` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_queryable_for_customvaluemodel` [INFO] [stdout] 85 | #[table_name = "test_table"] [INFO] [stdout] 86 | pub struct CustomValue { [INFO] [stdout] | ----------- `CustomValueModel` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Queryable` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Queryable` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives` [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: this warning originates in the derive macro `Queryable` which comes from the expansion of the derive macro `C3p0Model` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 32.13s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: syn v0.14.9 [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" "67b64a0b7d8465f1f89f7815489a8f313bf4a4dc541f66dcc4f003599c99725f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "67b64a0b7d8465f1f89f7815489a8f313bf4a4dc541f66dcc4f003599c99725f", kill_on_drop: false }` [INFO] [stdout] 67b64a0b7d8465f1f89f7815489a8f313bf4a4dc541f66dcc4f003599c99725f