[INFO] fetching crate memenhancer 0.1.0... [INFO] checking memenhancer-0.1.0 against try#a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d for pr-145342-1 [INFO] extracting crate memenhancer 0.1.0 into /workspace/builds/worker-3-tc2/source [INFO] started tweaking crates.io crate memenhancer 0.1.0 [INFO] finished tweaking crates.io crate memenhancer 0.1.0 [INFO] tweaked toml for crates.io crate memenhancer 0.1.0 written to /workspace/builds/worker-3-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate memenhancer 0.1.0 on toolchain a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 8 packages to latest compatible versions [INFO] [stderr] Adding handlebars v0.21.1 (available: v6.3.2) [INFO] [stderr] Adding svg v0.5.12 (available: v0.18.0) [INFO] [stderr] Adding unicode-width v0.1.14 (available: v0.2.1) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "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] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 59fbabe4db76ef3d906f24cd105bedddc5ea46759906a7ade700f7c021968f95 [INFO] running `Command { std: "docker" "start" "-a" "59fbabe4db76ef3d906f24cd105bedddc5ea46759906a7ade700f7c021968f95", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "59fbabe4db76ef3d906f24cd105bedddc5ea46759906a7ade700f7c021968f95", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "59fbabe4db76ef3d906f24cd105bedddc5ea46759906a7ade700f7c021968f95", kill_on_drop: false }` [INFO] [stdout] 59fbabe4db76ef3d906f24cd105bedddc5ea46759906a7ade700f7c021968f95 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 3573ddd9b88fcb9d91f388b227c57677f6cb7463e825f5b1c98a7e3cf594e632 [INFO] running `Command { std: "docker" "start" "-a" "3573ddd9b88fcb9d91f388b227c57677f6cb7463e825f5b1c98a7e3cf594e632", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Checking log v0.4.27 [INFO] [stderr] Checking rustc-serialize v0.3.25 [INFO] [stderr] Checking pest v0.3.3 [INFO] [stderr] Checking quick-error v1.2.3 [INFO] [stderr] Checking unicode-width v0.1.14 [INFO] [stderr] Checking svg v0.5.12 [INFO] [stderr] Checking log v0.3.9 [INFO] [stderr] Checking memenhancer v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:337:58 [INFO] [stdout] | [INFO] [stdout] 337 | fn to_svg_lines(s: &str, settings: &Settings) -> 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] note: the lint level is defined here [INFO] [stdout] --> src/lib.rs:1:9 [INFO] [stdout] | [INFO] [stdout] 1 | #![deny(warnings)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] = note: `#[deny(bare_trait_objects)]` implied by `#[deny(warnings)]` [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 337 | fn to_svg_lines(s: &str, settings: &Settings) -> Vec> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:349:72 [INFO] [stdout] | [INFO] [stdout] 349 | fn get_svg_elements(y: usize, s: &str, settings: &Settings) -> 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] 349 | fn get_svg_elements(y: usize, s: &str, settings: &Settings) -> Vec> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:355:81 [INFO] [stdout] | [INFO] [stdout] 355 | pub fn get_meme_svg(input: &str, text_width: f32, text_height: f32) -> (Vec>, String) { [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] 355 | pub fn get_meme_svg(input: &str, text_width: f32, text_height: f32) -> (Vec>, String) { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:381:90 [INFO] [stdout] | [INFO] [stdout] 381 | fn line_to_svg_with_excess_str(y: usize, s: &str, settings:&Settings) -> Option<(Vec>, String)>{ [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] 381 | fn line_to_svg_with_excess_str(y: usize, s: &str, settings:&Settings) -> Option<(Vec>, String)>{ [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:58:74 [INFO] [stdout] | [INFO] [stdout] 58 | fn get_svg_elements(&self, y: usize, settings: &Settings) -> 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] 58 | fn get_svg_elements(&self, y: usize, settings: &Settings) -> Vec>{ [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:105:74 [INFO] [stdout] | [INFO] [stdout] 105 | fn get_svg_elements(&self, y: usize, settings: &Settings) -> 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] 105 | fn get_svg_elements(&self, y: usize, settings: &Settings) -> Vec>{ [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:175:73 [INFO] [stdout] | [INFO] [stdout] 175 | fn get_svg_elements(&self, y: usize, settings:&Settings) -> 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] 175 | fn get_svg_elements(&self, y: usize, settings:&Settings) -> Vec> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:59:29 [INFO] [stdout] | [INFO] [stdout] 59 | let mut svg:Vec> = 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] 59 | let mut svg:Vec> = vec![]; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:106:34 [INFO] [stdout] | [INFO] [stdout] 106 | let mut elements:Vec> = 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] 106 | let mut elements:Vec> = vec![]; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:176:35 [INFO] [stdout] | [INFO] [stdout] 176 | let mut elements: Vec> = 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] 176 | let mut elements: Vec> = vec![]; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:360:34 [INFO] [stdout] | [INFO] [stdout] 360 | let mut svg_elements:Vec> = 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] 360 | let mut svg_elements:Vec> = vec![]; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: fields `start_position` and `end_position` are never read [INFO] [stdout] --> src/lib.rs:93:5 [INFO] [stdout] | [INFO] [stdout] 91 | struct Meme{ [INFO] [stdout] | ---- fields in this struct [INFO] [stdout] 92 | /// location to the left until a space is encountered [INFO] [stdout] 93 | start_position: usize, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 96 | end_position: usize, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Meme` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[deny(dead_code)]` implied by `#[deny(warnings)]` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: fields `start_position` and `end_position` are never read [INFO] [stdout] --> src/lib.rs:159:5 [INFO] [stdout] | [INFO] [stdout] 157 | struct Head{ [INFO] [stdout] | ---- fields in this struct [INFO] [stdout] 158 | // character position [INFO] [stdout] 159 | start_position: usize, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 166 | end_position: usize [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Head` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `memenhancer` (lib) due to 13 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] running `Command { std: "docker" "inspect" "3573ddd9b88fcb9d91f388b227c57677f6cb7463e825f5b1c98a7e3cf594e632", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3573ddd9b88fcb9d91f388b227c57677f6cb7463e825f5b1c98a7e3cf594e632", kill_on_drop: false }` [INFO] [stdout] 3573ddd9b88fcb9d91f388b227c57677f6cb7463e825f5b1c98a7e3cf594e632