[INFO] cloning repository https://github.com/lcpu-club/rust_learning_group [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/lcpu-club/rust_learning_group" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flcpu-club%2Frust_learning_group", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flcpu-club%2Frust_learning_group'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] a0f0028c57146891507812e853c619dee3412821 [INFO] checking lcpu-club/rust_learning_group against master#accc516128b21e960b1a7af45393e9acdd184890 for pr-122501 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flcpu-club%2Frust_learning_group" "/workspace/builds/worker-2-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/lcpu-club/rust_learning_group on toolchain accc516128b21e960b1a7af45393e9acdd184890 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+accc516128b21e960b1a7af45393e9acdd184890" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/lcpu-club/rust_learning_group [INFO] finished tweaking git repo https://github.com/lcpu-club/rust_learning_group [INFO] tweaked toml for git repo https://github.com/lcpu-club/rust_learning_group written to /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/lcpu-club/rust_learning_group already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+accc516128b21e960b1a7af45393e9acdd184890" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [ERROR] error running command: no output for 300 seconds [ERROR] this task or one of its parent failed! [ERROR] no output for 300 seconds [ERROR] note: run with `RUST_BACKTRACE=1` to display a backtrace. [INFO] checking lcpu-club/rust_learning_group against try#32f93a5733992b29f321831b7e26c1f7d7205013 for pr-122501 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flcpu-club%2Frust_learning_group" "/workspace/builds/worker-2-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/lcpu-club/rust_learning_group on toolchain 32f93a5733992b29f321831b7e26c1f7d7205013 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+32f93a5733992b29f321831b7e26c1f7d7205013" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/lcpu-club/rust_learning_group [INFO] finished tweaking git repo https://github.com/lcpu-club/rust_learning_group [INFO] tweaked toml for git repo https://github.com/lcpu-club/rust_learning_group written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/lcpu-club/rust_learning_group already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+32f93a5733992b29f321831b7e26c1f7d7205013" "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-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+32f93a5733992b29f321831b7e26c1f7d7205013" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 3f25640ea3ec494481d921f17fda34eaa284f4d799e685d55ea34b1786499efd [INFO] running `Command { std: "docker" "start" "-a" "3f25640ea3ec494481d921f17fda34eaa284f4d799e685d55ea34b1786499efd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "3f25640ea3ec494481d921f17fda34eaa284f4d799e685d55ea34b1786499efd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3f25640ea3ec494481d921f17fda34eaa284f4d799e685d55ea34b1786499efd", kill_on_drop: false }` [INFO] [stdout] 3f25640ea3ec494481d921f17fda34eaa284f4d799e685d55ea34b1786499efd [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/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" "RUSTDOCFLAGS=--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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+32f93a5733992b29f321831b7e26c1f7d7205013" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e57072634b27fa9688982caa84f0c499faf15d8f48e395b54d7569609bb20023 [INFO] running `Command { std: "docker" "start" "-a" "e57072634b27fa9688982caa84f0c499faf15d8f48e395b54d7569609bb20023", kill_on_drop: false }` [INFO] [stderr] Checking rust_learning_group_public v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `std::io` [INFO] [stdout] --> src/bin/control_flow.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::io; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `BufRead` [INFO] [stdout] --> src/bin/basic_input.rs:2:21 [INFO] [stdout] | [INFO] [stdout] 2 | use std::io::{self, BufRead}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected one of `:`, `@`, or `|`, found `,` [INFO] [stdout] --> src/bin/functions.rs:54:13 [INFO] [stdout] | [INFO] [stdout] 54 | fn foo(x, y: i32) { // FIX ME [INFO] [stdout] | ^ expected one of `:`, `@`, or `|` [INFO] [stdout] | [INFO] [stdout] = note: anonymous parameters are removed in the 2018 edition (see RFC 1685) [INFO] [stdout] help: if this is a `self` type, give it a parameter name [INFO] [stdout] | [INFO] [stdout] 54 | fn foo(self: x, y: i32) { // FIX ME [INFO] [stdout] | +++++ [INFO] [stdout] help: if this is a parameter name, give it a type [INFO] [stdout] | [INFO] [stdout] 54 | fn foo(x: TypeName, y: i32) { // FIX ME [INFO] [stdout] | ++++++++++ [INFO] [stdout] help: if this is a type, explicitly ignore the parameter name [INFO] [stdout] | [INFO] [stdout] 54 | fn foo(_: x, y: i32) { // FIX ME [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `BufRead`, `Write` [INFO] [stdout] --> src/bin/hello_world_complex.rs:2:21 [INFO] [stdout] | [INFO] [stdout] 2 | use std::io::{self, BufRead, Write}; [INFO] [stdout] | ^^^^^^^ ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `BufRead` [INFO] [stdout] --> src/bin/basic_input.rs:2:21 [INFO] [stdout] | [INFO] [stdout] 2 | use std::io::{self, BufRead}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x` [INFO] [stdout] --> src/bin/data_types.rs:141:9 [INFO] [stdout] | [INFO] [stdout] 141 | let x = read_i32(); [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_x` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `stdin` [INFO] [stdout] --> src/bin/hello_world_complex.rs:29:9 [INFO] [stdout] | [INFO] [stdout] 29 | let stdin = io::stdin(); [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_stdin` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `y` [INFO] [stdout] --> src/bin/data_types.rs:142:9 [INFO] [stdout] | [INFO] [stdout] 142 | let y = read_f64(); [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_y` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/bin/functions.rs:58:27 [INFO] [stdout] | [INFO] [stdout] 58 | assert_eq!(foo(1, 2), "hello"); [INFO] [stdout] | ^^^^^^^ expected `()`, found `&str` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `s` [INFO] [stdout] --> src/bin/hello_world_complex.rs:36:9 [INFO] [stdout] | [INFO] [stdout] 36 | let s = format!("Hello, world! Welcome to LCPU RLG, {}!", buffer); [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_s` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `stdout` [INFO] [stdout] --> src/bin/hello_world_complex.rs:38:9 [INFO] [stdout] | [INFO] [stdout] 38 | let stdout = io::stdout(); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_stdout` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/bin/hello_world_complex.rs:27:9 [INFO] [stdout] | [INFO] [stdout] 27 | let mut buffer = String::new(); [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/bin/functions.rs:56:9 [INFO] [stdout] | [INFO] [stdout] 54 | fn foo(x, y: i32) { // FIX ME [INFO] [stdout] | - help: try adding a return type: `-> &'static str` [INFO] [stdout] 55 | println!("x: {}, y: {}", x, y); [INFO] [stdout] 56 | "hello" [INFO] [stdout] | ^^^^^^^ expected `()`, found `&str` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected one of `:`, `@`, or `|`, found `,` [INFO] [stdout] --> src/bin/functions.rs:54:13 [INFO] [stdout] | [INFO] [stdout] 54 | fn foo(x, y: i32) { // FIX ME [INFO] [stdout] | ^ expected one of `:`, `@`, or `|` [INFO] [stdout] | [INFO] [stdout] = note: anonymous parameters are removed in the 2018 edition (see RFC 1685) [INFO] [stdout] help: if this is a `self` type, give it a parameter name [INFO] [stdout] | [INFO] [stdout] 54 | fn foo(self: x, y: i32) { // FIX ME [INFO] [stdout] | +++++ [INFO] [stdout] help: if this is a parameter name, give it a type [INFO] [stdout] | [INFO] [stdout] 54 | fn foo(x: TypeName, y: i32) { // FIX ME [INFO] [stdout] | ++++++++++ [INFO] [stdout] help: if this is a type, explicitly ignore the parameter name [INFO] [stdout] | [INFO] [stdout] 54 | fn foo(_: x, y: i32) { // FIX ME [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/bin/functions.rs:58:27 [INFO] [stdout] | [INFO] [stdout] 58 | assert_eq!(foo(1, 2), "hello"); [INFO] [stdout] | ^^^^^^^ expected `()`, found `&str` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/bin/functions.rs:56:9 [INFO] [stdout] | [INFO] [stdout] 54 | fn foo(x, y: i32) { // FIX ME [INFO] [stdout] | - help: try adding a return type: `-> &'static str` [INFO] [stdout] 55 | println!("x: {}, y: {}", x, y); [INFO] [stdout] 56 | "hello" [INFO] [stdout] | ^^^^^^^ expected `()`, found `&str` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stderr] error: could not compile `rust_learning_group_public` (bin "functions" test) due to 4 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `rust_learning_group_public` (bin "functions") due to 4 previous errors [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/bin/data_types_2.rs:164:9 [INFO] [stdout] | [INFO] [stdout] 164 | let mut result = String::new(); [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `read_line` is never used [INFO] [stdout] --> src/bin/data_types_2.rs:171:4 [INFO] [stdout] | [INFO] [stdout] 171 | fn read_line() -> String { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `parse_i32` is never used [INFO] [stdout] --> src/bin/data_types_2.rs:177:4 [INFO] [stdout] | [INFO] [stdout] 177 | fn parse_i32(s: &str) -> i32 { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/bin/data_types_2.rs:164:9 [INFO] [stdout] | [INFO] [stdout] 164 | let mut result = String::new(); [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `BufRead`, `cmp::Ordering`, `self` [INFO] [stdout] --> src/bin/guess_number.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | cmp::Ordering, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 4 | io::{self, BufRead}, [INFO] [stdout] | ^^^^ ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `read_line` is never used [INFO] [stdout] --> src/bin/data_types_2.rs:171:4 [INFO] [stdout] | [INFO] [stdout] 171 | fn read_line() -> String { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `parse_i32` is never used [INFO] [stdout] --> src/bin/data_types_2.rs:177:4 [INFO] [stdout] | [INFO] [stdout] 177 | fn parse_i32(s: &str) -> i32 { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/bin/references.rs:122:25 [INFO] [stdout] | [INFO] [stdout] 122 | this_is_ref(word) // FIX ME [INFO] [stdout] | ----------- ^^^^ expected `&String`, found `String` [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] note: function defined here [INFO] [stdout] --> src/bin/references.rs:102:8 [INFO] [stdout] | [INFO] [stdout] 102 | fn this_is_ref(r: &String) -> &String { r } [INFO] [stdout] | ^^^^^^^^^^^ ---------- [INFO] [stdout] help: consider borrowing here [INFO] [stdout] | [INFO] [stdout] 122 | this_is_ref(&word) // FIX ME [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/bin/references.rs:125:29 [INFO] [stdout] | [INFO] [stdout] 125 | this_is_mut_ref(word) // FIX ME [INFO] [stdout] | --------------- ^^^^ expected `&mut String`, found `String` [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] note: function defined here [INFO] [stdout] --> src/bin/references.rs:103:8 [INFO] [stdout] | [INFO] [stdout] 103 | fn this_is_mut_ref(r: &mut String) -> &mut String { r } [INFO] [stdout] | ^^^^^^^^^^^^^^^ -------------- [INFO] [stdout] help: consider mutably borrowing here [INFO] [stdout] | [INFO] [stdout] 125 | this_is_mut_ref(&mut word) // FIX ME [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/bin/mutable_and_shadowing.rs:157:9 [INFO] [stdout] | [INFO] [stdout] 151 | let x = 1; // FIX ME [INFO] [stdout] | - expected due to this value [INFO] [stdout] ... [INFO] [stdout] 157 | x = "hello".to_string(); // FIX ME [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ expected integer, found `String` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: can't compare `String` with `&String` [INFO] [stdout] --> src/bin/references.rs:128:9 [INFO] [stdout] | [INFO] [stdout] 128 | assert_eq!(t, r); // FIX ME [INFO] [stdout] | ^^^^^^^^^^^^^^^^ no implementation for `String == &String` [INFO] [stdout] | [INFO] [stdout] = help: the trait `PartialEq<&String>` is not implemented for `String` [INFO] [stdout] = note: this error originates in the macro `assert_eq` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: can't compare `String` with `&mut String` [INFO] [stdout] --> src/bin/references.rs:129:9 [INFO] [stdout] | [INFO] [stdout] 129 | assert_eq!(t, r_mut); // FIX ME [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ no implementation for `String == &mut String` [INFO] [stdout] | [INFO] [stdout] = help: the trait `PartialEq<&mut String>` is not implemented for `String` [INFO] [stdout] = note: this error originates in the macro `assert_eq` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0308. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: could not compile `rust_learning_group_public` (bin "references" test) due to 5 previous errors [INFO] [stdout] error[E0599]: no method named `push_str` found for type `{integer}` in the current scope [INFO] [stdout] --> src/bin/mutable_and_shadowing.rs:158:7 [INFO] [stdout] | [INFO] [stdout] 158 | x.push_str(", world!"); [INFO] [stdout] | ^^^^^^^^ method not found in `{integer}` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: can't compare `{integer}` with `&str` [INFO] [stdout] --> src/bin/mutable_and_shadowing.rs:159:5 [INFO] [stdout] | [INFO] [stdout] 159 | assert_eq!(x, "hello, world!"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ no implementation for `{integer} == &str` [INFO] [stdout] | [INFO] [stdout] = help: the trait `PartialEq<&str>` is not implemented for `{integer}` [INFO] [stdout] = help: the following other types implement trait `PartialEq`: [INFO] [stdout] isize [INFO] [stdout] i8 [INFO] [stdout] i16 [INFO] [stdout] i32 [INFO] [stdout] i64 [INFO] [stdout] i128 [INFO] [stdout] usize [INFO] [stdout] u8 [INFO] [stdout] and 6 others [INFO] [stdout] = note: this error originates in the macro `assert_eq` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0308, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: could not compile `rust_learning_group_public` (bin "mutable_and_shadowing") due to 4 previous errors [INFO] running `Command { std: "docker" "inspect" "e57072634b27fa9688982caa84f0c499faf15d8f48e395b54d7569609bb20023", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e57072634b27fa9688982caa84f0c499faf15d8f48e395b54d7569609bb20023", kill_on_drop: false }` [INFO] [stdout] e57072634b27fa9688982caa84f0c499faf15d8f48e395b54d7569609bb20023