[INFO] cloning repository https://github.com/burnt43/rust-test-space [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/burnt43/rust-test-space" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fburnt43%2Frust-test-space", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fburnt43%2Frust-test-space'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 89d68a05f5145c7d9120ddf27c647284dc033e57 [INFO] checking burnt43/rust-test-space/89d68a05f5145c7d9120ddf27c647284dc033e57 against master#f609b7e0586f81fefb3523e3e17adf779ac416be for pr-129466-2 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fburnt43%2Frust-test-space" "/workspace/builds/worker-1-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/burnt43/rust-test-space on toolchain f609b7e0586f81fefb3523e3e17adf779ac416be [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/burnt43/rust-test-space [INFO] finished tweaking git repo https://github.com/burnt43/rust-test-space [INFO] tweaked toml for git repo https://github.com/burnt43/rust-test-space written to /workspace/builds/worker-1-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/burnt43/rust-test-space already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2021 [INFO] [stderr] Updating git repository `https://github.com/burnt43/rust-ncurses` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded libc v0.2.2 [INFO] [stderr] Downloaded winapi v0.2.5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/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:6252d7ea7fb8caaf7af6d800c5fb250a9cd862b9a7f9508afb3c54fa7fe1102e" "/opt/rustwide/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] c248dd4ddc867691f302d88767fcf06b7de48eddbcf63697c8da5c5df48ac7fb [INFO] running `Command { std: "docker" "start" "-a" "c248dd4ddc867691f302d88767fcf06b7de48eddbcf63697c8da5c5df48ac7fb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c248dd4ddc867691f302d88767fcf06b7de48eddbcf63697c8da5c5df48ac7fb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c248dd4ddc867691f302d88767fcf06b7de48eddbcf63697c8da5c5df48ac7fb", kill_on_drop: false }` [INFO] [stdout] c248dd4ddc867691f302d88767fcf06b7de48eddbcf63697c8da5c5df48ac7fb [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/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" "RUSTDOCFLAGS=--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:6252d7ea7fb8caaf7af6d800c5fb250a9cd862b9a7f9508afb3c54fa7fe1102e" "/opt/rustwide/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 6def7f442e0c94877763d9989028f9da2caaded72c1fb413cd12ef704f468f5a [INFO] running `Command { std: "docker" "start" "-a" "6def7f442e0c94877763d9989028f9da2caaded72c1fb413cd12ef704f468f5a", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2021 [INFO] [stderr] Compiling kernel32-sys v0.2.1 [INFO] [stderr] Checking winapi v0.2.5 [INFO] [stderr] Checking libc v0.2.2 [INFO] [stderr] Checking ncurses v0.1.0 (https://github.com/burnt43/rust-ncurses#a1a7c85d) [INFO] [stderr] Checking time v0.1.34 [INFO] [stderr] Checking testing v0.0.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `std::ptr` [INFO] [stdout] --> src/box_tests/mod.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::ptr; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: if this is a test module, consider adding a `#[cfg(test)]` to the containing module [INFO] [stdout] --> src/lib.rs:4:1 [INFO] [stdout] | [INFO] [stdout] 4 | pub mod box_tests; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `c_void` [INFO] [stdout] --> src/box_tests/mod.rs:3:12 [INFO] [stdout] | [INFO] [stdout] 3 | use libc::{c_void}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: if this is a test module, consider adding a `#[cfg(test)]` to the containing module [INFO] [stdout] --> src/lib.rs:4:1 [INFO] [stdout] | [INFO] [stdout] 4 | pub mod box_tests; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused macro definition: `shlec` [INFO] [stdout] --> src/user_macro_tests/mod.rs:2:14 [INFO] [stdout] | [INFO] [stdout] 2 | macro_rules! shlec { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_macros)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused macro definition: `attributes` [INFO] [stdout] --> src/user_macro_tests/mod.rs:13:14 [INFO] [stdout] | [INFO] [stdout] 13 | macro_rules! attributes { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused macro definition: `o_O` [INFO] [stdout] --> src/user_macro_tests/mod.rs:19:14 [INFO] [stdout] | [INFO] [stdout] 19 | macro_rules! o_O { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused macro definition: `goofy_addition` [INFO] [stdout] --> src/user_macro_tests/mod.rs:67:14 [INFO] [stdout] | [INFO] [stdout] 67 | macro_rules! goofy_addition { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused macro definition: `int_flags` [INFO] [stdout] --> src/user_macro_tests/mod.rs:71:14 [INFO] [stdout] | [INFO] [stdout] 71 | macro_rules! int_flags { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused macro definition: `str_to_u64vec` [INFO] [stdout] --> src/user_macro_tests/mod.rs:83:14 [INFO] [stdout] | [INFO] [stdout] 83 | macro_rules! str_to_u64vec { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `libc` [INFO] [stdout] --> src/cstring_tests/mod.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use libc; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] help: if this is a test module, consider adding a `#[cfg(test)]` to the containing module [INFO] [stdout] --> src/lib.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | pub mod cstring_tests; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused macro definition: `numerize_animal_vec` [INFO] [stdout] --> src/heterogeneous_vector_tests/mod.rs:1:14 [INFO] [stdout] | [INFO] [stdout] 1 | macro_rules! numerize_animal_vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::str::FromStr` [INFO] [stdout] --> src/jan_24_2016_tests/mod.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::str::FromStr; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: if this is a test module, consider adding a `#[cfg(test)]` to the containing module [INFO] [stdout] --> src/lib.rs:12:1 [INFO] [stdout] | [INFO] [stdout] 12 | pub mod jan_24_2016_tests; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> src/jan_24_2016_tests/mod.rs:10:23 [INFO] [stdout] | [INFO] [stdout] 10 | fn get_that_stuff(&Foobar) -> Result; [INFO] [stdout] | ^^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: &Foobar` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] = note: `#[warn(anonymous_parameters)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> src/jan_27_2016_tests/mod.rs:11:28 [INFO] [stdout] | [INFO] [stdout] 11 | fn from_james_encoding(&str) -> Result; [INFO] [stdout] | ^^^^ help: try naming the parameter or explicitly ignoring it: `_: &str` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/jan_27_2016_tests/mod.rs:43:21 [INFO] [stdout] | [INFO] [stdout] 43 | let x: u8 = try!(foo(10)); [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/jan_23_2016_tests/mod.rs:43:21 [INFO] [stdout] | [INFO] [stdout] 43 | some_speak: Box, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 43 | some_speak: Box, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/any_tests/mod.rs:17:33 [INFO] [stdout] | [INFO] [stdout] 17 | fn modify_input(something: &mut Any) { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 17 | fn modify_input(something: &mut dyn Any) { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `c_void` [INFO] [stdout] --> src/box_tests/mod.rs:3:12 [INFO] [stdout] | [INFO] [stdout] 3 | use libc::{c_void}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `libc` [INFO] [stdout] --> src/cstring_tests/mod.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use libc; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> src/jan_24_2016_tests/mod.rs:10:23 [INFO] [stdout] | [INFO] [stdout] 10 | fn get_that_stuff(&Foobar) -> Result; [INFO] [stdout] | ^^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: &Foobar` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] = note: `#[warn(anonymous_parameters)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> src/jan_27_2016_tests/mod.rs:11:28 [INFO] [stdout] | [INFO] [stdout] 11 | fn from_james_encoding(&str) -> Result; [INFO] [stdout] | ^^^^ help: try naming the parameter or explicitly ignoring it: `_: &str` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/jan_27_2016_tests/mod.rs:43:21 [INFO] [stdout] | [INFO] [stdout] 43 | let x: u8 = try!(foo(10)); [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/jan_23_2016_tests/mod.rs:43:21 [INFO] [stdout] | [INFO] [stdout] 43 | some_speak: Box, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 43 | some_speak: Box, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/any_tests/mod.rs:17:33 [INFO] [stdout] | [INFO] [stdout] 17 | fn modify_input(something: &mut Any) { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 17 | fn modify_input(something: &mut dyn Any) { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the size for values of type `Self` cannot be known at compilation time [INFO] [stdout] --> src/jan_24_2016_tests/mod.rs:10:35 [INFO] [stdout] | [INFO] [stdout] 10 | fn get_that_stuff(&Foobar) -> Result; [INFO] [stdout] | ^^^^^^^^^^^^^^^ doesn't have a size known at compile-time [INFO] [stdout] | [INFO] [stdout] note: required by an implicit `Sized` bound in `Result` [INFO] [stdout] --> /rustc/f609b7e0586f81fefb3523e3e17adf779ac416be/library/core/src/result.rs:527:1 [INFO] [stdout] help: consider further restricting `Self` [INFO] [stdout] | [INFO] [stdout] 10 | fn get_that_stuff(&Foobar) -> Result where Self: Sized; [INFO] [stdout] | +++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the size for values of type `Self` cannot be known at compilation time [INFO] [stdout] --> src/jan_24_2016_tests/mod.rs:10:35 [INFO] [stdout] | [INFO] [stdout] 10 | fn get_that_stuff(&Foobar) -> Result; [INFO] [stdout] | ^^^^^^^^^^^^^^^ doesn't have a size known at compile-time [INFO] [stdout] | [INFO] [stdout] note: required by an implicit `Sized` bound in `Result` [INFO] [stdout] --> /rustc/f609b7e0586f81fefb3523e3e17adf779ac416be/library/core/src/result.rs:527:1 [INFO] [stdout] help: consider further restricting `Self` [INFO] [stdout] | [INFO] [stdout] 10 | fn get_that_stuff(&Foobar) -> Result where Self: Sized; [INFO] [stdout] | +++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the size for values of type `Self` cannot be known at compilation time [INFO] [stdout] --> src/jan_27_2016_tests/mod.rs:11:37 [INFO] [stdout] | [INFO] [stdout] 11 | fn from_james_encoding(&str) -> Result; [INFO] [stdout] | ^^^^^^^^^^^^^^^ doesn't have a size known at compile-time [INFO] [stdout] | [INFO] [stdout] note: required by an implicit `Sized` bound in `Result` [INFO] [stdout] --> /rustc/f609b7e0586f81fefb3523e3e17adf779ac416be/library/core/src/result.rs:527:1 [INFO] [stdout] help: consider further restricting `Self` [INFO] [stdout] | [INFO] [stdout] 11 | fn from_james_encoding(&str) -> Result where Self: Sized; [INFO] [stdout] | +++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the size for values of type `Self` cannot be known at compilation time [INFO] [stdout] --> src/jan_27_2016_tests/mod.rs:13:54 [INFO] [stdout] | [INFO] [stdout] 13 | fn from_strinteger_result(input: &Strinteger) -> Result; [INFO] [stdout] | ^^^^^^^^^^^^^^^ doesn't have a size known at compile-time [INFO] [stdout] | [INFO] [stdout] note: required by an implicit `Sized` bound in `Result` [INFO] [stdout] --> /rustc/f609b7e0586f81fefb3523e3e17adf779ac416be/library/core/src/result.rs:527:1 [INFO] [stdout] help: consider further restricting `Self` [INFO] [stdout] | [INFO] [stdout] 13 | fn from_strinteger_result(input: &Strinteger) -> Result where Self: Sized; [INFO] [stdout] | +++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the size for values of type `Self` cannot be known at compilation time [INFO] [stdout] --> src/jan_27_2016_tests/mod.rs:11:37 [INFO] [stdout] | [INFO] [stdout] 11 | fn from_james_encoding(&str) -> Result; [INFO] [stdout] | ^^^^^^^^^^^^^^^ doesn't have a size known at compile-time [INFO] [stdout] | [INFO] [stdout] note: required by an implicit `Sized` bound in `Result` [INFO] [stdout] --> /rustc/f609b7e0586f81fefb3523e3e17adf779ac416be/library/core/src/result.rs:527:1 [INFO] [stdout] help: consider further restricting `Self` [INFO] [stdout] | [INFO] [stdout] 11 | fn from_james_encoding(&str) -> Result where Self: Sized; [INFO] [stdout] | +++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the size for values of type `Self` cannot be known at compilation time [INFO] [stdout] --> src/jan_27_2016_tests/mod.rs:13:54 [INFO] [stdout] | [INFO] [stdout] 13 | fn from_strinteger_result(input: &Strinteger) -> Result; [INFO] [stdout] | ^^^^^^^^^^^^^^^ doesn't have a size known at compile-time [INFO] [stdout] | [INFO] [stdout] note: required by an implicit `Sized` bound in `Result` [INFO] [stdout] --> /rustc/f609b7e0586f81fefb3523e3e17adf779ac416be/library/core/src/result.rs:527:1 [INFO] [stdout] help: consider further restricting `Self` [INFO] [stdout] | [INFO] [stdout] 13 | fn from_strinteger_result(input: &Strinteger) -> Result where Self: Sized; [INFO] [stdout] | +++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/any_tests/mod.rs:5:31 [INFO] [stdout] | [INFO] [stdout] 5 | let value_any = value as &Any; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 5 | let value_any = value as &dyn Any; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/any_tests/mod.rs:5:31 [INFO] [stdout] | [INFO] [stdout] 5 | let value_any = value as &Any; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 5 | let value_any = value as &dyn Any; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/any_tests/mod.rs:29:27 [INFO] [stdout] | [INFO] [stdout] 29 | assert!( (&foobar as &Any).is::() ); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 29 | assert!( (&foobar as &dyn Any).is::() ); [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/any_tests/mod.rs:32:27 [INFO] [stdout] | [INFO] [stdout] 32 | assert!( (&foobar as &Any).is::<&str>() ); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 32 | assert!( (&foobar as &dyn Any).is::<&str>() ); [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `s` [INFO] [stdout] --> src/jan_27_2016_tests/mod.rs:19:28 [INFO] [stdout] | [INFO] [stdout] 19 | fn from_james_encoding(s: &str) -> Result { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_s` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `person` [INFO] [stdout] --> src/jan_28_2016_tests/mod.rs:66:25 [INFO] [stdout] | [INFO] [stdout] 66 | fn bad_judge_person(person: Person) -> u8 { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_person` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `person` [INFO] [stdout] --> src/jan_28_2016_tests/mod.rs:69:26 [INFO] [stdout] | [INFO] [stdout] 69 | fn good_judge_person(person: &Person) -> u8 { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_person` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors; 20 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: could not compile `testing` (lib) due to 4 previous errors; 20 warnings emitted [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/jan_23_2016_tests/mod.rs:76:27 [INFO] [stdout] | [INFO] [stdout] 76 | let _box: Box = Box::new(Dog::new()); [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 76 | let _box: Box = Box::new(Dog::new()); [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: unused variable: `foo` [INFO] [stdout] --> src/cstring_tests/mod.rs:46:9 [INFO] [stdout] | [INFO] [stdout] 46 | let foo: CString = unsafe { CString::from_raw( raw ) }; [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_foo` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `foo` is assigned to, but never used [INFO] [stdout] --> src/jan_23_2016_tests/mod.rs:137:9 [INFO] [stdout] | [INFO] [stdout] 137 | let foo: Foo; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider using `_foo` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `foo` is never read [INFO] [stdout] --> src/jan_23_2016_tests/mod.rs:138:5 [INFO] [stdout] | [INFO] [stdout] 138 | foo = Foo { p_data: x }; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `s` [INFO] [stdout] --> src/jan_27_2016_tests/mod.rs:19:28 [INFO] [stdout] | [INFO] [stdout] 19 | fn from_james_encoding(s: &str) -> Result { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_s` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `person` [INFO] [stdout] --> src/jan_28_2016_tests/mod.rs:66:25 [INFO] [stdout] | [INFO] [stdout] 66 | fn bad_judge_person(person: Person) -> u8 { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_person` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `person` [INFO] [stdout] --> src/jan_28_2016_tests/mod.rs:69:26 [INFO] [stdout] | [INFO] [stdout] 69 | fn good_judge_person(person: &Person) -> u8 { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_person` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/feb_04_2016_tests/mod.rs:19:9 [INFO] [stdout] | [INFO] [stdout] 19 | let mut big_wheel = Wheel { size: 20, name: "Enkei".to_string() }; [INFO] [stdout] | ----^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors; 18 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: could not compile `testing` (lib test) due to 4 previous errors; 18 warnings emitted [INFO] running `Command { std: "docker" "inspect" "6def7f442e0c94877763d9989028f9da2caaded72c1fb413cd12ef704f468f5a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6def7f442e0c94877763d9989028f9da2caaded72c1fb413cd12ef704f468f5a", kill_on_drop: false }` [INFO] [stdout] 6def7f442e0c94877763d9989028f9da2caaded72c1fb413cd12ef704f468f5a