[INFO] cloning repository https://github.com/serega-fighter/rust
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/serega-fighter/rust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fserega-fighter%2Frust", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fserega-fighter%2Frust'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] f3a464e5eb919f6eee935bf0eb0f1f2edba59fbe
[INFO] testing serega-fighter/rust against beta-2022-07-16 for beta-1.63-2
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fserega-fighter%2Frust" "/workspace/builds/worker-11/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-11/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/serega-fighter/rust on toolchain beta-2022-07-16
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-07-16" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking git repo https://github.com/serega-fighter/rust
[INFO] finished tweaking git repo https://github.com/serega-fighter/rust
[INFO] tweaked toml for git repo https://github.com/serega-fighter/rust written to /workspace/builds/worker-11/source/Cargo.toml
[INFO] crate git repo https://github.com/serega-fighter/rust already has a lockfile, it will not be regenerated
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-07-16" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/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:5873ed620acfc3295992aedd9294443d62a478a48ba243bc5e6c4f5abaffa05f" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-07-16" "metadata" "--no-deps" "--format-version=1", 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] 4c7dc42a393c137850e945c3f18ac5333961936c2faf771a200ef8d55539dd9a
[INFO] running `Command { std: "docker" "start" "-a" "4c7dc42a393c137850e945c3f18ac5333961936c2faf771a200ef8d55539dd9a", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "4c7dc42a393c137850e945c3f18ac5333961936c2faf771a200ef8d55539dd9a", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "4c7dc42a393c137850e945c3f18ac5333961936c2faf771a200ef8d55539dd9a", kill_on_drop: false }`
[INFO] [stdout] 4c7dc42a393c137850e945c3f18ac5333961936c2faf771a200ef8d55539dd9a
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/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:5873ed620acfc3295992aedd9294443d62a478a48ba243bc5e6c4f5abaffa05f" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-07-16" "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] f613797632b5070a629bc4c129971bd90c44020509d9fa9e4362648f6e4faf96
[INFO] running `Command { std: "docker" "start" "-a" "f613797632b5070a629bc4c129971bd90c44020509d9fa9e4362648f6e4faf96", kill_on_drop: false }`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]    Compiling libc v0.2.103
[INFO] [stderr]    Compiling atty v0.2.14
[INFO] [stderr]    Compiling env_logger v0.7.1
[INFO] [stderr]    Compiling rust-workspace v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: struct `S` is never constructed
[INFO] [stdout]  --> src/basic/structs/lifetime_struct_test.rs:2:8
[INFO] [stdout]   |
[INFO] [stdout] 2 | struct S<'a> {
[INFO] [stdout]   |        ^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `y` is never read
[INFO] [stdout]  --> src/basic/structs/lifetime_struct_test.rs:8:5
[INFO] [stdout]   |
[INFO] [stdout] 6 | struct S2<'a, 'b> {
[INFO] [stdout]   |        -- field in this struct
[INFO] [stdout] 7 |     x: &'a i32,
[INFO] [stdout] 8 |     y: &'b i32
[INFO] [stdout]   |     ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `if` condition
[INFO] [stdout]  --> src/basic/option_test.rs:3:8
[INFO] [stdout]   |
[INFO] [stdout] 3 |     if (x > 5) {
[INFO] [stdout]   |        ^     ^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_parens)]` on by default
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]   |
[INFO] [stdout] 3 -     if (x > 5) {
[INFO] [stdout] 3 +     if x > 5 {
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `value`
[INFO] [stdout]   --> src/basic/option_test.rs:25:9
[INFO] [stdout]    |
[INFO] [stdout] 25 |     let value = result.expect("There is no value");
[INFO] [stdout]    |         ^^^^^ help: if this is intentional, prefix it with an underscore: `_value`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `data`
[INFO] [stdout]   --> src/basic/box_test.rs:10:9
[INFO] [stdout]    |
[INFO] [stdout] 10 |     let data = Cons(1, Box::new(Cons(2, Box::new(Cons(3, Box::new(Nil))))));
[INFO] [stdout]    |         ^^^^ help: if this is intentional, prefix it with an underscore: `_data`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]  --> src/basic/generics/trait_test.rs:4:24
[INFO] [stdout]   |
[INFO] [stdout] 4 | fn say_hello(out: &mut Write) -> std::io::Result<()> {
[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 2018) but is a hard error in Rust 2021!
[INFO] [stdout]   = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: use `dyn`
[INFO] [stdout]   |
[INFO] [stdout] 4 - fn say_hello(out: &mut Write) -> std::io::Result<()> {
[INFO] [stdout] 4 + fn say_hello(out: &mut dyn Write) -> std::io::Result<()> {
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `head`
[INFO] [stdout]   --> src/basic/string_test.rs:22:10
[INFO] [stdout]    |
[INFO] [stdout] 22 |     let (head, tail) = text.split_at(21);
[INFO] [stdout]    |          ^^^^ help: if this is intentional, prefix it with an underscore: `_head`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `tail`
[INFO] [stdout]   --> src/basic/string_test.rs:22:16
[INFO] [stdout]    |
[INFO] [stdout] 22 |     let (head, tail) = text.split_at(21);
[INFO] [stdout]    |                ^^^^ help: if this is intentional, prefix it with an underscore: `_tail`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `createdAgain` should have a snake case name
[INFO] [stdout]   --> src/basic/string_test.rs:17:9
[INFO] [stdout]    |
[INFO] [stdout] 17 |     let createdAgain: String = String::from(borrowed);
[INFO] [stdout]    |         ^^^^^^^^^^^^ help: convert the identifier to snake case: `created_again`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(non_snake_case)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `FromResidual`)
[INFO] [stdout]   --> src/basic/generics/trait_test.rs:11:51
[INFO] [stdout]    |
[INFO] [stdout] 9  | / pub fn main() {
[INFO] [stdout] 10 | |
[INFO] [stdout] 11 | |     let mut local_file = File::create("hello.txt")?;
[INFO] [stdout]    | |                                                   ^ cannot use the `?` operator in a function that returns `()`
[INFO] [stdout] 12 | |     say_hello(&mut local_file)?;
[INFO] [stdout] ...  |
[INFO] [stdout] 16 | |     assert_eq!(bytes, b"hello world\n");
[INFO] [stdout] 17 | | }
[INFO] [stdout]    | |_- this function should return `Result` or `Option` to accept `?`
[INFO] [stdout]    |
[INFO] [stdout]    = help: the trait `FromResidual<Result<Infallible, std::io::Error>>` is not implemented for `()`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `FromResidual`)
[INFO] [stdout]   --> src/basic/generics/trait_test.rs:12:31
[INFO] [stdout]    |
[INFO] [stdout] 9  | / pub fn main() {
[INFO] [stdout] 10 | |
[INFO] [stdout] 11 | |     let mut local_file = File::create("hello.txt")?;
[INFO] [stdout] 12 | |     say_hello(&mut local_file)?;
[INFO] [stdout]    | |                               ^ cannot use the `?` operator in a function that returns `()`
[INFO] [stdout] ...  |
[INFO] [stdout] 16 | |     assert_eq!(bytes, b"hello world\n");
[INFO] [stdout] 17 | | }
[INFO] [stdout]    | |_- this function should return `Result` or `Option` to accept `?`
[INFO] [stdout]    |
[INFO] [stdout]    = help: the trait `FromResidual<Result<Infallible, std::io::Error>>` is not implemented for `()`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `FromResidual`)
[INFO] [stdout]   --> src/basic/generics/trait_test.rs:15:26
[INFO] [stdout]    |
[INFO] [stdout] 9  | / pub fn main() {
[INFO] [stdout] 10 | |
[INFO] [stdout] 11 | |     let mut local_file = File::create("hello.txt")?;
[INFO] [stdout] 12 | |     say_hello(&mut local_file)?;
[INFO] [stdout] ...  |
[INFO] [stdout] 15 | |     say_hello(&mut bytes)?; // also works
[INFO] [stdout]    | |                          ^ cannot use the `?` operator in a function that returns `()`
[INFO] [stdout] 16 | |     assert_eq!(bytes, b"hello world\n");
[INFO] [stdout] 17 | | }
[INFO] [stdout]    | |_- this function should return `Result` or `Option` to accept `?`
[INFO] [stdout]    |
[INFO] [stdout]    = help: the trait `FromResidual<Result<Infallible, std::io::Error>>` is not implemented for `()`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 3 previous errors; 1 warning emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0277`.
[INFO] [stdout] 
[INFO] [stdout] warning: function `showTable` should have a snake case name
[INFO] [stdout]  --> src/basic/refs/ref_test.rs:5:8
[INFO] [stdout]   |
[INFO] [stdout] 5 | pub fn showTable(table: &mut Table) {
[INFO] [stdout]   |        ^^^^^^^^^ help: convert the identifier to snake case: `show_table`
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(non_snake_case)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `showVec` should have a snake case name
[INFO] [stdout]   --> src/basic/refs/ref_test.rs:19:8
[INFO] [stdout]    |
[INFO] [stdout] 19 | pub fn showVec(v: &Vec<String>) {
[INFO] [stdout]    |        ^^^^^^^ help: convert the identifier to snake case: `show_vec`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `rust-workspace` due to 4 previous errors; 1 warning emitted
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] warning: associated function `length` is never used
[INFO] [stdout]   --> src/basic/collections/queue.rs:10:8
[INFO] [stdout]    |
[INFO] [stdout] 10 |     fn length(&self) -> usize {
[INFO] [stdout]    |        ^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0597]: `s2` does not live long enough
[INFO] [stdout]   --> src/basic/lifetime_test.rs:16:39
[INFO] [stdout]    |
[INFO] [stdout] 16 |         result = longest(s1.as_str(), s2.as_str());
[INFO] [stdout]    |                                       ^^^^^^^^^^^ borrowed value does not live long enough
[INFO] [stdout] 17 |     }
[INFO] [stdout]    |     - `s2` dropped here while still borrowed
[INFO] [stdout] 18 |     println!("The longest string is {}", result);
[INFO] [stdout]    |                                          ------ borrow later used here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new` is never used
[INFO] [stdout]  --> src/basic/collections/stack.rs:6:8
[INFO] [stdout]   |
[INFO] [stdout] 6 |     fn new() -> Self {
[INFO] [stdout]   |        ^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(dead_code)]` on by default
[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 E0597`.
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `peek` is never used
[INFO] [stdout]   --> src/basic/collections/stack.rs:22:8
[INFO] [stdout]    |
[INFO] [stdout] 22 |     fn peek(&self) -> Option<&T> {
[INFO] [stdout]    |        ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `rust-workspace` due to 2 previous errors
[INFO] [stdout] warning: fields `active`, `email`, `strRef` and `sign_in_count` are never read
[INFO] [stdout]  --> src/basic/structs/struct_test.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | struct User<'a> {
[INFO] [stdout]   |        ---- fields in this struct
[INFO] [stdout] 4 |     active: bool,
[INFO] [stdout]   |     ^^^^^^^^^^^^
[INFO] [stdout] 5 |     username: String,
[INFO] [stdout] 6 |     email: String,
[INFO] [stdout]   |     ^^^^^^^^^^^^^
[INFO] [stdout] 7 |     strRef: &'a str,
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^
[INFO] [stdout] 8 |     sign_in_count: u64,
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(dead_code)]` on by default
[INFO] [stdout]   = note: `User` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: structure field `strRef` should have a snake case name
[INFO] [stdout]  --> src/basic/structs/struct_test.rs:7:5
[INFO] [stdout]   |
[INFO] [stdout] 7 |     strRef: &'a str,
[INFO] [stdout]   |     ^^^^^^ help: convert the identifier to snake case: `str_ref`
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(non_snake_case)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 2 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 1 warning emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 2 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 3 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 2 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 1 warning emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 2 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 2 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] running `Command { std: "docker" "inspect" "f613797632b5070a629bc4c129971bd90c44020509d9fa9e4362648f6e4faf96", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "f613797632b5070a629bc4c129971bd90c44020509d9fa9e4362648f6e4faf96", kill_on_drop: false }`
[INFO] [stdout] f613797632b5070a629bc4c129971bd90c44020509d9fa9e4362648f6e4faf96
