[INFO] cloning repository https://github.com/mnauf/todoapp [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/mnauf/todoapp" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmnauf%2Ftodoapp", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmnauf%2Ftodoapp'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] b63c100f6d768fc279fb1ab32fcd2f11b538fce1 [INFO] building mnauf/todoapp against try#8b8eff55bd72abbb57167bc42222a7f91d41cb0d for pr-142134-abi-ast-error [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmnauf%2Ftodoapp" "/workspace/builds/worker-6-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc2/source'... [INFO] [stderr] done. [INFO] [stderr] Updating files: 36% (2637/7223) Updating files: 37% (2673/7223) Updating files: 37% (2697/7223) Updating files: 38% (2745/7223) Updating files: 39% (2817/7223) Updating files: 39% (2852/7223) Updating files: 40% (2890/7223) Updating files: 40% (2936/7223) Updating files: 41% (2962/7223) Updating files: 41% (2999/7223) Updating files: 42% (3034/7223) Updating files: 43% (3106/7223) Updating files: 44% (3179/7223) Updating files: 45% (3251/7223) Updating files: 45% (3312/7223) Updating files: 46% (3323/7223) Updating files: 47% (3395/7223) Updating files: 48% (3468/7223) Updating files: 49% (3540/7223) Updating files: 50% (3612/7223) Updating files: 51% (3684/7223) Updating files: 52% (3756/7223) Updating files: 53% (3829/7223) Updating files: 54% (3901/7223) Updating files: 55% (3973/7223) Updating files: 56% (4045/7223) Updating files: 57% (4118/7223) Updating files: 58% (4190/7223) Updating files: 59% (4262/7223) Updating files: 60% (4334/7223) Updating files: 61% (4407/7223) Updating files: 61% (4431/7223) Updating files: 62% (4479/7223) Updating files: 63% (4551/7223) Updating files: 64% (4623/7223) Updating files: 65% (4695/7223) Updating files: 66% (4768/7223) Updating files: 67% (4840/7223) Updating files: 68% (4912/7223) Updating files: 69% (4984/7223) Updating files: 70% (5057/7223) Updating files: 71% (5129/7223) Updating files: 72% (5201/7223) Updating files: 73% (5273/7223) Updating files: 74% (5346/7223) Updating files: 75% (5418/7223) Updating files: 76% (5490/7223) Updating files: 77% (5562/7223) Updating files: 78% (5634/7223) Updating files: 79% (5707/7223) Updating files: 80% (5779/7223) Updating files: 81% (5851/7223) Updating files: 82% (5923/7223) Updating files: 83% (5996/7223) Updating files: 84% (6068/7223) Updating files: 85% (6140/7223) Updating files: 86% (6212/7223) Updating files: 87% (6285/7223) Updating files: 88% (6357/7223) Updating files: 88% (6364/7223) Updating files: 89% (6429/7223) Updating files: 90% (6501/7223) Updating files: 91% (6573/7223) Updating files: 92% (6646/7223) Updating files: 92% (6701/7223) Updating files: 93% (6718/7223) Updating files: 94% (6790/7223) Updating files: 95% (6862/7223) Updating files: 96% (6935/7223) Updating files: 97% (7007/7223) Updating files: 98% (7079/7223) Updating files: 99% (7151/7223) Updating files: 100% (7223/7223) Updating files: 100% (7223/7223), done. [INFO] validating manifest of git repo https://github.com/mnauf/todoapp on toolchain 8b8eff55bd72abbb57167bc42222a7f91d41cb0d [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8b8eff55bd72abbb57167bc42222a7f91d41cb0d" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/mnauf/todoapp [INFO] finished tweaking git repo https://github.com/mnauf/todoapp [INFO] tweaked toml for git repo https://github.com/mnauf/todoapp written to /workspace/builds/worker-6-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/mnauf/todoapp already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8b8eff55bd72abbb57167bc42222a7f91d41cb0d" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [ERROR] error running command: no output for 300 seconds [INFO] building mnauf/todoapp against try#8b8eff55bd72abbb57167bc42222a7f91d41cb0d for pr-142134-abi-ast-error [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmnauf%2Ftodoapp" "/workspace/builds/worker-6-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc2/source'... [INFO] [stderr] done. [INFO] [stderr] Updating files: 36% (2649/7223) Updating files: 37% (2673/7223) Updating files: 37% (2698/7223) Updating files: 38% (2745/7223) Updating files: 39% (2817/7223) Updating files: 39% (2853/7223) Updating files: 40% (2890/7223) Updating files: 40% (2957/7223) Updating files: 41% (2962/7223) Updating files: 41% (3002/7223) Updating files: 42% (3034/7223) Updating files: 43% (3106/7223) Updating files: 44% (3179/7223) Updating files: 45% (3251/7223) Updating files: 45% (3314/7223) Updating files: 46% (3323/7223) Updating files: 47% (3395/7223) Updating files: 48% (3468/7223) Updating files: 49% (3540/7223) Updating files: 50% (3612/7223) Updating files: 51% (3684/7223) Updating files: 52% (3756/7223) Updating files: 53% (3829/7223) Updating files: 54% (3901/7223) Updating files: 55% (3973/7223) Updating files: 56% (4045/7223) Updating files: 57% (4118/7223) Updating files: 58% (4190/7223) Updating files: 59% (4262/7223) Updating files: 60% (4334/7223) Updating files: 61% (4407/7223) Updating files: 62% (4479/7223) Updating files: 63% (4551/7223) Updating files: 64% (4623/7223) Updating files: 64% (4627/7223) Updating files: 65% (4695/7223) Updating files: 66% (4768/7223) Updating files: 67% (4840/7223) Updating files: 68% (4912/7223) Updating files: 69% (4984/7223) Updating files: 70% (5057/7223) Updating files: 71% (5129/7223) Updating files: 72% (5201/7223) Updating files: 73% (5273/7223) Updating files: 74% (5346/7223) Updating files: 75% (5418/7223) Updating files: 76% (5490/7223) Updating files: 77% (5562/7223) Updating files: 78% (5634/7223) Updating files: 79% (5707/7223) Updating files: 80% (5779/7223) Updating files: 81% (5851/7223) Updating files: 82% (5923/7223) Updating files: 83% (5996/7223) Updating files: 84% (6068/7223) Updating files: 85% (6140/7223) Updating files: 86% (6212/7223) Updating files: 87% (6285/7223) Updating files: 88% (6357/7223) Updating files: 89% (6429/7223) Updating files: 90% (6501/7223) Updating files: 90% (6543/7223) Updating files: 91% (6573/7223) Updating files: 92% (6646/7223) Updating files: 92% (6702/7223) Updating files: 93% (6718/7223) Updating files: 94% (6790/7223) Updating files: 95% (6862/7223) Updating files: 96% (6935/7223) Updating files: 97% (7007/7223) Updating files: 98% (7079/7223) Updating files: 99% (7151/7223) Updating files: 100% (7223/7223) Updating files: 100% (7223/7223), done. [INFO] validating manifest of git repo https://github.com/mnauf/todoapp on toolchain 8b8eff55bd72abbb57167bc42222a7f91d41cb0d [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8b8eff55bd72abbb57167bc42222a7f91d41cb0d" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/mnauf/todoapp [INFO] finished tweaking git repo https://github.com/mnauf/todoapp [INFO] tweaked toml for git repo https://github.com/mnauf/todoapp written to /workspace/builds/worker-6-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/mnauf/todoapp already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8b8eff55bd72abbb57167bc42222a7f91d41cb0d" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded pest_generator v2.1.0 [INFO] [stderr] Downloaded diesel_derives v1.4.0 [INFO] [stderr] Downloaded dotenv v0.9.0 [INFO] [stderr] Downloaded pretty_env_logger v0.3.0 [INFO] [stderr] Downloaded ucd-trie v0.1.1 [INFO] [stderr] Downloaded pest_meta v2.1.1 [INFO] [stderr] Downloaded diesel v1.4.2 [INFO] [stderr] Downloaded pest v2.1.1 [INFO] [stderr] Downloaded h2 v0.1.22 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:eea15d5475069c3ef791f10c2c6b5af2ee421ef2da1e680ecce1cba46243983b" "/opt/rustwide/cargo-home/bin/cargo" "+8b8eff55bd72abbb57167bc42222a7f91d41cb0d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] ae16fff5ffd55ad90310516b7017cffff2e2ccfa15e210a763dbb775c5a1c38c [INFO] running `Command { std: "docker" "start" "-a" "ae16fff5ffd55ad90310516b7017cffff2e2ccfa15e210a763dbb775c5a1c38c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ae16fff5ffd55ad90310516b7017cffff2e2ccfa15e210a763dbb775c5a1c38c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ae16fff5ffd55ad90310516b7017cffff2e2ccfa15e210a763dbb775c5a1c38c", kill_on_drop: false }` [INFO] [stdout] ae16fff5ffd55ad90310516b7017cffff2e2ccfa15e210a763dbb775c5a1c38c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:eea15d5475069c3ef791f10c2c6b5af2ee421ef2da1e680ecce1cba46243983b" "/opt/rustwide/cargo-home/bin/cargo" "+8b8eff55bd72abbb57167bc42222a7f91d41cb0d" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 38b35f3d0b238ef4dde0f08cec44d7f4fb914e70cda28b479211c53c3cf07494 [INFO] running `Command { std: "docker" "start" "-a" "38b35f3d0b238ef4dde0f08cec44d7f4fb914e70cda28b479211c53c3cf07494", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.58 [INFO] [stderr] Compiling autocfg v0.1.4 [INFO] [stderr] Compiling cfg-if v0.1.9 [INFO] [stderr] Compiling lazy_static v1.3.0 [INFO] [stderr] Compiling rand_core v0.4.0 [INFO] [stderr] Compiling futures v0.1.27 [INFO] [stderr] Compiling byteorder v1.3.1 [INFO] [stderr] Compiling either v1.5.2 [INFO] [stderr] Compiling memchr v2.2.0 [INFO] [stderr] Compiling semver-parser v0.7.0 [INFO] [stderr] Compiling proc-macro2 v0.4.30 [INFO] [stderr] Compiling smallvec v0.6.9 [INFO] [stderr] Compiling unicode-xid v0.1.0 [INFO] [stderr] Compiling scopeguard v0.3.3 [INFO] [stderr] Compiling ucd-util v0.1.3 [INFO] [stderr] Compiling slab v0.4.2 [INFO] [stderr] Compiling log v0.4.6 [INFO] [stderr] Compiling crossbeam-utils v0.6.5 [INFO] [stderr] Compiling syn v0.15.34 [INFO] [stderr] Compiling fnv v1.0.6 [INFO] [stderr] Compiling stable_deref_trait v1.1.1 [INFO] [stderr] Compiling arrayvec v0.4.10 [INFO] [stderr] Compiling thread_local v0.3.6 [INFO] [stderr] Compiling rand_core v0.3.1 [INFO] [stderr] Compiling rand_xorshift v0.1.1 [INFO] [stderr] Compiling rand_hc v0.1.0 [INFO] [stderr] Compiling rand_isaac v0.1.1 [INFO] [stderr] Compiling rand_jitter v0.1.4 [INFO] [stderr] Compiling rand_chacha v0.1.1 [INFO] [stderr] Compiling rand_pcg v0.1.2 [INFO] [stderr] Compiling rand v0.6.5 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Compiling num-traits v0.2.8 [INFO] [stderr] Compiling iovec v0.1.2 [INFO] [stderr] Compiling rand_os v0.1.3 [INFO] [stderr] Compiling rustc_version v0.2.3 [INFO] [stderr] Compiling num_cpus v1.10.0 [INFO] [stderr] Compiling owning_ref v0.4.0 [INFO] [stderr] Compiling nodrop v0.1.13 [INFO] [stderr] Compiling cc v1.0.37 [INFO] [stderr] Compiling itoa v0.4.4 [INFO] [stderr] Compiling utf8-ranges v1.0.2 [INFO] [stderr] Compiling lock_api v0.1.5 [INFO] [stderr] Compiling net2 v0.2.33 [INFO] [stderr] Compiling num-integer v0.1.41 [INFO] [stderr] Compiling memoffset v0.2.1 [INFO] [stderr] Compiling bytes v0.4.12 [INFO] [stderr] Compiling regex v1.1.6 [INFO] [stderr] Compiling serde v1.0.92 [INFO] [stderr] Compiling ucd-trie v0.1.1 [INFO] [stderr] Compiling aho-corasick v0.7.3 [INFO] [stderr] Compiling parking_lot_core v0.4.0 [INFO] [stderr] Compiling mio v0.6.19 [INFO] [stderr] Compiling pest v2.1.1 [INFO] [stderr] Compiling time v0.1.42 [INFO] [stderr] Compiling quote v0.6.12 [INFO] [stderr] Compiling backtrace v0.3.30 [INFO] [stderr] Compiling regex-syntax v0.6.6 [INFO] [stderr] Compiling unic-common v0.7.0 [INFO] [stderr] Compiling maplit v1.0.1 [INFO] [stderr] Compiling crossbeam-epoch v0.7.1 [INFO] [stderr] Compiling ryu v0.2.8 [INFO] [stderr] Compiling version_check v0.1.5 [INFO] [stderr] Compiling unic-char-range v0.7.0 [INFO] [stderr] Compiling matches v0.1.8 [INFO] [stderr] Compiling unicode-bidi v0.3.4 [INFO] [stderr] Compiling unic-char-property v0.7.0 [INFO] [stderr] Compiling error-chain v0.12.1 [INFO] [stderr] Compiling http v0.1.17 [INFO] [stderr] Compiling unic-ucd-version v0.7.0 [INFO] [stderr] Compiling unicode-normalization v0.1.8 [INFO] [stderr] Compiling crossbeam-queue v0.1.2 [INFO] [stderr] Compiling pq-sys v0.4.6 [INFO] [stderr] Compiling rustc-demangle v0.1.15 [INFO] [stderr] Compiling backtrace-sys v0.1.28 [INFO] [stderr] Compiling crossbeam-deque v0.7.1 [INFO] [stderr] Compiling regex v0.2.11 [INFO] [stderr] Compiling quick-error v1.2.2 [INFO] [stderr] Compiling httparse v1.3.3 [INFO] [stderr] Compiling tokio-executor v0.1.7 [INFO] [stderr] Compiling tokio-io v0.1.12 [INFO] [stderr] Compiling tokio-sync v0.1.5 [INFO] [stderr] Compiling tokio-current-thread v0.1.6 [INFO] [stderr] Compiling tokio-timer v0.2.11 [INFO] [stderr] Compiling humantime v1.2.0 [INFO] [stderr] Compiling tokio-buf v0.1.1 [INFO] [stderr] Compiling pest_meta v2.1.1 [INFO] [stderr] Compiling tokio-threadpool v0.1.14 [INFO] [stderr] Compiling chrono v0.4.6 [INFO] [stderr] Compiling unic-ucd-segment v0.7.0 [INFO] [stderr] Compiling string v0.2.0 [INFO] [stderr] Compiling aho-corasick v0.6.10 [INFO] [stderr] Compiling atty v0.2.11 [INFO] [stderr] Compiling regex-syntax v0.5.6 [INFO] [stderr] Compiling tokio-trace-core v0.2.0 [INFO] [stderr] Compiling try-lock v0.2.2 [INFO] [stderr] Compiling parking_lot v0.7.1 [INFO] [stderr] Compiling deunicode v0.4.3 [INFO] [stderr] Compiling idna v0.1.5 [INFO] [stderr] Compiling termcolor v1.0.4 [INFO] [stderr] Compiling indexmap v1.0.2 [INFO] [stderr] Compiling percent-encoding v1.0.1 [INFO] [stderr] Compiling unic-segment v0.7.0 [INFO] [stderr] Compiling tokio-reactor v0.1.9 [INFO] [stderr] Compiling slug v0.1.4 [INFO] [stderr] Compiling want v0.0.6 [INFO] [stderr] Compiling futures-cpupool v0.1.8 [INFO] [stderr] Compiling humansize v1.1.0 [INFO] [stderr] Compiling bitflags v1.0.4 [INFO] [stderr] Compiling glob v0.2.11 [INFO] [stderr] Compiling url v1.7.2 [INFO] [stderr] Compiling tokio v0.1.21 [INFO] [stderr] Compiling tokio-tcp v0.1.3 [INFO] [stderr] Compiling h2 v0.1.22 [INFO] [stderr] Compiling http-body v0.1.0 [INFO] [stderr] Compiling serde_json v1.0.39 [INFO] [stderr] Compiling uuid v0.7.4 [INFO] [stderr] Compiling pest_generator v2.1.0 [INFO] [stderr] Compiling env_logger v0.6.1 [INFO] [stderr] Compiling diesel_derives v1.4.0 [INFO] [stderr] Compiling serde_derive v1.0.92 [INFO] [stderr] Compiling pretty_env_logger v0.3.0 [INFO] [stderr] Compiling pest_derive v2.1.0 [INFO] [stderr] Compiling dotenv v0.9.0 [INFO] [stderr] Compiling hyper v0.12.29 [INFO] [stderr] Compiling tera v0.11.20 [INFO] [stderr] Compiling diesel v1.4.2 [INFO] [stderr] Compiling todo v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/schema.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | / table! { [INFO] [stdout] 2 | | tasks (id) { [INFO] [stdout] 3 | | done -> Bool, [INFO] [stdout] 4 | | id -> Int4, [INFO] [stdout] ... | [INFO] [stdout] 7 | | } [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] --> src/schema.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | / table! { [INFO] [stdout] 2 | | tasks (id) { [INFO] [stdout] 3 | | done -> Bool, [INFO] [stdout] | | ---- `done` is not local [INFO] [stdout] 4 | | id -> Int4, [INFO] [stdout] ... | [INFO] [stdout] 7 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_`QueryId` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_query_id_for_done` [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] --> src/schema.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | / table! { [INFO] [stdout] 2 | | tasks (id) { [INFO] [stdout] 3 | | done -> Bool, [INFO] [stdout] 4 | | id -> Int4, [INFO] [stdout] | | -- `id` is not local [INFO] [stdout] ... | [INFO] [stdout] 7 | | } [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] --> src/schema.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | / table! { [INFO] [stdout] 2 | | tasks (id) { [INFO] [stdout] 3 | | done -> Bool, [INFO] [stdout] 4 | | id -> Int4, [INFO] [stdout] 5 | | task -> Text, [INFO] [stdout] | | ---- `task` is not local [INFO] [stdout] 6 | | } [INFO] [stdout] 7 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_`QueryId` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_query_id_for_task` [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] --> src/models.rs:1:10 [INFO] [stdout] | [INFO] [stdout] 1 | #[derive(Queryable)] [INFO] [stdout] | ^-------- [INFO] [stdout] | | [INFO] [stdout] | `Queryable` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_queryable_for_task` [INFO] [stdout] 2 | pub struct Task { [INFO] [stdout] | ---- `Task` 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` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/models.rs:9:10 [INFO] [stdout] | [INFO] [stdout] 9 | #[derive(Insertable)] [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_newtask` [INFO] [stdout] 10 | #[table_name="tasks"] [INFO] [stdout] 11 | pub struct NewTask<'a> { [INFO] [stdout] | ------- `NewTask` 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] --> src/models.rs:9:10 [INFO] [stdout] | [INFO] [stdout] 9 | #[derive(Insertable)] [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_newtask` [INFO] [stdout] 10 | #[table_name="tasks"] [INFO] [stdout] 11 | pub struct NewTask<'a> { [INFO] [stdout] | ------- `NewTask` 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] --> src/models.rs:9:10 [INFO] [stdout] | [INFO] [stdout] 9 | #[derive(Insertable)] [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_newtask` [INFO] [stdout] 10 | #[table_name="tasks"] [INFO] [stdout] 11 | pub struct NewTask<'a> { [INFO] [stdout] | ------- `NewTask` 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: unused import: `stdin` [INFO] [stdout] --> src/main.rs:10:15 [INFO] [stdout] | [INFO] [stdout] 10 | use std::io::{stdin, Read}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `self::models::*` [INFO] [stdout] --> src/main.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | use self::models::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> src/main.rs:36:17 [INFO] [stdout] | [INFO] [stdout] 36 | #[derive(Debug, Serialize)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Serialize` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `Serialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] = note: this warning originates in the derive macro `Serialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/main.rs:29:27 [INFO] [stdout] | [INFO] [stdout] 29 | type ResponseFuture = Box, Error = GenericError> + Send>; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 29 | type ResponseFuture = Box, Error = GenericError> + Send>; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Read` [INFO] [stdout] --> src/main.rs:10:22 [INFO] [stdout] | [INFO] [stdout] 10 | use std::io::{stdin, Read}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `res` [INFO] [stdout] --> src/main.rs:116:9 [INFO] [stdout] | [INFO] [stdout] 116 | let res = diesel::update(tasks.filter(task.eq(&todo.name[..]))) [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_res` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/main.rs:36:17 [INFO] [stdout] | [INFO] [stdout] 36 | #[derive(Debug, Serialize)] [INFO] [stdout] | ^-------- [INFO] [stdout] | | [INFO] [stdout] | `Serialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_SERIALIZE_FOR_Todo` [INFO] [stdout] 37 | pub struct Todo { [INFO] [stdout] | ---- `Todo` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Serialize` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Serialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: `#[warn(non_local_definitions)]` on by default [INFO] [stdout] = note: this warning originates in the derive macro `Serialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 50.61s [INFO] running `Command { std: "docker" "inspect" "38b35f3d0b238ef4dde0f08cec44d7f4fb914e70cda28b479211c53c3cf07494", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "38b35f3d0b238ef4dde0f08cec44d7f4fb914e70cda28b479211c53c3cf07494", kill_on_drop: false }` [INFO] [stdout] 38b35f3d0b238ef4dde0f08cec44d7f4fb914e70cda28b479211c53c3cf07494 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:eea15d5475069c3ef791f10c2c6b5af2ee421ef2da1e680ecce1cba46243983b" "/opt/rustwide/cargo-home/bin/cargo" "+8b8eff55bd72abbb57167bc42222a7f91d41cb0d" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] bda29adb123c271f6a22ce356748ef75c70f6c4d8d8b905520b334c88200162f [INFO] running `Command { std: "docker" "start" "-a" "bda29adb123c271f6a22ce356748ef75c70f6c4d8d8b905520b334c88200162f", kill_on_drop: false }` [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/schema.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | / table! { [INFO] [stdout] 2 | | tasks (id) { [INFO] [stdout] 3 | | done -> Bool, [INFO] [stdout] 4 | | id -> Int4, [INFO] [stdout] ... | [INFO] [stdout] 7 | | } [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] --> src/schema.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | / table! { [INFO] [stdout] 2 | | tasks (id) { [INFO] [stdout] 3 | | done -> Bool, [INFO] [stdout] | | ---- `done` is not local [INFO] [stdout] 4 | | id -> Int4, [INFO] [stdout] ... | [INFO] [stdout] 7 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_`QueryId` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_query_id_for_done` [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] --> src/schema.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | / table! { [INFO] [stdout] 2 | | tasks (id) { [INFO] [stdout] 3 | | done -> Bool, [INFO] [stdout] 4 | | id -> Int4, [INFO] [stdout] | | -- `id` is not local [INFO] [stdout] ... | [INFO] [stdout] 7 | | } [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] --> src/schema.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | / table! { [INFO] [stdout] 2 | | tasks (id) { [INFO] [stdout] 3 | | done -> Bool, [INFO] [stdout] 4 | | id -> Int4, [INFO] [stdout] 5 | | task -> Text, [INFO] [stdout] | | ---- `task` is not local [INFO] [stdout] 6 | | } [INFO] [stdout] 7 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_`QueryId` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_query_id_for_task` [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] [stderr] Compiling todo v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/models.rs:1:10 [INFO] [stdout] | [INFO] [stdout] 1 | #[derive(Queryable)] [INFO] [stdout] | ^-------- [INFO] [stdout] | | [INFO] [stdout] | `Queryable` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_queryable_for_task` [INFO] [stdout] 2 | pub struct Task { [INFO] [stdout] | ---- `Task` 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` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/models.rs:9:10 [INFO] [stdout] | [INFO] [stdout] 9 | #[derive(Insertable)] [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_newtask` [INFO] [stdout] 10 | #[table_name="tasks"] [INFO] [stdout] 11 | pub struct NewTask<'a> { [INFO] [stdout] | ------- `NewTask` 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] --> src/models.rs:9:10 [INFO] [stdout] | [INFO] [stdout] 9 | #[derive(Insertable)] [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_newtask` [INFO] [stdout] 10 | #[table_name="tasks"] [INFO] [stdout] 11 | pub struct NewTask<'a> { [INFO] [stdout] | ------- `NewTask` 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] --> src/models.rs:9:10 [INFO] [stdout] | [INFO] [stdout] 9 | #[derive(Insertable)] [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_newtask` [INFO] [stdout] 10 | #[table_name="tasks"] [INFO] [stdout] 11 | pub struct NewTask<'a> { [INFO] [stdout] | ------- `NewTask` 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: unused import: `stdin` [INFO] [stdout] --> src/main.rs:10:15 [INFO] [stdout] | [INFO] [stdout] 10 | use std::io::{stdin, Read}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `self::models::*` [INFO] [stdout] --> src/main.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | use self::models::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> src/main.rs:36:17 [INFO] [stdout] | [INFO] [stdout] 36 | #[derive(Debug, Serialize)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Serialize` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `Serialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] = note: this warning originates in the derive macro `Serialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/main.rs:29:27 [INFO] [stdout] | [INFO] [stdout] 29 | type ResponseFuture = Box, Error = GenericError> + Send>; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 29 | type ResponseFuture = Box, Error = GenericError> + Send>; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/schema.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | / table! { [INFO] [stdout] 2 | | tasks (id) { [INFO] [stdout] 3 | | done -> Bool, [INFO] [stdout] 4 | | id -> Int4, [INFO] [stdout] ... | [INFO] [stdout] 7 | | } [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] --> src/schema.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | / table! { [INFO] [stdout] 2 | | tasks (id) { [INFO] [stdout] 3 | | done -> Bool, [INFO] [stdout] | | ---- `done` is not local [INFO] [stdout] 4 | | id -> Int4, [INFO] [stdout] ... | [INFO] [stdout] 7 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_`QueryId` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_query_id_for_done` [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] --> src/schema.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | / table! { [INFO] [stdout] 2 | | tasks (id) { [INFO] [stdout] 3 | | done -> Bool, [INFO] [stdout] 4 | | id -> Int4, [INFO] [stdout] | | -- `id` is not local [INFO] [stdout] ... | [INFO] [stdout] 7 | | } [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] --> src/schema.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | / table! { [INFO] [stdout] 2 | | tasks (id) { [INFO] [stdout] 3 | | done -> Bool, [INFO] [stdout] 4 | | id -> Int4, [INFO] [stdout] 5 | | task -> Text, [INFO] [stdout] | | ---- `task` is not local [INFO] [stdout] 6 | | } [INFO] [stdout] 7 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_`QueryId` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_query_id_for_task` [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] --> src/models.rs:1:10 [INFO] [stdout] | [INFO] [stdout] 1 | #[derive(Queryable)] [INFO] [stdout] | ^-------- [INFO] [stdout] | | [INFO] [stdout] | `Queryable` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_queryable_for_task` [INFO] [stdout] 2 | pub struct Task { [INFO] [stdout] | ---- `Task` 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` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/models.rs:9:10 [INFO] [stdout] | [INFO] [stdout] 9 | #[derive(Insertable)] [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_newtask` [INFO] [stdout] 10 | #[table_name="tasks"] [INFO] [stdout] 11 | pub struct NewTask<'a> { [INFO] [stdout] | ------- `NewTask` 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] --> src/models.rs:9:10 [INFO] [stdout] | [INFO] [stdout] 9 | #[derive(Insertable)] [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_newtask` [INFO] [stdout] 10 | #[table_name="tasks"] [INFO] [stdout] 11 | pub struct NewTask<'a> { [INFO] [stdout] | ------- `NewTask` 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] --> src/models.rs:9:10 [INFO] [stdout] | [INFO] [stdout] 9 | #[derive(Insertable)] [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_newtask` [INFO] [stdout] 10 | #[table_name="tasks"] [INFO] [stdout] 11 | pub struct NewTask<'a> { [INFO] [stdout] | ------- `NewTask` 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: unused import: `Read` [INFO] [stdout] --> src/main.rs:10:22 [INFO] [stdout] | [INFO] [stdout] 10 | use std::io::{stdin, Read}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `res` [INFO] [stdout] --> src/main.rs:116:9 [INFO] [stdout] | [INFO] [stdout] 116 | let res = diesel::update(tasks.filter(task.eq(&todo.name[..]))) [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_res` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/main.rs:36:17 [INFO] [stdout] | [INFO] [stdout] 36 | #[derive(Debug, Serialize)] [INFO] [stdout] | ^-------- [INFO] [stdout] | | [INFO] [stdout] | `Serialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_SERIALIZE_FOR_Todo` [INFO] [stdout] 37 | pub struct Todo { [INFO] [stdout] | ---- `Todo` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Serialize` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Serialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: `#[warn(non_local_definitions)]` on by default [INFO] [stdout] = note: this warning originates in the derive macro `Serialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 1.08s [INFO] running `Command { std: "docker" "inspect" "bda29adb123c271f6a22ce356748ef75c70f6c4d8d8b905520b334c88200162f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bda29adb123c271f6a22ce356748ef75c70f6c4d8d8b905520b334c88200162f", kill_on_drop: false }` [INFO] [stdout] bda29adb123c271f6a22ce356748ef75c70f6c4d8d8b905520b334c88200162f