[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.55.0 for beta-1.56-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fburnt43%2Frust-test-space" "/workspace/builds/worker-0/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/burnt43/rust-test-space 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/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-0/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.55.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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] c186a5180d0e9100f100270fc18c97fa63021a51a4d6a2e59c6bb73c5fd0499c [INFO] running `Command { std: "docker" "start" "-a" "c186a5180d0e9100f100270fc18c97fa63021a51a4d6a2e59c6bb73c5fd0499c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c186a5180d0e9100f100270fc18c97fa63021a51a4d6a2e59c6bb73c5fd0499c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c186a5180d0e9100f100270fc18c97fa63021a51a4d6a2e59c6bb73c5fd0499c", kill_on_drop: false }` [INFO] [stdout] c186a5180d0e9100f100270fc18c97fa63021a51a4d6a2e59c6bb73c5fd0499c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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] 8bf7533a9ba692f3a53bdaf5f88a35b312890dc94c675691f5183c2d2cd32d3e [INFO] running `Command { std: "docker" "start" "-a" "8bf7533a9ba692f3a53bdaf5f88a35b312890dc94c675691f5183c2d2cd32d3e", kill_on_drop: false }` [INFO] [stderr] Compiling winapi v0.2.5 [INFO] [stderr] Compiling libc v0.2.2 [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] [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] [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] | ^^^ 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/any_tests/mod.rs:17:33 [INFO] [stdout] | [INFO] [stdout] 17 | fn modify_input(something: &mut Any) { [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: unused macro definition [INFO] [stdout] --> src/user_macro_tests/mod.rs:2:1 [INFO] [stdout] | [INFO] [stdout] 2 | / macro_rules! shlec { [INFO] [stdout] 3 | | ( $( $x:expr ),* ) => { [INFO] [stdout] 4 | | { [INFO] [stdout] 5 | | let mut temp_vec = Vec::new(); [INFO] [stdout] ... | [INFO] [stdout] 9 | | }; [INFO] [stdout] 10 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_macros)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused macro definition [INFO] [stdout] --> src/user_macro_tests/mod.rs:13:1 [INFO] [stdout] | [INFO] [stdout] 13 | / macro_rules! attributes { [INFO] [stdout] 14 | | ( $( $attr:expr ),* ) => { [INFO] [stdout] 15 | | &[$( $attr ),*] as &[Foobar] [INFO] [stdout] 16 | | }; [INFO] [stdout] 17 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused macro definition [INFO] [stdout] --> src/user_macro_tests/mod.rs:19:1 [INFO] [stdout] | [INFO] [stdout] 19 | / macro_rules! o_O { [INFO] [stdout] 20 | | ( [INFO] [stdout] 21 | | $( [INFO] [stdout] 22 | | $x:expr; [ $( $y:expr ),* ] [INFO] [stdout] ... | [INFO] [stdout] 26 | | } [INFO] [stdout] 27 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused macro definition [INFO] [stdout] --> src/user_macro_tests/mod.rs:67:1 [INFO] [stdout] | [INFO] [stdout] 67 | / macro_rules! goofy_addition { [INFO] [stdout] 68 | | ( $x:expr,$y:expr ) => { $x + $y } [INFO] [stdout] 69 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused macro definition [INFO] [stdout] --> src/user_macro_tests/mod.rs:71:1 [INFO] [stdout] | [INFO] [stdout] 71 | / macro_rules! int_flags { [INFO] [stdout] 72 | | ( $x:expr;$($y:expr),* ) => { [INFO] [stdout] 73 | | for i in &[$($y),*] { [INFO] [stdout] 74 | | if $x & i > 0 { [INFO] [stdout] ... | [INFO] [stdout] 80 | | } [INFO] [stdout] 81 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused macro definition [INFO] [stdout] --> src/user_macro_tests/mod.rs:83:1 [INFO] [stdout] | [INFO] [stdout] 83 | / macro_rules! str_to_u64vec { [INFO] [stdout] 84 | | ( $x:expr ) => { [INFO] [stdout] 85 | | $x.chars().map(|c| c as u64).collect::>() [INFO] [stdout] 86 | | } [INFO] [stdout] 87 | | } [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] [INFO] [stdout] warning: unused macro definition [INFO] [stdout] --> src/heterogeneous_vector_tests/mod.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | / macro_rules! numerize_animal_vec { [INFO] [stdout] 2 | | ( $( $x:expr ),* ) => { [INFO] [stdout] 3 | | { [INFO] [stdout] 4 | | let mut temp_vec : Vec = Vec::new(); [INFO] [stdout] ... | [INFO] [stdout] 8 | | }; [INFO] [stdout] 9 | | } [INFO] [stdout] | |_^ [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] | ^^^^^ help: use `dyn`: `dyn Speak` [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: 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] [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] 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] 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] 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] 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; 17 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; 17 warnings emitted [INFO] running `Command { std: "docker" "inspect" "8bf7533a9ba692f3a53bdaf5f88a35b312890dc94c675691f5183c2d2cd32d3e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8bf7533a9ba692f3a53bdaf5f88a35b312890dc94c675691f5183c2d2cd32d3e", kill_on_drop: false }` [INFO] [stdout] 8bf7533a9ba692f3a53bdaf5f88a35b312890dc94c675691f5183c2d2cd32d3e