[INFO] cloning repository https://github.com/daduraro/mapserver-server [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/daduraro/mapserver-server" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdaduraro%2Fmapserver-server", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdaduraro%2Fmapserver-server'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 68389d45690ec64ece7b50fc59c5551c7f37bd4f [INFO] checking daduraro/mapserver-server against try#a7a572ce3edd6d476191fbfe92c9c1986e009b34 for pr-87190-3 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdaduraro%2Fmapserver-server" "/workspace/builds/worker-2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/daduraro/mapserver-server on toolchain a7a572ce3edd6d476191fbfe92c9c1986e009b34 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/daduraro/mapserver-server [INFO] finished tweaking git repo https://github.com/daduraro/mapserver-server [INFO] tweaked toml for git repo https://github.com/daduraro/mapserver-server written to /workspace/builds/worker-2/source/Cargo.toml [INFO] crate git repo https://github.com/daduraro/mapserver-server already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded actix-web v3.0.2 [INFO] [stderr] Downloaded v_escape_derive v0.8.2 [INFO] [stderr] Downloaded time v0.2.20 [INFO] [stderr] Downloaded v_escape v0.13.0 [INFO] [stderr] Downloaded v_htmlescape v0.10.2 [INFO] [stderr] Downloaded libsqlite3-sys v0.12.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 97a0909b48c121358282839da543c5916beffa3b021105fc2fd3a86d518baf05 [INFO] running `Command { std: "docker" "start" "-a" "97a0909b48c121358282839da543c5916beffa3b021105fc2fd3a86d518baf05", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "97a0909b48c121358282839da543c5916beffa3b021105fc2fd3a86d518baf05", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "97a0909b48c121358282839da543c5916beffa3b021105fc2fd3a86d518baf05", kill_on_drop: false }` [INFO] [stdout] 97a0909b48c121358282839da543c5916beffa3b021105fc2fd3a86d518baf05 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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" "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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 6fd8488c005fc8ab2ea28452f963b69be07747fe81e399b33d1e956ec2b0aca7 [INFO] running `Command { std: "docker" "start" "-a" "6fd8488c005fc8ab2ea28452f963b69be07747fe81e399b33d1e956ec2b0aca7", kill_on_drop: false }` [INFO] [stderr] Copying to /tmp/fixit [INFO] [stderr] Running `cargo fix --edition` [INFO] [stderr] note: Switching to Edition 2021 will enable the use of the version 2 feature resolver in Cargo. [INFO] [stderr] This may cause some dependencies to be built with fewer features enabled than previously. [INFO] [stderr] More information about the resolver changes may be found at https://doc.rust-lang.org/nightly/edition-guide/rust-2021/default-cargo-resolver.html [INFO] [stderr] When building the following dependencies, the given features will no longer be used: [INFO] [stderr] [INFO] [stderr] memchr v2.3.3 (as host dependency): default [INFO] [stderr] standback v0.2.10 (as host dependency): std [INFO] [stderr] tokio v0.2.22: winapi [INFO] [stderr] [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling syn v1.0.41 [INFO] [stderr] Checking cfg-if v0.1.10 [INFO] [stderr] Compiling version_check v0.9.2 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Checking bytes v0.5.6 [INFO] [stderr] Checking once_cell v1.4.1 [INFO] [stderr] Checking instant v0.1.6 [INFO] [stderr] Checking scopeguard v1.1.0 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling cc v1.0.60 [INFO] [stderr] Checking matches v0.1.8 [INFO] [stderr] Checking adler v0.2.3 [INFO] [stderr] Checking tinyvec v0.3.4 [INFO] [stderr] Checking gimli v0.22.0 [INFO] [stderr] Checking percent-encoding v2.1.0 [INFO] [stderr] Compiling typenum v1.12.0 [INFO] [stderr] Checking copyless v0.1.5 [INFO] [stderr] Compiling serde_derive v1.0.116 [INFO] [stderr] Checking quick-error v1.2.3 [INFO] [stderr] Checking rustc-demangle v0.1.16 [INFO] [stderr] Checking either v1.6.1 [INFO] [stderr] Compiling serde v1.0.116 [INFO] [stderr] Checking object v0.20.0 [INFO] [stderr] Compiling byteorder v1.3.4 [INFO] [stderr] Checking match_cfg v0.1.0 [INFO] [stderr] Compiling version_check v0.1.5 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Checking linked-hash-map v0.5.3 [INFO] [stderr] Compiling crc32fast v1.2.0 [INFO] [stderr] Compiling encoding_rs v0.8.24 [INFO] [stderr] Compiling httparse v1.3.4 [INFO] [stderr] Checking mime v0.3.16 [INFO] [stderr] Checking cpuid-bool v0.1.2 [INFO] [stderr] Checking opaque-debug v0.3.0 [INFO] [stderr] Checking dtoa v0.4.6 [INFO] [stderr] Checking language-tags v0.2.2 [INFO] [stderr] Compiling v_escape v0.13.0 [INFO] [stderr] Compiling failure_derive v0.1.8 [INFO] [stderr] Compiling v_htmlescape v0.10.2 [INFO] [stderr] Checking dotenv v0.15.0 [INFO] [stderr] Compiling miniz_oxide v0.4.2 [INFO] [stderr] Compiling indexmap v1.6.0 [INFO] [stderr] Checking lock_api v0.4.1 [INFO] [stderr] Checking thread_local v1.0.1 [INFO] [stderr] Checking tracing-core v0.1.16 [INFO] [stderr] Checking futures-task v0.3.5 [INFO] [stderr] Checking unicode-bidi v0.3.4 [INFO] [stderr] Checking lru-cache v0.1.2 [INFO] [stderr] Compiling proc-macro2 v1.0.21 [INFO] [stderr] Compiling memchr v2.3.3 [INFO] [stderr] Checking log v0.4.11 [INFO] [stderr] Checking humantime v1.3.0 [INFO] [stderr] Checking net2 v0.2.35 [INFO] [stderr] Checking parking_lot_core v0.8.0 [INFO] [stderr] Checking getrandom v0.1.15 [INFO] [stderr] Checking hostname v0.3.1 [INFO] [stderr] Checking socket2 v0.3.15 [INFO] [stderr] Checking threadpool v1.8.1 [INFO] [stderr] Checking unicode-normalization v0.1.13 [INFO] [stderr] Checking http v0.2.1 [INFO] [stderr] Checking bytestring v0.1.5 [INFO] [stderr] Checking buf-min v0.1.1 [INFO] [stderr] Checking regex v1.3.9 [INFO] [stderr] Checking tracing v0.1.19 [INFO] [stderr] Checking resolv-conf v0.6.3 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Checking parking_lot v0.11.0 [INFO] [stderr] Checking mio v0.6.22 [INFO] [stderr] Compiling quote v1.0.7 [INFO] [stderr] Compiling nom v4.2.3 [INFO] [stderr] Compiling standback v0.2.10 [INFO] [stderr] Compiling generic-array v0.14.4 [INFO] [stderr] Compiling unicase v2.6.0 [INFO] [stderr] Compiling time v0.2.20 [INFO] [stderr] Compiling cookie v0.14.2 [INFO] [stderr] Checking rand_chacha v0.2.2 [INFO] [stderr] Checking scheduled-thread-pool v0.2.5 [INFO] [stderr] Checking fxhash v0.2.1 [INFO] [stderr] Checking r2d2 v0.8.9 [INFO] [stderr] Checking flate2 v1.0.17 [INFO] [stderr] Checking rand v0.7.3 [INFO] [stderr] Checking mio-uds v0.6.8 [INFO] [stderr] Compiling brotli-sys v0.3.2 [INFO] [stderr] Compiling libsqlite3-sys v0.12.0 [INFO] [stderr] Checking idna v0.2.0 [INFO] [stderr] Checking tokio v0.2.22 [INFO] [stderr] Compiling mime_guess v2.0.3 [INFO] [stderr] Checking env_logger v0.7.1 [INFO] [stderr] Checking url v2.1.1 [INFO] [stderr] Checking addr2line v0.13.0 [INFO] [stderr] Checking backtrace v0.3.50 [INFO] [stderr] Checking digest v0.9.0 [INFO] [stderr] Checking block-buffer v0.9.0 [INFO] [stderr] Checking sha-1 v0.9.1 [INFO] [stderr] Checking tokio-util v0.3.1 [INFO] [stderr] Compiling synstructure v0.12.4 [INFO] [stderr] Checking brotli2 v0.3.2 [INFO] [stderr] Compiling pin-project-internal v0.4.23 [INFO] [stderr] Compiling futures-macro v0.3.5 [INFO] [stderr] Compiling derive_more v0.99.10 [INFO] [stderr] Compiling actix-macros v0.1.2 [INFO] [stderr] Compiling thiserror-impl v1.0.20 [INFO] [stderr] Compiling async-trait v0.1.40 [INFO] [stderr] Compiling enum-as-inner v0.3.3 [INFO] [stderr] Compiling time-macros-impl v0.1.1 [INFO] [stderr] Compiling v_escape_derive v0.8.2 [INFO] [stderr] Compiling actix-web-codegen v0.3.0 [INFO] [stderr] Compiling diesel_derives v1.4.1 [INFO] [stderr] Checking time-macros v0.1.0 [INFO] [stderr] Checking failure v0.1.8 [INFO] [stderr] Checking thiserror v1.0.20 [INFO] [stderr] Checking actix-threadpool v0.3.3 [INFO] [stderr] Checking pin-project v0.4.23 [INFO] [stderr] Checking futures-util v0.3.5 [INFO] [stderr] Checking actix-codec v0.3.0 [INFO] [stderr] Checking serde_json v1.0.57 [INFO] [stderr] Checking serde_urlencoded v0.6.1 [INFO] [stderr] Checking actix-router v0.2.4 [INFO] [stderr] Checking actix-service v1.0.6 [INFO] [stderr] Checking actix-rt v1.1.1 [INFO] [stderr] Checking futures-executor v0.3.5 [INFO] [stderr] Checking h2 v0.2.6 [INFO] [stderr] Checking futures v0.3.5 [INFO] [stderr] Checking trust-dns-proto v0.19.5 [INFO] [stderr] Checking actix-utils v2.0.0 [INFO] [stderr] Checking actix-server v1.0.4 [INFO] [stderr] Checking actix-tls v2.0.0 [INFO] [stderr] Checking actix-testing v1.0.1 [INFO] [stderr] Checking trust-dns-resolver v0.19.5 [INFO] [stderr] Checking actix-connect v2.0.0 [INFO] [stderr] Checking diesel v1.4.5 [INFO] [stderr] Checking actix-http v2.0.0 [INFO] [stderr] Checking awc v2.0.0 [INFO] [stderr] Checking actix-web v3.0.2 [INFO] [stderr] Checking actix-files v0.3.0 [INFO] [stderr] Checking mapserver v0.0.1 (/tmp/fixit) [INFO] [stderr] Migrating src/main.rs from 2018 edition to 2021 [INFO] [stdout] error[E0583]: file not found for module `schema` [INFO] [stdout] --> src/db/mod.rs:4:1 [INFO] [stdout] | [INFO] [stdout] 4 | pub mod schema; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: to create the module `schema`, create file "src/db/schema.rs" or "src/db/schema/mod.rs" [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `maps` in `schema` [INFO] [stdout] --> src/db/actions.rs:12:24 [INFO] [stdout] | [INFO] [stdout] 12 | use super::schema::maps::dsl::*; [INFO] [stdout] | ^^^^ could not find `maps` in `schema` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `points` in `schema` [INFO] [stdout] --> src/db/actions.rs:25:24 [INFO] [stdout] | [INFO] [stdout] 25 | use super::schema::points::dsl::*; [INFO] [stdout] | ^^^^^^ could not find `points` in `schema` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `points` in `schema` [INFO] [stdout] --> src/db/actions.rs:35:24 [INFO] [stdout] | [INFO] [stdout] 35 | use super::schema::points::dsl::*; [INFO] [stdout] | ^^^^^^ could not find `points` in `schema` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `super::db::schema::points` [INFO] [stdout] --> src/models.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use super::db::schema::points; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ no `points` in `db::schema` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `points` [INFO] [stdout] --> src/db/actions.rs:44:5 [INFO] [stdout] | [INFO] [stdout] 44 | points::table.inner_join(maps::table) [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `points` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `maps` [INFO] [stdout] --> src/db/actions.rs:44:30 [INFO] [stdout] | [INFO] [stdout] 44 | points::table.inner_join(maps::table) [INFO] [stdout] | ^^^^ use of undeclared crate or module `maps` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `maps` [INFO] [stdout] --> src/db/actions.rs:45:17 [INFO] [stdout] | [INFO] [stdout] 45 | .filter(maps::keystr.eq(map_key)) [INFO] [stdout] | ^^^^ use of undeclared crate or module `maps` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `points` [INFO] [stdout] --> src/db/actions.rs:53:20 [INFO] [stdout] | [INFO] [stdout] 53 | diesel::delete(points::table [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `points` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `points` [INFO] [stdout] --> src/db/actions.rs:54:17 [INFO] [stdout] | [INFO] [stdout] 54 | .filter(points::id.eq(id)) [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `points` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `points` [INFO] [stdout] --> src/db/actions.rs:55:17 [INFO] [stdout] | [INFO] [stdout] 55 | .filter(points::mapid.eq_any( maps::table.filter(maps::keystr.eq(&map_key)).select(maps::id) )) [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `points` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `maps` [INFO] [stdout] --> src/db/actions.rs:55:39 [INFO] [stdout] | [INFO] [stdout] 55 | .filter(points::mapid.eq_any( maps::table.filter(maps::keystr.eq(&map_key)).select(maps::id) )) [INFO] [stdout] | ^^^^ use of undeclared crate or module `maps` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `maps` [INFO] [stdout] --> src/db/actions.rs:55:58 [INFO] [stdout] | [INFO] [stdout] 55 | .filter(points::mapid.eq_any( maps::table.filter(maps::keystr.eq(&map_key)).select(maps::id) )) [INFO] [stdout] | ^^^^ use of undeclared crate or module `maps` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `maps` [INFO] [stdout] --> src/db/actions.rs:55:92 [INFO] [stdout] | [INFO] [stdout] 55 | .filter(points::mapid.eq_any( maps::table.filter(maps::keystr.eq(&map_key)).select(maps::id) )) [INFO] [stdout] | ^^^^ use of undeclared crate or module `maps` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `points` [INFO] [stdout] --> src/db/actions.rs:63:20 [INFO] [stdout] | [INFO] [stdout] 63 | diesel::update(points::table [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `points` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `points` [INFO] [stdout] --> src/db/actions.rs:64:17 [INFO] [stdout] | [INFO] [stdout] 64 | .filter(points::id.eq(req.id)) [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `points` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `points` [INFO] [stdout] --> src/db/actions.rs:65:17 [INFO] [stdout] | [INFO] [stdout] 65 | .filter(points::mapid.eq_any( maps::table.filter(maps::keystr.eq(&map_key)).select(maps::id) )) [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `points` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `maps` [INFO] [stdout] --> src/db/actions.rs:65:39 [INFO] [stdout] | [INFO] [stdout] 65 | .filter(points::mapid.eq_any( maps::table.filter(maps::keystr.eq(&map_key)).select(maps::id) )) [INFO] [stdout] | ^^^^ use of undeclared crate or module `maps` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `maps` [INFO] [stdout] --> src/db/actions.rs:65:58 [INFO] [stdout] | [INFO] [stdout] 65 | .filter(points::mapid.eq_any( maps::table.filter(maps::keystr.eq(&map_key)).select(maps::id) )) [INFO] [stdout] | ^^^^ use of undeclared crate or module `maps` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `maps` [INFO] [stdout] --> src/db/actions.rs:65:92 [INFO] [stdout] | [INFO] [stdout] 65 | .filter(points::mapid.eq_any( maps::table.filter(maps::keystr.eq(&map_key)).select(maps::id) )) [INFO] [stdout] | ^^^^ use of undeclared crate or module `maps` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `maps` in this scope [INFO] [stdout] --> src/db/actions.rs:14:15 [INFO] [stdout] | [INFO] [stdout] 14 | let map = maps [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `keystr` in this scope [INFO] [stdout] --> src/db/actions.rs:15:17 [INFO] [stdout] | [INFO] [stdout] 15 | .filter(keystr.eq(req)) [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `points` in this scope [INFO] [stdout] --> src/db/actions.rs:26:27 [INFO] [stdout] | [INFO] [stdout] 26 | if let Some(max_id) = points.select(max(id)).first::>(conn)? { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `id` in this scope [INFO] [stdout] --> src/db/actions.rs:26:45 [INFO] [stdout] | [INFO] [stdout] 26 | if let Some(max_id) = points.select(max(id)).first::>(conn)? { [INFO] [stdout] | ^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 1 | use std::process::id; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `points` in this scope [INFO] [stdout] --> src/db/actions.rs:36:25 [INFO] [stdout] | [INFO] [stdout] 36 | diesel::insert_into(points).values(point).execute(conn)?; [INFO] [stdout] | ^^^^^^ help: a local variable with a similar name exists: `point` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::schema::*` [INFO] [stdout] --> src/db/actions.rs:42:9 [INFO] [stdout] | [INFO] [stdout] 42 | use super::schema::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::schema::*` [INFO] [stdout] --> src/db/actions.rs:52:9 [INFO] [stdout] | [INFO] [stdout] 52 | use super::schema::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::schema::*` [INFO] [stdout] --> src/db/actions.rs:62:9 [INFO] [stdout] | [INFO] [stdout] 62 | use super::schema::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: changes to closure capture in Rust 2021 will affect drop order [INFO] [stdout] --> src/main.rs:115:20 [INFO] [stdout] | [INFO] [stdout] 115 | web::block(move || db::actions::insert_point(&models::Point{ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 116 | id: point_id, [INFO] [stdout] 117 | mapid: map.id, [INFO] [stdout] | ------ in Rust 2018, this closure captures all of `map`, but in Rust 2021, it will only capture `map.id` [INFO] [stdout] ... [INFO] [stdout] 129 | } else { [INFO] [stdout] | - in Rust 2018, `map` is dropped here, but in Rust 2021, only `map.id` will be dropped here as part of the closure [INFO] [stdout] | [INFO] [stdout] = note: `--force-warn rust-2021-incompatible-closure-captures` implied by `--force-warn rust-2021-compatibility` [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: add a dummy let to cause `map` to be fully captured [INFO] [stdout] | [INFO] [stdout] 115 ~ web::block(move || { let _ = ↦ db::actions::insert_point(&models::Point{ [INFO] [stdout] 116 | id: point_id, [INFO] [stdout] 117 | mapid: map.id, [INFO] [stdout] 118 | coordx, [INFO] [stdout] 119 | coordy, [INFO] [stdout] 120 | title: None, [INFO] [stdout] ... [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 25 previous errors; 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0432, E0433, E0583. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] [INFO] [stderr] error: could not compile `mapserver` due to 26 previous errors; 4 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0583]: file not found for module `schema` [INFO] [stdout] --> src/db/mod.rs:4:1 [INFO] [stdout] | [INFO] [stdout] 4 | pub mod schema; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: to create the module `schema`, create file "src/db/schema.rs" or "src/db/schema/mod.rs" [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `maps` in `schema` [INFO] [stdout] --> src/db/actions.rs:12:24 [INFO] [stdout] | [INFO] [stdout] 12 | use super::schema::maps::dsl::*; [INFO] [stdout] | ^^^^ could not find `maps` in `schema` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `points` in `schema` [INFO] [stdout] --> src/db/actions.rs:25:24 [INFO] [stdout] | [INFO] [stdout] 25 | use super::schema::points::dsl::*; [INFO] [stdout] | ^^^^^^ could not find `points` in `schema` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `points` in `schema` [INFO] [stdout] --> src/db/actions.rs:35:24 [INFO] [stdout] | [INFO] [stdout] 35 | use super::schema::points::dsl::*; [INFO] [stdout] | ^^^^^^ could not find `points` in `schema` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `super::db::schema::points` [INFO] [stdout] --> src/models.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use super::db::schema::points; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ no `points` in `db::schema` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `points` [INFO] [stdout] --> src/db/actions.rs:44:5 [INFO] [stdout] | [INFO] [stdout] 44 | points::table.inner_join(maps::table) [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `points` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `maps` [INFO] [stdout] --> src/db/actions.rs:44:30 [INFO] [stdout] | [INFO] [stdout] 44 | points::table.inner_join(maps::table) [INFO] [stdout] | ^^^^ use of undeclared crate or module `maps` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `maps` [INFO] [stdout] --> src/db/actions.rs:45:17 [INFO] [stdout] | [INFO] [stdout] 45 | .filter(maps::keystr.eq(map_key)) [INFO] [stdout] | ^^^^ use of undeclared crate or module `maps` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `points` [INFO] [stdout] --> src/db/actions.rs:53:20 [INFO] [stdout] | [INFO] [stdout] 53 | diesel::delete(points::table [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `points` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `points` [INFO] [stdout] --> src/db/actions.rs:54:17 [INFO] [stdout] | [INFO] [stdout] 54 | .filter(points::id.eq(id)) [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `points` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `points` [INFO] [stdout] --> src/db/actions.rs:55:17 [INFO] [stdout] | [INFO] [stdout] 55 | .filter(points::mapid.eq_any( maps::table.filter(maps::keystr.eq(&map_key)).select(maps::id) )) [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `points` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `maps` [INFO] [stdout] --> src/db/actions.rs:55:39 [INFO] [stdout] | [INFO] [stdout] 55 | .filter(points::mapid.eq_any( maps::table.filter(maps::keystr.eq(&map_key)).select(maps::id) )) [INFO] [stdout] | ^^^^ use of undeclared crate or module `maps` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `maps` [INFO] [stdout] --> src/db/actions.rs:55:58 [INFO] [stdout] | [INFO] [stdout] 55 | .filter(points::mapid.eq_any( maps::table.filter(maps::keystr.eq(&map_key)).select(maps::id) )) [INFO] [stdout] | ^^^^ use of undeclared crate or module `maps` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `maps` [INFO] [stdout] --> src/db/actions.rs:55:92 [INFO] [stdout] | [INFO] [stdout] 55 | .filter(points::mapid.eq_any( maps::table.filter(maps::keystr.eq(&map_key)).select(maps::id) )) [INFO] [stdout] | ^^^^ use of undeclared crate or module `maps` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `points` [INFO] [stdout] --> src/db/actions.rs:63:20 [INFO] [stdout] | [INFO] [stdout] 63 | diesel::update(points::table [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `points` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `points` [INFO] [stdout] --> src/db/actions.rs:64:17 [INFO] [stdout] | [INFO] [stdout] 64 | .filter(points::id.eq(req.id)) [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `points` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `points` [INFO] [stdout] --> src/db/actions.rs:65:17 [INFO] [stdout] | [INFO] [stdout] 65 | .filter(points::mapid.eq_any( maps::table.filter(maps::keystr.eq(&map_key)).select(maps::id) )) [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `points` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `maps` [INFO] [stdout] --> src/db/actions.rs:65:39 [INFO] [stdout] | [INFO] [stdout] 65 | .filter(points::mapid.eq_any( maps::table.filter(maps::keystr.eq(&map_key)).select(maps::id) )) [INFO] [stdout] | ^^^^ use of undeclared crate or module `maps` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `maps` [INFO] [stdout] --> src/db/actions.rs:65:58 [INFO] [stdout] | [INFO] [stdout] 65 | .filter(points::mapid.eq_any( maps::table.filter(maps::keystr.eq(&map_key)).select(maps::id) )) [INFO] [stdout] | ^^^^ use of undeclared crate or module `maps` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `maps` [INFO] [stdout] --> src/db/actions.rs:65:92 [INFO] [stdout] | [INFO] [stdout] 65 | .filter(points::mapid.eq_any( maps::table.filter(maps::keystr.eq(&map_key)).select(maps::id) )) [INFO] [stdout] | ^^^^ use of undeclared crate or module `maps` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `maps` in this scope [INFO] [stdout] --> src/db/actions.rs:14:15 [INFO] [stdout] | [INFO] [stdout] 14 | let map = maps [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `keystr` in this scope [INFO] [stdout] --> src/db/actions.rs:15:17 [INFO] [stdout] | [INFO] [stdout] 15 | .filter(keystr.eq(req)) [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `points` in this scope [INFO] [stdout] --> src/db/actions.rs:26:27 [INFO] [stdout] | [INFO] [stdout] 26 | if let Some(max_id) = points.select(max(id)).first::>(conn)? { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `id` in this scope [INFO] [stdout] --> src/db/actions.rs:26:45 [INFO] [stdout] | [INFO] [stdout] 26 | if let Some(max_id) = points.select(max(id)).first::>(conn)? { [INFO] [stdout] | ^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 1 | use std::process::id; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `points` in this scope [INFO] [stdout] --> src/db/actions.rs:36:25 [INFO] [stdout] | [INFO] [stdout] 36 | diesel::insert_into(points).values(point).execute(conn)?; [INFO] [stdout] | ^^^^^^ help: a local variable with a similar name exists: `point` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::schema::*` [INFO] [stdout] --> src/db/actions.rs:42:9 [INFO] [stdout] | [INFO] [stdout] 42 | use super::schema::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::schema::*` [INFO] [stdout] --> src/db/actions.rs:52:9 [INFO] [stdout] | [INFO] [stdout] 52 | use super::schema::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::schema::*` [INFO] [stdout] --> src/db/actions.rs:62:9 [INFO] [stdout] | [INFO] [stdout] 62 | use super::schema::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: changes to closure capture in Rust 2021 will affect drop order [INFO] [stdout] --> src/main.rs:115:20 [INFO] [stdout] | [INFO] [stdout] 115 | web::block(move || db::actions::insert_point(&models::Point{ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 116 | id: point_id, [INFO] [stdout] 117 | mapid: map.id, [INFO] [stdout] | ------ in Rust 2018, this closure captures all of `map`, but in Rust 2021, it will only capture `map.id` [INFO] [stdout] ... [INFO] [stdout] 129 | } else { [INFO] [stdout] | - in Rust 2018, `map` is dropped here, but in Rust 2021, only `map.id` will be dropped here as part of the closure [INFO] [stdout] | [INFO] [stdout] = note: `--force-warn rust-2021-incompatible-closure-captures` implied by `--force-warn rust-2021-compatibility` [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: add a dummy let to cause `map` to be fully captured [INFO] [stdout] | [INFO] [stdout] 115 ~ web::block(move || { let _ = ↦ db::actions::insert_point(&models::Point{ [INFO] [stdout] 116 | id: point_id, [INFO] [stdout] 117 | mapid: map.id, [INFO] [stdout] 118 | coordx, [INFO] [stdout] 119 | coordy, [INFO] [stdout] 120 | title: None, [INFO] [stdout] ... [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 25 previous errors; 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0432, E0433, E0583. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] [stderr] error: failed to migrate to next edition [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] process didn't exit successfully: `cargo fix --edition --allow-no-vcs --allow-dirty --frozen --all --all-targets --message-format=json` (exit status: 101) [INFO] running `Command { std: "docker" "inspect" "6fd8488c005fc8ab2ea28452f963b69be07747fe81e399b33d1e956ec2b0aca7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6fd8488c005fc8ab2ea28452f963b69be07747fe81e399b33d1e956ec2b0aca7", kill_on_drop: false }` [INFO] [stdout] 6fd8488c005fc8ab2ea28452f963b69be07747fe81e399b33d1e956ec2b0aca7