[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 against master#3aedcf06b73fc36feeebca3d579e1d2a6c40acc5 for pr-65819 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fburnt43%2Frust-test-space" "/workspace/builds/worker-14/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-14/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/burnt43/rust-test-space on toolchain 3aedcf06b73fc36feeebca3d579e1d2a6c40acc5 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+3aedcf06b73fc36feeebca3d579e1d2a6c40acc5" "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-14/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" "+3aedcf06b73fc36feeebca3d579e1d2a6c40acc5" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] error: the lock file /workspace/builds/worker-14/source/Cargo.lock needs to be updated but --locked was passed to prevent this [INFO] [stderr] If you want to try to generate the lock file without accessing the network, use the --offline flag. [INFO] the lockfile is outdated, regenerating it [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+3aedcf06b73fc36feeebca3d579e1d2a6c40acc5" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] [stderr] Updating git repository `https://github.com/burnt43/rust-ncurses` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+3aedcf06b73fc36feeebca3d579e1d2a6c40acc5" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/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" "rustops/crates-build-env@sha256:c46a2d1a26fb48b37929c74ca49dd9409f2375a0a3bdb8fe07617f3ffccaa889" "/opt/rustwide/cargo-home/bin/cargo" "+3aedcf06b73fc36feeebca3d579e1d2a6c40acc5" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 060799ac7d0cdec435a76ae6f5cbc593a0feaa82602138567a8b9d9562f43305 [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" "060799ac7d0cdec435a76ae6f5cbc593a0feaa82602138567a8b9d9562f43305", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "060799ac7d0cdec435a76ae6f5cbc593a0feaa82602138567a8b9d9562f43305", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "060799ac7d0cdec435a76ae6f5cbc593a0feaa82602138567a8b9d9562f43305", kill_on_drop: false }` [INFO] [stdout] 060799ac7d0cdec435a76ae6f5cbc593a0feaa82602138567a8b9d9562f43305 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/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" "rustops/crates-build-env@sha256:c46a2d1a26fb48b37929c74ca49dd9409f2375a0a3bdb8fe07617f3ffccaa889" "/opt/rustwide/cargo-home/bin/cargo" "+3aedcf06b73fc36feeebca3d579e1d2a6c40acc5" "check" "--frozen" "--all" "--all-targets" "--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] 2e2b69c582d6bb3fa55dc81bbbcf2f8796a0e372fd65123ecbc2d1e7bf5ff372 [INFO] running `Command { std: "docker" "start" "-a" "2e2b69c582d6bb3fa55dc81bbbcf2f8796a0e372fd65123ecbc2d1e7bf5ff372", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.26 [INFO] [stderr] Compiling unicode-xid v0.2.1 [INFO] [stderr] Compiling syn v1.0.69 [INFO] [stderr] Compiling proc-macro-hack v0.5.19 [INFO] [stderr] Compiling const_fn v0.4.7 [INFO] [stderr] Compiling standback v0.2.17 [INFO] [stderr] Compiling time v0.2.26 [INFO] [stderr] Checking ncurses v0.1.0 (https://github.com/burnt43/rust-ncurses#8460b8ba) [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Compiling time-macros-impl v0.1.1 [INFO] [stderr] Checking time-macros v0.1.1 [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] = 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] [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] [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] [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: 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: 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: 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] [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] [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] | ^^^ help: use `dyn`: `dyn Any` [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] | ^^^ help: use `dyn`: `dyn Any` [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: 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] [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] | ^^^^^ help: use `dyn`: `dyn Speak` [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_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; 15 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0277`. [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; 9 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` [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "2e2b69c582d6bb3fa55dc81bbbcf2f8796a0e372fd65123ecbc2d1e7bf5ff372", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2e2b69c582d6bb3fa55dc81bbbcf2f8796a0e372fd65123ecbc2d1e7bf5ff372", kill_on_drop: false }` [INFO] [stdout] 2e2b69c582d6bb3fa55dc81bbbcf2f8796a0e372fd65123ecbc2d1e7bf5ff372