[INFO] cloning repository https://github.com/harismuzaffer/rustsnippets
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/harismuzaffer/rustsnippets" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fharismuzaffer%2Frustsnippets", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fharismuzaffer%2Frustsnippets'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 84b08491b3d1d441631532a30902bad1deec784b
[INFO] testing harismuzaffer/rustsnippets against beta-2023-04-20 for beta-1.70-1
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fharismuzaffer%2Frustsnippets" "/workspace/builds/worker-5-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc2/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/harismuzaffer/rustsnippets on toolchain beta-2023-04-20
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+beta-2023-04-20" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking git repo https://github.com/harismuzaffer/rustsnippets
[INFO] finished tweaking git repo https://github.com/harismuzaffer/rustsnippets
[INFO] tweaked toml for git repo https://github.com/harismuzaffer/rustsnippets written to /workspace/builds/worker-5-tc2/source/Cargo.toml
[INFO] crate git repo https://github.com/harismuzaffer/rustsnippets 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" "+beta-2023-04-20" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:5ff2268d62e97bff2cde7d5815dd6ed5b47097566f13b8d0ca110b04b60e07ed" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2023-04-20" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] d9d306ea84f2e3b0dce803b65493f0057cfa2ca3b9acd06f5a3acc3a2574031e
[INFO] running `Command { std: "docker" "start" "-a" "d9d306ea84f2e3b0dce803b65493f0057cfa2ca3b9acd06f5a3acc3a2574031e", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "d9d306ea84f2e3b0dce803b65493f0057cfa2ca3b9acd06f5a3acc3a2574031e", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "d9d306ea84f2e3b0dce803b65493f0057cfa2ca3b9acd06f5a3acc3a2574031e", kill_on_drop: false }`
[INFO] [stdout] d9d306ea84f2e3b0dce803b65493f0057cfa2ca3b9acd06f5a3acc3a2574031e
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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=warn" "-e" "RUSTDOCFLAGS=--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:5ff2268d62e97bff2cde7d5815dd6ed5b47097566f13b8d0ca110b04b60e07ed" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2023-04-20" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 91f429c2c1429af6a41f3ff63d45ae102262951515ce7dcff0a54191cb4e347f
[INFO] running `Command { std: "docker" "start" "-a" "91f429c2c1429af6a41f3ff63d45ae102262951515ce7dcff0a54191cb4e347f", kill_on_drop: false }`
[INFO] [stderr]    Compiling libc v0.2.77
[INFO] [stderr]    Compiling rand_core v0.4.2
[INFO] [stderr]    Compiling rand_core v0.3.1
[INFO] [stderr]    Compiling rand v0.5.6
[INFO] [stderr]    Compiling learningrust v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unnecessary parentheses around assigned value
[INFO] [stdout]  --> src/expressions.rs:5:17
[INFO] [stdout]   |
[INFO] [stdout] 5 |         let a = (78 - 10); 
[INFO] [stdout]   |                 ^       ^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_parens)]` on by default
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]   |
[INFO] [stdout] 5 -         let a = (78 - 10); 
[INFO] [stdout] 5 +         let a = 78 - 10; 
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around assigned value
[INFO] [stdout]   --> src/expressions.rs:10:17
[INFO] [stdout]    |
[INFO] [stdout] 10 |         let a = (56 * 2); // a statemnt
[INFO] [stdout]    |                 ^      ^
[INFO] [stdout]    |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]    |
[INFO] [stdout] 10 -         let a = (56 * 2); // a statemnt
[INFO] [stdout] 10 +         let a = 56 * 2; // a statemnt
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `slice`
[INFO] [stdout]   --> src/main.rs:88:13
[INFO] [stdout]    |
[INFO] [stdout] 88 |             slice::from_raw_parts_mut(ptr, mid),
[INFO] [stdout]    |             ^^^^^ use of undeclared crate or module `slice`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `slice`
[INFO] [stdout]   --> src/main.rs:89:13
[INFO] [stdout]    |
[INFO] [stdout] 89 |             slice::from_raw_parts_mut(ptr.add(mid), len - mid),
[INFO] [stdout]    |             ^^^^^ use of undeclared crate or module `slice`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 2 previous errors; 2 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0433`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `learningrust` (bin "learningrust") due to 3 previous errors; 2 warnings emitted
[INFO] running `Command { std: "docker" "inspect" "91f429c2c1429af6a41f3ff63d45ae102262951515ce7dcff0a54191cb4e347f", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "91f429c2c1429af6a41f3ff63d45ae102262951515ce7dcff0a54191cb4e347f", kill_on_drop: false }`
[INFO] [stdout] 91f429c2c1429af6a41f3ff63d45ae102262951515ce7dcff0a54191cb4e347f
