[INFO] cloning repository https://github.com/TheSpiritXIII/Texture-Atlas [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/TheSpiritXIII/Texture-Atlas" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FTheSpiritXIII%2FTexture-Atlas", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FTheSpiritXIII%2FTexture-Atlas'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] db428558dbd12004264960ce884e9e9dcb6ccdba [INFO] testing TheSpiritXIII/Texture-Atlas against 1.59.0 for beta-1.60-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FTheSpiritXIII%2FTexture-Atlas" "/workspace/builds/worker-28/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-28/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/TheSpiritXIII/Texture-Atlas on toolchain 1.59.0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.59.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/TheSpiritXIII/Texture-Atlas [INFO] finished tweaking git repo https://github.com/TheSpiritXIII/Texture-Atlas [INFO] tweaked toml for git repo https://github.com/TheSpiritXIII/Texture-Atlas written to /workspace/builds/worker-28/source/Cargo.toml [INFO] crate git repo https://github.com/TheSpiritXIII/Texture-Atlas already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.59.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-28/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-28/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+1.59.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 1d6a1086f09e6ece029792c94b5e70d75de8b84141100867c0af54cb5e4d6656 [INFO] running `Command { std: "docker" "start" "-a" "1d6a1086f09e6ece029792c94b5e70d75de8b84141100867c0af54cb5e4d6656", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "1d6a1086f09e6ece029792c94b5e70d75de8b84141100867c0af54cb5e4d6656", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1d6a1086f09e6ece029792c94b5e70d75de8b84141100867c0af54cb5e4d6656", kill_on_drop: false }` [INFO] [stdout] 1d6a1086f09e6ece029792c94b5e70d75de8b84141100867c0af54cb5e4d6656 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-28/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-28/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+1.59.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e46dd6569ed8d4d978afbfd77ef221074a67626694275f7a8dd67b0472c3eb55 [INFO] running `Command { std: "docker" "start" "-a" "e46dd6569ed8d4d978afbfd77ef221074a67626694275f7a8dd67b0472c3eb55", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling libc v0.2.29 [INFO] [stderr] Compiling num-traits v0.1.40 [INFO] [stderr] Compiling either v1.1.0 [INFO] [stderr] Compiling scopeguard v0.3.2 [INFO] [stderr] Compiling rayon-core v1.2.1 [INFO] [stderr] Compiling byteorder v1.1.0 [INFO] [stderr] Compiling futures v0.1.14 [INFO] [stderr] Compiling lazy_static v0.2.8 [INFO] [stderr] Compiling adler32 v1.0.1 [INFO] [stderr] Compiling inflate v0.2.0 [INFO] [stderr] Compiling bitflags v0.9.1 [INFO] [stderr] Compiling lzw v0.10.0 [INFO] [stderr] Compiling color_quant v1.0.0 [INFO] [stderr] Compiling scoped_threadpool v0.1.7 [INFO] [stderr] Compiling coco v0.1.1 [INFO] [stderr] Compiling deflate v0.7.15 [INFO] [stderr] Compiling gif v0.9.2 [INFO] [stderr] Compiling num_cpus v1.6.2 [INFO] [stderr] Compiling rand v0.3.16 [INFO] [stderr] Compiling num-integer v0.1.35 [INFO] [stderr] Compiling enum_primitive v0.1.1 [INFO] [stderr] Compiling num-iter v0.1.34 [INFO] [stderr] Compiling num-rational v0.1.39 [INFO] [stderr] Compiling png v0.9.0 [INFO] [stderr] Compiling rayon v0.8.2 [INFO] [stderr] Compiling jpeg-decoder v0.1.13 [INFO] [stderr] Compiling image v0.15.0 [INFO] [stderr] Compiling texture_atlas v0.2.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:105:10 [INFO] [stdout] | [INFO] [stdout] 105 | impl<'a> AtlasRect + 'a [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [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: use `dyn` [INFO] [stdout] | [INFO] [stdout] 105 - impl<'a> AtlasRect + 'a [INFO] [stdout] 105 + impl<'a> dyn AtlasRect + 'a [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/gen/binary_tree.rs:29:20 [INFO] [stdout] | [INFO] [stdout] 29 | rect: (rect as &AtlasRect).dimensions_longest_rotated(rotate), [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: use `dyn` [INFO] [stdout] | [INFO] [stdout] 29 - rect: (rect as &AtlasRect).dimensions_longest_rotated(rotate), [INFO] [stdout] 29 + rect: (rect as &dyn AtlasRect).dimensions_longest_rotated(rotate), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/gen/binary_tree.rs:151:58 [INFO] [stdout] | [INFO] [stdout] 151 | let dimensions = (&atlas.rect_list()[rect_index] as &AtlasRect).dimensions(); [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: use `dyn` [INFO] [stdout] | [INFO] [stdout] 151 - let dimensions = (&atlas.rect_list()[rect_index] as &AtlasRect).dimensions(); [INFO] [stdout] 151 + let dimensions = (&atlas.rect_list()[rect_index] as &dyn AtlasRect).dimensions(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/util/img.rs:107:28 [INFO] [stdout] | [INFO] [stdout] 107 | let dimensions = (bin as &AtlasRect).dimensions(); [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: use `dyn` [INFO] [stdout] | [INFO] [stdout] 107 - let dimensions = (bin as &AtlasRect).dimensions(); [INFO] [stdout] 107 + let dimensions = (bin as &dyn AtlasRect).dimensions(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/util/img.rs:197:58 [INFO] [stdout] | [INFO] [stdout] 197 | let dimensions = (&rect_list[reference.rect_index] as &AtlasRect).dimensions_rotated(rotate); [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: use `dyn` [INFO] [stdout] | [INFO] [stdout] 197 - let dimensions = (&rect_list[reference.rect_index] as &AtlasRect).dimensions_rotated(rotate); [INFO] [stdout] 197 + let dimensions = (&rect_list[reference.rect_index] as &dyn AtlasRect).dimensions_rotated(rotate); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:295:33 [INFO] [stdout] | [INFO] [stdout] 295 | self.total_area += (&rect as &AtlasRect).area(); [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: use `dyn` [INFO] [stdout] | [INFO] [stdout] 295 - self.total_area += (&rect as &AtlasRect).area(); [INFO] [stdout] 295 + self.total_area += (&rect as &dyn AtlasRect).area(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:308:30 [INFO] [stdout] | [INFO] [stdout] 308 | let atlas_rect = &size as &AtlasRect; [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: use `dyn` [INFO] [stdout] | [INFO] [stdout] 308 - let atlas_rect = &size as &AtlasRect; [INFO] [stdout] 308 + let atlas_rect = &size as &dyn AtlasRect; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:404:53 [INFO] [stdout] | [INFO] [stdout] 404 | let dimensions = (&self.rect_list[rect_index] as &AtlasRect).dimensions_rotated(rotate); [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: use `dyn` [INFO] [stdout] | [INFO] [stdout] 404 - let dimensions = (&self.rect_list[rect_index] as &AtlasRect).dimensions_rotated(rotate); [INFO] [stdout] 404 + let dimensions = (&self.rect_list[rect_index] as &dyn AtlasRect).dimensions_rotated(rotate); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:412:53 [INFO] [stdout] | [INFO] [stdout] 412 | let dimensions = (&self.rect_list[rect_index] as &AtlasRect).dimensions_rotated(rotate); [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: use `dyn` [INFO] [stdout] | [INFO] [stdout] 412 - let dimensions = (&self.rect_list[rect_index] as &AtlasRect).dimensions_rotated(rotate); [INFO] [stdout] 412 + let dimensions = (&self.rect_list[rect_index] as &dyn AtlasRect).dimensions_rotated(rotate); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 9 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 12.03s [INFO] running `Command { std: "docker" "inspect" "e46dd6569ed8d4d978afbfd77ef221074a67626694275f7a8dd67b0472c3eb55", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e46dd6569ed8d4d978afbfd77ef221074a67626694275f7a8dd67b0472c3eb55", kill_on_drop: false }` [INFO] [stdout] e46dd6569ed8d4d978afbfd77ef221074a67626694275f7a8dd67b0472c3eb55 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-28/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-28/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+1.59.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 51cb33879c784dad8bd14539aa39d14a46ceb71893c7f51896f64d3a76c86e9d [INFO] running `Command { std: "docker" "start" "-a" "51cb33879c784dad8bd14539aa39d14a46ceb71893c7f51896f64d3a76c86e9d", kill_on_drop: false }` [INFO] [stderr] Compiling texture_atlas v0.2.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:105:10 [INFO] [stdout] | [INFO] [stdout] 105 | impl<'a> AtlasRect + 'a [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [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: use `dyn` [INFO] [stdout] | [INFO] [stdout] 105 - impl<'a> AtlasRect + 'a [INFO] [stdout] 105 + impl<'a> dyn AtlasRect + 'a [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/gen/binary_tree.rs:29:20 [INFO] [stdout] | [INFO] [stdout] 29 | rect: (rect as &AtlasRect).dimensions_longest_rotated(rotate), [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: use `dyn` [INFO] [stdout] | [INFO] [stdout] 29 - rect: (rect as &AtlasRect).dimensions_longest_rotated(rotate), [INFO] [stdout] 29 + rect: (rect as &dyn AtlasRect).dimensions_longest_rotated(rotate), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/gen/binary_tree.rs:151:58 [INFO] [stdout] | [INFO] [stdout] 151 | let dimensions = (&atlas.rect_list()[rect_index] as &AtlasRect).dimensions(); [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: use `dyn` [INFO] [stdout] | [INFO] [stdout] 151 - let dimensions = (&atlas.rect_list()[rect_index] as &AtlasRect).dimensions(); [INFO] [stdout] 151 + let dimensions = (&atlas.rect_list()[rect_index] as &dyn AtlasRect).dimensions(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/util/img.rs:107:28 [INFO] [stdout] | [INFO] [stdout] 107 | let dimensions = (bin as &AtlasRect).dimensions(); [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: use `dyn` [INFO] [stdout] | [INFO] [stdout] 107 - let dimensions = (bin as &AtlasRect).dimensions(); [INFO] [stdout] 107 + let dimensions = (bin as &dyn AtlasRect).dimensions(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/util/img.rs:197:58 [INFO] [stdout] | [INFO] [stdout] 197 | let dimensions = (&rect_list[reference.rect_index] as &AtlasRect).dimensions_rotated(rotate); [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: use `dyn` [INFO] [stdout] | [INFO] [stdout] 197 - let dimensions = (&rect_list[reference.rect_index] as &AtlasRect).dimensions_rotated(rotate); [INFO] [stdout] 197 + let dimensions = (&rect_list[reference.rect_index] as &dyn AtlasRect).dimensions_rotated(rotate); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:295:33 [INFO] [stdout] | [INFO] [stdout] 295 | self.total_area += (&rect as &AtlasRect).area(); [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: use `dyn` [INFO] [stdout] | [INFO] [stdout] 295 - self.total_area += (&rect as &AtlasRect).area(); [INFO] [stdout] 295 + self.total_area += (&rect as &dyn AtlasRect).area(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:308:30 [INFO] [stdout] | [INFO] [stdout] 308 | let atlas_rect = &size as &AtlasRect; [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: use `dyn` [INFO] [stdout] | [INFO] [stdout] 308 - let atlas_rect = &size as &AtlasRect; [INFO] [stdout] 308 + let atlas_rect = &size as &dyn AtlasRect; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:404:53 [INFO] [stdout] | [INFO] [stdout] 404 | let dimensions = (&self.rect_list[rect_index] as &AtlasRect).dimensions_rotated(rotate); [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: use `dyn` [INFO] [stdout] | [INFO] [stdout] 404 - let dimensions = (&self.rect_list[rect_index] as &AtlasRect).dimensions_rotated(rotate); [INFO] [stdout] 404 + let dimensions = (&self.rect_list[rect_index] as &dyn AtlasRect).dimensions_rotated(rotate); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:412:53 [INFO] [stdout] | [INFO] [stdout] 412 | let dimensions = (&self.rect_list[rect_index] as &AtlasRect).dimensions_rotated(rotate); [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: use `dyn` [INFO] [stdout] | [INFO] [stdout] 412 - let dimensions = (&self.rect_list[rect_index] as &AtlasRect).dimensions_rotated(rotate); [INFO] [stdout] 412 + let dimensions = (&self.rect_list[rect_index] as &dyn AtlasRect).dimensions_rotated(rotate); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 9 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:105:10 [INFO] [stdout] | [INFO] [stdout] 105 | impl<'a> AtlasRect + 'a [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [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: use `dyn` [INFO] [stdout] | [INFO] [stdout] 105 - impl<'a> AtlasRect + 'a [INFO] [stdout] 105 + impl<'a> dyn AtlasRect + 'a [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/gen/binary_tree.rs:29:20 [INFO] [stdout] | [INFO] [stdout] 29 | rect: (rect as &AtlasRect).dimensions_longest_rotated(rotate), [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: use `dyn` [INFO] [stdout] | [INFO] [stdout] 29 - rect: (rect as &AtlasRect).dimensions_longest_rotated(rotate), [INFO] [stdout] 29 + rect: (rect as &dyn AtlasRect).dimensions_longest_rotated(rotate), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/gen/binary_tree.rs:151:58 [INFO] [stdout] | [INFO] [stdout] 151 | let dimensions = (&atlas.rect_list()[rect_index] as &AtlasRect).dimensions(); [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: use `dyn` [INFO] [stdout] | [INFO] [stdout] 151 - let dimensions = (&atlas.rect_list()[rect_index] as &AtlasRect).dimensions(); [INFO] [stdout] 151 + let dimensions = (&atlas.rect_list()[rect_index] as &dyn AtlasRect).dimensions(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/util/img.rs:107:28 [INFO] [stdout] | [INFO] [stdout] 107 | let dimensions = (bin as &AtlasRect).dimensions(); [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: use `dyn` [INFO] [stdout] | [INFO] [stdout] 107 - let dimensions = (bin as &AtlasRect).dimensions(); [INFO] [stdout] 107 + let dimensions = (bin as &dyn AtlasRect).dimensions(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/util/img.rs:197:58 [INFO] [stdout] | [INFO] [stdout] 197 | let dimensions = (&rect_list[reference.rect_index] as &AtlasRect).dimensions_rotated(rotate); [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: use `dyn` [INFO] [stdout] | [INFO] [stdout] 197 - let dimensions = (&rect_list[reference.rect_index] as &AtlasRect).dimensions_rotated(rotate); [INFO] [stdout] 197 + let dimensions = (&rect_list[reference.rect_index] as &dyn AtlasRect).dimensions_rotated(rotate); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:295:33 [INFO] [stdout] | [INFO] [stdout] 295 | self.total_area += (&rect as &AtlasRect).area(); [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: use `dyn` [INFO] [stdout] | [INFO] [stdout] 295 - self.total_area += (&rect as &AtlasRect).area(); [INFO] [stdout] 295 + self.total_area += (&rect as &dyn AtlasRect).area(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:308:30 [INFO] [stdout] | [INFO] [stdout] 308 | let atlas_rect = &size as &AtlasRect; [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: use `dyn` [INFO] [stdout] | [INFO] [stdout] 308 - let atlas_rect = &size as &AtlasRect; [INFO] [stdout] 308 + let atlas_rect = &size as &dyn AtlasRect; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:404:53 [INFO] [stdout] | [INFO] [stdout] 404 | let dimensions = (&self.rect_list[rect_index] as &AtlasRect).dimensions_rotated(rotate); [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: use `dyn` [INFO] [stdout] | [INFO] [stdout] 404 - let dimensions = (&self.rect_list[rect_index] as &AtlasRect).dimensions_rotated(rotate); [INFO] [stdout] 404 + let dimensions = (&self.rect_list[rect_index] as &dyn AtlasRect).dimensions_rotated(rotate); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:412:53 [INFO] [stdout] | [INFO] [stdout] 412 | let dimensions = (&self.rect_list[rect_index] as &AtlasRect).dimensions_rotated(rotate); [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: use `dyn` [INFO] [stdout] | [INFO] [stdout] 412 - let dimensions = (&self.rect_list[rect_index] as &AtlasRect).dimensions_rotated(rotate); [INFO] [stdout] 412 + let dimensions = (&self.rect_list[rect_index] as &dyn AtlasRect).dimensions_rotated(rotate); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 9 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 1.28s [INFO] running `Command { std: "docker" "inspect" "51cb33879c784dad8bd14539aa39d14a46ceb71893c7f51896f64d3a76c86e9d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "51cb33879c784dad8bd14539aa39d14a46ceb71893c7f51896f64d3a76c86e9d", kill_on_drop: false }` [INFO] [stdout] 51cb33879c784dad8bd14539aa39d14a46ceb71893c7f51896f64d3a76c86e9d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-28/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-28/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+1.59.0" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 9fa15681aca544aa35264142386af60a09caba06bbcf63d1ec0af3dd905d874e [INFO] running `Command { std: "docker" "start" "-a" "9fa15681aca544aa35264142386af60a09caba06bbcf63d1ec0af3dd905d874e", kill_on_drop: false }` [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/lib.rs:105:10 [INFO] [stderr] | [INFO] [stderr] 105 | impl<'a> AtlasRect + 'a [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 105 - impl<'a> AtlasRect + 'a [INFO] [stderr] 105 + impl<'a> dyn AtlasRect + 'a [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/gen/binary_tree.rs:29:20 [INFO] [stderr] | [INFO] [stderr] 29 | rect: (rect as &AtlasRect).dimensions_longest_rotated(rotate), [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 29 - rect: (rect as &AtlasRect).dimensions_longest_rotated(rotate), [INFO] [stderr] 29 + rect: (rect as &dyn AtlasRect).dimensions_longest_rotated(rotate), [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/gen/binary_tree.rs:151:58 [INFO] [stderr] | [INFO] [stderr] 151 | let dimensions = (&atlas.rect_list()[rect_index] as &AtlasRect).dimensions(); [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 151 - let dimensions = (&atlas.rect_list()[rect_index] as &AtlasRect).dimensions(); [INFO] [stderr] 151 + let dimensions = (&atlas.rect_list()[rect_index] as &dyn AtlasRect).dimensions(); [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/util/img.rs:107:28 [INFO] [stderr] | [INFO] [stderr] 107 | let dimensions = (bin as &AtlasRect).dimensions(); [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 107 - let dimensions = (bin as &AtlasRect).dimensions(); [INFO] [stderr] 107 + let dimensions = (bin as &dyn AtlasRect).dimensions(); [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/util/img.rs:197:58 [INFO] [stderr] | [INFO] [stderr] 197 | let dimensions = (&rect_list[reference.rect_index] as &AtlasRect).dimensions_rotated(rotate); [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 197 - let dimensions = (&rect_list[reference.rect_index] as &AtlasRect).dimensions_rotated(rotate); [INFO] [stderr] 197 + let dimensions = (&rect_list[reference.rect_index] as &dyn AtlasRect).dimensions_rotated(rotate); [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/lib.rs:295:33 [INFO] [stderr] | [INFO] [stderr] 295 | self.total_area += (&rect as &AtlasRect).area(); [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 295 - self.total_area += (&rect as &AtlasRect).area(); [INFO] [stderr] 295 + self.total_area += (&rect as &dyn AtlasRect).area(); [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/lib.rs:308:30 [INFO] [stderr] | [INFO] [stderr] 308 | let atlas_rect = &size as &AtlasRect; [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 308 - let atlas_rect = &size as &AtlasRect; [INFO] [stderr] 308 + let atlas_rect = &size as &dyn AtlasRect; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/lib.rs:404:53 [INFO] [stderr] | [INFO] [stderr] 404 | let dimensions = (&self.rect_list[rect_index] as &AtlasRect).dimensions_rotated(rotate); [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 404 - let dimensions = (&self.rect_list[rect_index] as &AtlasRect).dimensions_rotated(rotate); [INFO] [stderr] 404 + let dimensions = (&self.rect_list[rect_index] as &dyn AtlasRect).dimensions_rotated(rotate); [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/lib.rs:412:53 [INFO] [stderr] | [INFO] [stderr] 412 | let dimensions = (&self.rect_list[rect_index] as &AtlasRect).dimensions_rotated(rotate); [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 412 - let dimensions = (&self.rect_list[rect_index] as &AtlasRect).dimensions_rotated(rotate); [INFO] [stderr] 412 + let dimensions = (&self.rect_list[rect_index] as &dyn AtlasRect).dimensions_rotated(rotate); [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: `texture_atlas` (lib) generated 9 warnings [INFO] [stderr] warning: `texture_atlas` (lib test) generated 9 warnings (9 duplicates) [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.02s [INFO] [stdout] [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/texture_atlas-4458bad4f558072e) [INFO] [stdout] running 0 tests [INFO] [stderr] Running tests/image.rs (/opt/rustwide/target/debug/deps/image-a68b24cb14b19a05) [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 3 tests [INFO] [stdout] test image_single ... ok [INFO] [stdout] test image_spread ... ok [INFO] [stderr] Running tests/tests.rs (/opt/rustwide/target/debug/deps/tests-2501450fcef58ce6) [INFO] [stdout] test image_single_rotated ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 3 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.04s [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 2 tests [INFO] [stdout] test test_binary_tree ... ok [INFO] [stderr] Doc-tests texture_atlas [INFO] [stdout] test test_passthrough ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 2 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [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; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "9fa15681aca544aa35264142386af60a09caba06bbcf63d1ec0af3dd905d874e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9fa15681aca544aa35264142386af60a09caba06bbcf63d1ec0af3dd905d874e", kill_on_drop: false }` [INFO] [stdout] 9fa15681aca544aa35264142386af60a09caba06bbcf63d1ec0af3dd905d874e