[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] testing burnt43/rust-test-space against 1.60.0 for beta-1.61-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fburnt43%2Frust-test-space" "/workspace/builds/worker-9/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-9/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/burnt43/rust-test-space on toolchain 1.60.0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/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-9/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: "/workspace/cargo-home/bin/cargo" "+1.60.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating git repository `https://github.com/burnt43/rust-ncurses` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/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:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 14c6c37dc4e3a5be32c845356c556c0f4094d7a31ee0eaaa678299de570823d6 [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" "14c6c37dc4e3a5be32c845356c556c0f4094d7a31ee0eaaa678299de570823d6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "14c6c37dc4e3a5be32c845356c556c0f4094d7a31ee0eaaa678299de570823d6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "14c6c37dc4e3a5be32c845356c556c0f4094d7a31ee0eaaa678299de570823d6", kill_on_drop: false }` [INFO] [stdout] 14c6c37dc4e3a5be32c845356c556c0f4094d7a31ee0eaaa678299de570823d6 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/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:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 1db05e4fea7ec3cffda00cc11eb1d5d34c7d353563fde9dc14a99a57903ea2ab [INFO] running `Command { std: "docker" "start" "-a" "1db05e4fea7ec3cffda00cc11eb1d5d34c7d353563fde9dc14a99a57903ea2ab", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.2 [INFO] [stderr] Compiling winapi v0.2.5 [INFO] [stderr] Compiling kernel32-sys v0.2.1 [INFO] [stderr] Compiling ncurses v0.1.0 (https://github.com/burnt43/rust-ncurses#a1a7c85d) [INFO] [stderr] Compiling time v0.1.34 [INFO] [stderr] Compiling 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] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] help: 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 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: 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: 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: 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] = note: `#[warn(anonymous_parameters)]` on by default [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: 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] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 43 - some_speak: Box, [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: use `dyn` [INFO] [stdout] | [INFO] [stdout] 17 - fn modify_input(something: &mut Any) { [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 a bound in `Result` [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 a bound in `Result` [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 a bound in `Result` [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: aborting due to 3 previous errors; 16 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` due to 4 previous errors; 16 warnings emitted [INFO] running `Command { std: "docker" "inspect" "1db05e4fea7ec3cffda00cc11eb1d5d34c7d353563fde9dc14a99a57903ea2ab", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1db05e4fea7ec3cffda00cc11eb1d5d34c7d353563fde9dc14a99a57903ea2ab", kill_on_drop: false }` [INFO] [stdout] 1db05e4fea7ec3cffda00cc11eb1d5d34c7d353563fde9dc14a99a57903ea2ab