[INFO] cloning repository https://github.com/matklad/rustraytracer [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/matklad/rustraytracer" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmatklad%2Frustraytracer", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmatklad%2Frustraytracer'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 946e5c1f7d7dfadf5209c6f505453835bcd12f50 [INFO] testing matklad/rustraytracer against 1.55.0 for beta-1.56-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmatklad%2Frustraytracer" "/workspace/builds/worker-2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/matklad/rustraytracer on toolchain 1.55.0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.55.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/matklad/rustraytracer [INFO] finished tweaking git repo https://github.com/matklad/rustraytracer [INFO] tweaked toml for git repo https://github.com/matklad/rustraytracer written to /workspace/builds/worker-2/source/Cargo.toml [INFO] crate git repo https://github.com/matklad/rustraytracer already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.55.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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:a89201d6b5b9fd45c15d5952ece0a0129e7e80cb26ec023fd59cf09bc26f1604" "/opt/rustwide/cargo-home/bin/cargo" "+1.55.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 948af4bf75a19aef2a4b91a0cf12b58373fa7a1d063140db3b16e655059000b8 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "948af4bf75a19aef2a4b91a0cf12b58373fa7a1d063140db3b16e655059000b8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "948af4bf75a19aef2a4b91a0cf12b58373fa7a1d063140db3b16e655059000b8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "948af4bf75a19aef2a4b91a0cf12b58373fa7a1d063140db3b16e655059000b8", kill_on_drop: false }` [INFO] [stdout] 948af4bf75a19aef2a4b91a0cf12b58373fa7a1d063140db3b16e655059000b8 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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:a89201d6b5b9fd45c15d5952ece0a0129e7e80cb26ec023fd59cf09bc26f1604" "/opt/rustwide/cargo-home/bin/cargo" "+1.55.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 81458a40f01cbf19182a5386bebc39b619f18b3861d311d41d5f58f2ba0c0562 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "81458a40f01cbf19182a5386bebc39b619f18b3861d311d41d5f58f2ba0c0562", kill_on_drop: false }` [INFO] [stderr] Compiling crossbeam-utils v0.2.2 [INFO] [stderr] Compiling utils v0.1.0 (/opt/rustwide/workdir/libs/utils) [INFO] [stderr] Compiling crossbeam-epoch v0.3.1 [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> libs/utils/src/datastructures.rs:25:38 [INFO] [stdout] | [INFO] [stdout] 25 | pub fn iter<'a>(&'a self) -> Box + 'a> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Iterator + 'a` [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 issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling geom v0.1.0 (/opt/rustwide/workdir/libs/geom) [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> libs/geom/src/shape/mesh/obj_parser.rs:42:41 [INFO] [stdout] | [INFO] [stdout] 42 | pub fn parse(mut self, source: &mut io::Read) -> Result> { [INFO] [stdout] | ^^^^^^^^ help: use `dyn`: `dyn io::Read` [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 issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> libs/geom/src/shape/mesh/obj_parser.rs:42:71 [INFO] [stdout] | [INFO] [stdout] 42 | pub fn parse(mut self, source: &mut io::Read) -> Result> { [INFO] [stdout] | ^^^^^ help: use `dyn`: `dyn Error` [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 issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> libs/geom/src/shape/mesh/obj_parser.rs:58:59 [INFO] [stdout] | [INFO] [stdout] 58 | fn parse_vertex(&mut self, s: &str) -> Result<(), Box> { [INFO] [stdout] | ^^^^^ help: use `dyn`: `dyn Error` [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 issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> libs/geom/src/shape/mesh/obj_parser.rs:64:59 [INFO] [stdout] | [INFO] [stdout] 64 | fn parse_normal(&mut self, s: &str) -> Result<(), Box> { [INFO] [stdout] | ^^^^^ help: use `dyn`: `dyn Error` [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 issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> libs/geom/src/shape/mesh/obj_parser.rs:70:64 [INFO] [stdout] | [INFO] [stdout] 70 | fn parse_face_simple(&mut self, s: &str) -> Result<(), Box> { [INFO] [stdout] | ^^^^^ help: use `dyn`: `dyn Error` [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 issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> libs/geom/src/shape/mesh/obj_parser.rs:89:65 [INFO] [stdout] | [INFO] [stdout] 89 | fn parse_face_normals(&mut self, s: &str) -> Result<(), Box> { [INFO] [stdout] | ^^^^^ help: use `dyn`: `dyn Error` [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 issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> libs/geom/src/shape/mesh/obj_parser.rs:90:69 [INFO] [stdout] | [INFO] [stdout] 90 | fn read_group(s: &str) -> Result<(usize, usize, usize), Box> { [INFO] [stdout] | ^^^^^ help: use `dyn`: `dyn Error` [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 issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> libs/geom/src/shape/mesh/obj_parser.rs:121:57 [INFO] [stdout] | [INFO] [stdout] 121 | fn parse_face(&mut self, s: &str) -> Result<(), Box> { [INFO] [stdout] | ^^^^^ help: use `dyn`: `dyn Error` [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 issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> libs/geom/src/shape/mesh/obj_parser.rs:129:66 [INFO] [stdout] | [INFO] [stdout] 129 | fn parse_coordinates(s: &str) -> Result<(f64, f64, f64), Box> { [INFO] [stdout] | ^^^^^ help: use `dyn`: `dyn Error` [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 issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> libs/geom/src/shape/mesh/mod.rs:24:34 [INFO] [stdout] | [INFO] [stdout] 24 | pub fn from_obj(source: &mut io::Read) -> Result> { [INFO] [stdout] | ^^^^^^^^ help: use `dyn`: `dyn io::Read` [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 issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> libs/geom/src/shape/mesh/mod.rs:24:64 [INFO] [stdout] | [INFO] [stdout] 24 | pub fn from_obj(source: &mut io::Read) -> Result> { [INFO] [stdout] | ^^^^^ help: use `dyn`: `dyn Error` [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 issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling crossbeam-deque v0.2.0 [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> libs/geom/src/shape/mesh/obj_parser.rs:22:14 [INFO] [stdout] | [INFO] [stdout] 22 | self.description().fmt(f) [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling rayon-core v1.4.1 [INFO] [stdout] warning: 12 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling rayon v1.0.3 [INFO] [stderr] Compiling rustraytracer v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/display/ppm.rs:9:27 [INFO] [stdout] | [INFO] [stdout] 9 | destination: &'a mut (io::Write + 'a) [INFO] [stdout] | ^^^^^^^^^^^^^^ help: use `dyn`: `dyn io::Write + 'a` [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 issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/display/ppm.rs:13:37 [INFO] [stdout] | [INFO] [stdout] 13 | pub fn new(destination: &'a mut io::Write) -> PpmWriter<'a> { [INFO] [stdout] | ^^^^^^^^^ help: use `dyn`: `dyn io::Write` [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 issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/rendering/samplers.rs:19:46 [INFO] [stdout] | [INFO] [stdout] 19 | fn split(&self, n_parts: u16) -> Vec>; [INFO] [stdout] | ^^^^^^^ help: use `dyn`: `dyn Sampler` [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 issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/rendering/samplers.rs:78:46 [INFO] [stdout] | [INFO] [stdout] 78 | fn split(&self, n_parts: u16) -> Vec> { [INFO] [stdout] | ^^^^^^^ help: use `dyn`: `dyn Sampler` [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 issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/rendering/samplers.rs:89:27 [INFO] [stdout] | [INFO] [stdout] 89 | }) as Box) [INFO] [stdout] | ^^^^^^^ help: use `dyn`: `dyn Sampler` [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 issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/rendering/filters.rs:13:17 [INFO] [stdout] | [INFO] [stdout] 13 | weight: Box f64 + Send + Sync> [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn(f64, f64) -> f64 + Send + Sync` [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 issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `RustcDecodable`: rustc-serialize is deprecated and no longer supported [INFO] [stdout] --> src/rendering/config.rs:3:17 [INFO] [stdout] | [INFO] [stdout] 3 | #[derive(Debug, RustcDecodable)] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `RustcDecodable`: rustc-serialize is deprecated and no longer supported [INFO] [stdout] --> src/rendering/config.rs:12:17 [INFO] [stdout] | [INFO] [stdout] 12 | #[derive(Debug, RustcDecodable)] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `RustcDecodable`: rustc-serialize is deprecated and no longer supported [INFO] [stdout] --> src/rendering/config.rs:20:17 [INFO] [stdout] | [INFO] [stdout] 20 | #[derive(Debug, RustcDecodable)] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `RustcDecodable`: rustc-serialize is deprecated and no longer supported [INFO] [stdout] --> src/rendering/config.rs:26:17 [INFO] [stdout] | [INFO] [stdout] 26 | #[derive(Debug, RustcDecodable)] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/rendering/mod.rs:43:18 [INFO] [stdout] | [INFO] [stdout] 43 | sampler: Box, [INFO] [stdout] | ^^^^^^^ help: use `dyn`: `dyn Sampler` [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 issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `RustcDecodable`: rustc-serialize is deprecated and no longer supported [INFO] [stdout] --> src/scene/config.rs:11:17 [INFO] [stdout] | [INFO] [stdout] 11 | #[derive(Debug, RustcDecodable)] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `RustcDecodable`: rustc-serialize is deprecated and no longer supported [INFO] [stdout] --> src/scene/config.rs:22:17 [INFO] [stdout] | [INFO] [stdout] 22 | #[derive(Debug, RustcDecodable)] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `RustcDecodable`: rustc-serialize is deprecated and no longer supported [INFO] [stdout] --> src/scene/config.rs:33:17 [INFO] [stdout] | [INFO] [stdout] 33 | #[derive(Debug, RustcDecodable)] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `RustcDecodable`: rustc-serialize is deprecated and no longer supported [INFO] [stdout] --> src/scene/config.rs:42:17 [INFO] [stdout] | [INFO] [stdout] 42 | #[derive(Debug, RustcDecodable)] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `RustcDecodable`: rustc-serialize is deprecated and no longer supported [INFO] [stdout] --> src/scene/config.rs:49:17 [INFO] [stdout] | [INFO] [stdout] 49 | #[derive(Debug, RustcDecodable)] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `RustcDecodable`: rustc-serialize is deprecated and no longer supported [INFO] [stdout] --> src/scene/config.rs:56:17 [INFO] [stdout] | [INFO] [stdout] 56 | #[derive(Debug, RustcDecodable)] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `RustcDecodable`: rustc-serialize is deprecated and no longer supported [INFO] [stdout] --> src/scene/config.rs:108:17 [INFO] [stdout] | [INFO] [stdout] 108 | #[derive(Debug, RustcDecodable)] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `RustcDecodable`: rustc-serialize is deprecated and no longer supported [INFO] [stdout] --> src/scene/config.rs:116:17 [INFO] [stdout] | [INFO] [stdout] 116 | #[derive(Debug, RustcDecodable)] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/scene/config.rs:89:30 [INFO] [stdout] | [INFO] [stdout] 89 | -> Result> { [INFO] [stdout] | ^^^^^ help: use `dyn`: `dyn Error` [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 issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/scene/light.rs:10:17 [INFO] [stdout] | [INFO] [stdout] 10 | source: Box, [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: use `dyn`: `dyn LightSourceImpl` [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 issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/scene/light.rs:30:25 [INFO] [stdout] | [INFO] [stdout] 30 | let source: Box = match config.kind { [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: use `dyn`: `dyn LightSourceImpl` [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 issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/scene/material.rs:6:20 [INFO] [stdout] | [INFO] [stdout] 6 | pub color: Box>, [INFO] [stdout] | ^^^^^^^^^^^^^^ help: use `dyn`: `dyn Texture` [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 issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/scene/material.rs:41:24 [INFO] [stdout] | [INFO] [stdout] 41 | let color: Box> = match config.texture { [INFO] [stdout] | ^^^^^^^^^^^^^^ help: use `dyn`: `dyn Texture` [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 issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/scene/primitive.rs:7:20 [INFO] [stdout] | [INFO] [stdout] 7 | pub shape: Box, [INFO] [stdout] | ^^^^^ help: use `dyn`: `dyn Shape` [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 issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/scene/mod.rs:35:58 [INFO] [stdout] | [INFO] [stdout] 35 | pub fn new(config: SceneConfig) -> Result> { [INFO] [stdout] | ^^^^^ help: use `dyn`: `dyn Error` [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 issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/scene/config.rs:84:14 [INFO] [stdout] | [INFO] [stdout] 84 | self.description().fmt(f) [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 27 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `RustcDecodable`: rustc-serialize is deprecated and no longer supported [INFO] [stdout] --> src/main.rs:17:17 [INFO] [stdout] | [INFO] [stdout] 17 | #[derive(Debug, RustcDecodable)] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 15.66s [INFO] running `Command { std: "docker" "inspect" "81458a40f01cbf19182a5386bebc39b619f18b3861d311d41d5f58f2ba0c0562", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "81458a40f01cbf19182a5386bebc39b619f18b3861d311d41d5f58f2ba0c0562", kill_on_drop: false }` [INFO] [stdout] 81458a40f01cbf19182a5386bebc39b619f18b3861d311d41d5f58f2ba0c0562 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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:a89201d6b5b9fd45c15d5952ece0a0129e7e80cb26ec023fd59cf09bc26f1604" "/opt/rustwide/cargo-home/bin/cargo" "+1.55.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b14d44cdc31f640e992ab8c02a8464269c7df43f3154caf10f9e10bfd06acaf7 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "b14d44cdc31f640e992ab8c02a8464269c7df43f3154caf10f9e10bfd06acaf7", kill_on_drop: false }` [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> libs/utils/src/datastructures.rs:25:38 [INFO] [stdout] | [INFO] [stdout] 25 | pub fn iter<'a>(&'a self) -> Box + 'a> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Iterator + 'a` [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 issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> libs/geom/src/shape/mesh/obj_parser.rs:42:41 [INFO] [stdout] | [INFO] [stdout] 42 | pub fn parse(mut self, source: &mut io::Read) -> Result> { [INFO] [stdout] | ^^^^^^^^ help: use `dyn`: `dyn io::Read` [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 issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> libs/geom/src/shape/mesh/obj_parser.rs:42:71 [INFO] [stdout] | [INFO] [stdout] 42 | pub fn parse(mut self, source: &mut io::Read) -> Result> { [INFO] [stdout] | ^^^^^ help: use `dyn`: `dyn Error` [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 issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> libs/geom/src/shape/mesh/obj_parser.rs:58:59 [INFO] [stdout] | [INFO] [stdout] 58 | fn parse_vertex(&mut self, s: &str) -> Result<(), Box> { [INFO] [stdout] | ^^^^^ help: use `dyn`: `dyn Error` [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 issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> libs/geom/src/shape/mesh/obj_parser.rs:64:59 [INFO] [stdout] | [INFO] [stdout] 64 | fn parse_normal(&mut self, s: &str) -> Result<(), Box> { [INFO] [stdout] | ^^^^^ help: use `dyn`: `dyn Error` [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 issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> libs/geom/src/shape/mesh/obj_parser.rs:70:64 [INFO] [stdout] | [INFO] [stdout] 70 | fn parse_face_simple(&mut self, s: &str) -> Result<(), Box> { [INFO] [stdout] | ^^^^^ help: use `dyn`: `dyn Error` [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 issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> libs/geom/src/shape/mesh/obj_parser.rs:89:65 [INFO] [stdout] | [INFO] [stdout] 89 | fn parse_face_normals(&mut self, s: &str) -> Result<(), Box> { [INFO] [stdout] | ^^^^^ help: use `dyn`: `dyn Error` [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 issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> libs/geom/src/shape/mesh/obj_parser.rs:90:69 [INFO] [stdout] | [INFO] [stdout] 90 | fn read_group(s: &str) -> Result<(usize, usize, usize), Box> { [INFO] [stdout] | ^^^^^ help: use `dyn`: `dyn Error` [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 issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> libs/geom/src/shape/mesh/obj_parser.rs:121:57 [INFO] [stdout] | [INFO] [stdout] 121 | fn parse_face(&mut self, s: &str) -> Result<(), Box> { [INFO] [stdout] | ^^^^^ help: use `dyn`: `dyn Error` [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 issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> libs/geom/src/shape/mesh/obj_parser.rs:129:66 [INFO] [stdout] | [INFO] [stdout] 129 | fn parse_coordinates(s: &str) -> Result<(f64, f64, f64), Box> { [INFO] [stdout] | ^^^^^ help: use `dyn`: `dyn Error` [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 issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> libs/geom/src/shape/mesh/mod.rs:24:34 [INFO] [stdout] | [INFO] [stdout] 24 | pub fn from_obj(source: &mut io::Read) -> Result> { [INFO] [stdout] | ^^^^^^^^ help: use `dyn`: `dyn io::Read` [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 issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> libs/geom/src/shape/mesh/mod.rs:24:64 [INFO] [stdout] | [INFO] [stdout] 24 | pub fn from_obj(source: &mut io::Read) -> Result> { [INFO] [stdout] | ^^^^^ help: use `dyn`: `dyn Error` [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 issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> libs/geom/src/shape/mesh/obj_parser.rs:22:14 [INFO] [stdout] | [INFO] [stdout] 22 | self.description().fmt(f) [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 12 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/display/ppm.rs:9:27 [INFO] [stdout] | [INFO] [stdout] 9 | destination: &'a mut (io::Write + 'a) [INFO] [stdout] | ^^^^^^^^^^^^^^ help: use `dyn`: `dyn io::Write + 'a` [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 issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/display/ppm.rs:13:37 [INFO] [stdout] | [INFO] [stdout] 13 | pub fn new(destination: &'a mut io::Write) -> PpmWriter<'a> { [INFO] [stdout] | ^^^^^^^^^ help: use `dyn`: `dyn io::Write` [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 issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/rendering/samplers.rs:19:46 [INFO] [stdout] | [INFO] [stdout] 19 | fn split(&self, n_parts: u16) -> Vec>; [INFO] [stdout] | ^^^^^^^ help: use `dyn`: `dyn Sampler` [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 issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/rendering/samplers.rs:78:46 [INFO] [stdout] | [INFO] [stdout] 78 | fn split(&self, n_parts: u16) -> Vec> { [INFO] [stdout] | ^^^^^^^ help: use `dyn`: `dyn Sampler` [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 issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/rendering/samplers.rs:89:27 [INFO] [stdout] | [INFO] [stdout] 89 | }) as Box) [INFO] [stdout] | ^^^^^^^ help: use `dyn`: `dyn Sampler` [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 issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/rendering/filters.rs:13:17 [INFO] [stdout] | [INFO] [stdout] 13 | weight: Box f64 + Send + Sync> [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn(f64, f64) -> f64 + Send + Sync` [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 issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `RustcDecodable`: rustc-serialize is deprecated and no longer supported [INFO] [stdout] --> src/rendering/config.rs:3:17 [INFO] [stdout] | [INFO] [stdout] 3 | #[derive(Debug, RustcDecodable)] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `RustcDecodable`: rustc-serialize is deprecated and no longer supported [INFO] [stdout] --> src/rendering/config.rs:12:17 [INFO] [stdout] | [INFO] [stdout] 12 | #[derive(Debug, RustcDecodable)] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `RustcDecodable`: rustc-serialize is deprecated and no longer supported [INFO] [stdout] --> src/rendering/config.rs:20:17 [INFO] [stdout] | [INFO] [stdout] 20 | #[derive(Debug, RustcDecodable)] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `RustcDecodable`: rustc-serialize is deprecated and no longer supported [INFO] [stdout] --> src/rendering/config.rs:26:17 [INFO] [stdout] | [INFO] [stdout] 26 | #[derive(Debug, RustcDecodable)] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/rendering/mod.rs:43:18 [INFO] [stdout] | [INFO] [stdout] 43 | sampler: Box, [INFO] [stdout] | ^^^^^^^ help: use `dyn`: `dyn Sampler` [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 issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `RustcDecodable`: rustc-serialize is deprecated and no longer supported [INFO] [stdout] --> src/scene/config.rs:11:17 [INFO] [stdout] | [INFO] [stdout] 11 | #[derive(Debug, RustcDecodable)] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `RustcDecodable`: rustc-serialize is deprecated and no longer supported [INFO] [stdout] --> src/scene/config.rs:22:17 [INFO] [stdout] | [INFO] [stdout] 22 | #[derive(Debug, RustcDecodable)] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `RustcDecodable`: rustc-serialize is deprecated and no longer supported [INFO] [stdout] --> src/scene/config.rs:33:17 [INFO] [stdout] | [INFO] [stdout] 33 | #[derive(Debug, RustcDecodable)] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `RustcDecodable`: rustc-serialize is deprecated and no longer supported [INFO] [stdout] --> src/scene/config.rs:42:17 [INFO] [stdout] | [INFO] [stdout] 42 | #[derive(Debug, RustcDecodable)] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `RustcDecodable`: rustc-serialize is deprecated and no longer supported [INFO] [stdout] --> src/scene/config.rs:49:17 [INFO] [stdout] | [INFO] [stdout] 49 | #[derive(Debug, RustcDecodable)] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `RustcDecodable`: rustc-serialize is deprecated and no longer supported [INFO] [stdout] --> src/scene/config.rs:56:17 [INFO] [stdout] | [INFO] [stdout] 56 | #[derive(Debug, RustcDecodable)] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `RustcDecodable`: rustc-serialize is deprecated and no longer supported [INFO] [stdout] --> src/scene/config.rs:108:17 [INFO] [stdout] | [INFO] [stdout] 108 | #[derive(Debug, RustcDecodable)] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `RustcDecodable`: rustc-serialize is deprecated and no longer supported [INFO] [stdout] --> src/scene/config.rs:116:17 [INFO] [stdout] | [INFO] [stdout] 116 | #[derive(Debug, RustcDecodable)] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/scene/config.rs:89:30 [INFO] [stdout] | [INFO] [stdout] 89 | -> Result> { [INFO] [stdout] | ^^^^^ help: use `dyn`: `dyn Error` [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 issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/scene/light.rs:10:17 [INFO] [stdout] | [INFO] [stdout] 10 | source: Box, [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: use `dyn`: `dyn LightSourceImpl` [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 issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/scene/light.rs:30:25 [INFO] [stdout] | [INFO] [stdout] 30 | let source: Box = match config.kind { [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: use `dyn`: `dyn LightSourceImpl` [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 issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/scene/material.rs:6:20 [INFO] [stdout] | [INFO] [stdout] 6 | pub color: Box>, [INFO] [stdout] | ^^^^^^^^^^^^^^ help: use `dyn`: `dyn Texture` [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 issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/scene/material.rs:41:24 [INFO] [stdout] | [INFO] [stdout] 41 | let color: Box> = match config.texture { [INFO] [stdout] | ^^^^^^^^^^^^^^ help: use `dyn`: `dyn Texture` [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 issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/scene/primitive.rs:7:20 [INFO] [stdout] | [INFO] [stdout] 7 | pub shape: Box, [INFO] [stdout] | ^^^^^ help: use `dyn`: `dyn Shape` [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 issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling rustraytracer v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/scene/mod.rs:35:58 [INFO] [stdout] | [INFO] [stdout] 35 | pub fn new(config: SceneConfig) -> Result> { [INFO] [stdout] | ^^^^^ help: use `dyn`: `dyn Error` [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 issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/scene/config.rs:84:14 [INFO] [stdout] | [INFO] [stdout] 84 | self.description().fmt(f) [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 27 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `RustcDecodable`: rustc-serialize is deprecated and no longer supported [INFO] [stdout] --> src/main.rs:17:17 [INFO] [stdout] | [INFO] [stdout] 17 | #[derive(Debug, RustcDecodable)] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/display/ppm.rs:9:27 [INFO] [stdout] | [INFO] [stdout] 9 | destination: &'a mut (io::Write + 'a) [INFO] [stdout] | ^^^^^^^^^^^^^^ help: use `dyn`: `dyn io::Write + 'a` [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 issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/display/ppm.rs:13:37 [INFO] [stdout] | [INFO] [stdout] 13 | pub fn new(destination: &'a mut io::Write) -> PpmWriter<'a> { [INFO] [stdout] | ^^^^^^^^^ help: use `dyn`: `dyn io::Write` [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 issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/rendering/samplers.rs:19:46 [INFO] [stdout] | [INFO] [stdout] 19 | fn split(&self, n_parts: u16) -> Vec>; [INFO] [stdout] | ^^^^^^^ help: use `dyn`: `dyn Sampler` [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 issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/rendering/samplers.rs:78:46 [INFO] [stdout] | [INFO] [stdout] 78 | fn split(&self, n_parts: u16) -> Vec> { [INFO] [stdout] | ^^^^^^^ help: use `dyn`: `dyn Sampler` [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 issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/rendering/samplers.rs:89:27 [INFO] [stdout] | [INFO] [stdout] 89 | }) as Box) [INFO] [stdout] | ^^^^^^^ help: use `dyn`: `dyn Sampler` [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 issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/rendering/filters.rs:13:17 [INFO] [stdout] | [INFO] [stdout] 13 | weight: Box f64 + Send + Sync> [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn(f64, f64) -> f64 + Send + Sync` [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 issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `RustcDecodable`: rustc-serialize is deprecated and no longer supported [INFO] [stdout] --> src/rendering/config.rs:3:17 [INFO] [stdout] | [INFO] [stdout] 3 | #[derive(Debug, RustcDecodable)] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `RustcDecodable`: rustc-serialize is deprecated and no longer supported [INFO] [stdout] --> src/rendering/config.rs:12:17 [INFO] [stdout] | [INFO] [stdout] 12 | #[derive(Debug, RustcDecodable)] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `RustcDecodable`: rustc-serialize is deprecated and no longer supported [INFO] [stdout] --> src/rendering/config.rs:20:17 [INFO] [stdout] | [INFO] [stdout] 20 | #[derive(Debug, RustcDecodable)] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `RustcDecodable`: rustc-serialize is deprecated and no longer supported [INFO] [stdout] --> src/rendering/config.rs:26:17 [INFO] [stdout] | [INFO] [stdout] 26 | #[derive(Debug, RustcDecodable)] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/rendering/mod.rs:43:18 [INFO] [stdout] | [INFO] [stdout] 43 | sampler: Box, [INFO] [stdout] | ^^^^^^^ help: use `dyn`: `dyn Sampler` [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 issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `RustcDecodable`: rustc-serialize is deprecated and no longer supported [INFO] [stdout] --> src/scene/config.rs:11:17 [INFO] [stdout] | [INFO] [stdout] 11 | #[derive(Debug, RustcDecodable)] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `RustcDecodable`: rustc-serialize is deprecated and no longer supported [INFO] [stdout] --> src/scene/config.rs:22:17 [INFO] [stdout] | [INFO] [stdout] 22 | #[derive(Debug, RustcDecodable)] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `RustcDecodable`: rustc-serialize is deprecated and no longer supported [INFO] [stdout] --> src/scene/config.rs:33:17 [INFO] [stdout] | [INFO] [stdout] 33 | #[derive(Debug, RustcDecodable)] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `RustcDecodable`: rustc-serialize is deprecated and no longer supported [INFO] [stdout] --> src/scene/config.rs:42:17 [INFO] [stdout] | [INFO] [stdout] 42 | #[derive(Debug, RustcDecodable)] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `RustcDecodable`: rustc-serialize is deprecated and no longer supported [INFO] [stdout] --> src/scene/config.rs:49:17 [INFO] [stdout] | [INFO] [stdout] 49 | #[derive(Debug, RustcDecodable)] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `RustcDecodable`: rustc-serialize is deprecated and no longer supported [INFO] [stdout] --> src/scene/config.rs:56:17 [INFO] [stdout] | [INFO] [stdout] 56 | #[derive(Debug, RustcDecodable)] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `RustcDecodable`: rustc-serialize is deprecated and no longer supported [INFO] [stdout] --> src/scene/config.rs:108:17 [INFO] [stdout] | [INFO] [stdout] 108 | #[derive(Debug, RustcDecodable)] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `RustcDecodable`: rustc-serialize is deprecated and no longer supported [INFO] [stdout] --> src/scene/config.rs:116:17 [INFO] [stdout] | [INFO] [stdout] 116 | #[derive(Debug, RustcDecodable)] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/scene/config.rs:89:30 [INFO] [stdout] | [INFO] [stdout] 89 | -> Result> { [INFO] [stdout] | ^^^^^ help: use `dyn`: `dyn Error` [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 issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/scene/light.rs:10:17 [INFO] [stdout] | [INFO] [stdout] 10 | source: Box, [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: use `dyn`: `dyn LightSourceImpl` [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 issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/scene/light.rs:30:25 [INFO] [stdout] | [INFO] [stdout] 30 | let source: Box = match config.kind { [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: use `dyn`: `dyn LightSourceImpl` [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 issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/scene/material.rs:6:20 [INFO] [stdout] | [INFO] [stdout] 6 | pub color: Box>, [INFO] [stdout] | ^^^^^^^^^^^^^^ help: use `dyn`: `dyn Texture` [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 issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/scene/material.rs:41:24 [INFO] [stdout] | [INFO] [stdout] 41 | let color: Box> = match config.texture { [INFO] [stdout] | ^^^^^^^^^^^^^^ help: use `dyn`: `dyn Texture` [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 issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/scene/primitive.rs:7:20 [INFO] [stdout] | [INFO] [stdout] 7 | pub shape: Box, [INFO] [stdout] | ^^^^^ help: use `dyn`: `dyn Shape` [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 issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/scene/mod.rs:35:58 [INFO] [stdout] | [INFO] [stdout] 35 | pub fn new(config: SceneConfig) -> Result> { [INFO] [stdout] | ^^^^^ help: use `dyn`: `dyn Error` [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 issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/scene/config.rs:84:14 [INFO] [stdout] | [INFO] [stdout] 84 | self.description().fmt(f) [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 27 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 2.19s [INFO] running `Command { std: "docker" "inspect" "b14d44cdc31f640e992ab8c02a8464269c7df43f3154caf10f9e10bfd06acaf7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b14d44cdc31f640e992ab8c02a8464269c7df43f3154caf10f9e10bfd06acaf7", kill_on_drop: false }` [INFO] [stdout] b14d44cdc31f640e992ab8c02a8464269c7df43f3154caf10f9e10bfd06acaf7 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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:a89201d6b5b9fd45c15d5952ece0a0129e7e80cb26ec023fd59cf09bc26f1604" "/opt/rustwide/cargo-home/bin/cargo" "+1.55.0" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 7e9516481778353c3173890ce9f87c6d3d08f1159d06d39092ed1db1051d157f [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "7e9516481778353c3173890ce9f87c6d3d08f1159d06d39092ed1db1051d157f", kill_on_drop: false }` [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> libs/utils/src/datastructures.rs:25:38 [INFO] [stderr] | [INFO] [stderr] 25 | pub fn iter<'a>(&'a self) -> Box + 'a> { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Iterator + 'a` [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 issue #80165 [INFO] [stderr] [INFO] [stderr] warning: `utils` (lib) generated 1 warning [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> libs/geom/src/shape/mesh/obj_parser.rs:42:41 [INFO] [stderr] | [INFO] [stderr] 42 | pub fn parse(mut self, source: &mut io::Read) -> Result> { [INFO] [stderr] | ^^^^^^^^ help: use `dyn`: `dyn io::Read` [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 issue #80165 [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> libs/geom/src/shape/mesh/obj_parser.rs:42:71 [INFO] [stderr] | [INFO] [stderr] 42 | pub fn parse(mut self, source: &mut io::Read) -> Result> { [INFO] [stderr] | ^^^^^ help: use `dyn`: `dyn Error` [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 issue #80165 [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> libs/geom/src/shape/mesh/obj_parser.rs:58:59 [INFO] [stderr] | [INFO] [stderr] 58 | fn parse_vertex(&mut self, s: &str) -> Result<(), Box> { [INFO] [stderr] | ^^^^^ help: use `dyn`: `dyn Error` [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 issue #80165 [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> libs/geom/src/shape/mesh/obj_parser.rs:64:59 [INFO] [stderr] | [INFO] [stderr] 64 | fn parse_normal(&mut self, s: &str) -> Result<(), Box> { [INFO] [stderr] | ^^^^^ help: use `dyn`: `dyn Error` [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 issue #80165 [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> libs/geom/src/shape/mesh/obj_parser.rs:70:64 [INFO] [stderr] | [INFO] [stderr] 70 | fn parse_face_simple(&mut self, s: &str) -> Result<(), Box> { [INFO] [stderr] | ^^^^^ help: use `dyn`: `dyn Error` [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 issue #80165 [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> libs/geom/src/shape/mesh/obj_parser.rs:89:65 [INFO] [stderr] | [INFO] [stderr] 89 | fn parse_face_normals(&mut self, s: &str) -> Result<(), Box> { [INFO] [stderr] | ^^^^^ help: use `dyn`: `dyn Error` [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 issue #80165 [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> libs/geom/src/shape/mesh/obj_parser.rs:90:69 [INFO] [stderr] | [INFO] [stderr] 90 | fn read_group(s: &str) -> Result<(usize, usize, usize), Box> { [INFO] [stderr] | ^^^^^ help: use `dyn`: `dyn Error` [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 issue #80165 [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> libs/geom/src/shape/mesh/obj_parser.rs:121:57 [INFO] [stderr] | [INFO] [stderr] 121 | fn parse_face(&mut self, s: &str) -> Result<(), Box> { [INFO] [stderr] | ^^^^^ help: use `dyn`: `dyn Error` [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 issue #80165 [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> libs/geom/src/shape/mesh/obj_parser.rs:129:66 [INFO] [stderr] | [INFO] [stderr] 129 | fn parse_coordinates(s: &str) -> Result<(f64, f64, f64), Box> { [INFO] [stderr] | ^^^^^ help: use `dyn`: `dyn Error` [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 issue #80165 [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> libs/geom/src/shape/mesh/mod.rs:24:34 [INFO] [stderr] | [INFO] [stderr] 24 | pub fn from_obj(source: &mut io::Read) -> Result> { [INFO] [stderr] | ^^^^^^^^ help: use `dyn`: `dyn io::Read` [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 issue #80165 [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> libs/geom/src/shape/mesh/mod.rs:24:64 [INFO] [stderr] | [INFO] [stderr] 24 | pub fn from_obj(source: &mut io::Read) -> Result> { [INFO] [stderr] | ^^^^^ help: use `dyn`: `dyn Error` [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 issue #80165 [INFO] [stderr] [INFO] [stderr] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stderr] --> libs/geom/src/shape/mesh/obj_parser.rs:22:14 [INFO] [stderr] | [INFO] [stderr] 22 | self.description().fmt(f) [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(deprecated)]` on by default [INFO] [stderr] [INFO] [stderr] warning: `geom` (lib) generated 12 warnings [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/display/ppm.rs:9:27 [INFO] [stderr] | [INFO] [stderr] 9 | destination: &'a mut (io::Write + 'a) [INFO] [stderr] | ^^^^^^^^^^^^^^ help: use `dyn`: `dyn io::Write + 'a` [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 issue #80165 [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/display/ppm.rs:13:37 [INFO] [stderr] | [INFO] [stderr] 13 | pub fn new(destination: &'a mut io::Write) -> PpmWriter<'a> { [INFO] [stderr] | ^^^^^^^^^ help: use `dyn`: `dyn io::Write` [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 issue #80165 [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/rendering/samplers.rs:19:46 [INFO] [stderr] | [INFO] [stderr] 19 | fn split(&self, n_parts: u16) -> Vec>; [INFO] [stderr] | ^^^^^^^ help: use `dyn`: `dyn Sampler` [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 issue #80165 [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/rendering/samplers.rs:78:46 [INFO] [stderr] | [INFO] [stderr] 78 | fn split(&self, n_parts: u16) -> Vec> { [INFO] [stderr] | ^^^^^^^ help: use `dyn`: `dyn Sampler` [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 issue #80165 [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/rendering/samplers.rs:89:27 [INFO] [stderr] | [INFO] [stderr] 89 | }) as Box) [INFO] [stderr] | ^^^^^^^ help: use `dyn`: `dyn Sampler` [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 issue #80165 [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/rendering/filters.rs:13:17 [INFO] [stderr] | [INFO] [stderr] 13 | weight: Box f64 + Send + Sync> [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn(f64, f64) -> f64 + Send + Sync` [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 issue #80165 [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `RustcDecodable`: rustc-serialize is deprecated and no longer supported [INFO] [stderr] --> src/rendering/config.rs:3:17 [INFO] [stderr] | [INFO] [stderr] 3 | #[derive(Debug, RustcDecodable)] [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(deprecated)]` on by default [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `RustcDecodable`: rustc-serialize is deprecated and no longer supported [INFO] [stderr] --> src/rendering/config.rs:12:17 [INFO] [stderr] | [INFO] [stderr] 12 | #[derive(Debug, RustcDecodable)] [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `RustcDecodable`: rustc-serialize is deprecated and no longer supported [INFO] [stderr] --> src/rendering/config.rs:20:17 [INFO] [stderr] | [INFO] [stderr] 20 | #[derive(Debug, RustcDecodable)] [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `RustcDecodable`: rustc-serialize is deprecated and no longer supported [INFO] [stderr] --> src/rendering/config.rs:26:17 [INFO] [stderr] | [INFO] [stderr] 26 | #[derive(Debug, RustcDecodable)] [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/rendering/mod.rs:43:18 [INFO] [stderr] | [INFO] [stderr] 43 | sampler: Box, [INFO] [stderr] | ^^^^^^^ help: use `dyn`: `dyn Sampler` [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 issue #80165 [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `RustcDecodable`: rustc-serialize is deprecated and no longer supported [INFO] [stderr] --> src/scene/config.rs:11:17 [INFO] [stderr] | [INFO] [stderr] 11 | #[derive(Debug, RustcDecodable)] [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `RustcDecodable`: rustc-serialize is deprecated and no longer supported [INFO] [stderr] --> src/scene/config.rs:22:17 [INFO] [stderr] | [INFO] [stderr] 22 | #[derive(Debug, RustcDecodable)] [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `RustcDecodable`: rustc-serialize is deprecated and no longer supported [INFO] [stderr] --> src/scene/config.rs:33:17 [INFO] [stderr] | [INFO] [stderr] 33 | #[derive(Debug, RustcDecodable)] [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `RustcDecodable`: rustc-serialize is deprecated and no longer supported [INFO] [stderr] --> src/scene/config.rs:42:17 [INFO] [stderr] | [INFO] [stderr] 42 | #[derive(Debug, RustcDecodable)] [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `RustcDecodable`: rustc-serialize is deprecated and no longer supported [INFO] [stderr] --> src/scene/config.rs:49:17 [INFO] [stderr] | [INFO] [stderr] 49 | #[derive(Debug, RustcDecodable)] [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `RustcDecodable`: rustc-serialize is deprecated and no longer supported [INFO] [stderr] --> src/scene/config.rs:56:17 [INFO] [stderr] | [INFO] [stderr] 56 | #[derive(Debug, RustcDecodable)] [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `RustcDecodable`: rustc-serialize is deprecated and no longer supported [INFO] [stderr] --> src/scene/config.rs:108:17 [INFO] [stderr] | [INFO] [stderr] 108 | #[derive(Debug, RustcDecodable)] [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `RustcDecodable`: rustc-serialize is deprecated and no longer supported [INFO] [stderr] --> src/scene/config.rs:116:17 [INFO] [stderr] | [INFO] [stderr] 116 | #[derive(Debug, RustcDecodable)] [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/scene/config.rs:89:30 [INFO] [stderr] | [INFO] [stderr] 89 | -> Result> { [INFO] [stderr] | ^^^^^ help: use `dyn`: `dyn Error` [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 issue #80165 [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/scene/light.rs:10:17 [INFO] [stderr] | [INFO] [stderr] 10 | source: Box, [INFO] [stderr] | ^^^^^^^^^^^^^^^ help: use `dyn`: `dyn LightSourceImpl` [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 issue #80165 [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/scene/light.rs:30:25 [INFO] [stderr] | [INFO] [stderr] 30 | let source: Box = match config.kind { [INFO] [stderr] | ^^^^^^^^^^^^^^^ help: use `dyn`: `dyn LightSourceImpl` [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 issue #80165 [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/scene/material.rs:6:20 [INFO] [stderr] | [INFO] [stderr] 6 | pub color: Box>, [INFO] [stderr] | ^^^^^^^^^^^^^^ help: use `dyn`: `dyn Texture` [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 issue #80165 [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/scene/material.rs:41:24 [INFO] [stderr] | [INFO] [stderr] 41 | let color: Box> = match config.texture { [INFO] [stderr] | ^^^^^^^^^^^^^^ help: use `dyn`: `dyn Texture` [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 issue #80165 [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/scene/primitive.rs:7:20 [INFO] [stderr] | [INFO] [stderr] 7 | pub shape: Box, [INFO] [stderr] | ^^^^^ help: use `dyn`: `dyn Shape` [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 issue #80165 [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/scene/mod.rs:35:58 [INFO] [stderr] | [INFO] [stderr] 35 | pub fn new(config: SceneConfig) -> Result> { [INFO] [stderr] | ^^^^^ help: use `dyn`: `dyn Error` [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 issue #80165 [INFO] [stderr] [INFO] [stderr] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stderr] --> src/scene/config.rs:84:14 [INFO] [stderr] | [INFO] [stderr] 84 | self.description().fmt(f) [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: `rustraytracer` (lib) generated 27 warnings [INFO] [stderr] warning: `rustraytracer` (lib test) generated 27 warnings (27 duplicates) [INFO] [stderr] warning: use of deprecated macro `RustcDecodable`: rustc-serialize is deprecated and no longer supported [INFO] [stderr] --> src/main.rs:17:17 [INFO] [stderr] | [INFO] [stderr] 17 | #[derive(Debug, RustcDecodable)] [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(deprecated)]` on by default [INFO] [stderr] [INFO] [stderr] warning: `rustraytracer` (bin "rustraytracer" test) generated 1 warning [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.04s [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/rustraytracer-0e7a5aada58d95f8) [INFO] [stdout] [INFO] [stdout] running 2 tests [INFO] [stdout] test color::test::test_from_hex ... ok [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/rustraytracer-c137549969f0f2e4) [INFO] [stdout] test scene::camera::tests::test_ray_casting ... 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] [stderr] Doc-tests rustraytracer [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] [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" "7e9516481778353c3173890ce9f87c6d3d08f1159d06d39092ed1db1051d157f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7e9516481778353c3173890ce9f87c6d3d08f1159d06d39092ed1db1051d157f", kill_on_drop: false }` [INFO] [stdout] 7e9516481778353c3173890ce9f87c6d3d08f1159d06d39092ed1db1051d157f