[INFO] cloning repository https://github.com/rustkas/programmistov_rust_1_26 [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/rustkas/programmistov_rust_1_26" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frustkas%2Fprogrammistov_rust_1_26", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frustkas%2Fprogrammistov_rust_1_26'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] b279716b8a3aff088a047a8fc0673d4b0af6930a [INFO] testing rustkas/programmistov_rust_1_26 against beta-2022-04-10 for beta-1.61-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frustkas%2Fprogrammistov_rust_1_26" "/workspace/builds/worker-17/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-17/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/rustkas/programmistov_rust_1_26 on toolchain beta-2022-04-10 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/rustkas/programmistov_rust_1_26 [INFO] finished tweaking git repo https://github.com/rustkas/programmistov_rust_1_26 [INFO] tweaked toml for git repo https://github.com/rustkas/programmistov_rust_1_26 written to /workspace/builds/worker-17/source/Cargo.toml [INFO] crate git repo https://github.com/rustkas/programmistov_rust_1_26 already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "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-17/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-17/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] ecb364a8278e5d1ae6315cd338aeb4b28d87220501a89cea72221c8e3ca14ee3 [INFO] running `Command { std: "docker" "start" "-a" "ecb364a8278e5d1ae6315cd338aeb4b28d87220501a89cea72221c8e3ca14ee3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ecb364a8278e5d1ae6315cd338aeb4b28d87220501a89cea72221c8e3ca14ee3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ecb364a8278e5d1ae6315cd338aeb4b28d87220501a89cea72221c8e3ca14ee3", kill_on_drop: false }` [INFO] [stdout] ecb364a8278e5d1ae6315cd338aeb4b28d87220501a89cea72221c8e3ca14ee3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-17/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-17/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 25b3d005efadd2a0b2475d6e32a2ff9419beb3023b315442beea3127378dab36 [INFO] running `Command { std: "docker" "start" "-a" "25b3d005efadd2a0b2475d6e32a2ff9419beb3023b315442beea3127378dab36", kill_on_drop: false }` [INFO] [stderr] Compiling impl_trait v0.1.0 (/opt/rustwide/workdir/impl_trait) [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 1.10s [INFO] running `Command { std: "docker" "inspect" "25b3d005efadd2a0b2475d6e32a2ff9419beb3023b315442beea3127378dab36", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "25b3d005efadd2a0b2475d6e32a2ff9419beb3023b315442beea3127378dab36", kill_on_drop: false }` [INFO] [stdout] 25b3d005efadd2a0b2475d6e32a2ff9419beb3023b315442beea3127378dab36 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-17/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-17/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 1240d5192fcab10723edd968be6c8edbc1b39a92854157ab0875f336eea2dfdc [INFO] running `Command { std: "docker" "start" "-a" "1240d5192fcab10723edd968be6c8edbc1b39a92854157ab0875f336eea2dfdc", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling impl_trait v0.1.0 (/opt/rustwide/workdir/impl_trait) [INFO] [stdout] error[E0557]: feature has been removed [INFO] [stdout] --> impl_trait/tests/example2.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | #![feature(impl_trait_in_bindings)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ feature has been removed [INFO] [stdout] | [INFO] [stdout] = note: the implementation was not maintainable, the feature may get reintroduced once the current refactorings are done [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0557]: feature has been removed [INFO] [stdout] --> impl_trait/tests/iterator1.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | #![feature(impl_trait_in_bindings)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ feature has been removed [INFO] [stdout] | [INFO] [stdout] = note: the implementation was not maintainable, the feature may get reintroduced once the current refactorings are done [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `f` [INFO] [stdout] --> impl_trait/tests/main_enhancements1.rs:43:13 [INFO] [stdout] | [INFO] [stdout] 43 | let f = File::open("bar.txt")?; [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_f` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0557]: feature has been removed [INFO] [stdout] --> impl_trait/tests/closure1.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | #![feature(impl_trait_in_bindings)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ feature has been removed [INFO] [stdout] | [INFO] [stdout] = note: the implementation was not maintainable, the feature may get reintroduced once the current refactorings are done [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `main` [INFO] [stdout] --> impl_trait/tests/main_enhancements1.rs:42:8 [INFO] [stdout] | [INFO] [stdout] 42 | fn main() -> Result<(), std::io::Error> { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0562]: `impl Trait` only allowed in function and inherent method return types, not in variable binding [INFO] [stdout] --> impl_trait/tests/example2.rs:39:14 [INFO] [stdout] | [INFO] [stdout] 39 | let foo: impl Trait = foo(); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0557]: feature has been removed [INFO] [stdout] --> impl_trait/tests/fn_argument.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | #![feature(impl_trait_in_bindings)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ feature has been removed [INFO] [stdout] | [INFO] [stdout] = note: the implementation was not maintainable, the feature may get reintroduced once the current refactorings are done [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> impl_trait/tests/example2.rs:26:21 [INFO] [stdout] | [INFO] [stdout] 26 | fn foo() -> 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] 26 - fn foo() -> Box { [INFO] [stdout] 26 + fn foo() -> Box { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0562]: `impl Trait` only allowed in function and inherent method return types, not in variable binding [INFO] [stdout] --> impl_trait/tests/iterator1.rs:46:17 [INFO] [stdout] | [INFO] [stdout] 46 | let filter: impl Iterator = foo(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> impl_trait/tests/closure1.rs:10:21 [INFO] [stdout] | [INFO] [stdout] 10 | fn foo() -> Box i32> { [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] 10 - fn foo() -> Box i32> { [INFO] [stdout] 10 + fn foo() -> Box i32> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> impl_trait/tests/example2.rs:27:28 [INFO] [stdout] | [INFO] [stdout] 27 | Box::new(5) as 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] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 27 - Box::new(5) as Box [INFO] [stdout] 27 + Box::new(5) as Box [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0554]: `#![feature]` may not be used on the beta release channel [INFO] [stdout] --> impl_trait/tests/iterator1.rs:2:12 [INFO] [stdout] | [INFO] [stdout] 2 | #![feature(core_intrinsics)] [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> impl_trait/tests/iterator1.rs:55:27 [INFO] [stdout] | [INFO] [stdout] 55 | fn foo(x: i32) -> 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] 55 - fn foo(x: i32) -> Box> { [INFO] [stdout] 55 + fn foo(x: i32) -> Box> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors; 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0557, E0562. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0557`. [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0557`. [INFO] [stdout] [INFO] [stdout] error[E0557]: feature has been removed [INFO] [stdout] --> impl_trait/tests/example1.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | #![feature(impl_trait_in_bindings)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ feature has been removed [INFO] [stdout] | [INFO] [stdout] = note: the implementation was not maintainable, the feature may get reintroduced once the current refactorings are done [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `impl_trait` due to 3 previous errors; 2 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0562]: `impl Trait` only allowed in function and inherent method return types, not in variable binding [INFO] [stdout] --> impl_trait/tests/example1.rs:17:16 [INFO] [stdout] | [INFO] [stdout] 17 | let _fool: impl Trait = foo(); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `impl_trait` due to 2 previous errors; 1 warning emitted [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0557, E0562. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0557`. [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> impl_trait/tests/iterator1.rs:64:21 [INFO] [stdout] | [INFO] [stdout] 64 | let value1: Box> = foo(2); [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] 64 - let value1: Box> = foo(2); [INFO] [stdout] 64 + let value1: Box> = foo(2); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0557`. [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> impl_trait/tests/iterator1.rs:65:21 [INFO] [stdout] | [INFO] [stdout] 65 | let value2: Box> = foo(3); [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] 65 - let value2: Box> = foo(3); [INFO] [stdout] 65 + let value2: Box> = foo(3); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors; 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0554, E0557, E0562. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0554`. [INFO] [stdout] [INFO] [stderr] error: could not compile `impl_trait` due to 3 previous errors [INFO] [stderr] error: could not compile `impl_trait` due to 4 previous errors; 3 warnings emitted [INFO] [stderr] error: could not compile `impl_trait` due to 2 previous errors [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "1240d5192fcab10723edd968be6c8edbc1b39a92854157ab0875f336eea2dfdc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1240d5192fcab10723edd968be6c8edbc1b39a92854157ab0875f336eea2dfdc", kill_on_drop: false }` [INFO] [stdout] 1240d5192fcab10723edd968be6c8edbc1b39a92854157ab0875f336eea2dfdc