[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.60.0 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 1.60.0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.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-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" "+1.60.0" "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] [stderr] Downloading crates ... [INFO] [stderr] Downloaded num-rational v0.1.39 [INFO] [stderr] Downloaded adler32 v1.0.1 [INFO] [stderr] Downloaded gif v0.9.2 [INFO] [stderr] Downloaded jpeg-decoder v0.1.13 [INFO] [stderr] Downloaded deflate v0.7.15 [INFO] [stderr] Downloaded libc v0.2.29 [INFO] [stderr] Downloaded png v0.9.0 [INFO] [stderr] Downloaded inflate v0.2.0 [INFO] [stderr] Downloaded image v0.15.0 [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" "+1.60.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] f90f2e1aa615b1fa75cc68d8b08643b249a22b397ea5c0b4ed863810083d19b4 [INFO] running `Command { std: "docker" "start" "-a" "f90f2e1aa615b1fa75cc68d8b08643b249a22b397ea5c0b4ed863810083d19b4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f90f2e1aa615b1fa75cc68d8b08643b249a22b397ea5c0b4ed863810083d19b4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f90f2e1aa615b1fa75cc68d8b08643b249a22b397ea5c0b4ed863810083d19b4", kill_on_drop: false }` [INFO] [stdout] f90f2e1aa615b1fa75cc68d8b08643b249a22b397ea5c0b4ed863810083d19b4 [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" "+1.60.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 20d074dafcbfa7e2f41063b62dd77162da23277132c122a189bcfe1e4e61a793 [INFO] running `Command { std: "docker" "start" "-a" "20d074dafcbfa7e2f41063b62dd77162da23277132c122a189bcfe1e4e61a793", 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 scopeguard v0.3.2 [INFO] [stderr] Compiling either v1.1.0 [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 bitflags v0.9.1 [INFO] [stderr] Compiling lzw v0.10.0 [INFO] [stderr] Compiling inflate v0.2.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 gif v0.9.2 [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-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 39.48s [INFO] running `Command { std: "docker" "inspect" "20d074dafcbfa7e2f41063b62dd77162da23277132c122a189bcfe1e4e61a793", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "20d074dafcbfa7e2f41063b62dd77162da23277132c122a189bcfe1e4e61a793", kill_on_drop: false }` [INFO] [stdout] 20d074dafcbfa7e2f41063b62dd77162da23277132c122a189bcfe1e4e61a793 [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" "+1.60.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a3e2a0823a8e359a57755ada97e65254a9a02d3a5e81780b65feced3171c42f5 [INFO] running `Command { std: "docker" "start" "-a" "a3e2a0823a8e359a57755ada97e65254a9a02d3a5e81780b65feced3171c42f5", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [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] [stderr] Compiling texture_atlas v0.2.0 (/opt/rustwide/workdir) [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 6.16s [INFO] running `Command { std: "docker" "inspect" "a3e2a0823a8e359a57755ada97e65254a9a02d3a5e81780b65feced3171c42f5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a3e2a0823a8e359a57755ada97e65254a9a02d3a5e81780b65feced3171c42f5", kill_on_drop: false }` [INFO] [stdout] a3e2a0823a8e359a57755ada97e65254a9a02d3a5e81780b65feced3171c42f5 [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" "+1.60.0" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 2d1a77f7b3dabd202c648968bbd222b2467b46bc55e0838adc3064da08d8bf9c [INFO] running `Command { std: "docker" "start" "-a" "2d1a77f7b3dabd202c648968bbd222b2467b46bc55e0838adc3064da08d8bf9c", 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 1.73s [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/texture_atlas-22926e12b8d0d2fe) [INFO] [stdout] [INFO] [stderr] Running tests/image.rs (/opt/rustwide/target/debug/deps/image-f271e8b46d86c1ab) [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] [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-863b14863a6eef6f) [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] [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] [stderr] Doc-tests texture_atlas [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" "2d1a77f7b3dabd202c648968bbd222b2467b46bc55e0838adc3064da08d8bf9c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2d1a77f7b3dabd202c648968bbd222b2467b46bc55e0838adc3064da08d8bf9c", kill_on_drop: false }` [INFO] [stdout] 2d1a77f7b3dabd202c648968bbd222b2467b46bc55e0838adc3064da08d8bf9c