[INFO] fetching crate c3p0_diesel 0.5.1... [INFO] testing c3p0_diesel-0.5.1 against master#cdb45c87e2cd43495379f7e867e3cc15dcee9f93 for pr-145838-1 [INFO] extracting crate c3p0_diesel 0.5.1 into /workspace/builds/worker-7-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-7-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate c3p0_diesel 0.5.1 on toolchain cdb45c87e2cd43495379f7e867e3cc15dcee9f93 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "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" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "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" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded tc_parity_parity v0.4.0 [INFO] [stderr] Downloaded tc_elasticmq v0.2.1 [INFO] [stderr] Downloaded tc_core v0.3.1 [INFO] [stderr] Downloaded tc_trufflesuite_ganachecli v0.4.1 [INFO] [stderr] Downloaded debug_stub_derive v0.3.0 [INFO] [stderr] Downloaded tc_generic v0.2.1 [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_coblox_bitcoincore v0.5.1 [INFO] [stderr] Downloaded tc_dynamodb_local v0.2.1 [INFO] [stderr] Downloaded testcontainers v0.6.0 [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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] e7f8fa68e4e92ae56d3f2d64a48948792d8769e48caea373f38057a5b17cffb8 [INFO] running `Command { std: "docker" "start" "-a" "e7f8fa68e4e92ae56d3f2d64a48948792d8769e48caea373f38057a5b17cffb8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e7f8fa68e4e92ae56d3f2d64a48948792d8769e48caea373f38057a5b17cffb8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e7f8fa68e4e92ae56d3f2d64a48948792d8769e48caea373f38057a5b17cffb8", kill_on_drop: false }` [INFO] [stdout] e7f8fa68e4e92ae56d3f2d64a48948792d8769e48caea373f38057a5b17cffb8 [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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] eb7b839c2ce4919ddd3cd722b5e081ff52e5d0d3ef8e54c13101d0a8596be27c [INFO] running `Command { std: "docker" "start" "-a" "eb7b839c2ce4919ddd3cd722b5e081ff52e5d0d3ef8e54c13101d0a8596be27c", kill_on_drop: false }` [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling proc-macro2 v0.4.30 [INFO] [stderr] Compiling pq-sys v0.4.8 [INFO] [stderr] Compiling unicode-xid v0.1.0 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling quote v0.6.13 [INFO] [stderr] Compiling syn v0.14.9 [INFO] [stderr] Compiling diesel_derives v1.4.1 [INFO] [stderr] Compiling diesel v1.4.8 [INFO] [stderr] Compiling c3p0_diesel_macro v0.5.1 [INFO] [stderr] Compiling c3p0_diesel v0.5.1 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 23.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 2` [INFO] running `Command { std: "docker" "inspect" "eb7b839c2ce4919ddd3cd722b5e081ff52e5d0d3ef8e54c13101d0a8596be27c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "eb7b839c2ce4919ddd3cd722b5e081ff52e5d0d3ef8e54c13101d0a8596be27c", kill_on_drop: false }` [INFO] [stdout] eb7b839c2ce4919ddd3cd722b5e081ff52e5d0d3ef8e54c13101d0a8596be27c [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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 877f3473000f0fcfe5d2b3e95696bc0da1ef5b79c16a856f3fb52fed3b33ac05 [INFO] running `Command { std: "docker" "start" "-a" "877f3473000f0fcfe5d2b3e95696bc0da1ef5b79c16a856f3fb52fed3b33ac05", kill_on_drop: false }` [INFO] [stderr] Compiling unicode-xid v0.0.4 [INFO] [stderr] Compiling quote v0.3.15 [INFO] [stderr] Compiling byte-tools v0.3.1 [INFO] [stderr] Compiling subtle v1.0.0 [INFO] [stderr] Compiling opaque-debug v0.2.3 [INFO] [stderr] Compiling fake-simd v0.1.2 [INFO] [stderr] Compiling hex v0.3.2 [INFO] [stderr] Compiling generic-array v0.12.4 [INFO] [stderr] Compiling getrandom v0.1.16 [INFO] [stderr] Compiling migrations_internals v1.4.1 [INFO] [stderr] Compiling synom v0.11.3 [INFO] [stderr] Compiling block-padding v0.1.5 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling syn v0.11.11 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling digest v0.8.1 [INFO] [stderr] Compiling crypto-mac v0.7.0 [INFO] [stderr] Compiling block-buffer v0.7.3 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling hmac v0.7.1 [INFO] [stderr] Compiling sha2 v0.8.2 [INFO] [stderr] Compiling migrations_macros v1.4.2 [INFO] [stderr] Compiling diesel_migrations v1.4.0 [INFO] [stderr] Compiling debug_stub_derive v0.3.0 [INFO] [stderr] Compiling tc_core v0.3.1 [INFO] [stderr] Compiling tc_postgres v0.2.0 [INFO] [stderr] Compiling tc_trufflesuite_ganachecli v0.4.1 [INFO] [stderr] Compiling tc_parity_parity v0.4.0 [INFO] [stderr] Compiling tc_generic v0.2.1 [INFO] [stderr] Compiling tc_dynamodb_local v0.2.1 [INFO] [stderr] Compiling tc_elasticmq v0.2.1 [INFO] [stderr] Compiling tc_cli_client v0.2.1 [INFO] [stderr] Compiling tc_coblox_bitcoincore v0.5.1 [INFO] [stderr] Compiling tc_redis v0.2.1 [INFO] [stderr] Compiling testcontainers v0.6.0 [INFO] [stderr] Compiling c3p0_diesel v0.5.1 (/opt/rustwide/workdir) [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 `test` profile [unoptimized + debuginfo] target(s) in 6.85s [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 2` [INFO] running `Command { std: "docker" "inspect" "877f3473000f0fcfe5d2b3e95696bc0da1ef5b79c16a856f3fb52fed3b33ac05", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "877f3473000f0fcfe5d2b3e95696bc0da1ef5b79c16a856f3fb52fed3b33ac05", kill_on_drop: false }` [INFO] [stdout] 877f3473000f0fcfe5d2b3e95696bc0da1ef5b79c16a856f3fb52fed3b33ac05 [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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 891d51c1d3d64f4b99add760dba83b3355b5edf56bd6e9f03977cb4b7969bac1 [INFO] running `Command { std: "docker" "start" "-a" "891d51c1d3d64f4b99add760dba83b3355b5edf56bd6e9f03977cb4b7969bac1", kill_on_drop: false }` [INFO] [stderr] warning: use of deprecated struct `testcontainers::clients::Cli`: Testcontainers is no longer using microcrates, please upgrade to testcontainers version 0.8 [INFO] [stderr] --> tests/diesel_c3p0_test.rs:18:27 [INFO] [stderr] | [INFO] [stderr] 18 | let docker = clients::Cli::default(); [INFO] [stderr] | ^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(deprecated)]` on by default [INFO] [stderr] [INFO] [stderr] warning: use of deprecated struct `testcontainers::clients::Cli`: Testcontainers is no longer using microcrates, please upgrade to testcontainers version 0.8 [INFO] [stderr] --> tests/diesel_c3p0_test.rs:94:23 [INFO] [stderr] | [INFO] [stderr] 94 | docker: &clients::Cli, [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated struct `testcontainers::Container`: Testcontainers is no longer using microcrates, please upgrade to testcontainers version 0.8 [INFO] [stderr] --> tests/diesel_c3p0_test.rs:95:21 [INFO] [stderr] | [INFO] [stderr] 95 | ) -> (PgConnection, Container) { [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated struct `testcontainers::clients::Cli`: Testcontainers is no longer using microcrates, please upgrade to testcontainers version 0.8 [INFO] [stderr] --> tests/diesel_c3p0_test.rs:95:40 [INFO] [stderr] | [INFO] [stderr] 95 | ) -> (PgConnection, Container) { [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated method `testcontainers::Docker::run`: Testcontainers is no longer using microcrates, please upgrade to testcontainers version 0.8 [INFO] [stderr] --> tests/diesel_c3p0_test.rs:96:23 [INFO] [stderr] | [INFO] [stderr] 96 | let node = docker.run(images::postgres::Postgres::default()); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] 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] [stderr] --> tests/diesel_c3p0_test.rs:100:14 [INFO] [stderr] | [INFO] [stderr] 100 | node.get_host_port(5432).unwrap() [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> tests/diesel_c3p0_test.rs:94:13 [INFO] [stderr] | [INFO] [stderr] 94 | docker: &clients::Cli, [INFO] [stderr] | ^^^^^^^^^^^^^ the lifetime is elided here [INFO] [stderr] 95 | ) -> (PgConnection, Container) { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 95 | ) -> (PgConnection, Container<'_, clients::Cli, Postgres>) { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> tests/diesel_c3p0_test.rs:68:5 [INFO] [stderr] | [INFO] [stderr] 68 | / table! { [INFO] [stderr] 69 | | test_table (id) { [INFO] [stderr] 70 | | id -> Int8, [INFO] [stderr] 71 | | version -> Int4, [INFO] [stderr] ... | [INFO] [stderr] 74 | | } [INFO] [stderr] | | ^ [INFO] [stderr] | | | [INFO] [stderr] | | `table` is not local [INFO] [stderr] | |_____`QueryId` is not local [INFO] [stderr] | move the `impl` block outside of this function `_impl_query_id_for_table` [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = 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] [stderr] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stderr] = note: `#[warn(non_local_definitions)]` on by default [INFO] [stderr] = 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] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> tests/diesel_c3p0_test.rs:68:5 [INFO] [stderr] | [INFO] [stderr] 68 | / table! { [INFO] [stderr] 69 | | test_table (id) { [INFO] [stderr] 70 | | id -> Int8, [INFO] [stderr] | | -- `id` is not local [INFO] [stderr] 71 | | version -> Int4, [INFO] [stderr] ... | [INFO] [stderr] 74 | | } [INFO] [stderr] | | ^ [INFO] [stderr] | | | [INFO] [stderr] | |_____`QueryId` is not local [INFO] [stderr] | move the `impl` block outside of this function `_impl_query_id_for_id` [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = 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] [stderr] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stderr] = note: 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] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> tests/diesel_c3p0_test.rs:68:5 [INFO] [stderr] | [INFO] [stderr] 68 | / table! { [INFO] [stderr] 69 | | test_table (id) { [INFO] [stderr] 70 | | id -> Int8, [INFO] [stderr] 71 | | version -> Int4, [INFO] [stderr] | | ------- `version` is not local [INFO] [stderr] ... | [INFO] [stderr] 74 | | } [INFO] [stderr] | | ^ [INFO] [stderr] | | | [INFO] [stderr] | |_____`QueryId` is not local [INFO] [stderr] | move the `impl` block outside of this function `_impl_query_id_for_version` [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = 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] [stderr] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stderr] = note: 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] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> tests/diesel_c3p0_test.rs:68:5 [INFO] [stderr] | [INFO] [stderr] 68 | / table! { [INFO] [stderr] 69 | | test_table (id) { [INFO] [stderr] 70 | | id -> Int8, [INFO] [stderr] 71 | | version -> Int4, [INFO] [stderr] 72 | | data -> Jsonb, [INFO] [stderr] | | ---- `data` is not local [INFO] [stderr] 73 | | } [INFO] [stderr] 74 | | } [INFO] [stderr] | | ^ [INFO] [stderr] | | | [INFO] [stderr] | |_____`QueryId` is not local [INFO] [stderr] | move the `impl` block outside of this function `_impl_query_id_for_data` [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = 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] [stderr] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stderr] = note: 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] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> tests/diesel_c3p0_test.rs:84:45 [INFO] [stderr] | [INFO] [stderr] 84 | #[derive(Serialize, Deserialize, Debug, C3p0Model)] [INFO] [stderr] | ^-------- [INFO] [stderr] | | [INFO] [stderr] | `FromSqlRow` is not local [INFO] [stderr] | move the `impl` block outside of this function `_impl_from_sql_row_for_customvaluedieseljsonproxyasexpression` [INFO] [stderr] 85 | #[table_name = "test_table"] [INFO] [stderr] 86 | pub struct CustomValue { [INFO] [stderr] | ----------- `CustomValue` is not local [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `FromSqlRow` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = 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] [stderr] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stderr] = note: 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] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> tests/diesel_c3p0_test.rs:84:45 [INFO] [stderr] | [INFO] [stderr] 84 | #[derive(Serialize, Deserialize, Debug, C3p0Model)] [INFO] [stderr] | ^-------- [INFO] [stderr] | | [INFO] [stderr] | `Queryable` is not local [INFO] [stderr] | move the `impl` block outside of this function `_impl_from_sql_row_for_customvaluedieseljsonproxyasexpression` [INFO] [stderr] 85 | #[table_name = "test_table"] [INFO] [stderr] 86 | pub struct CustomValue { [INFO] [stderr] | ----------- `CustomValue` is not local [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `FromSqlRow` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = 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] [stderr] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stderr] = note: 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] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> tests/diesel_c3p0_test.rs:84:45 [INFO] [stderr] | [INFO] [stderr] 84 | #[derive(Serialize, Deserialize, Debug, C3p0Model)] [INFO] [stderr] | -^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | `AsExpression` is not local [INFO] [stderr] | `Json` is not local [INFO] [stderr] | move the `impl` block outside of this function `_impl_as_expression_for_customvaluedieseljsonproxyasexpression` [INFO] [stderr] 85 | #[table_name = "test_table"] [INFO] [stderr] 86 | pub struct CustomValue { [INFO] [stderr] | ----------- `CustomValue` is not local [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `AsExpression` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = 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] [stderr] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stderr] = note: this warning originates in the derive macro `AsExpression` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> tests/diesel_c3p0_test.rs:84:45 [INFO] [stderr] | [INFO] [stderr] 84 | #[derive(Serialize, Deserialize, Debug, C3p0Model)] [INFO] [stderr] | -^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | `AsExpression` is not local [INFO] [stderr] | `Nullable` is not local [INFO] [stderr] | `Json` is not local [INFO] [stderr] | move the `impl` block outside of this function `_impl_as_expression_for_customvaluedieseljsonproxyasexpression` [INFO] [stderr] 85 | #[table_name = "test_table"] [INFO] [stderr] 86 | pub struct CustomValue { [INFO] [stderr] | ----------- `CustomValue` is not local [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `AsExpression` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = 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] [stderr] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stderr] = note: this warning originates in the derive macro `AsExpression` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> tests/diesel_c3p0_test.rs:84:45 [INFO] [stderr] | [INFO] [stderr] 84 | #[derive(Serialize, Deserialize, Debug, C3p0Model)] [INFO] [stderr] | ^-------- [INFO] [stderr] | | [INFO] [stderr] | `ToSql` is not local [INFO] [stderr] | `Nullable` is not local [INFO] [stderr] | `Json` is not local [INFO] [stderr] | move the `impl` block outside of this function `_impl_as_expression_for_customvaluedieseljsonproxyasexpression` [INFO] [stderr] 85 | #[table_name = "test_table"] [INFO] [stderr] 86 | pub struct CustomValue { [INFO] [stderr] | ----------- `CustomValue` is not local [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `AsExpression` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = 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] [stderr] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stderr] = note: 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] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> tests/diesel_c3p0_test.rs:84:45 [INFO] [stderr] | [INFO] [stderr] 84 | #[derive(Serialize, Deserialize, Debug, C3p0Model)] [INFO] [stderr] | ^-------- [INFO] [stderr] | | [INFO] [stderr] | `AsExpression` is not local [INFO] [stderr] | `Json` is not local [INFO] [stderr] | move the `impl` block outside of this function `_impl_as_expression_for_customvaluedieseljsonproxyasexpression` [INFO] [stderr] 85 | #[table_name = "test_table"] [INFO] [stderr] 86 | pub struct CustomValue { [INFO] [stderr] | ----------- `CustomValue` is not local [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `AsExpression` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = 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] [stderr] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stderr] = note: 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] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> tests/diesel_c3p0_test.rs:84:45 [INFO] [stderr] | [INFO] [stderr] 84 | #[derive(Serialize, Deserialize, Debug, C3p0Model)] [INFO] [stderr] | ^-------- [INFO] [stderr] | | [INFO] [stderr] | `AsExpression` is not local [INFO] [stderr] | `Nullable` is not local [INFO] [stderr] | `Json` is not local [INFO] [stderr] | move the `impl` block outside of this function `_impl_as_expression_for_customvaluedieseljsonproxyasexpression` [INFO] [stderr] 85 | #[table_name = "test_table"] [INFO] [stderr] 86 | pub struct CustomValue { [INFO] [stderr] | ----------- `CustomValue` is not local [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `AsExpression` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = 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] [stderr] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stderr] = note: 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] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> tests/diesel_c3p0_test.rs:84:45 [INFO] [stderr] | [INFO] [stderr] 84 | #[derive(Serialize, Deserialize, Debug, C3p0Model)] [INFO] [stderr] | -^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | `AsExpression` is not local [INFO] [stderr] | `Jsonb` is not local [INFO] [stderr] | move the `impl` block outside of this function `_impl_as_expression_for_customvaluedieseljsonproxyasexpression` [INFO] [stderr] 85 | #[table_name = "test_table"] [INFO] [stderr] 86 | pub struct CustomValue { [INFO] [stderr] | ----------- `CustomValue` is not local [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `AsExpression` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = 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] [stderr] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stderr] = note: this warning originates in the derive macro `AsExpression` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> tests/diesel_c3p0_test.rs:84:45 [INFO] [stderr] | [INFO] [stderr] 84 | #[derive(Serialize, Deserialize, Debug, C3p0Model)] [INFO] [stderr] | -^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | `AsExpression` is not local [INFO] [stderr] | `Nullable` is not local [INFO] [stderr] | `Jsonb` is not local [INFO] [stderr] | move the `impl` block outside of this function `_impl_as_expression_for_customvaluedieseljsonproxyasexpression` [INFO] [stderr] 85 | #[table_name = "test_table"] [INFO] [stderr] 86 | pub struct CustomValue { [INFO] [stderr] | ----------- `CustomValue` is not local [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `AsExpression` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = 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] [stderr] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stderr] = note: this warning originates in the derive macro `AsExpression` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> tests/diesel_c3p0_test.rs:84:45 [INFO] [stderr] | [INFO] [stderr] 84 | #[derive(Serialize, Deserialize, Debug, C3p0Model)] [INFO] [stderr] | ^-------- [INFO] [stderr] | | [INFO] [stderr] | `ToSql` is not local [INFO] [stderr] | `Nullable` is not local [INFO] [stderr] | `Jsonb` is not local [INFO] [stderr] | move the `impl` block outside of this function `_impl_as_expression_for_customvaluedieseljsonproxyasexpression` [INFO] [stderr] 85 | #[table_name = "test_table"] [INFO] [stderr] 86 | pub struct CustomValue { [INFO] [stderr] | ----------- `CustomValue` is not local [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `AsExpression` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = 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] [stderr] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stderr] = note: 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] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> tests/diesel_c3p0_test.rs:84:45 [INFO] [stderr] | [INFO] [stderr] 84 | #[derive(Serialize, Deserialize, Debug, C3p0Model)] [INFO] [stderr] | ^-------- [INFO] [stderr] | | [INFO] [stderr] | `AsExpression` is not local [INFO] [stderr] | `Jsonb` is not local [INFO] [stderr] | move the `impl` block outside of this function `_impl_as_expression_for_customvaluedieseljsonproxyasexpression` [INFO] [stderr] 85 | #[table_name = "test_table"] [INFO] [stderr] 86 | pub struct CustomValue { [INFO] [stderr] | ----------- `CustomValue` is not local [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `AsExpression` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = 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] [stderr] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stderr] = note: 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] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> tests/diesel_c3p0_test.rs:84:45 [INFO] [stderr] | [INFO] [stderr] 84 | #[derive(Serialize, Deserialize, Debug, C3p0Model)] [INFO] [stderr] | ^-------- [INFO] [stderr] | | [INFO] [stderr] | `AsExpression` is not local [INFO] [stderr] | `Nullable` is not local [INFO] [stderr] | `Jsonb` is not local [INFO] [stderr] | move the `impl` block outside of this function `_impl_as_expression_for_customvaluedieseljsonproxyasexpression` [INFO] [stderr] 85 | #[table_name = "test_table"] [INFO] [stderr] 86 | pub struct CustomValue { [INFO] [stderr] | ----------- `CustomValue` is not local [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `AsExpression` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = 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] [stderr] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stderr] = note: 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] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> tests/diesel_c3p0_test.rs:84:45 [INFO] [stderr] | [INFO] [stderr] 84 | #[derive(Serialize, Deserialize, Debug, C3p0Model)] [INFO] [stderr] | ^-------- [INFO] [stderr] | | [INFO] [stderr] | `Insertable` is not local [INFO] [stderr] | `table` is not local [INFO] [stderr] | move the `impl` block outside of this function `_impl_insertable_for_newcustomvaluemodel` [INFO] [stderr] 85 | #[table_name = "test_table"] [INFO] [stderr] 86 | pub struct CustomValue { [INFO] [stderr] | ----------- `NewCustomValueModel` is not local [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `Insertable` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = 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] [stderr] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stderr] = note: 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] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> tests/diesel_c3p0_test.rs:84:45 [INFO] [stderr] | [INFO] [stderr] 84 | #[derive(Serialize, Deserialize, Debug, C3p0Model)] [INFO] [stderr] | -^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | `Insertable` is not local [INFO] [stderr] | `table` is not local [INFO] [stderr] | move the `impl` block outside of this function `_impl_insertable_for_newcustomvaluemodel` [INFO] [stderr] 85 | #[table_name = "test_table"] [INFO] [stderr] 86 | pub struct CustomValue { [INFO] [stderr] | ----------- `NewCustomValueModel` is not local [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `Insertable` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = 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] [stderr] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stderr] = note: this warning originates in the derive macro `Insertable` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> tests/diesel_c3p0_test.rs:84:45 [INFO] [stderr] | [INFO] [stderr] 84 | #[derive(Serialize, Deserialize, Debug, C3p0Model)] [INFO] [stderr] | ^-------- [INFO] [stderr] | | [INFO] [stderr] | `UndecoratedInsertRecord` is not local [INFO] [stderr] | `table` is not local [INFO] [stderr] | move the `impl` block outside of this function `_impl_insertable_for_newcustomvaluemodel` [INFO] [stderr] 85 | #[table_name = "test_table"] [INFO] [stderr] 86 | pub struct CustomValue { [INFO] [stderr] | ----------- `NewCustomValueModel` is not local [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `Insertable` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = 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] [stderr] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stderr] = note: 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] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> tests/diesel_c3p0_test.rs:84:45 [INFO] [stderr] | [INFO] [stderr] 84 | #[derive(Serialize, Deserialize, Debug, C3p0Model)] [INFO] [stderr] | ^-------- [INFO] [stderr] | | [INFO] [stderr] | `Queryable` is not local [INFO] [stderr] | move the `impl` block outside of this function `_impl_queryable_for_customvaluemodel` [INFO] [stderr] 85 | #[table_name = "test_table"] [INFO] [stderr] 86 | pub struct CustomValue { [INFO] [stderr] | ----------- `CustomValueModel` is not local [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `Queryable` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = 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] [stderr] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stderr] = note: 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] [stderr] [INFO] [stderr] warning: `c3p0_diesel` (test "diesel_c3p0_test") generated 27 warnings (run `cargo fix --test "diesel_c3p0_test"` to apply 1 suggestion) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.10s [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 2` [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/c3p0_diesel-dc83679238ea3eff) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Running tests/diesel_c3p0_test.rs (/opt/rustwide/target/debug/deps/diesel_c3p0_test-119f33b827dc4aa0) [INFO] [stdout] [INFO] [stdout] running 1 test [INFO] [stderr] docker: Cannot connect to the Docker daemon at unix:///var/run/docker.sock. Is the docker daemon running?. [INFO] [stderr] See 'docker run --help'. [INFO] [stdout] test should_perform_a_query_with_diesel_json ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- should_perform_a_query_with_diesel_json stdout ---- [INFO] [stdout] [INFO] [stdout] thread 'should_perform_a_query_with_diesel_json' (26) panicked at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tc_cli_client-0.2.1/src/cli.rs:104:50: [INFO] [stdout] called `Option::unwrap()` on a `None` value [INFO] [stdout] stack backtrace: [INFO] [stdout] 0: 0x64502b958f92 - std::backtrace_rs::backtrace::libunwind::trace::h7cddb8376417e7cc [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9 [INFO] [stdout] 1: 0x64502b958f92 - std::backtrace_rs::backtrace::trace_unsynchronized::hb4e41acf4b349ff1 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14 [INFO] [stdout] 2: 0x64502b958f92 - std::sys::backtrace::_print_fmt::h1222b80910ba6eb5 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/sys/backtrace.rs:66:9 [INFO] [stdout] 3: 0x64502b958f92 - ::fmt::h5bb8a979ba5db788 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/sys/backtrace.rs:39:26 [INFO] [stdout] 4: 0x64502b969b5f - core::fmt::rt::Argument::fmt::h2ee2c138a50a7796 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/core/src/fmt/rt.rs:173:76 [INFO] [stdout] 5: 0x64502b969b5f - core::fmt::write::h1e0dbf07fe3990bd [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/core/src/fmt/mod.rs:1468:25 [INFO] [stdout] 6: 0x64502b9244e3 - std::io::default_write_fmt::h7d7ad5ed6a883d81 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/io/mod.rs:639:11 [INFO] [stdout] 7: 0x64502b9244e3 - std::io::Write::write_fmt::hc477d9325b345ece [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/io/mod.rs:1954:13 [INFO] [stdout] 8: 0x64502b930382 - std::sys::backtrace::BacktraceLock::print::h788d486777205086 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/sys/backtrace.rs:42:9 [INFO] [stdout] 9: 0x64502b93510f - std::panicking::default_hook::{{closure}}::ha7bdfeb5949fc0fa [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/panicking.rs:301:27 [INFO] [stdout] 10: 0x64502b934fa1 - std::panicking::default_hook::h6dad75ec721846f4 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/panicking.rs:325:9 [INFO] [stdout] 11: 0x64502b882f4e - as core::ops::function::Fn>::call::h33799d04b0b96146 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/alloc/src/boxed.rs:1999:9 [INFO] [stdout] 12: 0x64502b882f4e - test::test_main_with_exit_callback::{{closure}}::h880e31c829a2eb5d [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/test/src/lib.rs:145:21 [INFO] [stdout] 13: 0x64502b9357ae - as core::ops::function::Fn>::call::h5e1b8c652ea49180 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/alloc/src/boxed.rs:1999:9 [INFO] [stdout] 14: 0x64502b9357ae - std::panicking::panic_with_hook::hba00e869ada17676 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/panicking.rs:842:13 [INFO] [stdout] 15: 0x64502b935546 - std::panicking::panic_handler::{{closure}}::h3d21149c258e5ceb [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/panicking.rs:700:13 [INFO] [stdout] 16: 0x64502b9304b9 - std::sys::backtrace::__rust_end_short_backtrace::h4f5d9b9dfb3e6ec1 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/sys/backtrace.rs:174:18 [INFO] [stdout] 17: 0x64502b91874d - __rustc[9a7a9f9af7564de1]::rust_begin_unwind [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/panicking.rs:698:5 [INFO] [stdout] 18: 0x64502b971a80 - core::panicking::panic_fmt::h78e817a90331d98b [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/core/src/panicking.rs:75:14 [INFO] [stdout] 19: 0x64502b971a5c - core::panicking::panic::h33d2d00634ffed6f [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/core/src/panicking.rs:145:5 [INFO] [stdout] 20: 0x64502b970fb9 - core::option::unwrap_failed::h53d46820c987f44e [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/core/src/option.rs:2166:5 [INFO] [stdout] 21: 0x64502b853cab - core::option::Option::unwrap::h97d48c78a827d676 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/core/src/option.rs:1009:21 [INFO] [stdout] 22: 0x64502b853cab - ::run::hd66f2dea5cfea0e5 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tc_cli_client-0.2.1/src/cli.rs:104:50 [INFO] [stdout] 23: 0x64502b846c8b - diesel_c3p0_test::establish_connection::hd6e0af9ea6ff4f7a [INFO] [stdout] at /opt/rustwide/workdir/tests/diesel_c3p0_test.rs:96:23 [INFO] [stdout] 24: 0x64502b847289 - diesel_c3p0_test::should_perform_a_query_with_diesel_json::h146b93df67ad187b [INFO] [stdout] at /opt/rustwide/workdir/tests/diesel_c3p0_test.rs:19:25 [INFO] [stdout] 25: 0x64502b847bb7 - diesel_c3p0_test::should_perform_a_query_with_diesel_json::{{closure}}::h65cbaf21f593cdb4 [INFO] [stdout] at /opt/rustwide/workdir/tests/diesel_c3p0_test.rs:15:45 [INFO] [stdout] 26: 0x64502b82f3d6 - core::ops::function::FnOnce::call_once::hf3c45bd661986f86 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/core/src/ops/function.rs:253:5 [INFO] [stdout] 27: 0x64502b882d4b - core::ops::function::FnOnce::call_once::h7f4b4fba903e39d5 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/core/src/ops/function.rs:253:5 [INFO] [stdout] 28: 0x64502b882d4b - test::__rust_begin_short_backtrace::h9277cb6a2ccfc000 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/test/src/lib.rs:663:18 [INFO] [stdout] 29: 0x64502b8987f5 - test::run_test_in_process::{{closure}}::h9aea5ca90d1f4423 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/test/src/lib.rs:686:74 [INFO] [stdout] 30: 0x64502b8987f5 - as core::ops::function::FnOnce<()>>::call_once::h364f5fe6cc8afa85 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/core/src/panic/unwind_safe.rs:272:9 [INFO] [stdout] 31: 0x64502b8987f5 - std::panicking::catch_unwind::do_call::h2b2bec3317fe53ec [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/panicking.rs:590:40 [INFO] [stdout] 32: 0x64502b8987f5 - std::panicking::catch_unwind::hc3763734156da4af [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/panicking.rs:553:19 [INFO] [stdout] 33: 0x64502b8987f5 - std::panic::catch_unwind::h28038391e867eabc [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/panic.rs:359:14 [INFO] [stdout] 34: 0x64502b8987f5 - test::run_test_in_process::had0273166695a036 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/test/src/lib.rs:686:27 [INFO] [stdout] 35: 0x64502b8987f5 - test::run_test::{{closure}}::h743d09d4bb476605 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/test/src/lib.rs:607:43 [INFO] [stdout] 36: 0x64502b86f214 - test::run_test::{{closure}}::he950b8f9118d37e2 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/test/src/lib.rs:637:41 [INFO] [stdout] 37: 0x64502b86f214 - std::sys::backtrace::__rust_begin_short_backtrace::hbfaffa6539f6abb7 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/sys/backtrace.rs:158:18 [INFO] [stdout] 38: 0x64502b872afa - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::hcce3c2c65b9c3b20 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/thread/mod.rs:559:17 [INFO] [stdout] 39: 0x64502b872afa - as core::ops::function::FnOnce<()>>::call_once::hb66b30b6d37985a5 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/core/src/panic/unwind_safe.rs:272:9 [INFO] [stdout] 40: 0x64502b872afa - std::panicking::catch_unwind::do_call::h992bbe2c32dc1d79 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/panicking.rs:590:40 [INFO] [stdout] 41: 0x64502b872afa - std::panicking::catch_unwind::h412991d5237de610 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/panicking.rs:553:19 [INFO] [stdout] 42: 0x64502b872afa - std::panic::catch_unwind::ha82b139b3eb5840a [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/panic.rs:359:14 [INFO] [stdout] 43: 0x64502b872afa - std::thread::Builder::spawn_unchecked_::{{closure}}::ha823b36f5114938e [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/thread/mod.rs:557:30 [INFO] [stdout] 44: 0x64502b872afa - core::ops::function::FnOnce::call_once{{vtable.shim}}::hf120e7b1db22ac07 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/core/src/ops/function.rs:253:5 [INFO] [stdout] 45: 0x64502b92a65f - as core::ops::function::FnOnce>::call_once::h3e049222c99298ac [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/alloc/src/boxed.rs:1985:9 [INFO] [stdout] 46: 0x64502b92a65f - std::sys::pal::unix::thread::Thread::new::thread_start::h942e336943ad5963 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/sys/pal/unix/thread.rs:118:17 [INFO] [stdout] 47: 0x73bef09fdaa4 - [INFO] [stdout] 48: 0x73bef0a8aa34 - clone [INFO] [stdout] 49: 0x0 - [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] should_perform_a_query_with_diesel_json [INFO] [stdout] [INFO] [stdout] test result: FAILED. 0 passed; 1 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.32s [INFO] [stdout] [INFO] [stderr] error: test failed, to rerun pass `--test diesel_c3p0_test` [INFO] running `Command { std: "docker" "inspect" "891d51c1d3d64f4b99add760dba83b3355b5edf56bd6e9f03977cb4b7969bac1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "891d51c1d3d64f4b99add760dba83b3355b5edf56bd6e9f03977cb4b7969bac1", kill_on_drop: false }` [INFO] [stdout] 891d51c1d3d64f4b99add760dba83b3355b5edf56bd6e9f03977cb4b7969bac1