[INFO] cloning repository https://github.com/Shazski/Rust_st
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Shazski/Rust_st" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FShazski%2FRust_st", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FShazski%2FRust_st'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] d07ecf5892bc0b730b0c9d1c486f29cd80662606
[INFO] checking Shazski/Rust_st against master#e1613686e0efc80a1a18b1263625450a8de3fb04 for pr-154492-1
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FShazski%2FRust_st" "/workspace/builds/worker-6-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc1/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/Shazski/Rust_st
[INFO] finished tweaking git repo https://github.com/Shazski/Rust_st
[INFO] tweaked toml for git repo https://github.com/Shazski/Rust_st written to /workspace/builds/worker-6-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/Shazski/Rust_st on toolchain e1613686e0efc80a1a18b1263625450a8de3fb04
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+e1613686e0efc80a1a18b1263625450a8de3fb04" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/Shazski/Rust_st 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" "+e1613686e0efc80a1a18b1263625450a8de3fb04" "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-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+e1613686e0efc80a1a18b1263625450a8de3fb04" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 8c47f63d749866bb1a5d76f43f4cf247b63703a637c54d7a584c74b90655ead8
[INFO] running `Command { std: "docker" "start" "-a" "8c47f63d749866bb1a5d76f43f4cf247b63703a637c54d7a584c74b90655ead8", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "8c47f63d749866bb1a5d76f43f4cf247b63703a637c54d7a584c74b90655ead8", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "8c47f63d749866bb1a5d76f43f4cf247b63703a637c54d7a584c74b90655ead8", kill_on_drop: false }`
[INFO] [stdout] 8c47f63d749866bb1a5d76f43f4cf247b63703a637c54d7a584c74b90655ead8
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+e1613686e0efc80a1a18b1263625450a8de3fb04" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 79d65fdedddfd21279d6bcb121368437d37b2413679245c277ff43ab9ff2690a
[INFO] running `Command { std: "docker" "start" "-a" "79d65fdedddfd21279d6bcb121368437d37b2413679245c277ff43ab9ff2690a", kill_on_drop: false }`
[INFO] [stderr]     Checking rust_tutorial v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] error[E0600]: cannot apply unary operator `-` to type `u32`
[INFO] [stdout]   --> src/bin/data_types.rs:10:32
[INFO] [stdout]    |
[INFO] [stdout] 10 |   let negative_unsigned: u32 = -50; //to allowed throws compile error.
[INFO] [stdout]    |                                ^^^ cannot apply unary operator `-`
[INFO] [stdout]    |
[INFO] [stdout]    = note: unsigned values cannot be negated
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0428]: the name `main` is defined multiple times
[INFO] [stdout]   --> src/bin/control_statements.rs:13:1
[INFO] [stdout]    |
[INFO] [stdout]  1 | fn main() {
[INFO] [stdout]    | --------- previous definition of the value `main` here
[INFO] [stdout] ...
[INFO] [stdout] 13 | fn main() {
[INFO] [stdout]    | ^^^^^^^^^ `main` redefined here
[INFO] [stdout]    |
[INFO] [stdout]    = note: `main` must be defined only once in the value namespace of this module
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0428]: the name `ownership_fn` is defined multiple times
[INFO] [stdout]   --> src/bin/ownership.rs:19:1
[INFO] [stdout]    |
[INFO] [stdout] 14 | fn ownership_fn(val:String) {
[INFO] [stdout]    | --------------------------- previous definition of the value `ownership_fn` here
[INFO] [stdout] ...
[INFO] [stdout] 19 | fn ownership_fn(val:&str) { //here we have to make string slice for reference.
[INFO] [stdout]    | ^^^^^^^^^^^^^^^^^^^^^^^^^ `ownership_fn` redefined here
[INFO] [stdout]    |
[INFO] [stdout]    = note: `ownership_fn` must be defined only once in the value namespace of this module
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0428]: the name `ownership_fn` is defined multiple times
[INFO] [stdout]   --> src/bin/ownership.rs:19:1
[INFO] [stdout]    |
[INFO] [stdout] 14 | fn ownership_fn(val:String) {
[INFO] [stdout]    | --------------------------- previous definition of the value `ownership_fn` here
[INFO] [stdout] ...
[INFO] [stdout] 19 | fn ownership_fn(val:&str) { //here we have to make string slice for reference.
[INFO] [stdout]    | ^^^^^^^^^^^^^^^^^^^^^^^^^ `ownership_fn` redefined here
[INFO] [stdout]    |
[INFO] [stdout]    = note: `ownership_fn` must be defined only once in the value namespace of this module
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0428]: the name `main` is defined multiple times
[INFO] [stdout]   --> src/bin/control_statements.rs:29:1
[INFO] [stdout]    |
[INFO] [stdout]  1 | fn main() {
[INFO] [stdout]    | --------- previous definition of the value `main` here
[INFO] [stdout] ...
[INFO] [stdout] 29 | fn main() {
[INFO] [stdout]    | ^^^^^^^^^ `main` redefined here
[INFO] [stdout]    |
[INFO] [stdout]    = note: `main` must be defined only once in the value namespace of this module
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0428]: the name `main` is defined multiple times
[INFO] [stdout]   --> src/bin/control_statements.rs:39:1
[INFO] [stdout]    |
[INFO] [stdout]  1 | fn main() {
[INFO] [stdout]    | --------- previous definition of the value `main` here
[INFO] [stdout] ...
[INFO] [stdout] 39 | fn main() {
[INFO] [stdout]    | ^^^^^^^^^ `main` redefined here
[INFO] [stdout]    |
[INFO] [stdout]    = note: `main` must be defined only once in the value namespace of this module
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0428]: the name `main` is defined multiple times
[INFO] [stdout]   --> src/bin/control_statements.rs:47:1
[INFO] [stdout]    |
[INFO] [stdout]  1 | fn main() {
[INFO] [stdout]    | --------- previous definition of the value `main` here
[INFO] [stdout] ...
[INFO] [stdout] 47 | fn main() {
[INFO] [stdout]    | ^^^^^^^^^ `main` redefined here
[INFO] [stdout]    |
[INFO] [stdout]    = note: `main` must be defined only once in the value namespace of this module
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0428]: the name `main` is defined multiple times
[INFO] [stdout]   --> src/bin/control_statements.rs:63:1
[INFO] [stdout]    |
[INFO] [stdout]  1 | fn main() {
[INFO] [stdout]    | --------- previous definition of the value `main` here
[INFO] [stdout] ...
[INFO] [stdout] 63 | fn main() {
[INFO] [stdout]    | ^^^^^^^^^ `main` redefined here
[INFO] [stdout]    |
[INFO] [stdout]    = note: `main` must be defined only once in the value namespace of this module
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0428]: the name `main` is defined multiple times
[INFO] [stdout]   --> src/bin/ownership.rs:25:1
[INFO] [stdout]    |
[INFO] [stdout]  2 | fn main() {
[INFO] [stdout]    | --------- previous definition of the value `main` here
[INFO] [stdout] ...
[INFO] [stdout] 25 | fn main() {
[INFO] [stdout]    | ^^^^^^^^^ `main` redefined here
[INFO] [stdout]    |
[INFO] [stdout]    = note: `main` must be defined only once in the value namespace of this module
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0428]: the name `main` is defined multiple times
[INFO] [stdout]   --> src/bin/control_statements.rs:87:1
[INFO] [stdout]    |
[INFO] [stdout]  1 | fn main() {
[INFO] [stdout]    | --------- previous definition of the value `main` here
[INFO] [stdout] ...
[INFO] [stdout] 87 | fn main() {
[INFO] [stdout]    | ^^^^^^^^^ `main` redefined here
[INFO] [stdout]    |
[INFO] [stdout]    = note: `main` must be defined only once in the value namespace of this module
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0428]: the name `main` is defined multiple times
[INFO] [stdout]    --> src/bin/control_statements.rs:102:1
[INFO] [stdout]     |
[INFO] [stdout]   1 | fn main() {
[INFO] [stdout]     | --------- previous definition of the value `main` here
[INFO] [stdout] ...
[INFO] [stdout] 102 | fn main() {
[INFO] [stdout]     | ^^^^^^^^^ `main` redefined here
[INFO] [stdout]     |
[INFO] [stdout]     = note: `main` must be defined only once in the value namespace of this module
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0428]: the name `main` is defined multiple times
[INFO] [stdout]    --> src/bin/control_statements.rs:113:1
[INFO] [stdout]     |
[INFO] [stdout]   1 | fn main() {
[INFO] [stdout]     | --------- previous definition of the value `main` here
[INFO] [stdout] ...
[INFO] [stdout] 113 | fn main() {
[INFO] [stdout]     | ^^^^^^^^^ `main` redefined here
[INFO] [stdout]     |
[INFO] [stdout]     = note: `main` must be defined only once in the value namespace of this module
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0428]: the name `main` is defined multiple times
[INFO] [stdout]    --> src/bin/control_statements.rs:121:1
[INFO] [stdout]     |
[INFO] [stdout]   1 | fn main() {
[INFO] [stdout]     | --------- previous definition of the value `main` here
[INFO] [stdout] ...
[INFO] [stdout] 121 | fn main() {
[INFO] [stdout]     | ^^^^^^^^^ `main` redefined here
[INFO] [stdout]     |
[INFO] [stdout]     = note: `main` must be defined only once in the value namespace of this module
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0428]: the name `main` is defined multiple times
[INFO] [stdout]   --> src/bin/ownership.rs:25:1
[INFO] [stdout]    |
[INFO] [stdout]  2 | fn main() {
[INFO] [stdout]    | --------- previous definition of the value `main` here
[INFO] [stdout] ...
[INFO] [stdout] 25 | fn main() {
[INFO] [stdout]    | ^^^^^^^^^ `main` redefined here
[INFO] [stdout]    |
[INFO] [stdout]    = note: `main` must be defined only once in the value namespace of this module
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0428]: the name `main` is defined multiple times
[INFO] [stdout]   --> src/bin/control_statements.rs:13:1
[INFO] [stdout]    |
[INFO] [stdout]  1 | fn main() {
[INFO] [stdout]    | --------- previous definition of the value `main` here
[INFO] [stdout] ...
[INFO] [stdout] 13 | fn main() {
[INFO] [stdout]    | ^^^^^^^^^ `main` redefined here
[INFO] [stdout]    |
[INFO] [stdout]    = note: `main` must be defined only once in the value namespace of this module
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0428]: the name `main` is defined multiple times
[INFO] [stdout]   --> src/bin/control_statements.rs:29:1
[INFO] [stdout]    |
[INFO] [stdout]  1 | fn main() {
[INFO] [stdout]    | --------- previous definition of the value `main` here
[INFO] [stdout] ...
[INFO] [stdout] 29 | fn main() {
[INFO] [stdout]    | ^^^^^^^^^ `main` redefined here
[INFO] [stdout]    |
[INFO] [stdout]    = note: `main` must be defined only once in the value namespace of this module
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0428]: the name `main` is defined multiple times
[INFO] [stdout]   --> src/bin/control_statements.rs:39:1
[INFO] [stdout]    |
[INFO] [stdout]  1 | fn main() {
[INFO] [stdout]    | --------- previous definition of the value `main` here
[INFO] [stdout] ...
[INFO] [stdout] 39 | fn main() {
[INFO] [stdout]    | ^^^^^^^^^ `main` redefined here
[INFO] [stdout]    |
[INFO] [stdout]    = note: `main` must be defined only once in the value namespace of this module
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0428]: the name `main` is defined multiple times
[INFO] [stdout]   --> src/bin/control_statements.rs:47:1
[INFO] [stdout]    |
[INFO] [stdout]  1 | fn main() {
[INFO] [stdout]    | --------- previous definition of the value `main` here
[INFO] [stdout] ...
[INFO] [stdout] 47 | fn main() {
[INFO] [stdout]    | ^^^^^^^^^ `main` redefined here
[INFO] [stdout]    |
[INFO] [stdout]    = note: `main` must be defined only once in the value namespace of this module
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0428]: the name `main` is defined multiple times
[INFO] [stdout]   --> src/bin/control_statements.rs:63:1
[INFO] [stdout]    |
[INFO] [stdout]  1 | fn main() {
[INFO] [stdout]    | --------- previous definition of the value `main` here
[INFO] [stdout] ...
[INFO] [stdout] 63 | fn main() {
[INFO] [stdout]    | ^^^^^^^^^ `main` redefined here
[INFO] [stdout]    |
[INFO] [stdout]    = note: `main` must be defined only once in the value namespace of this module
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0428]: the name `main` is defined multiple times
[INFO] [stdout]   --> src/bin/control_statements.rs:87:1
[INFO] [stdout]    |
[INFO] [stdout]  1 | fn main() {
[INFO] [stdout]    | --------- previous definition of the value `main` here
[INFO] [stdout] ...
[INFO] [stdout] 87 | fn main() {
[INFO] [stdout]    | ^^^^^^^^^ `main` redefined here
[INFO] [stdout]    |
[INFO] [stdout]    = note: `main` must be defined only once in the value namespace of this module
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0428]: the name `main` is defined multiple times
[INFO] [stdout]    --> src/bin/control_statements.rs:102:1
[INFO] [stdout]     |
[INFO] [stdout]   1 | fn main() {
[INFO] [stdout]     | --------- previous definition of the value `main` here
[INFO] [stdout] ...
[INFO] [stdout] 102 | fn main() {
[INFO] [stdout]     | ^^^^^^^^^ `main` redefined here
[INFO] [stdout]     |
[INFO] [stdout]     = note: `main` must be defined only once in the value namespace of this module
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0428]: the name `main` is defined multiple times
[INFO] [stdout]    --> src/bin/control_statements.rs:113:1
[INFO] [stdout]     |
[INFO] [stdout]   1 | fn main() {
[INFO] [stdout]     | --------- previous definition of the value `main` here
[INFO] [stdout] ...
[INFO] [stdout] 113 | fn main() {
[INFO] [stdout]     | ^^^^^^^^^ `main` redefined here
[INFO] [stdout]     |
[INFO] [stdout]     = note: `main` must be defined only once in the value namespace of this module
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0428]: the name `main` is defined multiple times
[INFO] [stdout]    --> src/bin/control_statements.rs:121:1
[INFO] [stdout]     |
[INFO] [stdout]   1 | fn main() {
[INFO] [stdout]     | --------- previous definition of the value `main` here
[INFO] [stdout] ...
[INFO] [stdout] 121 | fn main() {
[INFO] [stdout]     | ^^^^^^^^^ `main` redefined here
[INFO] [stdout]     |
[INFO] [stdout]     = note: `main` must be defined only once in the value namespace of this module
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0428`.
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0428`.
[INFO] [stdout] 
[INFO] [stdout] error[E0600]: cannot apply unary operator `-` to type `u32`
[INFO] [stdout]   --> src/bin/data_types.rs:10:32
[INFO] [stdout]    |
[INFO] [stdout] 10 |   let negative_unsigned: u32 = -50; //to allowed throws compile error.
[INFO] [stdout]    |                                ^^^ cannot apply unary operator `-`
[INFO] [stdout]    |
[INFO] [stdout]    = note: unsigned values cannot be negated
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `rust_tutorial` (bin "control_statements" test) due to 9 previous errors
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stderr] error: could not compile `rust_tutorial` (bin "control_statements") due to 9 previous errors
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]   --> src/bin/ownership.rs:10:16
[INFO] [stdout]    |
[INFO] [stdout] 10 |   ownership_fn(&value); // here we use the & symbol to make the reference. 
[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/ownership.rs:14:4
[INFO] [stdout]    |
[INFO] [stdout] 14 | fn ownership_fn(val:String) {
[INFO] [stdout]    |    ^^^^^^^^^^^^ ----------
[INFO] [stdout] help: consider removing the borrow
[INFO] [stdout]    |
[INFO] [stdout] 10 -   ownership_fn(&value); // here we use the & symbol to make the reference. 
[INFO] [stdout] 10 +   ownership_fn(value); // here we use the & symbol to make the reference. 
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]   --> src/bin/ownership.rs:10:16
[INFO] [stdout]    |
[INFO] [stdout] 10 |   ownership_fn(&value); // here we use the & symbol to make the reference. 
[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/ownership.rs:14:4
[INFO] [stdout]    |
[INFO] [stdout] 14 | fn ownership_fn(val:String) {
[INFO] [stdout]    |    ^^^^^^^^^^^^ ----------
[INFO] [stdout] help: consider removing the borrow
[INFO] [stdout]    |
[INFO] [stdout] 10 -   ownership_fn(&value); // here we use the & symbol to make the reference. 
[INFO] [stdout] 10 +   ownership_fn(value); // here we use the & symbol to make the reference. 
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0308, E0428.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0308`.
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0308, E0428.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0308`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `rust_tutorial` (bin "ownership") due to 3 previous errors
[INFO] [stderr] error: could not compile `rust_tutorial` (bin "ownership" test) due to 3 previous errors
[INFO] [stdout] error: expected `;`, found `x`
[INFO] [stdout]   --> src/bin/functions.rs:27:8
[INFO] [stdout]    |
[INFO] [stdout] 27 |   x + y // if we are not using semicol the it automatically return the last statement
[INFO] [stdout]    |        ^ help: add `;` here
[INFO] [stdout] 28 |   x + y; //this will not return the value
[INFO] [stdout]    |   - unexpected token
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: expected `;`, found `x`
[INFO] [stdout]   --> src/bin/functions.rs:27:8
[INFO] [stdout]    |
[INFO] [stdout] 27 |   x + y // if we are not using semicol the it automatically return the last statement
[INFO] [stdout]    |        ^ help: add `;` here
[INFO] [stdout] 28 |   x + y; //this will not return the value
[INFO] [stdout]    |   - unexpected token
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]   --> src/bin/data_types.rs:20:27
[INFO] [stdout]    |
[INFO] [stdout] 20 |   let not_allowed: char = "B"; // double quotes are not allowed throws compile time error
[INFO] [stdout]    |                    ----   ^^^ expected `char`, found `&str`
[INFO] [stdout]    |                    |
[INFO] [stdout]    |                    expected due to this
[INFO] [stdout]    |
[INFO] [stdout] help: if you meant to write a `char` literal, use single quotes
[INFO] [stdout]    |
[INFO] [stdout] 20 -   let not_allowed: char = "B"; // double quotes are not allowed throws compile time error
[INFO] [stdout] 20 +   let not_allowed: char = 'B'; // double quotes are not allowed throws compile time error
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]   --> src/bin/data_types.rs:20:27
[INFO] [stdout]    |
[INFO] [stdout] 20 |   let not_allowed: char = "B"; // double quotes are not allowed throws compile time error
[INFO] [stdout]    |                    ----   ^^^ expected `char`, found `&str`
[INFO] [stdout]    |                    |
[INFO] [stdout]    |                    expected due to this
[INFO] [stdout]    |
[INFO] [stdout] help: if you meant to write a `char` literal, use single quotes
[INFO] [stdout]    |
[INFO] [stdout] 20 -   let not_allowed: char = "B"; // double quotes are not allowed throws compile time error
[INFO] [stdout] 20 +   let not_allowed: char = 'B'; // double quotes are not allowed throws compile time error
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]   --> src/bin/data_types.rs:30:24
[INFO] [stdout]    |
[INFO] [stdout] 30 |   let arr : [i32; 4] = [1,2,3,4,5]; // to allowed only we can store 4 elements if the length is already declared
[INFO] [stdout]    |             --------   ^^^^^^^^^^^ expected an array with a size of 4, found one with a size of 5
[INFO] [stdout]    |             |
[INFO] [stdout]    |             expected due to this
[INFO] [stdout]    |
[INFO] [stdout] help: consider specifying the actual array length
[INFO] [stdout]    |
[INFO] [stdout] 30 -   let arr : [i32; 4] = [1,2,3,4,5]; // to allowed only we can store 4 elements if the length is already declared
[INFO] [stdout] 30 +   let arr : [i32; 5] = [1,2,3,4,5]; // to allowed only we can store 4 elements if the length is already declared
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]   --> src/bin/data_types.rs:30:24
[INFO] [stdout]    |
[INFO] [stdout] 30 |   let arr : [i32; 4] = [1,2,3,4,5]; // to allowed only we can store 4 elements if the length is already declared
[INFO] [stdout]    |             --------   ^^^^^^^^^^^ expected an array with a size of 4, found one with a size of 5
[INFO] [stdout]    |             |
[INFO] [stdout]    |             expected due to this
[INFO] [stdout]    |
[INFO] [stdout] help: consider specifying the actual array length
[INFO] [stdout]    |
[INFO] [stdout] 30 -   let arr : [i32; 4] = [1,2,3,4,5]; // to allowed only we can store 4 elements if the length is already declared
[INFO] [stdout] 30 +   let arr : [i32; 5] = [1,2,3,4,5]; // to allowed only we can store 4 elements if the length is already declared
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0308, E0600.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0308`.
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0308, E0600.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0308`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `rust_tutorial` (bin "functions") due to 1 previous error
[INFO] [stderr] error: could not compile `rust_tutorial` (bin "functions" test) due to 1 previous error
[INFO] [stderr] error: could not compile `rust_tutorial` (bin "data_types") due to 3 previous errors
[INFO] [stderr] error: could not compile `rust_tutorial` (bin "data_types" test) due to 3 previous errors
[INFO] running `Command { std: "docker" "inspect" "79d65fdedddfd21279d6bcb121368437d37b2413679245c277ff43ab9ff2690a", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "79d65fdedddfd21279d6bcb121368437d37b2413679245c277ff43ab9ff2690a", kill_on_drop: false }`
[INFO] [stdout] 79d65fdedddfd21279d6bcb121368437d37b2413679245c277ff43ab9ff2690a
