[INFO] cloning repository https://github.com/vivlim/rust-gallery-generator [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/vivlim/rust-gallery-generator" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fvivlim%2Frust-gallery-generator", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fvivlim%2Frust-gallery-generator'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] cc35acc56b7f2617e61b5c6743968c547b3e910c [INFO] checking vivlim/rust-gallery-generator against master#e9182f195b8505c87c4bd055b9f6e114ccda0981 for pr-144098 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fvivlim%2Frust-gallery-generator" "/workspace/builds/worker-2-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/vivlim/rust-gallery-generator [INFO] finished tweaking git repo https://github.com/vivlim/rust-gallery-generator [INFO] tweaked toml for git repo https://github.com/vivlim/rust-gallery-generator written to /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/vivlim/rust-gallery-generator on toolchain e9182f195b8505c87c4bd055b9f6e114ccda0981 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+e9182f195b8505c87c4bd055b9f6e114ccda0981" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/vivlim/rust-gallery-generator already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+e9182f195b8505c87c4bd055b9f6e114ccda0981" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded ructe v0.4.6 [INFO] [stderr] Downloaded rsass v0.9.4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/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:cf8efcab8866f2cf4285301c7418e2f4f2a9b088c91ba69c40d5b659f81557f7" "/opt/rustwide/cargo-home/bin/cargo" "+e9182f195b8505c87c4bd055b9f6e114ccda0981" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 3c5a1884a96bd3867b408bdd897b6da4eefa61eb4ab5de235ebbf9c0a02841fc [INFO] running `Command { std: "docker" "start" "-a" "3c5a1884a96bd3867b408bdd897b6da4eefa61eb4ab5de235ebbf9c0a02841fc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "3c5a1884a96bd3867b408bdd897b6da4eefa61eb4ab5de235ebbf9c0a02841fc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3c5a1884a96bd3867b408bdd897b6da4eefa61eb4ab5de235ebbf9c0a02841fc", kill_on_drop: false }` [INFO] [stdout] 3c5a1884a96bd3867b408bdd897b6da4eefa61eb4ab5de235ebbf9c0a02841fc [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:cf8efcab8866f2cf4285301c7418e2f4f2a9b088c91ba69c40d5b659f81557f7" "/opt/rustwide/cargo-home/bin/cargo" "+e9182f195b8505c87c4bd055b9f6e114ccda0981" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e63ddf3ad34b3526f1de611d880b9b7466576e48c69e156533796cc9fde65f2b [INFO] running `Command { std: "docker" "start" "-a" "e63ddf3ad34b3526f1de611d880b9b7466576e48c69e156533796cc9fde65f2b", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Compiling version_check v0.1.5 [INFO] [stderr] Compiling num-traits v0.2.6 [INFO] [stderr] Compiling num-integer v0.1.39 [INFO] [stderr] Compiling num-rational v0.2.1 [INFO] [stderr] Compiling libc v0.2.43 [INFO] [stderr] Compiling rand_core v0.3.0 [INFO] [stderr] Compiling cfg-if v0.1.6 [INFO] [stderr] Compiling byteorder v1.2.7 [INFO] [stderr] Compiling either v1.5.0 [INFO] [stderr] Compiling safemem v0.3.0 [INFO] [stderr] Compiling md5 v0.3.8 [INFO] [stderr] Compiling itertools v0.7.8 [INFO] [stderr] Checking rand_core v0.2.2 [INFO] [stderr] Compiling memchr v2.1.1 [INFO] [stderr] Compiling lazy_static v1.1.0 [INFO] [stderr] Compiling unicase v2.2.0 [INFO] [stderr] Checking rand v0.5.5 [INFO] [stderr] Compiling base64 v0.9.3 [INFO] [stderr] Checking mime v0.3.12 [INFO] [stderr] Checking nom v4.0.0 [INFO] [stderr] Checking rsass v0.9.4 [INFO] [stderr] Compiling ructe v0.4.6 [INFO] [stderr] Compiling gallery v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `Write` and `self` [INFO] [stdout] --> src/handlers.rs:2:15 [INFO] [stdout] | [INFO] [stdout] 2 | use std::io::{self, Read, Write, Cursor}; [INFO] [stdout] | ^^^^ ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `self` [INFO] [stdout] --> src/main.rs:5:15 [INFO] [stdout] | [INFO] [stdout] 5 | use std::io::{self, Write}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> /opt/rustwide/target/debug/build/gallery-c7566efaca144e9f/out/templates/template_page_base.rs:2:12 [INFO] [stdout] | [INFO] [stdout] 2 | #[cfg_attr(feature="cargo-clippy", allow(useless_attribute))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `cargo-clippy` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> /opt/rustwide/target/debug/build/gallery-c7566efaca144e9f/out/templates/template_swf.rs:2:12 [INFO] [stdout] | [INFO] [stdout] 2 | #[cfg_attr(feature="cargo-clippy", allow(useless_attribute))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `cargo-clippy` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> /opt/rustwide/target/debug/build/gallery-c7566efaca144e9f/out/templates/template_index.rs:2:12 [INFO] [stdout] | [INFO] [stdout] 2 | #[cfg_attr(feature="cargo-clippy", allow(useless_attribute))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `cargo-clippy` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> /opt/rustwide/target/debug/build/gallery-c7566efaca144e9f/out/templates/template_fallback.rs:2:12 [INFO] [stdout] | [INFO] [stdout] 2 | #[cfg_attr(feature="cargo-clippy", allow(useless_attribute))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `cargo-clippy` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Write` and `self` [INFO] [stdout] --> src/handlers.rs:2:15 [INFO] [stdout] | [INFO] [stdout] 2 | use std::io::{self, Read, Write, Cursor}; [INFO] [stdout] | ^^^^ ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `self` [INFO] [stdout] --> src/main.rs:5:15 [INFO] [stdout] | [INFO] [stdout] 5 | use std::io::{self, Write}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> /opt/rustwide/target/debug/build/gallery-c7566efaca144e9f/out/templates/template_page_base.rs:2:12 [INFO] [stdout] | [INFO] [stdout] 2 | #[cfg_attr(feature="cargo-clippy", allow(useless_attribute))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `cargo-clippy` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> /opt/rustwide/target/debug/build/gallery-c7566efaca144e9f/out/templates/template_swf.rs:2:12 [INFO] [stdout] | [INFO] [stdout] 2 | #[cfg_attr(feature="cargo-clippy", allow(useless_attribute))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `cargo-clippy` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> /opt/rustwide/target/debug/build/gallery-c7566efaca144e9f/out/templates/template_index.rs:2:12 [INFO] [stdout] | [INFO] [stdout] 2 | #[cfg_attr(feature="cargo-clippy", allow(useless_attribute))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `cargo-clippy` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> /opt/rustwide/target/debug/build/gallery-c7566efaca144e9f/out/templates/template_fallback.rs:2:12 [INFO] [stdout] | [INFO] [stdout] 2 | #[cfg_attr(feature="cargo-clippy", allow(useless_attribute))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `cargo-clippy` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> /opt/rustwide/target/debug/build/gallery-c7566efaca144e9f/out/templates/template_page_base.rs:8:28 [INFO] [stdout] | [INFO] [stdout] 8 | where Content: FnOnce(&mut Write) -> io::Result<()>{ [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] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 8 | where Content: FnOnce(&mut dyn Write) -> io::Result<()>{ [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> /opt/rustwide/target/debug/build/gallery-c7566efaca144e9f/out/templates/template_page_base.rs:6:37 [INFO] [stdout] | [INFO] [stdout] 6 | pub fn page_base(out: &mut Write, title: &str, content: Content) [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: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 6 | pub fn page_base(out: &mut dyn Write, title: &str, content: Content) [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> /opt/rustwide/target/debug/build/gallery-c7566efaca144e9f/out/templates/template_swf.rs:8:22 [INFO] [stdout] | [INFO] [stdout] 8 | pub fn swf(out: &mut Write, file: &File) [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: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 8 | pub fn swf(out: &mut dyn Write, file: &File) [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> /opt/rustwide/target/debug/build/gallery-c7566efaca144e9f/out/templates/template_index.rs:8:24 [INFO] [stdout] | [INFO] [stdout] 8 | pub fn index(out: &mut Write, content_dir: &str, output_dir: &str, files: &Vec) [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: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 8 | pub fn index(out: &mut dyn Write, content_dir: &str, output_dir: &str, files: &Vec) [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> /opt/rustwide/target/debug/build/gallery-c7566efaca144e9f/out/templates/template_fallback.rs:8:27 [INFO] [stdout] | [INFO] [stdout] 8 | pub fn fallback(out: &mut Write, file: &File) [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: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 8 | pub fn fallback(out: &mut dyn Write, file: &File) [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> /opt/rustwide/target/debug/build/gallery-c7566efaca144e9f/out/templates.rs:25:33 [INFO] [stdout] | [INFO] [stdout] 25 | fn to_html(&self, out: &mut Write) -> io::Result<()>; [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: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 25 | fn to_html(&self, out: &mut dyn Write) -> io::Result<()>; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> /opt/rustwide/target/debug/build/gallery-c7566efaca144e9f/out/templates.rs:34:33 [INFO] [stdout] | [INFO] [stdout] 34 | fn to_html(&self, out: &mut Write) -> io::Result<()> { [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: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 34 | fn to_html(&self, out: &mut dyn Write) -> io::Result<()> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> /opt/rustwide/target/debug/build/gallery-c7566efaca144e9f/out/templates.rs:40:33 [INFO] [stdout] | [INFO] [stdout] 40 | fn to_html(&self, out: &mut Write) -> io::Result<()> { [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: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 40 | fn to_html(&self, out: &mut dyn Write) -> io::Result<()> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> /opt/rustwide/target/debug/build/gallery-c7566efaca144e9f/out/templates/template_page_base.rs:8:28 [INFO] [stdout] | [INFO] [stdout] 8 | where Content: FnOnce(&mut Write) -> io::Result<()>{ [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] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 8 | where Content: FnOnce(&mut dyn Write) -> io::Result<()>{ [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> /opt/rustwide/target/debug/build/gallery-c7566efaca144e9f/out/templates/template_page_base.rs:6:37 [INFO] [stdout] | [INFO] [stdout] 6 | pub fn page_base(out: &mut Write, title: &str, content: Content) [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: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 6 | pub fn page_base(out: &mut dyn Write, title: &str, content: Content) [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> /opt/rustwide/target/debug/build/gallery-c7566efaca144e9f/out/templates/template_swf.rs:8:22 [INFO] [stdout] | [INFO] [stdout] 8 | pub fn swf(out: &mut Write, file: &File) [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: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 8 | pub fn swf(out: &mut dyn Write, file: &File) [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> /opt/rustwide/target/debug/build/gallery-c7566efaca144e9f/out/templates/template_index.rs:8:24 [INFO] [stdout] | [INFO] [stdout] 8 | pub fn index(out: &mut Write, content_dir: &str, output_dir: &str, files: &Vec) [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: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 8 | pub fn index(out: &mut dyn Write, content_dir: &str, output_dir: &str, files: &Vec) [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> /opt/rustwide/target/debug/build/gallery-c7566efaca144e9f/out/templates/template_fallback.rs:8:27 [INFO] [stdout] | [INFO] [stdout] 8 | pub fn fallback(out: &mut Write, file: &File) [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: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 8 | pub fn fallback(out: &mut dyn Write, file: &File) [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> /opt/rustwide/target/debug/build/gallery-c7566efaca144e9f/out/templates.rs:25:33 [INFO] [stdout] | [INFO] [stdout] 25 | fn to_html(&self, out: &mut Write) -> io::Result<()>; [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: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 25 | fn to_html(&self, out: &mut dyn Write) -> io::Result<()>; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> /opt/rustwide/target/debug/build/gallery-c7566efaca144e9f/out/templates.rs:34:33 [INFO] [stdout] | [INFO] [stdout] 34 | fn to_html(&self, out: &mut Write) -> io::Result<()> { [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: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 34 | fn to_html(&self, out: &mut dyn Write) -> io::Result<()> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> /opt/rustwide/target/debug/build/gallery-c7566efaca144e9f/out/templates.rs:40:33 [INFO] [stdout] | [INFO] [stdout] 40 | fn to_html(&self, out: &mut Write) -> io::Result<()> { [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: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 40 | fn to_html(&self, out: &mut dyn Write) -> io::Result<()> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `result` [INFO] [stdout] --> src/handlers.rs:13:9 [INFO] [stdout] | [INFO] [stdout] 13 | let result = match file.extension.as_ref() { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_result` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `content_dir` [INFO] [stdout] --> /opt/rustwide/target/debug/build/gallery-c7566efaca144e9f/out/templates/template_index.rs:8:31 [INFO] [stdout] | [INFO] [stdout] 8 | pub fn index(out: &mut Write, content_dir: &str, output_dir: &str, files: &Vec) [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_content_dir` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/main.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | create_dir_all(output_dir); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 14 | let _ = create_dir_all(output_dir); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/main.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 19 | templates::index(&mut out_file, "input", "output", &handled_files); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 19 | let _ = templates::index(&mut out_file, "input", "output", &handled_files); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/main.rs:24:9 [INFO] [stdout] | [INFO] [stdout] 24 | out_file.write_all(handled_file.output.as_bytes()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 24 | let _ = out_file.write_all(handled_file.output.as_bytes()); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/handlers.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 19 | output.read_to_string(&mut output_string); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 19 | let _ = output.read_to_string(&mut output_string); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `result` [INFO] [stdout] --> src/handlers.rs:13:9 [INFO] [stdout] | [INFO] [stdout] 13 | let result = match file.extension.as_ref() { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_result` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `content_dir` [INFO] [stdout] --> /opt/rustwide/target/debug/build/gallery-c7566efaca144e9f/out/templates/template_index.rs:8:31 [INFO] [stdout] | [INFO] [stdout] 8 | pub fn index(out: &mut Write, content_dir: &str, output_dir: &str, files: &Vec) [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_content_dir` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/main.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | create_dir_all(output_dir); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 14 | let _ = create_dir_all(output_dir); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/main.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 19 | templates::index(&mut out_file, "input", "output", &handled_files); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 19 | let _ = templates::index(&mut out_file, "input", "output", &handled_files); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/main.rs:24:9 [INFO] [stdout] | [INFO] [stdout] 24 | out_file.write_all(handled_file.output.as_bytes()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 24 | let _ = out_file.write_all(handled_file.output.as_bytes()); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/handlers.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 19 | output.read_to_string(&mut output_string); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 19 | let _ = output.read_to_string(&mut output_string); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 13.48s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: nom v4.0.0 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1` [INFO] running `Command { std: "docker" "inspect" "e63ddf3ad34b3526f1de611d880b9b7466576e48c69e156533796cc9fde65f2b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e63ddf3ad34b3526f1de611d880b9b7466576e48c69e156533796cc9fde65f2b", kill_on_drop: false }` [INFO] [stdout] e63ddf3ad34b3526f1de611d880b9b7466576e48c69e156533796cc9fde65f2b