[INFO] cloning repository https://github.com/Ciantic/thoughts-creator-rust [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Ciantic/thoughts-creator-rust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FCiantic%2Fthoughts-creator-rust", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FCiantic%2Fthoughts-creator-rust'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 361f3bf8ab0c67feeab6cef851c52abcb8b5898a [INFO] testing Ciantic/thoughts-creator-rust against beta-2021-01-01 for beta-1.50-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FCiantic%2Fthoughts-creator-rust" "/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/Ciantic/thoughts-creator-rust on toolchain beta-2021-01-01 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2021-01-01" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/Ciantic/thoughts-creator-rust [INFO] finished tweaking git repo https://github.com/Ciantic/thoughts-creator-rust [INFO] tweaked toml for git repo https://github.com/Ciantic/thoughts-creator-rust written to /workspace/builds/worker-2/source/Cargo.toml [INFO] crate git repo https://github.com/Ciantic/thoughts-creator-rust already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2021-01-01" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded atomic-waker v1.0.0 [INFO] [stderr] Downloaded async-global-executor v1.4.3 [INFO] [stderr] Downloaded nb-connect v1.0.2 [INFO] [stderr] Downloaded polling v2.0.2 [INFO] [stderr] Downloaded async-io v1.3.1 [INFO] [stderr] Downloaded wepoll-sys v3.0.1 [INFO] [stderr] Downloaded serde_yaml v0.8.14 [INFO] [stderr] Downloaded async-process v1.0.1 [INFO] [stderr] Downloaded blocking v1.0.2 [INFO] [stderr] Downloaded yew v0.17.3 [INFO] [stderr] Downloaded yew-macro v0.17.0 [INFO] [stderr] Downloaded async-std v1.8.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" "rustops/crates-build-env@sha256:b8eeb62f26c39b23691079a6cb6de528d8e88b4d71a8f6b1d30f8ba7d9c16de9" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2021-01-01" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 2f03c3fb6c2805463cd5600aa4631099808fef3e3e983120f3427bda359002e1 [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" "2f03c3fb6c2805463cd5600aa4631099808fef3e3e983120f3427bda359002e1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "2f03c3fb6c2805463cd5600aa4631099808fef3e3e983120f3427bda359002e1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2f03c3fb6c2805463cd5600aa4631099808fef3e3e983120f3427bda359002e1", kill_on_drop: false }` [INFO] [stdout] 2f03c3fb6c2805463cd5600aa4631099808fef3e3e983120f3427bda359002e1 [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=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" "rustops/crates-build-env@sha256:b8eeb62f26c39b23691079a6cb6de528d8e88b4d71a8f6b1d30f8ba7d9c16de9" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2021-01-01" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f58188954a8c71a12d539b424c8e43f3022e6d2db3fdd2fa9ab542c17683669c [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" "f58188954a8c71a12d539b424c8e43f3022e6d2db3fdd2fa9ab542c17683669c", kill_on_drop: false }` [INFO] [stderr] Compiling syn v1.0.40 [INFO] [stderr] Compiling log v0.4.11 [INFO] [stderr] Compiling wasm-bindgen-shared v0.2.67 [INFO] [stderr] Compiling wasm-bindgen v0.2.67 [INFO] [stderr] Compiling futures-io v0.3.5 [INFO] [stderr] Compiling anyhow v1.0.32 [INFO] [stderr] Compiling yew v0.17.3 [INFO] [stderr] Compiling pulldown-cmark v0.8.0 [INFO] [stderr] Compiling anymap v0.12.1 [INFO] [stderr] Compiling cfg-match v0.2.1 [INFO] [stderr] Compiling futures-channel v0.3.5 [INFO] [stderr] Compiling libsqlite3-sys v0.18.0 [INFO] [stderr] Compiling async-channel v1.5.1 [INFO] [stderr] Compiling parking_lot_core v0.8.1 [INFO] [stderr] Compiling nb-connect v1.0.2 [INFO] [stderr] Compiling signal-hook-registry v1.3.0 [INFO] [stderr] Compiling futures-lite v1.11.3 [INFO] [stderr] Compiling signal-hook v0.1.17 [INFO] [stderr] Compiling parking_lot v0.11.1 [INFO] [stderr] Compiling polling v2.0.2 [INFO] [stderr] Compiling kv-log-macro v1.0.7 [INFO] [stderr] Compiling scheduled-thread-pool v0.2.5 [INFO] [stderr] Compiling r2d2 v0.8.9 [INFO] [stderr] Compiling async-io v1.3.1 [INFO] [stderr] Compiling async-executor v1.4.0 [INFO] [stderr] Compiling blocking v1.0.2 [INFO] [stderr] Compiling async-global-executor v1.4.3 [INFO] [stderr] Compiling async-process v1.0.1 [INFO] [stderr] Compiling wasm-bindgen-backend v0.2.67 [INFO] [stderr] Compiling wasm-bindgen-macro-support v0.2.67 [INFO] [stderr] Compiling serde_derive v1.0.115 [INFO] [stderr] Compiling pin-project-internal v0.4.23 [INFO] [stderr] Compiling diesel_derives v1.4.1 [INFO] [stderr] Compiling futures-macro v0.3.5 [INFO] [stderr] Compiling thiserror-impl v1.0.20 [INFO] [stderr] Compiling yew-macro v0.17.0 [INFO] [stderr] Compiling async-attributes v1.1.1 [INFO] [stderr] Compiling derive_more v0.99.11 [INFO] [stderr] Compiling wasm-bindgen-macro v0.2.67 [INFO] [stderr] Compiling async-std v1.8.0 [INFO] [stderr] Compiling thiserror v1.0.20 [INFO] [stderr] Compiling pin-project v0.4.23 [INFO] [stderr] Compiling futures-util v0.3.5 [INFO] [stderr] Compiling js-sys v0.3.44 [INFO] [stderr] Compiling console_error_panic_hook v0.1.6 [INFO] [stderr] Compiling serde v1.0.115 [INFO] [stderr] Compiling futures-executor v0.3.5 [INFO] [stderr] Compiling web-sys v0.3.44 [INFO] [stderr] Compiling wasm-bindgen-futures v0.4.17 [INFO] [stderr] Compiling futures v0.3.5 [INFO] [stderr] Compiling chrono v0.4.19 [INFO] [stderr] Compiling serde_json v1.0.57 [INFO] [stderr] Compiling bincode v1.3.1 [INFO] [stderr] Compiling url v2.2.0 [INFO] [stderr] Compiling uuid v0.8.1 [INFO] [stderr] Compiling serde_yaml v0.8.14 [INFO] [stderr] Compiling diesel v1.4.5 [INFO] [stderr] Compiling gloo-events v0.1.1 [INFO] [stderr] Compiling gloo-console-timer v0.1.0 [INFO] [stderr] Compiling gloo-timers v0.2.1 [INFO] [stderr] Compiling gloo-file v0.1.0 [INFO] [stderr] Compiling gloo v0.2.1 [INFO] [stderr] Compiling migrations_internals v1.4.1 [INFO] [stderr] Compiling migrations_macros v1.4.2 [INFO] [stderr] Compiling diesel_migrations v1.4.0 [INFO] [stderr] Compiling cianticblog v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `chrono::Duration` [INFO] [stdout] --> src/db/repositories.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use chrono::Duration; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `SqliteConnection`, `r2d2::ConnectionManager` [INFO] [stdout] --> src/db/repositories.rs:2:14 [INFO] [stdout] | [INFO] [stdout] 2 | use diesel::{r2d2::ConnectionManager, SqliteConnection}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `r2d2::Pool` [INFO] [stdout] --> src/db/repositories.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use r2d2::Pool; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `NaiveDateTime` [INFO] [stdout] --> src/markdown/compile.rs:2:24 [INFO] [stdout] | [INFO] [stdout] 2 | use chrono::{DateTime, NaiveDateTime, Utc}; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `NaiveDateTime` [INFO] [stdout] --> src/markdown/frontmatter.rs:1:24 [INFO] [stdout] | [INFO] [stdout] 1 | use chrono::{DateTime, NaiveDateTime, Utc}; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `CodeBlockKind`, `escape` [INFO] [stdout] --> src/markdown/to_html.rs:1:22 [INFO] [stdout] | [INFO] [stdout] 1 | use pulldown_cmark::{escape, html, CodeBlockKind, Event, LinkType, Options, Parser, Tag}; [INFO] [stdout] | ^^^^^^ ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `async_std::channel::unbounded` [INFO] [stdout] --> src/main.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | use async_std::channel::unbounded; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `article` [INFO] [stdout] --> src/main.rs:62:32 [INFO] [stdout] | [INFO] [stdout] 62 | async fn generate_resources_db(article: &Article) -> Result<(), Error> { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_article` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `article` [INFO] [stdout] --> src/main.rs:66:29 [INFO] [stdout] | [INFO] [stdout] 66 | async fn generate_images_db(article: &Article) -> Result<(), Error> { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_article` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `html` [INFO] [stdout] --> src/main.rs:71:5 [INFO] [stdout] | [INFO] [stdout] 71 | html: String, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_html` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `local_path` [INFO] [stdout] --> src/main.rs:72:5 [INFO] [stdout] | [INFO] [stdout] 72 | local_path: PathBuf, [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_local_path` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pool` [INFO] [stdout] --> src/main.rs:73:5 [INFO] [stdout] | [INFO] [stdout] 73 | pool: &DbConnection, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_pool` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `article` [INFO] [stdout] --> src/main.rs:78:25 [INFO] [stdout] | [INFO] [stdout] 78 | async fn layout_article(article: Article, pool: &DbConnection) -> Result { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_article` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pool` [INFO] [stdout] --> src/main.rs:78:43 [INFO] [stdout] | [INFO] [stdout] 78 | async fn layout_article(article: Article, pool: &DbConnection) -> Result { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_pool` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `article` [INFO] [stdout] --> src/main.rs:83:9 [INFO] [stdout] | [INFO] [stdout] 83 | let article = generate_article_db(file, pool).await?; [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_article` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `res` [INFO] [stdout] --> src/main.rs:116:9 [INFO] [stdout] | [INFO] [stdout] 116 | let res = foo.await; [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_res` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/db/mod.rs:34:23 [INFO] [stdout] | [INFO] [stdout] 34 | .map_err(|e| Error::ConnectionError)?; [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `generate_resources_db` [INFO] [stdout] --> src/main.rs:62:10 [INFO] [stdout] | [INFO] [stdout] 62 | async fn generate_resources_db(article: &Article) -> Result<(), Error> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `generate_images_db` [INFO] [stdout] --> src/main.rs:66:10 [INFO] [stdout] | [INFO] [stdout] 66 | async fn generate_images_db(article: &Article) -> Result<(), Error> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `update_html_imagesizes` [INFO] [stdout] --> src/main.rs:70:10 [INFO] [stdout] | [INFO] [stdout] 70 | async fn update_html_imagesizes( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `layout_article` [INFO] [stdout] --> src/main.rs:78:10 [INFO] [stdout] | [INFO] [stdout] 78 | async fn layout_article(article: Article, pool: &DbConnection) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `generate_article` [INFO] [stdout] --> src/main.rs:82:10 [INFO] [stdout] | [INFO] [stdout] 82 | async fn generate_article(file: PathBuf, pool: &DbConnection) -> Result<(), Error> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `IOError` [INFO] [stdout] --> src/main.rs:122:5 [INFO] [stdout] | [INFO] [stdout] 122 | IOError, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 23 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 2m 49s [INFO] running `Command { std: "docker" "inspect" "f58188954a8c71a12d539b424c8e43f3022e6d2db3fdd2fa9ab542c17683669c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f58188954a8c71a12d539b424c8e43f3022e6d2db3fdd2fa9ab542c17683669c", kill_on_drop: false }` [INFO] [stdout] f58188954a8c71a12d539b424c8e43f3022e6d2db3fdd2fa9ab542c17683669c [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=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" "rustops/crates-build-env@sha256:b8eeb62f26c39b23691079a6cb6de528d8e88b4d71a8f6b1d30f8ba7d9c16de9" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2021-01-01" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 1a878c541be727a3ccfe3b63073c1185a8e78c35f9d5975438974775cb0dd11b [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" "1a878c541be727a3ccfe3b63073c1185a8e78c35f9d5975438974775cb0dd11b", kill_on_drop: false }` [INFO] [stderr] Compiling cianticblog v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `chrono::Duration` [INFO] [stdout] --> src/db/repositories.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use chrono::Duration; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `SqliteConnection`, `r2d2::ConnectionManager` [INFO] [stdout] --> src/db/repositories.rs:2:14 [INFO] [stdout] | [INFO] [stdout] 2 | use diesel::{r2d2::ConnectionManager, SqliteConnection}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `r2d2::Pool` [INFO] [stdout] --> src/db/repositories.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use r2d2::Pool; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `NaiveDateTime` [INFO] [stdout] --> src/markdown/compile.rs:2:24 [INFO] [stdout] | [INFO] [stdout] 2 | use chrono::{DateTime, NaiveDateTime, Utc}; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `NaiveDateTime` [INFO] [stdout] --> src/markdown/frontmatter.rs:1:24 [INFO] [stdout] | [INFO] [stdout] 1 | use chrono::{DateTime, NaiveDateTime, Utc}; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `CodeBlockKind`, `escape` [INFO] [stdout] --> src/markdown/to_html.rs:1:22 [INFO] [stdout] | [INFO] [stdout] 1 | use pulldown_cmark::{escape, html, CodeBlockKind, Event, LinkType, Options, Parser, Tag}; [INFO] [stdout] | ^^^^^^ ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `async_std::channel::unbounded` [INFO] [stdout] --> src/main.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | use async_std::channel::unbounded; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `article` [INFO] [stdout] --> src/main.rs:62:32 [INFO] [stdout] | [INFO] [stdout] 62 | async fn generate_resources_db(article: &Article) -> Result<(), Error> { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_article` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `article` [INFO] [stdout] --> src/main.rs:66:29 [INFO] [stdout] | [INFO] [stdout] 66 | async fn generate_images_db(article: &Article) -> Result<(), Error> { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_article` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `html` [INFO] [stdout] --> src/main.rs:71:5 [INFO] [stdout] | [INFO] [stdout] 71 | html: String, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_html` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `local_path` [INFO] [stdout] --> src/main.rs:72:5 [INFO] [stdout] | [INFO] [stdout] 72 | local_path: PathBuf, [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_local_path` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pool` [INFO] [stdout] --> src/main.rs:73:5 [INFO] [stdout] | [INFO] [stdout] 73 | pool: &DbConnection, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_pool` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `article` [INFO] [stdout] --> src/main.rs:78:25 [INFO] [stdout] | [INFO] [stdout] 78 | async fn layout_article(article: Article, pool: &DbConnection) -> Result { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_article` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pool` [INFO] [stdout] --> src/main.rs:78:43 [INFO] [stdout] | [INFO] [stdout] 78 | async fn layout_article(article: Article, pool: &DbConnection) -> Result { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_pool` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `article` [INFO] [stdout] --> src/main.rs:83:9 [INFO] [stdout] | [INFO] [stdout] 83 | let article = generate_article_db(file, pool).await?; [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_article` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `res` [INFO] [stdout] --> src/main.rs:116:9 [INFO] [stdout] | [INFO] [stdout] 116 | let res = foo.await; [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_res` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/db/mod.rs:34:23 [INFO] [stdout] | [INFO] [stdout] 34 | .map_err(|e| Error::ConnectionError)?; [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `generate_resources_db` [INFO] [stdout] --> src/main.rs:62:10 [INFO] [stdout] | [INFO] [stdout] 62 | async fn generate_resources_db(article: &Article) -> Result<(), Error> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `generate_images_db` [INFO] [stdout] --> src/main.rs:66:10 [INFO] [stdout] | [INFO] [stdout] 66 | async fn generate_images_db(article: &Article) -> Result<(), Error> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `update_html_imagesizes` [INFO] [stdout] --> src/main.rs:70:10 [INFO] [stdout] | [INFO] [stdout] 70 | async fn update_html_imagesizes( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `layout_article` [INFO] [stdout] --> src/main.rs:78:10 [INFO] [stdout] | [INFO] [stdout] 78 | async fn layout_article(article: Article, pool: &DbConnection) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `generate_article` [INFO] [stdout] --> src/main.rs:82:10 [INFO] [stdout] | [INFO] [stdout] 82 | async fn generate_article(file: PathBuf, pool: &DbConnection) -> Result<(), Error> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `IOError` [INFO] [stdout] --> src/main.rs:122:5 [INFO] [stdout] | [INFO] [stdout] 122 | IOError, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 23 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 6.85s [INFO] running `Command { std: "docker" "inspect" "1a878c541be727a3ccfe3b63073c1185a8e78c35f9d5975438974775cb0dd11b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1a878c541be727a3ccfe3b63073c1185a8e78c35f9d5975438974775cb0dd11b", kill_on_drop: false }` [INFO] [stdout] 1a878c541be727a3ccfe3b63073c1185a8e78c35f9d5975438974775cb0dd11b [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=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" "rustops/crates-build-env@sha256:b8eeb62f26c39b23691079a6cb6de528d8e88b4d71a8f6b1d30f8ba7d9c16de9" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2021-01-01" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 89a86e32ef78c3af8eb8d69e5f3c1f4c52a5c29e069c125354b4b4445977b263 [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" "89a86e32ef78c3af8eb8d69e5f3c1f4c52a5c29e069c125354b4b4445977b263", kill_on_drop: false }` [INFO] [stderr] warning: unused import: `chrono::Duration` [INFO] [stderr] --> src/db/repositories.rs:1:5 [INFO] [stderr] | [INFO] [stderr] 1 | use chrono::Duration; [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused imports: `SqliteConnection`, `r2d2::ConnectionManager` [INFO] [stderr] --> src/db/repositories.rs:2:14 [INFO] [stderr] | [INFO] [stderr] 2 | use diesel::{r2d2::ConnectionManager, SqliteConnection}; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `r2d2::Pool` [INFO] [stderr] --> src/db/repositories.rs:3:5 [INFO] [stderr] | [INFO] [stderr] 3 | use r2d2::Pool; [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `NaiveDateTime` [INFO] [stderr] --> src/markdown/compile.rs:2:24 [INFO] [stderr] | [INFO] [stderr] 2 | use chrono::{DateTime, NaiveDateTime, Utc}; [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `NaiveDateTime` [INFO] [stderr] --> src/markdown/frontmatter.rs:1:24 [INFO] [stderr] | [INFO] [stderr] 1 | use chrono::{DateTime, NaiveDateTime, Utc}; [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused imports: `CodeBlockKind`, `escape` [INFO] [stderr] --> src/markdown/to_html.rs:1:22 [INFO] [stderr] | [INFO] [stderr] 1 | use pulldown_cmark::{escape, html, CodeBlockKind, Event, LinkType, Options, Parser, Tag}; [INFO] [stderr] | ^^^^^^ ^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `async_std::channel::unbounded` [INFO] [stderr] --> src/main.rs:12:5 [INFO] [stderr] | [INFO] [stderr] 12 | use async_std::channel::unbounded; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused variable: `article` [INFO] [stderr] --> src/main.rs:62:32 [INFO] [stderr] | [INFO] [stderr] 62 | async fn generate_resources_db(article: &Article) -> Result<(), Error> { [INFO] [stderr] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_article` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `article` [INFO] [stderr] --> src/main.rs:66:29 [INFO] [stderr] | [INFO] [stderr] 66 | async fn generate_images_db(article: &Article) -> Result<(), Error> { [INFO] [stderr] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_article` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `html` [INFO] [stderr] --> src/main.rs:71:5 [INFO] [stderr] | [INFO] [stderr] 71 | html: String, [INFO] [stderr] | ^^^^ help: if this is intentional, prefix it with an underscore: `_html` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `local_path` [INFO] [stderr] --> src/main.rs:72:5 [INFO] [stderr] | [INFO] [stderr] 72 | local_path: PathBuf, [INFO] [stderr] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_local_path` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `pool` [INFO] [stderr] --> src/main.rs:73:5 [INFO] [stderr] | [INFO] [stderr] 73 | pool: &DbConnection, [INFO] [stderr] | ^^^^ help: if this is intentional, prefix it with an underscore: `_pool` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `article` [INFO] [stderr] --> src/main.rs:78:25 [INFO] [stderr] | [INFO] [stderr] 78 | async fn layout_article(article: Article, pool: &DbConnection) -> Result { [INFO] [stderr] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_article` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `pool` [INFO] [stderr] --> src/main.rs:78:43 [INFO] [stderr] | [INFO] [stderr] 78 | async fn layout_article(article: Article, pool: &DbConnection) -> Result { [INFO] [stderr] | ^^^^ help: if this is intentional, prefix it with an underscore: `_pool` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `article` [INFO] [stderr] --> src/main.rs:83:9 [INFO] [stderr] | [INFO] [stderr] 83 | let article = generate_article_db(file, pool).await?; [INFO] [stderr] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_article` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `res` [INFO] [stderr] --> src/main.rs:116:9 [INFO] [stderr] | [INFO] [stderr] 116 | let res = foo.await; [INFO] [stderr] | ^^^ help: if this is intentional, prefix it with an underscore: `_res` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `e` [INFO] [stderr] --> src/db/mod.rs:34:23 [INFO] [stderr] | [INFO] [stderr] 34 | .map_err(|e| Error::ConnectionError)?; [INFO] [stderr] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stderr] [INFO] [stderr] warning: function is never used: `generate_resources_db` [INFO] [stderr] --> src/main.rs:62:10 [INFO] [stderr] | [INFO] [stderr] 62 | async fn generate_resources_db(article: &Article) -> Result<(), Error> { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: function is never used: `generate_images_db` [INFO] [stderr] --> src/main.rs:66:10 [INFO] [stderr] | [INFO] [stderr] 66 | async fn generate_images_db(article: &Article) -> Result<(), Error> { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function is never used: `update_html_imagesizes` [INFO] [stderr] --> src/main.rs:70:10 [INFO] [stderr] | [INFO] [stderr] 70 | async fn update_html_imagesizes( [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function is never used: `layout_article` [INFO] [stderr] --> src/main.rs:78:10 [INFO] [stderr] | [INFO] [stderr] 78 | async fn layout_article(article: Article, pool: &DbConnection) -> Result { [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function is never used: `generate_article` [INFO] [stderr] --> src/main.rs:82:10 [INFO] [stderr] | [INFO] [stderr] 82 | async fn generate_article(file: PathBuf, pool: &DbConnection) -> Result<(), Error> { [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `IOError` [INFO] [stderr] --> src/main.rs:122:5 [INFO] [stderr] | [INFO] [stderr] 122 | IOError, [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: 23 warnings emitted [INFO] [stderr] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.23s [INFO] [stderr] Running /opt/rustwide/target/debug/deps/cianticblog-efbd8fd271eed995 [INFO] [stdout] [INFO] [stdout] running 6 tests [INFO] [stdout] test markdown::compile::test_first_title::test_first_title_rest ... ok [INFO] [stdout] test markdown::frontmatter::test_frontmatter::test_frontmatter ... ok [INFO] [stdout] test git::test_git_date::test_git_created ... ok [INFO] [stdout] test git::test_git_date::test_git_modified ... ok [INFO] [stdout] test markdown::compile::test_compile_markdown::test_compile_post01 ... ok [INFO] [stdout] test markdown::compile::test_compile_markdown::test_compile_post02 ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 6 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.13s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "89a86e32ef78c3af8eb8d69e5f3c1f4c52a5c29e069c125354b4b4445977b263", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "89a86e32ef78c3af8eb8d69e5f3c1f4c52a5c29e069c125354b4b4445977b263", kill_on_drop: false }` [INFO] [stdout] 89a86e32ef78c3af8eb8d69e5f3c1f4c52a5c29e069c125354b4b4445977b263