[INFO] cloning repository https://github.com/zzccppp/code_paste-rust [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/zzccppp/code_paste-rust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fzzccppp%2Fcode_paste-rust", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fzzccppp%2Fcode_paste-rust'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 2bf6ad67c91f6d391867b0752f838ce4e6adf4d5 [INFO] testing zzccppp/code_paste-rust against beta-2020-07-24 for beta-1.46-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fzzccppp%2Fcode_paste-rust" "/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/zzccppp/code_paste-rust on toolchain beta-2020-07-24 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2020-07-24" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/zzccppp/code_paste-rust [INFO] finished tweaking git repo https://github.com/zzccppp/code_paste-rust [INFO] tweaked toml for git repo https://github.com/zzccppp/code_paste-rust written to /workspace/builds/worker-4/source/Cargo.toml [INFO] crate git repo https://github.com/zzccppp/code_paste-rust already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2020-07-24" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [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" "MAP_USER_ID=0" "-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" "--network" "none" "rustops/crates-build-env@sha256:a636fd89d022f18117e1dc8fb37a0a009933cdbbe082814857f0e2024962d47c" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2020-07-24" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] ddd68aafe1fca9d998c516d7c49e777a25c9287e090ac43fbc14d34a50ec4dad [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" "ddd68aafe1fca9d998c516d7c49e777a25c9287e090ac43fbc14d34a50ec4dad", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ddd68aafe1fca9d998c516d7c49e777a25c9287e090ac43fbc14d34a50ec4dad", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ddd68aafe1fca9d998c516d7c49e777a25c9287e090ac43fbc14d34a50ec4dad", kill_on_drop: false }` [INFO] [stdout] ddd68aafe1fca9d998c516d7c49e777a25c9287e090ac43fbc14d34a50ec4dad [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" "MAP_USER_ID=0" "-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" "--network" "none" "rustops/crates-build-env@sha256:a636fd89d022f18117e1dc8fb37a0a009933cdbbe082814857f0e2024962d47c" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2020-07-24" "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] 53dff4b18dda35aac628f1789a2232a5b4a6a8f3de2c8e15655f75737cd02ff4 [INFO] running `Command { std: "docker" "start" "-a" "53dff4b18dda35aac628f1789a2232a5b4a6a8f3de2c8e15655f75737cd02ff4", kill_on_drop: false }` [INFO] [stderr] Compiling syn v1.0.31 [INFO] [stderr] Compiling memchr v2.3.3 [INFO] [stderr] Compiling bytes v0.5.4 [INFO] [stderr] Compiling proc-macro-nested v0.1.6 [INFO] [stderr] Compiling regex-syntax v0.6.18 [INFO] [stderr] Compiling serde v1.0.111 [INFO] [stderr] Compiling copyless v0.1.5 [INFO] [stderr] Compiling failure_derive v0.1.8 [INFO] [stderr] Compiling match_cfg v0.1.0 [INFO] [stderr] Compiling ucd-trie v0.1.3 [INFO] [stderr] Compiling dtoa v0.4.5 [INFO] [stderr] Compiling maplit v1.0.2 [INFO] [stderr] Compiling unic-common v0.9.0 [INFO] [stderr] Compiling unic-char-range v0.9.0 [INFO] [stderr] Compiling base64 v0.11.0 [INFO] [stderr] Compiling humansize v1.1.0 [INFO] [stderr] Compiling thread_local v1.0.1 [INFO] [stderr] Compiling futures-channel v0.3.5 [INFO] [stderr] Compiling unicode-normalization v0.1.12 [INFO] [stderr] Compiling brotli-sys v0.3.2 [INFO] [stderr] Compiling lru-cache v0.1.2 [INFO] [stderr] Compiling miniz_oxide v0.3.7 [INFO] [stderr] Compiling proc-macro2 v1.0.18 [INFO] [stderr] Compiling unic-char-property v0.9.0 [INFO] [stderr] Compiling unic-ucd-version v0.9.0 [INFO] [stderr] Compiling pest v2.1.3 [INFO] [stderr] Compiling parking_lot_core v0.7.2 [INFO] [stderr] Compiling getrandom v0.1.14 [INFO] [stderr] Compiling backtrace v0.3.48 [INFO] [stderr] Compiling hostname v0.3.1 [INFO] [stderr] Compiling unic-ucd-segment v0.9.0 [INFO] [stderr] Compiling fxhash v0.2.1 [INFO] [stderr] Compiling threadpool v1.8.1 [INFO] [stderr] Compiling resolv-conf v0.6.3 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling http v0.2.1 [INFO] [stderr] Compiling bytestring v0.1.5 [INFO] [stderr] Compiling chrono v0.4.11 [INFO] [stderr] Compiling parking_lot v0.10.2 [INFO] [stderr] Compiling aho-corasick v0.7.10 [INFO] [stderr] Compiling bstr v0.2.13 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling quote v1.0.7 [INFO] [stderr] Compiling tokio v0.2.21 [INFO] [stderr] Compiling flate2 v1.0.14 [INFO] [stderr] Compiling unic-segment v0.9.0 [INFO] [stderr] Compiling idna v0.2.0 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling pest_meta v2.1.3 [INFO] [stderr] Compiling url v2.1.1 [INFO] [stderr] Compiling regex v1.3.9 [INFO] [stderr] Compiling tokio-util v0.2.0 [INFO] [stderr] Compiling tokio-util v0.3.1 [INFO] [stderr] Compiling parse-zoneinfo v0.3.0 [INFO] [stderr] Compiling globset v0.4.5 [INFO] [stderr] Compiling actix-codec v0.2.0 [INFO] [stderr] Compiling ignore v0.4.16 [INFO] [stderr] Compiling brotli2 v0.3.2 [INFO] [stderr] Compiling chrono-tz v0.5.2 [INFO] [stderr] Compiling globwalk v0.8.0 [INFO] [stderr] Compiling synstructure v0.12.4 [INFO] [stderr] Compiling pest_generator v2.1.3 [INFO] [stderr] Compiling pin-project-internal v0.4.22 [INFO] [stderr] Compiling futures-macro v0.3.5 [INFO] [stderr] Compiling derive_more v0.99.7 [INFO] [stderr] Compiling actix-macros v0.1.2 [INFO] [stderr] Compiling serde_derive v1.0.111 [INFO] [stderr] Compiling enum-as-inner v0.3.2 [INFO] [stderr] Compiling async-trait v0.1.35 [INFO] [stderr] Compiling actix-web-codegen v0.2.2 [INFO] [stderr] Compiling pest_derive v2.1.0 [INFO] [stderr] Compiling failure v0.1.8 [INFO] [stderr] Compiling pin-project v0.4.22 [INFO] [stderr] Compiling futures-util v0.3.5 [INFO] [stderr] Compiling actix-threadpool v0.3.2 [INFO] [stderr] Compiling futures-executor v0.3.5 [INFO] [stderr] Compiling actix-rt v1.1.1 [INFO] [stderr] Compiling actix-service v1.0.5 [INFO] [stderr] Compiling h2 v0.2.5 [INFO] [stderr] Compiling futures v0.3.5 [INFO] [stderr] Compiling trust-dns-proto v0.18.0-alpha.2 [INFO] [stderr] Compiling actix-utils v1.0.6 [INFO] [stderr] Compiling actix-server v1.0.3 [INFO] [stderr] Compiling actix-tls v1.0.0 [INFO] [stderr] Compiling actix-testing v1.0.1 [INFO] [stderr] Compiling trust-dns-resolver v0.18.0-alpha.2 [INFO] [stderr] Compiling serde_json v1.0.55 [INFO] [stderr] Compiling serde_urlencoded v0.6.1 [INFO] [stderr] Compiling actix-router v0.2.4 [INFO] [stderr] Compiling uuid v0.8.1 [INFO] [stderr] Compiling actix-connect v1.0.2 [INFO] [stderr] Compiling actix-http v1.0.1 [INFO] [stderr] Compiling tera v1.3.1 [INFO] [stderr] Compiling awc v1.0.1 [INFO] [stderr] Compiling actix-web v2.0.0 [INFO] [stderr] Compiling code_paste-rust v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `std::time::SystemTime` [INFO] [stdout] --> src/main.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use std::time::SystemTime; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Error` [INFO] [stdout] --> src/main.rs:7:15 [INFO] [stdout] | [INFO] [stdout] 7 | use std::io::{Error, Write, Read}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/main.rs:87:35 [INFO] [stdout] | [INFO] [stdout] 87 | async fn get_page(info: web::Path<(String)>, state: web::Data) -> impl Responder { [INFO] [stdout] | ^^^^^^^^ help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:60:9 [INFO] [stdout] | [INFO] [stdout] 60 | let mut data = form.into_inner(); [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/main.rs:82:9 [INFO] [stdout] | [INFO] [stdout] 82 | let mut ctx = Context::new(); [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/main.rs:110:17 [INFO] [stdout] | [INFO] [stdout] 110 | let mut ctx = Context::new(); [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> src/main.rs:68:13 [INFO] [stdout] | [INFO] [stdout] 68 | f.write_all(js.as_bytes()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> src/main.rs:93:13 [INFO] [stdout] | [INFO] [stdout] 93 | d.read_to_string(&mut json);//todo handle the err [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 8 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 3m 30s [INFO] running `Command { std: "docker" "inspect" "53dff4b18dda35aac628f1789a2232a5b4a6a8f3de2c8e15655f75737cd02ff4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "53dff4b18dda35aac628f1789a2232a5b4a6a8f3de2c8e15655f75737cd02ff4", kill_on_drop: false }` [INFO] [stdout] 53dff4b18dda35aac628f1789a2232a5b4a6a8f3de2c8e15655f75737cd02ff4 [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" "MAP_USER_ID=0" "-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" "--network" "none" "rustops/crates-build-env@sha256:a636fd89d022f18117e1dc8fb37a0a009933cdbbe082814857f0e2024962d47c" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2020-07-24" "test" "--frozen" "--no-run" "--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] a3c13072d4eab6db69abdad7e113c2d98767a9963e153908937e6cb2c373eb62 [INFO] running `Command { std: "docker" "start" "-a" "a3c13072d4eab6db69abdad7e113c2d98767a9963e153908937e6cb2c373eb62", kill_on_drop: false }` [INFO] [stderr] Compiling code_paste-rust v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `std::time::SystemTime` [INFO] [stdout] --> src/main.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use std::time::SystemTime; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Error` [INFO] [stdout] --> src/main.rs:7:15 [INFO] [stdout] | [INFO] [stdout] 7 | use std::io::{Error, Write, Read}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/main.rs:87:35 [INFO] [stdout] | [INFO] [stdout] 87 | async fn get_page(info: web::Path<(String)>, state: web::Data) -> impl Responder { [INFO] [stdout] | ^^^^^^^^ help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:60:9 [INFO] [stdout] | [INFO] [stdout] 60 | let mut data = form.into_inner(); [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/main.rs:82:9 [INFO] [stdout] | [INFO] [stdout] 82 | let mut ctx = Context::new(); [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/main.rs:110:17 [INFO] [stdout] | [INFO] [stdout] 110 | let mut ctx = Context::new(); [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> src/main.rs:68:13 [INFO] [stdout] | [INFO] [stdout] 68 | f.write_all(js.as_bytes()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> src/main.rs:93:13 [INFO] [stdout] | [INFO] [stdout] 93 | d.read_to_string(&mut json);//todo handle the err [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 8 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 1.59s [INFO] running `Command { std: "docker" "inspect" "a3c13072d4eab6db69abdad7e113c2d98767a9963e153908937e6cb2c373eb62", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a3c13072d4eab6db69abdad7e113c2d98767a9963e153908937e6cb2c373eb62", kill_on_drop: false }` [INFO] [stdout] a3c13072d4eab6db69abdad7e113c2d98767a9963e153908937e6cb2c373eb62 [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" "MAP_USER_ID=0" "-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" "--network" "none" "rustops/crates-build-env@sha256:a636fd89d022f18117e1dc8fb37a0a009933cdbbe082814857f0e2024962d47c" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2020-07-24" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] bad83be364bd36f4b8b771fd8e08894338019062227869386c583d9554b7efdb [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" "bad83be364bd36f4b8b771fd8e08894338019062227869386c583d9554b7efdb", kill_on_drop: false }` [INFO] [stderr] warning: unused import: `std::time::SystemTime` [INFO] [stderr] --> src/main.rs:6:5 [INFO] [stderr] | [INFO] [stderr] 6 | use std::time::SystemTime; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `Error` [INFO] [stderr] --> src/main.rs:7:15 [INFO] [stderr] | [INFO] [stderr] 7 | use std::io::{Error, Write, Read}; [INFO] [stderr] | ^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around type [INFO] [stderr] --> src/main.rs:87:35 [INFO] [stderr] | [INFO] [stderr] 87 | async fn get_page(info: web::Path<(String)>, state: web::Data) -> impl Responder { [INFO] [stderr] | ^^^^^^^^ help: remove these parentheses [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_parens)]` on by default [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/main.rs:60:9 [INFO] [stderr] | [INFO] [stderr] 60 | let mut data = form.into_inner(); [INFO] [stderr] | ----^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_mut)]` on by default [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/main.rs:82:9 [INFO] [stderr] | [INFO] [stderr] 82 | let mut ctx = Context::new(); [INFO] [stderr] | ----^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/main.rs:110:17 [INFO] [stderr] | [INFO] [stderr] 110 | let mut ctx = Context::new(); [INFO] [stderr] | ----^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] [INFO] [stderr] warning: unused `std::result::Result` that must be used [INFO] [stderr] --> src/main.rs:68:13 [INFO] [stderr] | [INFO] [stderr] 68 | f.write_all(js.as_bytes()); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_must_use)]` on by default [INFO] [stderr] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stderr] [INFO] [stderr] warning: unused `std::result::Result` that must be used [INFO] [stderr] --> src/main.rs:93:13 [INFO] [stderr] | [INFO] [stderr] 93 | d.read_to_string(&mut json);//todo handle the err [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stderr] [INFO] [stderr] warning: 8 warnings emitted [INFO] [stderr] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.41s [INFO] [stderr] Running /opt/rustwide/target/debug/deps/code_paste_rust-773dcebaf981abfc [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 [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "bad83be364bd36f4b8b771fd8e08894338019062227869386c583d9554b7efdb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bad83be364bd36f4b8b771fd8e08894338019062227869386c583d9554b7efdb", kill_on_drop: false }` [INFO] [stdout] bad83be364bd36f4b8b771fd8e08894338019062227869386c583d9554b7efdb