[INFO] cloning repository https://github.com/southball/rust-cms [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/southball/rust-cms" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsouthball%2Frust-cms", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsouthball%2Frust-cms'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 6010e88ad30a6c89fac6ea7736c69219194dc17d [INFO] testing southball/rust-cms against 1.59.0 for beta-1.60-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsouthball%2Frust-cms" "/workspace/builds/worker-10/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-10/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/southball/rust-cms on toolchain 1.59.0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.59.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/southball/rust-cms [INFO] finished tweaking git repo https://github.com/southball/rust-cms [INFO] tweaked toml for git repo https://github.com/southball/rust-cms written to /workspace/builds/worker-10/source/Cargo.toml [INFO] crate git repo https://github.com/southball/rust-cms already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.59.0" "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-10/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+1.59.0" "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] 39d2ed3319e1fc24b7ce2bb9787c37947d4535f785ed843e9d73e4dcdea63f46 [INFO] running `Command { std: "docker" "start" "-a" "39d2ed3319e1fc24b7ce2bb9787c37947d4535f785ed843e9d73e4dcdea63f46", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "39d2ed3319e1fc24b7ce2bb9787c37947d4535f785ed843e9d73e4dcdea63f46", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "39d2ed3319e1fc24b7ce2bb9787c37947d4535f785ed843e9d73e4dcdea63f46", kill_on_drop: false }` [INFO] [stdout] 39d2ed3319e1fc24b7ce2bb9787c37947d4535f785ed843e9d73e4dcdea63f46 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+1.59.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a1fec3916f1d1eba840bcfe1d57b46c9c2b69d2cb2ea6c6170d55002107f997d [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" "a1fec3916f1d1eba840bcfe1d57b46c9c2b69d2cb2ea6c6170d55002107f997d", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.17 [INFO] [stderr] Compiling syn v1.0.27 [INFO] [stderr] Compiling libc v0.2.71 [INFO] [stderr] Compiling once_cell v1.4.0 [INFO] [stderr] Compiling standback v0.2.8 [INFO] [stderr] Compiling futures-io v0.3.5 [INFO] [stderr] Compiling futures-sink v0.3.5 [INFO] [stderr] Compiling pin-project-lite v0.1.5 [INFO] [stderr] Compiling pulldown-cmark v0.7.1 [INFO] [stderr] Compiling error-chain v0.12.2 [INFO] [stderr] Compiling itertools v0.8.2 [INFO] [stderr] Compiling ring v0.16.13 [INFO] [stderr] Compiling omnom v2.1.2 [INFO] [stderr] Compiling kv-log-macro v1.0.6 [INFO] [stderr] Compiling infer v0.1.6 [INFO] [stderr] Compiling num-integer v0.1.42 [INFO] [stderr] Compiling byte-pool v0.2.1 [INFO] [stderr] Compiling pem v0.7.0 [INFO] [stderr] Compiling futures-task v0.3.5 [INFO] [stderr] Compiling num-bigint v0.2.6 [INFO] [stderr] Compiling quote v1.0.6 [INFO] [stderr] Compiling proc-quote-impl v0.3.2 [INFO] [stderr] Compiling time v0.1.43 [INFO] [stderr] Compiling nix v0.17.0 [INFO] [stderr] Compiling socket2 v0.3.12 [INFO] [stderr] Compiling num_cpus v1.13.0 [INFO] [stderr] Compiling getrandom v0.1.14 [INFO] [stderr] Compiling parking_lot_core v0.7.2 [INFO] [stderr] Compiling backtrace v0.3.48 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling cookie v0.12.0 [INFO] [stderr] Compiling parking_lot v0.10.2 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling scheduled-thread-pool v0.2.4 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling r2d2 v0.8.8 [INFO] [stderr] Compiling uuid v0.8.1 [INFO] [stderr] Compiling pest_generator v2.1.3 [INFO] [stderr] Compiling proc-quote v0.3.2 [INFO] [stderr] Compiling serde_derive v1.0.110 [INFO] [stderr] Compiling pin-project-internal v0.4.17 [INFO] [stderr] Compiling time-macros-impl v0.1.1 [INFO] [stderr] Compiling async-attributes v1.1.1 [INFO] [stderr] Compiling pest_derive v2.1.0 [INFO] [stderr] Compiling liquid-derive v0.20.0 [INFO] [stderr] Compiling diesel_derives v1.4.1 [INFO] [stderr] Compiling time-macros v0.1.0 [INFO] [stderr] Compiling time v0.2.16 [INFO] [stderr] Compiling cookie v0.13.3 [INFO] [stderr] Compiling pin-project v0.4.17 [INFO] [stderr] Compiling futures-util v0.3.5 [INFO] [stderr] Compiling serde v1.0.110 [INFO] [stderr] Compiling piper v0.1.2 [INFO] [stderr] Compiling smol v0.1.10 [INFO] [stderr] Compiling async-std v1.6.0 [INFO] [stderr] Compiling chrono v0.4.11 [INFO] [stderr] Compiling serde_json v1.0.53 [INFO] [stderr] Compiling serde_urlencoded v0.6.1 [INFO] [stderr] Compiling kstring v0.1.0 [INFO] [stderr] Compiling serde_qs v0.5.2 [INFO] [stderr] Compiling femme v2.1.0 [INFO] [stderr] Compiling liquid-core v0.20.0 [INFO] [stderr] Compiling simple_asn1 v0.4.0 [INFO] [stderr] Compiling diesel v1.4.4 [INFO] [stderr] Compiling jsonwebtoken v7.1.0 [INFO] [stderr] Compiling http-types v1.3.1 [INFO] [stderr] Compiling http-types v2.0.1 [INFO] [stderr] Compiling liquid-lib v0.20.0 [INFO] [stderr] Compiling async-sse v2.1.0 [INFO] [stderr] Compiling async-h1 v2.0.0 [INFO] [stderr] Compiling tide v0.9.0 [INFO] [stderr] Compiling liquid v0.20.0 [INFO] [stderr] Compiling rust-cms v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `Deserialize` [INFO] [stdout] --> src/server/error.rs:1:13 [INFO] [stdout] | [INFO] [stdout] 1 | use serde::{Deserialize, Serialize}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Response`, `StatusCode` [INFO] [stdout] --> src/server/routes/admin/index.rs:3:21 [INFO] [stdout] | [INFO] [stdout] 3 | use tide::{Request, Response, Result, StatusCode}; [INFO] [stdout] | ^^^^^^^^ ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Response`, `StatusCode` [INFO] [stdout] --> src/server/routes/not_found.rs:2:21 [INFO] [stdout] | [INFO] [stdout] 2 | use tide::{Request, Response, Result, StatusCode}; [INFO] [stdout] | ^^^^^^^^ ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Response`, `StatusCode` [INFO] [stdout] --> src/server/routes/posts.rs:4:21 [INFO] [stdout] | [INFO] [stdout] 4 | use tide::{Request, Response, Result, StatusCode}; [INFO] [stdout] | ^^^^^^^^ ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::unwrap_or_error` [INFO] [stdout] --> src/server/routes/tags.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::unwrap_or_error; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::database::models::User` [INFO] [stdout] --> src/server/session.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::database::models::User; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `diesel::pg::PgConnection` [INFO] [stdout] --> src/server/session.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use diesel::pg::PgConnection; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Response` [INFO] [stdout] --> src/server/session.rs:5:26 [INFO] [stdout] | [INFO] [stdout] 5 | use tide::{http::Cookie, Response}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `StatusCode` [INFO] [stdout] --> src/server/templates.rs:62:26 [INFO] [stdout] | [INFO] [stdout] 62 | use tide::{Response, StatusCode}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/server/routes/authentication.rs:31:28 [INFO] [stdout] | [INFO] [stdout] 31 | pub async fn register_form(mut req: Request) -> Result { [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/server/routes/authentication.rs:54:25 [INFO] [stdout] | [INFO] [stdout] 54 | pub async fn login_form(mut req: Request) -> Result { [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/server/routes/authentication.rs:147:21 [INFO] [stdout] | [INFO] [stdout] 147 | pub async fn logout(mut req: Request) -> Result { [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/server/routes/authentication.rs:148:9 [INFO] [stdout] | [INFO] [stdout] 148 | let mut res = Response::redirect("/"); [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/server/routes/not_found.rs:4:24 [INFO] [stdout] | [INFO] [stdout] 4 | pub async fn not_found(mut req: Request) -> Result { [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/server/routes/posts.rs:6:23 [INFO] [stdout] | [INFO] [stdout] 6 | pub async fn get_post(mut req: Request) -> Result { [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/server/routes/posts.rs:31:24 [INFO] [stdout] | [INFO] [stdout] 31 | pub async fn get_posts(mut req: Request) -> Result { [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/server/routes/tags.rs:6:28 [INFO] [stdout] | [INFO] [stdout] 6 | pub async fn all_tags_page(mut req: Request) -> Result { [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/server/routes/tags.rs:19:30 [INFO] [stdout] | [INFO] [stdout] 19 | pub async fn single_tag_page(mut req: Request) -> Result { [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/server/routes/admin/config.rs:5:26 [INFO] [stdout] | [INFO] [stdout] 5 | pub async fn config_page(mut req: Request) -> Result { [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/server/routes/admin/index.rs:5:20 [INFO] [stdout] | [INFO] [stdout] 5 | pub async fn index(mut req: Request) -> Result { [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/server/routes/admin/posts.rs:28:28 [INFO] [stdout] | [INFO] [stdout] 28 | pub async fn edit_post_get(mut req: Request) -> Result { [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/server/routes/admin/posts.rs:82:28 [INFO] [stdout] | [INFO] [stdout] 82 | pub async fn get_all_posts(mut req: Request) -> Result { [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `user` [INFO] [stdout] --> src/server/routes/authentication.rs:127:13 [INFO] [stdout] | [INFO] [stdout] 127 | let user = [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_user` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `req` [INFO] [stdout] --> src/server/routes/authentication.rs:147:25 [INFO] [stdout] | [INFO] [stdout] 147 | pub async fn logout(mut req: Request) -> Result { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_req` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `path` [INFO] [stdout] --> src/server/routes/posts.rs:33:9 [INFO] [stdout] | [INFO] [stdout] 33 | let path = &req.state().templates_path; [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_path` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `set` [INFO] [stdout] --> src/database/config.rs:38:12 [INFO] [stdout] | [INFO] [stdout] 38 | pub fn set( [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `set_config` [INFO] [stdout] --> src/database/config.rs:72:8 [INFO] [stdout] | [INFO] [stdout] 72 | pub fn set_config( [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `get_all_tags_with_count` [INFO] [stdout] --> src/database/tags.rs:30:8 [INFO] [stdout] | [INFO] [stdout] 30 | pub fn get_all_tags_with_count( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `not_found` [INFO] [stdout] --> src/server/routes/not_found.rs:4:14 [INFO] [stdout] | [INFO] [stdout] 4 | pub async fn not_found(mut req: Request) -> Result { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0554]: `#![feature]` may not be used on the stable release channel [INFO] [stdout] --> src/main.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | #![feature(const_nonzero_int_methods)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0635]: unknown feature `const_nonzero_int_methods` [INFO] [stdout] --> src/main.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | #![feature(const_nonzero_int_methods)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors; 29 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0554, E0635. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0554`. [INFO] [stdout] [INFO] [stderr] error: could not compile `rust-cms` due to 3 previous errors; 29 warnings emitted [INFO] running `Command { std: "docker" "inspect" "a1fec3916f1d1eba840bcfe1d57b46c9c2b69d2cb2ea6c6170d55002107f997d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a1fec3916f1d1eba840bcfe1d57b46c9c2b69d2cb2ea6c6170d55002107f997d", kill_on_drop: false }` [INFO] [stdout] a1fec3916f1d1eba840bcfe1d57b46c9c2b69d2cb2ea6c6170d55002107f997d