[INFO] cloning repository https://github.com/saolsen/rust-webapp [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/saolsen/rust-webapp" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsaolsen%2Frust-webapp", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsaolsen%2Frust-webapp'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 38d190202abe21be447e9578a1d9434db70be7f3 [INFO] testing saolsen/rust-webapp against beta-2022-04-10 for beta-1.61-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsaolsen%2Frust-webapp" "/workspace/builds/worker-4/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/saolsen/rust-webapp on toolchain beta-2022-04-10 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/saolsen/rust-webapp [INFO] finished tweaking git repo https://github.com/saolsen/rust-webapp [INFO] tweaked toml for git repo https://github.com/saolsen/rust-webapp written to /workspace/builds/worker-4/source/Cargo.toml [INFO] crate git repo https://github.com/saolsen/rust-webapp already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 5a75fee87c5b600c06a95c4669e73abc6b1722629dfdacb7bf1728fc0791a4ec [INFO] running `Command { std: "docker" "start" "-a" "5a75fee87c5b600c06a95c4669e73abc6b1722629dfdacb7bf1728fc0791a4ec", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "5a75fee87c5b600c06a95c4669e73abc6b1722629dfdacb7bf1728fc0791a4ec", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5a75fee87c5b600c06a95c4669e73abc6b1722629dfdacb7bf1728fc0791a4ec", kill_on_drop: false }` [INFO] [stdout] 5a75fee87c5b600c06a95c4669e73abc6b1722629dfdacb7bf1728fc0791a4ec [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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" "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:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 2bb83ed7e42d06c0a02901e39a9de6b75af591ee1713b72a8a70a2198b02aa34 [INFO] running `Command { std: "docker" "start" "-a" "2bb83ed7e42d06c0a02901e39a9de6b75af591ee1713b72a8a70a2198b02aa34", kill_on_drop: false }` [INFO] [stderr] Compiling cc v1.0.22 [INFO] [stderr] Compiling byteorder v1.2.6 [INFO] [stderr] Compiling futures v0.1.23 [INFO] [stderr] Compiling crossbeam-utils v0.5.0 [INFO] [stderr] Compiling proc-macro2 v0.4.13 [INFO] [stderr] Compiling rustc-demangle v0.1.9 [INFO] [stderr] Compiling backtrace v0.2.3 [INFO] [stderr] Compiling itoa v0.4.2 [INFO] [stderr] Compiling failure_derive v0.1.2 [INFO] [stderr] Compiling serde v1.0.75 [INFO] [stderr] Compiling utf8-ranges v1.0.1 [INFO] [stderr] Compiling pq-sys v0.4.6 [INFO] [stderr] Compiling regex v1.0.4 [INFO] [stderr] Compiling indexmap v1.0.1 [INFO] [stderr] Compiling string v0.1.1 [INFO] [stderr] Compiling lazycell v1.0.0 [INFO] [stderr] Compiling iovec v0.1.2 [INFO] [stderr] Compiling rand v0.4.3 [INFO] [stderr] Compiling memchr v2.0.2 [INFO] [stderr] Compiling hostname v0.1.5 [INFO] [stderr] Compiling log v0.4.4 [INFO] [stderr] Compiling rand v0.5.5 [INFO] [stderr] Compiling net2 v0.2.33 [INFO] [stderr] Compiling dbghelp-sys v0.2.0 [INFO] [stderr] Compiling unicase v2.1.0 [INFO] [stderr] Compiling socket2 v0.3.7 [INFO] [stderr] Compiling actix-web v0.7.4 [INFO] [stderr] Compiling regex-syntax v0.6.2 [INFO] [stderr] Compiling base64 v0.9.2 [INFO] [stderr] Compiling bytes v0.4.9 [INFO] [stderr] Compiling lock_api v0.1.3 [INFO] [stderr] Compiling resolv-conf v0.6.1 [INFO] [stderr] Compiling aho-corasick v0.6.8 [INFO] [stderr] Compiling r2d2 v0.8.2 [INFO] [stderr] Compiling mio v0.6.15 [INFO] [stderr] Compiling url v1.7.1 [INFO] [stderr] Compiling crossbeam-epoch v0.5.2 [INFO] [stderr] Compiling thread_local v0.3.6 [INFO] [stderr] Compiling phf_shared v0.7.23 [INFO] [stderr] Compiling diesel_derives v1.3.0 [INFO] [stderr] Compiling parking_lot_core v0.2.14 [INFO] [stderr] Compiling uuid v0.6.5 [INFO] [stderr] Compiling http v0.1.10 [INFO] [stderr] Compiling regex v0.2.11 [INFO] [stderr] Compiling quote v0.6.8 [INFO] [stderr] Compiling phf v0.7.23 [INFO] [stderr] Compiling phf_generator v0.7.23 [INFO] [stderr] Compiling crossbeam-deque v0.6.1 [INFO] [stderr] Compiling tokio-executor v0.1.4 [INFO] [stderr] Compiling tokio-io v0.1.8 [INFO] [stderr] Compiling futures-cpupool v0.1.8 [INFO] [stderr] Compiling syn v0.14.9 [INFO] [stderr] Compiling syn v0.15.3 [INFO] [stderr] Compiling mime v0.3.9 [INFO] [stderr] Compiling parking_lot v0.6.3 [INFO] [stderr] Compiling mio-uds v0.6.6 [INFO] [stderr] Compiling backtrace-sys v0.1.24 [INFO] [stderr] Compiling brotli-sys v0.3.2 [INFO] [stderr] Compiling ring v0.13.2 [INFO] [stderr] Compiling miniz-sys v0.1.10 [INFO] [stderr] Compiling phf_codegen v0.7.23 [INFO] [stderr] Compiling tokio-threadpool v0.1.6 [INFO] [stderr] Compiling tokio-timer v0.2.6 [INFO] [stderr] Compiling tokio-current-thread v0.1.1 [INFO] [stderr] Compiling crossbeam-channel v0.2.4 [INFO] [stderr] Compiling tokio-reactor v0.1.5 [INFO] [stderr] Compiling tokio-codec v0.1.0 [INFO] [stderr] Compiling mime_guess v2.0.0-alpha.6 [INFO] [stderr] Compiling dotenv v0.9.0 [INFO] [stderr] Compiling tokio-udp v0.1.2 [INFO] [stderr] Compiling tokio-tcp v0.1.1 [INFO] [stderr] Compiling tokio-uds v0.2.1 [INFO] [stderr] Compiling tokio-signal v0.2.4 [INFO] [stderr] Compiling tokio-fs v0.1.3 [INFO] [stderr] Compiling h2 v0.1.12 [INFO] [stderr] Compiling backtrace v0.3.9 [INFO] [stderr] Compiling tokio v0.1.8 [INFO] [stderr] Compiling flate2 v1.0.2 [INFO] [stderr] Compiling error-chain v0.1.12 [INFO] [stderr] Compiling error-chain v0.12.0 [INFO] [stderr] Compiling trust-dns-proto v0.4.0 [INFO] [stderr] Compiling diesel v1.3.2 [INFO] [stderr] Compiling serde_urlencoded v0.5.3 [INFO] [stderr] Compiling serde_json v1.0.26 [INFO] [stderr] Compiling serde_derive v1.0.78 [INFO] [stderr] Compiling cookie v0.11.0 [INFO] [stderr] Compiling trust-dns-resolver v0.9.1 [INFO] [stderr] Compiling synstructure v0.9.0 [INFO] [stderr] Compiling brotli2 v0.3.2 [INFO] [stderr] Compiling actix_derive v0.3.0 [INFO] [stderr] Compiling failure v0.1.2 [INFO] [stderr] Compiling actix v0.7.4 [INFO] [stderr] Compiling webapp v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `FutureResponse`, `Path`, `http::ContentEncoding`, `middleware` [INFO] [stdout] --> src/main.rs:27:30 [INFO] [stdout] | [INFO] [stdout] 27 | ...p, middleware, server, App, Responder, HttpRequest, HttpResponse, AsyncResponder, FutureResponse, Path, State, http::ContentEncoding, F... [INFO] [stdout] | ^^^^^^^^^^ ^^^^^^^^^^^^^^ ^^^^ ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: cannot find type `table` in this scope [INFO] [stdout] --> src/schema.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | / table! { [INFO] [stdout] 2 | | widgets (name) { [INFO] [stdout] 3 | | name -> Text, [INFO] [stdout] 4 | | } [INFO] [stdout] 5 | | } [INFO] [stdout] | |_^ names from parent modules are not accessible without an explicit import [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(proc_macro_derive_resolution_fallback)]` on by default [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #83583 [INFO] [stdout] = note: this warning originates in the derive macro `QueryId` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: cannot find type `name` in this scope [INFO] [stdout] --> src/schema.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | / table! { [INFO] [stdout] 2 | | widgets (name) { [INFO] [stdout] 3 | | name -> Text, [INFO] [stdout] 4 | | } [INFO] [stdout] 5 | | } [INFO] [stdout] | |_^ names from parent modules are not accessible without an explicit import [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #83583 [INFO] [stdout] = note: this warning originates in the derive macro `QueryId` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: cannot find type `Widget` in this scope [INFO] [stdout] --> src/main.rs:44:10 [INFO] [stdout] | [INFO] [stdout] 44 | #[derive(Queryable)] [INFO] [stdout] | ^^^^^^^^^ names from parent modules are not accessible without an explicit import [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #83583 [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: cannot find type `widgets` in this scope [INFO] [stdout] --> src/main.rs:49:10 [INFO] [stdout] | [INFO] [stdout] 49 | #[derive(Insertable)] [INFO] [stdout] | ^^^^^^^^^^ names from parent modules are not accessible without an explicit import [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #83583 [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: cannot find type `NewWidget` in this scope [INFO] [stdout] --> src/main.rs:49:10 [INFO] [stdout] | [INFO] [stdout] 49 | #[derive(Insertable)] [INFO] [stdout] | ^^^^^^^^^^ names from parent modules are not accessible without an explicit import [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #83583 [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: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/main.rs:173:85 [INFO] [stdout] | [INFO] [stdout] 173 | fn a_create_widget((state, params): (State, Form),) -> Box> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 173 - fn a_create_widget((state, params): (State, Form),) -> Box> { [INFO] [stdout] 173 + fn a_create_widget((state, params): (State, Form),) -> Box> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/main.rs:183:88 [INFO] [stdout] | [INFO] [stdout] 183 | fn a_delete_widget((state, params): (State, Form),) -> Box> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 183 - fn a_delete_widget((state, params): (State, Form),) -> Box> { [INFO] [stdout] 183 + fn a_delete_widget((state, params): (State, Form),) -> Box> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/main.rs:193:54 [INFO] [stdout] | [INFO] [stdout] 193 | fn a_get_widgets(req: &HttpRequest) -> Box> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 193 - fn a_get_widgets(req: &HttpRequest) -> Box> { [INFO] [stdout] 193 + fn a_get_widgets(req: &HttpRequest) -> Box> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `req` [INFO] [stdout] --> src/main.rs:155:10 [INFO] [stdout] | [INFO] [stdout] 155 | fn index(req: &HttpRequest) -> impl Responder { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_req` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `sys` [INFO] [stdout] --> src/main.rs:223:9 [INFO] [stdout] | [INFO] [stdout] 223 | let sys = actix::System::new("webapp"); [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_sys` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `msg` [INFO] [stdout] --> src/main.rs:129:26 [INFO] [stdout] | [INFO] [stdout] 129 | fn handle(&mut self, msg: GetWidgets, _: &mut Self::Context) -> Self::Result { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_msg` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 12 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 3m 24s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: diesel v1.3.2, webapp v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 7` [INFO] running `Command { std: "docker" "inspect" "2bb83ed7e42d06c0a02901e39a9de6b75af591ee1713b72a8a70a2198b02aa34", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2bb83ed7e42d06c0a02901e39a9de6b75af591ee1713b72a8a70a2198b02aa34", kill_on_drop: false }` [INFO] [stdout] 2bb83ed7e42d06c0a02901e39a9de6b75af591ee1713b72a8a70a2198b02aa34 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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" "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:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 02cb92f20562306ae1a901333d83f729057e771623345ab3ffb9c048cde5f75d [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "02cb92f20562306ae1a901333d83f729057e771623345ab3ffb9c048cde5f75d", kill_on_drop: false }` [INFO] [stderr] Compiling webapp v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `FutureResponse`, `Path`, `http::ContentEncoding`, `middleware` [INFO] [stdout] --> src/main.rs:27:30 [INFO] [stdout] | [INFO] [stdout] 27 | ...p, middleware, server, App, Responder, HttpRequest, HttpResponse, AsyncResponder, FutureResponse, Path, State, http::ContentEncoding, F... [INFO] [stdout] | ^^^^^^^^^^ ^^^^^^^^^^^^^^ ^^^^ ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: cannot find type `table` in this scope [INFO] [stdout] --> src/schema.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | / table! { [INFO] [stdout] 2 | | widgets (name) { [INFO] [stdout] 3 | | name -> Text, [INFO] [stdout] 4 | | } [INFO] [stdout] 5 | | } [INFO] [stdout] | |_^ names from parent modules are not accessible without an explicit import [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(proc_macro_derive_resolution_fallback)]` on by default [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #83583 [INFO] [stdout] = note: this warning originates in the derive macro `QueryId` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: cannot find type `name` in this scope [INFO] [stdout] --> src/schema.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | / table! { [INFO] [stdout] 2 | | widgets (name) { [INFO] [stdout] 3 | | name -> Text, [INFO] [stdout] 4 | | } [INFO] [stdout] 5 | | } [INFO] [stdout] | |_^ names from parent modules are not accessible without an explicit import [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #83583 [INFO] [stdout] = note: this warning originates in the derive macro `QueryId` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: cannot find type `Widget` in this scope [INFO] [stdout] --> src/main.rs:44:10 [INFO] [stdout] | [INFO] [stdout] 44 | #[derive(Queryable)] [INFO] [stdout] | ^^^^^^^^^ names from parent modules are not accessible without an explicit import [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #83583 [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: cannot find type `widgets` in this scope [INFO] [stdout] --> src/main.rs:49:10 [INFO] [stdout] | [INFO] [stdout] 49 | #[derive(Insertable)] [INFO] [stdout] | ^^^^^^^^^^ names from parent modules are not accessible without an explicit import [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #83583 [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: cannot find type `NewWidget` in this scope [INFO] [stdout] --> src/main.rs:49:10 [INFO] [stdout] | [INFO] [stdout] 49 | #[derive(Insertable)] [INFO] [stdout] | ^^^^^^^^^^ names from parent modules are not accessible without an explicit import [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #83583 [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: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/main.rs:173:85 [INFO] [stdout] | [INFO] [stdout] 173 | fn a_create_widget((state, params): (State, Form),) -> Box> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 173 - fn a_create_widget((state, params): (State, Form),) -> Box> { [INFO] [stdout] 173 + fn a_create_widget((state, params): (State, Form),) -> Box> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/main.rs:183:88 [INFO] [stdout] | [INFO] [stdout] 183 | fn a_delete_widget((state, params): (State, Form),) -> Box> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 183 - fn a_delete_widget((state, params): (State, Form),) -> Box> { [INFO] [stdout] 183 + fn a_delete_widget((state, params): (State, Form),) -> Box> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/main.rs:193:54 [INFO] [stdout] | [INFO] [stdout] 193 | fn a_get_widgets(req: &HttpRequest) -> Box> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 193 - fn a_get_widgets(req: &HttpRequest) -> Box> { [INFO] [stdout] 193 + fn a_get_widgets(req: &HttpRequest) -> Box> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `req` [INFO] [stdout] --> src/main.rs:155:10 [INFO] [stdout] | [INFO] [stdout] 155 | fn index(req: &HttpRequest) -> impl Responder { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_req` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `sys` [INFO] [stdout] --> src/main.rs:223:9 [INFO] [stdout] | [INFO] [stdout] 223 | let sys = actix::System::new("webapp"); [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_sys` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `msg` [INFO] [stdout] --> src/main.rs:129:26 [INFO] [stdout] | [INFO] [stdout] 129 | fn handle(&mut self, msg: GetWidgets, _: &mut Self::Context) -> Self::Result { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_msg` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 12 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 1.77s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: diesel v1.3.2, webapp v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 8` [INFO] [stderr] Executable unittests src/main.rs (/opt/rustwide/target/debug/deps/webapp-df78191b5284717b) [INFO] running `Command { std: "docker" "inspect" "02cb92f20562306ae1a901333d83f729057e771623345ab3ffb9c048cde5f75d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "02cb92f20562306ae1a901333d83f729057e771623345ab3ffb9c048cde5f75d", kill_on_drop: false }` [INFO] [stdout] 02cb92f20562306ae1a901333d83f729057e771623345ab3ffb9c048cde5f75d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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" "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:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 551d2bdf08290a84f92d05507bd903a944c9899f1f1ca5edcb60ae0404ecc854 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "551d2bdf08290a84f92d05507bd903a944c9899f1f1ca5edcb60ae0404ecc854", kill_on_drop: false }` [INFO] [stderr] warning: unused imports: `FutureResponse`, `Path`, `http::ContentEncoding`, `middleware` [INFO] [stderr] --> src/main.rs:27:30 [INFO] [stderr] | [INFO] [stderr] 27 | ...p, middleware, server, App, Responder, HttpRequest, HttpResponse, AsyncResponder, FutureResponse, Path, State, http::ContentEncoding, F... [INFO] [stderr] | ^^^^^^^^^^ ^^^^^^^^^^^^^^ ^^^^ ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: cannot find type `table` in this scope [INFO] [stderr] --> src/schema.rs:1:1 [INFO] [stderr] | [INFO] [stderr] 1 | / table! { [INFO] [stderr] 2 | | widgets (name) { [INFO] [stderr] 3 | | name -> Text, [INFO] [stderr] 4 | | } [INFO] [stderr] 5 | | } [INFO] [stderr] | |_^ names from parent modules are not accessible without an explicit import [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(proc_macro_derive_resolution_fallback)]` on by default [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stderr] = note: for more information, see issue #83583 [INFO] [stderr] = note: this warning originates in the derive macro `QueryId` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: cannot find type `name` in this scope [INFO] [stderr] --> src/schema.rs:1:1 [INFO] [stderr] | [INFO] [stderr] 1 | / table! { [INFO] [stderr] 2 | | widgets (name) { [INFO] [stderr] 3 | | name -> Text, [INFO] [stderr] 4 | | } [INFO] [stderr] 5 | | } [INFO] [stderr] | |_^ names from parent modules are not accessible without an explicit import [INFO] [stderr] | [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stderr] = note: for more information, see issue #83583 [INFO] [stderr] = note: this warning originates in the derive macro `QueryId` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: cannot find type `Widget` in this scope [INFO] [stderr] --> src/main.rs:44:10 [INFO] [stderr] | [INFO] [stderr] 44 | #[derive(Queryable)] [INFO] [stderr] | ^^^^^^^^^ names from parent modules are not accessible without an explicit import [INFO] [stderr] | [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stderr] = note: for more information, see issue #83583 [INFO] [stderr] = note: this warning originates in the derive macro `Queryable` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: cannot find type `widgets` in this scope [INFO] [stderr] --> src/main.rs:49:10 [INFO] [stderr] | [INFO] [stderr] 49 | #[derive(Insertable)] [INFO] [stderr] | ^^^^^^^^^^ names from parent modules are not accessible without an explicit import [INFO] [stderr] | [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stderr] = note: for more information, see issue #83583 [INFO] [stderr] = note: this warning originates in the derive macro `Insertable` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: cannot find type `NewWidget` in this scope [INFO] [stderr] --> src/main.rs:49:10 [INFO] [stderr] | [INFO] [stderr] 49 | #[derive(Insertable)] [INFO] [stderr] | ^^^^^^^^^^ names from parent modules are not accessible without an explicit import [INFO] [stderr] | [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stderr] = note: for more information, see issue #83583 [INFO] [stderr] = note: this warning originates in the derive macro `Insertable` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/main.rs:173:85 [INFO] [stderr] | [INFO] [stderr] 173 | fn a_create_widget((state, params): (State, Form),) -> Box> { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 173 - fn a_create_widget((state, params): (State, Form),) -> Box> { [INFO] [stderr] 173 + fn a_create_widget((state, params): (State, Form),) -> Box> { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/main.rs:183:88 [INFO] [stderr] | [INFO] [stderr] 183 | fn a_delete_widget((state, params): (State, Form),) -> Box> { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 183 - fn a_delete_widget((state, params): (State, Form),) -> Box> { [INFO] [stderr] 183 + fn a_delete_widget((state, params): (State, Form),) -> Box> { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/main.rs:193:54 [INFO] [stderr] | [INFO] [stderr] 193 | fn a_get_widgets(req: &HttpRequest) -> Box> { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 193 - fn a_get_widgets(req: &HttpRequest) -> Box> { [INFO] [stderr] 193 + fn a_get_widgets(req: &HttpRequest) -> Box> { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: unused variable: `req` [INFO] [stderr] --> src/main.rs:155:10 [INFO] [stderr] | [INFO] [stderr] 155 | fn index(req: &HttpRequest) -> impl Responder { [INFO] [stderr] | ^^^ help: if this is intentional, prefix it with an underscore: `_req` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `sys` [INFO] [stderr] --> src/main.rs:223:9 [INFO] [stderr] | [INFO] [stderr] 223 | let sys = actix::System::new("webapp"); [INFO] [stderr] | ^^^ help: if this is intentional, prefix it with an underscore: `_sys` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `msg` [INFO] [stderr] --> src/main.rs:129:26 [INFO] [stderr] | [INFO] [stderr] 129 | fn handle(&mut self, msg: GetWidgets, _: &mut Self::Context) -> Self::Result { [INFO] [stderr] | ^^^ help: if this is intentional, prefix it with an underscore: `_msg` [INFO] [stderr] [INFO] [stderr] warning: `webapp` (bin "webapp" test) generated 12 warnings [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.28s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: diesel v1.3.2, webapp v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 9` [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/webapp-df78191b5284717b) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "551d2bdf08290a84f92d05507bd903a944c9899f1f1ca5edcb60ae0404ecc854", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "551d2bdf08290a84f92d05507bd903a944c9899f1f1ca5edcb60ae0404ecc854", kill_on_drop: false }` [INFO] [stdout] 551d2bdf08290a84f92d05507bd903a944c9899f1f1ca5edcb60ae0404ecc854