[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-02-22 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-1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/TheSpiritXIII/Texture-Atlas on toolchain beta-2022-02-22 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-02-22" "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-1/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-02-22" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded adler32 v1.0.1 [INFO] [stderr] Downloaded deflate v0.7.15 [INFO] [stderr] Downloaded png v0.9.0 [INFO] [stderr] Downloaded image v0.15.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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" "+beta-2022-02-22" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] e76c30a36cb27c91f60eae88db8019935340f010c441bc3d8bda23a54ca418cb [INFO] running `Command { std: "docker" "start" "-a" "e76c30a36cb27c91f60eae88db8019935340f010c441bc3d8bda23a54ca418cb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e76c30a36cb27c91f60eae88db8019935340f010c441bc3d8bda23a54ca418cb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e76c30a36cb27c91f60eae88db8019935340f010c441bc3d8bda23a54ca418cb", kill_on_drop: false }` [INFO] [stdout] e76c30a36cb27c91f60eae88db8019935340f010c441bc3d8bda23a54ca418cb [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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" "+beta-2022-02-22" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 4ffade18c785c637eacf72723ac35cdf1868f528b1a68847b011f31bf8b3b799 [INFO] running `Command { std: "docker" "start" "-a" "4ffade18c785c637eacf72723ac35cdf1868f528b1a68847b011f31bf8b3b799", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling num-traits v0.1.40 [INFO] [stderr] Compiling libc v0.2.29 [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 lazy_static v0.2.8 [INFO] [stderr] Compiling byteorder v1.1.0 [INFO] [stderr] Compiling futures v0.1.14 [INFO] [stderr] Compiling adler32 v1.0.1 [INFO] [stderr] Compiling color_quant v1.0.0 [INFO] [stderr] Compiling bitflags v0.9.1 [INFO] [stderr] Compiling lzw v0.10.0 [INFO] [stderr] Compiling inflate v0.2.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 deflate v0.7.15 [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.29s [INFO] running `Command { std: "docker" "inspect" "4ffade18c785c637eacf72723ac35cdf1868f528b1a68847b011f31bf8b3b799", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4ffade18c785c637eacf72723ac35cdf1868f528b1a68847b011f31bf8b3b799", kill_on_drop: false }` [INFO] [stdout] 4ffade18c785c637eacf72723ac35cdf1868f528b1a68847b011f31bf8b3b799 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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" "+beta-2022-02-22" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ee3494743acc21e84f6a5d4046affd40e5f1288543147222b4a6d8bbc5b5882e [INFO] running `Command { std: "docker" "start" "-a" "ee3494743acc21e84f6a5d4046affd40e5f1288543147222b4a6d8bbc5b5882e", 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.38s [INFO] running `Command { std: "docker" "inspect" "ee3494743acc21e84f6a5d4046affd40e5f1288543147222b4a6d8bbc5b5882e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ee3494743acc21e84f6a5d4046affd40e5f1288543147222b4a6d8bbc5b5882e", kill_on_drop: false }` [INFO] [stdout] ee3494743acc21e84f6a5d4046affd40e5f1288543147222b4a6d8bbc5b5882e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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" "+beta-2022-02-22" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 2dda6c4e76ce773dcb8fcda66c7ba0e5e0a9794ae3d920ee9b0e8737326580e8 [INFO] running `Command { std: "docker" "start" "-a" "2dda6c4e76ce773dcb8fcda66c7ba0e5e0a9794ae3d920ee9b0e8737326580e8", 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.03s [INFO] [stdout] [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/texture_atlas-5f9155a273f36dbf) [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_spread ... ok [INFO] [stdout] test image_single ... ok [INFO] [stderr] Running tests/tests.rs (/opt/rustwide/target/debug/deps/tests-c9fafedd14d0f779) [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.01s [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" "2dda6c4e76ce773dcb8fcda66c7ba0e5e0a9794ae3d920ee9b0e8737326580e8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2dda6c4e76ce773dcb8fcda66c7ba0e5e0a9794ae3d920ee9b0e8737326580e8", kill_on_drop: false }` [INFO] [stdout] 2dda6c4e76ce773dcb8fcda66c7ba0e5e0a9794ae3d920ee9b0e8737326580e8