[INFO] fetching crate yoga 0.3.1... [INFO] testing yoga-0.3.1 against master#432e145bd5a974c5b6f4dd9b352891bd7502b69d for pr-87041 [INFO] extracting crate yoga 0.3.1 into /workspace/builds/worker-2/source [INFO] validating manifest of crates.io crate yoga 0.3.1 on toolchain 432e145bd5a974c5b6f4dd9b352891bd7502b69d [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+432e145bd5a974c5b6f4dd9b352891bd7502b69d" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate yoga 0.3.1 [INFO] finished tweaking crates.io crate yoga 0.3.1 [INFO] tweaked toml for crates.io crate yoga 0.3.1 written to /workspace/builds/worker-2/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+432e145bd5a974c5b6f4dd9b352891bd7502b69d" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+432e145bd5a974c5b6f4dd9b352891bd7502b69d" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+432e145bd5a974c5b6f4dd9b352891bd7502b69d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 3347edf4eedcc95e02820f3dede6fc3d0adbaf79c958d9db00fa1a92f33f5367 [INFO] running `Command { std: "docker" "start" "-a" "3347edf4eedcc95e02820f3dede6fc3d0adbaf79c958d9db00fa1a92f33f5367", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "3347edf4eedcc95e02820f3dede6fc3d0adbaf79c958d9db00fa1a92f33f5367", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3347edf4eedcc95e02820f3dede6fc3d0adbaf79c958d9db00fa1a92f33f5367", kill_on_drop: false }` [INFO] [stdout] 3347edf4eedcc95e02820f3dede6fc3d0adbaf79c958d9db00fa1a92f33f5367 [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=forbid" "-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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+432e145bd5a974c5b6f4dd9b352891bd7502b69d" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c7b23a9c94b16e6bf32a532ff152f3d142bc232e4b96f1b61c68a6401489db2d [INFO] running `Command { std: "docker" "start" "-a" "c7b23a9c94b16e6bf32a532ff152f3d142bc232e4b96f1b61c68a6401489db2d", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.98 [INFO] [stderr] Compiling glob v0.2.11 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling unicode-width v0.1.8 [INFO] [stderr] Compiling bindgen v0.37.4 [INFO] [stderr] Compiling termcolor v1.1.2 [INFO] [stderr] Compiling peeking_take_while v0.1.2 [INFO] [stderr] Compiling libloading v0.5.2 [INFO] [stderr] Compiling proc-macro2 v0.3.5 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling textwrap v0.11.0 [INFO] [stderr] Compiling quote v0.5.2 [INFO] [stderr] Compiling clang-sys v0.23.0 [INFO] [stderr] Compiling memchr v1.0.2 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling which v1.0.5 [INFO] [stderr] Compiling clap v2.33.3 [INFO] [stderr] Compiling env_logger v0.5.13 [INFO] [stderr] Compiling nom v3.2.1 [INFO] [stderr] Compiling ordered-float v1.1.1 [INFO] [stderr] Compiling cexpr v0.2.3 [INFO] [stderr] Compiling yoga v0.3.1 (/opt/rustwide/workdir) [INFO] [stderr] warning: src/yoga/yoga/Yoga.cpp: In function 'void YGZeroOutLayoutRecursivly(YGNodeRef)': [INFO] [stderr] warning: src/yoga/yoga/Yoga.cpp:1854:51: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct YGLayout'; use assignment or value-initialization instead [-Wclass-memaccess] [INFO] [stderr] warning: 1854 | memset(&(node->getLayout()), 0, sizeof(YGLayout)); [INFO] [stderr] warning: | ^ [INFO] [stderr] warning: In file included from src/yoga/yoga/YGNode.h:11, [INFO] [stderr] warning: from src/yoga/yoga/Utils.h:9, [INFO] [stderr] warning: from src/yoga/yoga/Yoga.cpp:13: [INFO] [stderr] warning: src/yoga/yoga/YGLayout.h:12:8: note: 'struct YGLayout' declared here [INFO] [stderr] warning: 12 | struct YGLayout { [INFO] [stderr] warning: | ^~~~~~~~ [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/types.rs:133:24 [INFO] [stdout] | [INFO] [stdout] 133 | pub struct Context(Box); [INFO] [stdout] | ^^^ help: use `dyn`: `dyn Any` [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/types.rs:145:70 [INFO] [stdout] | [INFO] [stdout] 145 | pub(crate) fn get_inner_ref<'a>(raw: *mut c_void) -> Option<&'a Box> { [INFO] [stdout] | ^^^ help: use `dyn`: `dyn Any` [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/types.rs:146:31 [INFO] [stdout] | [INFO] [stdout] 146 | let ptr = raw as *const Box; [INFO] [stdout] | ^^^ help: use `dyn`: `dyn Any` [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/types.rs:150:74 [INFO] [stdout] | [INFO] [stdout] 150 | pub(crate) fn get_inner_mut<'a>(raw: *mut c_void) -> Option<&'a mut Box> { [INFO] [stdout] | ^^^ help: use `dyn`: `dyn Any` [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/types.rs:151:29 [INFO] [stdout] | [INFO] [stdout] 151 | let ptr = raw as *mut Box; [INFO] [stdout] | ^^^ help: use `dyn`: `dyn Any` [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/types.rs:156:29 [INFO] [stdout] | [INFO] [stdout] 156 | let ptr = raw as *mut Box; [INFO] [stdout] | ^^^ help: use `dyn`: `dyn Any` [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/types.rs:166:20 [INFO] [stdout] | [INFO] [stdout] 166 | type Target = Box; [INFO] [stdout] | ^^^ help: use `dyn`: `dyn Any` [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/types.rs:167:26 [INFO] [stdout] | [INFO] [stdout] 167 | fn deref(&self) -> &Box { [INFO] [stdout] | ^^^ help: use `dyn`: `dyn Any` [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/lib.rs:937:56 [INFO] [stdout] | [INFO] [stdout] 937 | pub fn get_context(node_ref: &NodeRef) -> Option<&Box> { [INFO] [stdout] | ^^^ help: use `dyn`: `dyn Any` [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/lib.rs:942:64 [INFO] [stdout] | [INFO] [stdout] 942 | pub fn get_context_mut(node_ref: &NodeRef) -> Option<&mut Box> { [INFO] [stdout] | ^^^ help: use `dyn`: `dyn Any` [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/lib.rs:947:47 [INFO] [stdout] | [INFO] [stdout] 947 | pub fn get_own_context(&self) -> Option<&Box> { [INFO] [stdout] | ^^^ help: use `dyn`: `dyn Any` [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/lib.rs:951:55 [INFO] [stdout] | [INFO] [stdout] 951 | pub fn get_own_context_mut(&self) -> Option<&mut Box> { [INFO] [stdout] | ^^^ help: use `dyn`: `dyn Any` [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: 12 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 33.06s [INFO] running `Command { std: "docker" "inspect" "c7b23a9c94b16e6bf32a532ff152f3d142bc232e4b96f1b61c68a6401489db2d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c7b23a9c94b16e6bf32a532ff152f3d142bc232e4b96f1b61c68a6401489db2d", kill_on_drop: false }` [INFO] [stdout] c7b23a9c94b16e6bf32a532ff152f3d142bc232e4b96f1b61c68a6401489db2d [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=forbid" "-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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+432e145bd5a974c5b6f4dd9b352891bd7502b69d" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 786495c43f4f9c314a74440537f7b75e8e05e3e740c60665852854e786237ca5 [INFO] running `Command { std: "docker" "start" "-a" "786495c43f4f9c314a74440537f7b75e8e05e3e740c60665852854e786237ca5", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] warning: src/yoga/yoga/Yoga.cpp: In function 'void YGZeroOutLayoutRecursivly(YGNodeRef)': [INFO] [stderr] warning: src/yoga/yoga/Yoga.cpp:1854:51: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct YGLayout'; use assignment or value-initialization instead [-Wclass-memaccess] [INFO] [stderr] warning: 1854 | memset(&(node->getLayout()), 0, sizeof(YGLayout)); [INFO] [stderr] warning: | ^ [INFO] [stderr] warning: In file included from src/yoga/yoga/YGNode.h:11, [INFO] [stderr] warning: from src/yoga/yoga/Utils.h:9, [INFO] [stderr] warning: from src/yoga/yoga/Yoga.cpp:13: [INFO] [stderr] warning: src/yoga/yoga/YGLayout.h:12:8: note: 'struct YGLayout' declared here [INFO] [stderr] warning: 12 | struct YGLayout { [INFO] [stderr] warning: | ^~~~~~~~ [INFO] [stderr] Compiling yoga v0.3.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/types.rs:133:24 [INFO] [stdout] | [INFO] [stdout] 133 | pub struct Context(Box); [INFO] [stdout] | ^^^ help: use `dyn`: `dyn Any` [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/types.rs:145:70 [INFO] [stdout] | [INFO] [stdout] 145 | pub(crate) fn get_inner_ref<'a>(raw: *mut c_void) -> Option<&'a Box> { [INFO] [stdout] | ^^^ help: use `dyn`: `dyn Any` [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/types.rs:146:31 [INFO] [stdout] | [INFO] [stdout] 146 | let ptr = raw as *const Box; [INFO] [stdout] | ^^^ help: use `dyn`: `dyn Any` [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/types.rs:150:74 [INFO] [stdout] | [INFO] [stdout] 150 | pub(crate) fn get_inner_mut<'a>(raw: *mut c_void) -> Option<&'a mut Box> { [INFO] [stdout] | ^^^ help: use `dyn`: `dyn Any` [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/types.rs:151:29 [INFO] [stdout] | [INFO] [stdout] 151 | let ptr = raw as *mut Box; [INFO] [stdout] | ^^^ help: use `dyn`: `dyn Any` [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/types.rs:156:29 [INFO] [stdout] | [INFO] [stdout] 156 | let ptr = raw as *mut Box; [INFO] [stdout] | ^^^ help: use `dyn`: `dyn Any` [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/types.rs:166:20 [INFO] [stdout] | [INFO] [stdout] 166 | type Target = Box; [INFO] [stdout] | ^^^ help: use `dyn`: `dyn Any` [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/types.rs:167:26 [INFO] [stdout] | [INFO] [stdout] 167 | fn deref(&self) -> &Box { [INFO] [stdout] | ^^^ help: use `dyn`: `dyn Any` [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/lib.rs:937:56 [INFO] [stdout] | [INFO] [stdout] 937 | pub fn get_context(node_ref: &NodeRef) -> Option<&Box> { [INFO] [stdout] | ^^^ help: use `dyn`: `dyn Any` [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/lib.rs:942:64 [INFO] [stdout] | [INFO] [stdout] 942 | pub fn get_context_mut(node_ref: &NodeRef) -> Option<&mut Box> { [INFO] [stdout] | ^^^ help: use `dyn`: `dyn Any` [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/lib.rs:947:47 [INFO] [stdout] | [INFO] [stdout] 947 | pub fn get_own_context(&self) -> Option<&Box> { [INFO] [stdout] | ^^^ help: use `dyn`: `dyn Any` [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/lib.rs:951:55 [INFO] [stdout] | [INFO] [stdout] 951 | pub fn get_own_context_mut(&self) -> Option<&mut Box> { [INFO] [stdout] | ^^^ help: use `dyn`: `dyn Any` [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: 12 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/types.rs:133:24 [INFO] [stdout] | [INFO] [stdout] 133 | pub struct Context(Box); [INFO] [stdout] | ^^^ help: use `dyn`: `dyn Any` [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/types.rs:145:70 [INFO] [stdout] | [INFO] [stdout] 145 | pub(crate) fn get_inner_ref<'a>(raw: *mut c_void) -> Option<&'a Box> { [INFO] [stdout] | ^^^ help: use `dyn`: `dyn Any` [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/types.rs:146:31 [INFO] [stdout] | [INFO] [stdout] 146 | let ptr = raw as *const Box; [INFO] [stdout] | ^^^ help: use `dyn`: `dyn Any` [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/types.rs:150:74 [INFO] [stdout] | [INFO] [stdout] 150 | pub(crate) fn get_inner_mut<'a>(raw: *mut c_void) -> Option<&'a mut Box> { [INFO] [stdout] | ^^^ help: use `dyn`: `dyn Any` [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/types.rs:151:29 [INFO] [stdout] | [INFO] [stdout] 151 | let ptr = raw as *mut Box; [INFO] [stdout] | ^^^ help: use `dyn`: `dyn Any` [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/types.rs:156:29 [INFO] [stdout] | [INFO] [stdout] 156 | let ptr = raw as *mut Box; [INFO] [stdout] | ^^^ help: use `dyn`: `dyn Any` [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/types.rs:166:20 [INFO] [stdout] | [INFO] [stdout] 166 | type Target = Box; [INFO] [stdout] | ^^^ help: use `dyn`: `dyn Any` [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/types.rs:167:26 [INFO] [stdout] | [INFO] [stdout] 167 | fn deref(&self) -> &Box { [INFO] [stdout] | ^^^ help: use `dyn`: `dyn Any` [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/lib.rs:937:56 [INFO] [stdout] | [INFO] [stdout] 937 | pub fn get_context(node_ref: &NodeRef) -> Option<&Box> { [INFO] [stdout] | ^^^ help: use `dyn`: `dyn Any` [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/lib.rs:942:64 [INFO] [stdout] | [INFO] [stdout] 942 | pub fn get_context_mut(node_ref: &NodeRef) -> Option<&mut Box> { [INFO] [stdout] | ^^^ help: use `dyn`: `dyn Any` [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/lib.rs:947:47 [INFO] [stdout] | [INFO] [stdout] 947 | pub fn get_own_context(&self) -> Option<&Box> { [INFO] [stdout] | ^^^ help: use `dyn`: `dyn Any` [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/lib.rs:951:55 [INFO] [stdout] | [INFO] [stdout] 951 | pub fn get_own_context_mut(&self) -> Option<&mut Box> { [INFO] [stdout] | ^^^ help: use `dyn`: `dyn Any` [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] The following warnings were emitted during compilation: [INFO] [stderr] [INFO] [stderr] warning: src/yoga/yoga/Yoga.cpp: In function 'void YGZeroOutLayoutRecursivly(YGNodeRef)': [INFO] [stderr] warning: src/yoga/yoga/Yoga.cpp:1854:51: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct YGLayout'; use assignment or value-initialization instead [-Wclass-memaccess] [INFO] [stderr] warning: 1854 | memset(&(node->getLayout()), 0, sizeof(YGLayout)); [INFO] [stderr] warning: | ^ [INFO] [stderr] warning: In file included from src/yoga/yoga/YGNode.h:11, [INFO] [stderr] warning: from src/yoga/yoga/Utils.h:9, [INFO] [stderr] warning: from src/yoga/yoga/Yoga.cpp:13: [INFO] [stderr] warning: src/yoga/yoga/YGLayout.h:12:8: note: 'struct YGLayout' declared here [INFO] [stderr] warning: 12 | struct YGLayout { [INFO] [stderr] warning: | ^~~~~~~~ [INFO] [stderr] [INFO] [stderr] error: could not compile `yoga` [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] process didn't exit successfully: `rustc --crate-name aspect_ratio_test tests/aspect_ratio_test.rs --error-format=json --json=diagnostic-rendered-ansi --emit=dep-info,link -C embed-bitcode=no -C debuginfo=2 --test --cfg 'feature="default"' -C metadata=1ba953eaf5e1b46b -C extra-filename=-1ba953eaf5e1b46b --out-dir /opt/rustwide/target/debug/deps -L dependency=/opt/rustwide/target/debug/deps --extern ordered_float=/opt/rustwide/target/debug/deps/libordered_float-b6d3be318aabc539.rlib --extern yoga=/opt/rustwide/target/debug/deps/libyoga-33fcfc80b610c196.rlib --cap-lints=forbid -L native=/opt/rustwide/target/debug/build/yoga-d38baa78787a7e17/out` (signal: 9, SIGKILL: kill) [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: 12 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "786495c43f4f9c314a74440537f7b75e8e05e3e740c60665852854e786237ca5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "786495c43f4f9c314a74440537f7b75e8e05e3e740c60665852854e786237ca5", kill_on_drop: false }` [INFO] [stdout] 786495c43f4f9c314a74440537f7b75e8e05e3e740c60665852854e786237ca5