[INFO] cloning repository https://github.com/theatlasroom/rust-learning [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/theatlasroom/rust-learning" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftheatlasroom%2Frust-learning", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftheatlasroom%2Frust-learning'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 7d4a390a3ace3085dbcc821e2fb7899f7a668a1c [INFO] checking theatlasroom/rust-learning against try#5d9095c550fcec9e458ce8d6b0c04a217641db66 for pr-77153 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftheatlasroom%2Frust-learning" "/workspace/builds/worker-4/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/theatlasroom/rust-learning on toolchain 5d9095c550fcec9e458ce8d6b0c04a217641db66 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+5d9095c550fcec9e458ce8d6b0c04a217641db66" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/theatlasroom/rust-learning [INFO] finished tweaking git repo https://github.com/theatlasroom/rust-learning [INFO] tweaked toml for git repo https://github.com/theatlasroom/rust-learning written to /workspace/builds/worker-4/source/Cargo.toml [INFO] crate git repo https://github.com/theatlasroom/rust-learning already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+5d9095c550fcec9e458ce8d6b0c04a217641db66" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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" "rustops/crates-build-env@sha256:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+5d9095c550fcec9e458ce8d6b0c04a217641db66" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 0447ac1ba6b02ab891f3493f378f7060878f6f5a2ac668377b13bf93a63f199c [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" "0447ac1ba6b02ab891f3493f378f7060878f6f5a2ac668377b13bf93a63f199c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "0447ac1ba6b02ab891f3493f378f7060878f6f5a2ac668377b13bf93a63f199c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0447ac1ba6b02ab891f3493f378f7060878f6f5a2ac668377b13bf93a63f199c", kill_on_drop: false }` [INFO] [stdout] 0447ac1ba6b02ab891f3493f378f7060878f6f5a2ac668377b13bf93a63f199c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+5d9095c550fcec9e458ce8d6b0c04a217641db66" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e961b59033f25e9c8b3b27eaa581426c80d22949ca14d10e4b39beadf207f57a [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" "e961b59033f25e9c8b3b27eaa581426c80d22949ca14d10e4b39beadf207f57a", kill_on_drop: false }` [INFO] [stderr] Checking libc v0.2.20 [INFO] [stderr] Checking rand v0.3.15 [INFO] [stderr] Checking learning v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0530]: match bindings cannot shadow tuple variants [INFO] [stdout] --> src/bin/file_io.rs:28:9 [INFO] [stdout] | [INFO] [stdout] 28 | Err => println!("Error\n{:?}", handle), [INFO] [stdout] | ^^^ cannot be named the same as a tuple variant [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0601]: `main` function not found in crate `text_in_file` [INFO] [stdout] | [INFO] [stdout] = note: consider adding a `main` function to `src/bin/text_in_file.rs` [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 E0601`. [INFO] [stdout] [INFO] [stderr] error: could not compile `learning` [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] error[E0530]: match bindings cannot shadow tuple variants [INFO] [stdout] --> src/bin/file_io.rs:28:9 [INFO] [stdout] | [INFO] [stdout] 28 | Err => println!("Error\n{:?}", handle), [INFO] [stdout] | ^^^ cannot be named the same as a tuple variant [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `handle` in this scope [INFO] [stdout] --> src/bin/file_io.rs:28:40 [INFO] [stdout] | [INFO] [stdout] 28 | Err => println!("Error\n{:?}", handle), [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `handle` in this scope [INFO] [stdout] --> src/bin/file_io.rs:28:40 [INFO] [stdout] | [INFO] [stdout] 28 | Err => println!("Error\n{:?}", handle), [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/bin/file_io.rs:27:9 [INFO] [stdout] | [INFO] [stdout] 26 | let mut handle = match fs::File::open(f){ [INFO] [stdout] | ----------------- this expression has type `std::result::Result` [INFO] [stdout] 27 | Some(handle) => println!("File\n{:?}", handle), [INFO] [stdout] | ^^^^^^^^^^^^ expected enum `std::result::Result`, found enum `Option` [INFO] [stdout] | [INFO] [stdout] = note: expected enum `std::result::Result` [INFO] [stdout] found enum `Option<_>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/bin/file_io.rs:27:9 [INFO] [stdout] | [INFO] [stdout] 26 | let mut handle = match fs::File::open(f){ [INFO] [stdout] | ----------------- this expression has type `std::result::Result` [INFO] [stdout] 27 | Some(handle) => println!("File\n{:?}", handle), [INFO] [stdout] | ^^^^^^^^^^^^ expected enum `std::result::Result`, found enum `Option` [INFO] [stdout] | [INFO] [stdout] = note: expected enum `std::result::Result` [INFO] [stdout] found enum `Option<_>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0308, E0425, E0530. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0308, E0425, E0530. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "e961b59033f25e9c8b3b27eaa581426c80d22949ca14d10e4b39beadf207f57a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e961b59033f25e9c8b3b27eaa581426c80d22949ca14d10e4b39beadf207f57a", kill_on_drop: false }` [INFO] [stdout] e961b59033f25e9c8b3b27eaa581426c80d22949ca14d10e4b39beadf207f57a