[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 beta-2022-04-10 for beta-1.61-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FTheSpiritXIII%2FTexture-Atlas" "/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/TheSpiritXIII/Texture-Atlas on toolchain beta-2022-04-10 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "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-4/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" "+beta-2022-04-10" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [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" "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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 3bbe1061cb3f1a78e0b280908d9c063129dd6067e68ae05c6c7630b8e648eb8f [INFO] running `Command { std: "docker" "start" "-a" "3bbe1061cb3f1a78e0b280908d9c063129dd6067e68ae05c6c7630b8e648eb8f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "3bbe1061cb3f1a78e0b280908d9c063129dd6067e68ae05c6c7630b8e648eb8f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3bbe1061cb3f1a78e0b280908d9c063129dd6067e68ae05c6c7630b8e648eb8f", kill_on_drop: false }` [INFO] [stdout] 3bbe1061cb3f1a78e0b280908d9c063129dd6067e68ae05c6c7630b8e648eb8f [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" "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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a7d0aae6467be8b3ea5c0eff362e39a5d41d1f8454d7d9e0fa8e56ee054d11b9 [INFO] running `Command { std: "docker" "start" "-a" "a7d0aae6467be8b3ea5c0eff362e39a5d41d1f8454d7d9e0fa8e56ee054d11b9", 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 futures v0.1.14 [INFO] [stderr] Compiling byteorder v1.1.0 [INFO] [stderr] Compiling adler32 v1.0.1 [INFO] [stderr] Compiling lzw v0.10.0 [INFO] [stderr] Compiling inflate v0.2.0 [INFO] [stderr] Compiling bitflags v0.9.1 [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 gif v0.9.2 [INFO] [stderr] Compiling num-integer v0.1.35 [INFO] [stderr] Compiling enum_primitive v0.1.1 [INFO] [stderr] Compiling deflate v0.7.15 [INFO] [stderr] Compiling rand v0.3.16 [INFO] [stderr] Compiling num_cpus v1.6.2 [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 37.46s [INFO] running `Command { std: "docker" "inspect" "a7d0aae6467be8b3ea5c0eff362e39a5d41d1f8454d7d9e0fa8e56ee054d11b9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a7d0aae6467be8b3ea5c0eff362e39a5d41d1f8454d7d9e0fa8e56ee054d11b9", kill_on_drop: false }` [INFO] [stdout] a7d0aae6467be8b3ea5c0eff362e39a5d41d1f8454d7d9e0fa8e56ee054d11b9 [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" "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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 93e49ce5930e08d255a1a5e63b18e0fb44b236b43dc87d9e5f69ece14bb70beb [INFO] running `Command { std: "docker" "start" "-a" "93e49ce5930e08d255a1a5e63b18e0fb44b236b43dc87d9e5f69ece14bb70beb", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [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 14.02s [INFO] [stderr] Executable unittests src/lib.rs (/opt/rustwide/target/debug/deps/texture_atlas-5f9155a273f36dbf) [INFO] [stderr] Executable tests/image.rs (/opt/rustwide/target/debug/deps/image-b4856b6b288ffd2b) [INFO] [stderr] Executable tests/tests.rs (/opt/rustwide/target/debug/deps/tests-c9fafedd14d0f779) [INFO] running `Command { std: "docker" "inspect" "93e49ce5930e08d255a1a5e63b18e0fb44b236b43dc87d9e5f69ece14bb70beb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "93e49ce5930e08d255a1a5e63b18e0fb44b236b43dc87d9e5f69ece14bb70beb", kill_on_drop: false }` [INFO] [stdout] 93e49ce5930e08d255a1a5e63b18e0fb44b236b43dc87d9e5f69ece14bb70beb [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" "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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 2409e4d494b1ad27813eb28b54d860d61294005c98f052ea8caa9b7a3cecd867 [INFO] running `Command { std: "docker" "start" "-a" "2409e4d494b1ad27813eb28b54d860d61294005c98f052ea8caa9b7a3cecd867", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [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.38s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/texture_atlas-5f9155a273f36dbf) [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] [stderr] Running tests/image.rs (/opt/rustwide/target/debug/deps/image-b4856b6b288ffd2b) [INFO] [stdout] [INFO] [stdout] running 3 tests [INFO] [stdout] test image_single ... ok [INFO] [stdout] test image_spread ... ok [INFO] [stdout] test image_single_rotated ... ok [INFO] [stderr] Running tests/tests.rs (/opt/rustwide/target/debug/deps/tests-c9fafedd14d0f779) [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_passthrough ... ok [INFO] [stdout] test test_binary_tree ... ok [INFO] [stderr] Doc-tests texture_atlas [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" "2409e4d494b1ad27813eb28b54d860d61294005c98f052ea8caa9b7a3cecd867", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2409e4d494b1ad27813eb28b54d860d61294005c98f052ea8caa9b7a3cecd867", kill_on_drop: false }` [INFO] [stdout] 2409e4d494b1ad27813eb28b54d860d61294005c98f052ea8caa9b7a3cecd867