[INFO] updating cached repository https://github.com/TheAlphaKarp/rust_language_practice [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "-c" "remote.origin.fetch=refs/heads/*:refs/heads/*" "fetch" "origin" "--force" "--prune", kill_on_drop: false }` [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 123d73356a78ac78770279a83a81222be14c2365 [INFO] testing TheAlphaKarp/rust_language_practice against beta-2020-07-24 for beta-1.46-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FTheAlphaKarp%2Frust_language_practice" "/workspace/builds/worker-6/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/TheAlphaKarp/rust_language_practice on toolchain beta-2020-07-24 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2020-07-24" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/TheAlphaKarp/rust_language_practice [INFO] finished tweaking git repo https://github.com/TheAlphaKarp/rust_language_practice [INFO] tweaked toml for git repo https://github.com/TheAlphaKarp/rust_language_practice written to /workspace/builds/worker-6/source/Cargo.toml [INFO] crate git repo https://github.com/TheAlphaKarp/rust_language_practice already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2020-07-24" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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" "MAP_USER_ID=0" "-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" "--network" "none" "rustops/crates-build-env@sha256:a636fd89d022f18117e1dc8fb37a0a009933cdbbe082814857f0e2024962d47c" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2020-07-24" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 0fde799d1ca2e8c1f1c4167c8b52f585e5e6f477587c22d179d159bb7cfb94b6 [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" "0fde799d1ca2e8c1f1c4167c8b52f585e5e6f477587c22d179d159bb7cfb94b6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "0fde799d1ca2e8c1f1c4167c8b52f585e5e6f477587c22d179d159bb7cfb94b6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0fde799d1ca2e8c1f1c4167c8b52f585e5e6f477587c22d179d159bb7cfb94b6", kill_on_drop: false }` [INFO] [stdout] 0fde799d1ca2e8c1f1c4167c8b52f585e5e6f477587c22d179d159bb7cfb94b6 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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" "MAP_USER_ID=0" "-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" "--network" "none" "rustops/crates-build-env@sha256:a636fd89d022f18117e1dc8fb37a0a009933cdbbe082814857f0e2024962d47c" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2020-07-24" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 1c359fb90f1f3ded899a77fa30816864291f9ec07d0bccf2cb42a46687054112 [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" "1c359fb90f1f3ded899a77fa30816864291f9ec07d0bccf2cb42a46687054112", kill_on_drop: false }` [INFO] [stderr] Compiling getrandom v0.1.14 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling Raptor v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/bin/functions.rs:10:41 [INFO] [stdout] | [INFO] [stdout] 10 | fn add(number_1: i32, number_2: i32) -> i32 { [INFO] [stdout] | --- ^^^ expected `i32`, found `()` [INFO] [stdout] | | [INFO] [stdout] | implicitly returns `()` as its body has no tail or `return` expression [INFO] [stdout] 11 | // statement -> no return [INFO] [stdout] 12 | number_1 + number_2; [INFO] [stdout] | - help: consider removing this semicolon [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 E0308`. [INFO] [stdout] [INFO] [stderr] error: could not compile `Raptor`. [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] [stdout] warning: unused variable: `age` [INFO] [stdout] --> src/bin/variables.rs:2:9 [INFO] [stdout] | [INFO] [stdout] 2 | let age = 32; [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_age` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `name` [INFO] [stdout] --> src/bin/variables.rs:3:9 [INFO] [stdout] | [INFO] [stdout] 3 | let mut name = "Karp"; [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `y` [INFO] [stdout] --> src/bin/variables.rs:7:12 [INFO] [stdout] | [INFO] [stdout] 7 | let (x,y,z) = tup; [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_y` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `z` [INFO] [stdout] --> src/bin/variables.rs:7:14 [INFO] [stdout] | [INFO] [stdout] 7 | let (x,y,z) = tup; [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_z` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `number` [INFO] [stdout] --> src/bin/control_flow.rs:19:9 [INFO] [stdout] | [INFO] [stdout] 19 | for number in (1..4).rev() { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_number` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/bin/variables.rs:3:9 [INFO] [stdout] | [INFO] [stdout] 3 | let mut name = "Karp"; [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: constant is never used: `BIRTHDAY` [INFO] [stdout] --> src/bin/variables.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | const BIRTHDAY: &str = "1998"; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this operation will panic at runtime [INFO] [stdout] --> src/bin/variables.rs:15:35 [INFO] [stdout] | [INFO] [stdout] 15 | println!("Element value: {}", a[index]); [INFO] [stdout] | ^^^^^^^^ index out of bounds: the len is 5 but the index is 10 [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unconditional_panic)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0435]: attempt to use a non-constant value in a constant [INFO] [stdout] --> src/bin/ownership.rs:30:26 [INFO] [stdout] | [INFO] [stdout] 30 | const BYTES: &[u8] = s.as_bytes(); [INFO] [stdout] | ^ non-constant value [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `bytes` in this scope [INFO] [stdout] --> src/bin/ownership.rs:32:23 [INFO] [stdout] | [INFO] [stdout] 32 | for (i, &item) in bytes.iter().enumerate() { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `Rectange` in this scope [INFO] [stdout] --> src/bin/structs.rs:19:9 [INFO] [stdout] | [INFO] [stdout] 2 | struct Rectangle { [INFO] [stdout] | ---------------- similarly named struct `Rectangle` defined here [INFO] [stdout] ... [INFO] [stdout] 19 | Rectange { [INFO] [stdout] | ^^^^^^^^ help: a struct with a similar name exists: `Rectangle` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0435. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [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 E0422`. [INFO] [stdout] [INFO] [stdout] warning: 7 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "1c359fb90f1f3ded899a77fa30816864291f9ec07d0bccf2cb42a46687054112", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1c359fb90f1f3ded899a77fa30816864291f9ec07d0bccf2cb42a46687054112", kill_on_drop: false }` [INFO] [stdout] 1c359fb90f1f3ded899a77fa30816864291f9ec07d0bccf2cb42a46687054112