[INFO] cloning repository https://github.com/nunzioono/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/nunzioono/rust_learning" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnunzioono%2Frust_learning", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnunzioono%2Frust_learning'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] acd95cbabf96d3fa30dc0db8e56f4cdce50166af [INFO] checking nunzioono/rust_learning against try#f16624c7fb52ccf15cd304a9728caf1ef4b9c0d2 for pr-156992 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnunzioono%2Frust_learning" "/workspace/builds/worker-4-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/nunzioono/rust_learning [INFO] finished tweaking git repo https://github.com/nunzioono/rust_learning [INFO] tweaked toml for git repo https://github.com/nunzioono/rust_learning written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/nunzioono/rust_learning on toolchain f16624c7fb52ccf15cd304a9728caf1ef4b9c0d2 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f16624c7fb52ccf15cd304a9728caf1ef4b9c0d2" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/nunzioono/rust_learning 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" "+f16624c7fb52ccf15cd304a9728caf1ef4b9c0d2" "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-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+f16624c7fb52ccf15cd304a9728caf1ef4b9c0d2" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] d0c7695b8e1f35611e3a8ec281c2971a01ff0ba9a9575be94dc3d8ba7999c2a1 [INFO] running `Command { std: "docker" "start" "-a" "d0c7695b8e1f35611e3a8ec281c2971a01ff0ba9a9575be94dc3d8ba7999c2a1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d0c7695b8e1f35611e3a8ec281c2971a01ff0ba9a9575be94dc3d8ba7999c2a1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d0c7695b8e1f35611e3a8ec281c2971a01ff0ba9a9575be94dc3d8ba7999c2a1", kill_on_drop: false }` [INFO] [stdout] d0c7695b8e1f35611e3a8ec281c2971a01ff0ba9a9575be94dc3d8ba7999c2a1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+f16624c7fb52ccf15cd304a9728caf1ef4b9c0d2" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c69098f714947b596f6ac08d8df9f4474a909fa85b20638671b0f546ab0b9a35 [INFO] running `Command { std: "docker" "start" "-a" "c69098f714947b596f6ac08d8df9f4474a909fa85b20638671b0f546ab0b9a35", kill_on_drop: false }` [INFO] [stderr] Checking esercizi_malnati v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0601]: `main` function not found in crate `2_language` [INFO] [stdout] --> src/bin/2-language.rs:226:24 [INFO] [stdout] | [INFO] [stdout] 226 | // lower_snake_case. [INFO] [stdout] | ^ consider adding a `main` function to `src/bin/2-language.rs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0601`. [INFO] [stdout] [INFO] [stdout] error[E0601]: `main` function not found in crate `0_allocation` [INFO] [stdout] --> src/bin/0-allocation.rs:138:40 [INFO] [stdout] | [INFO] [stdout] 138 | // referencing memory in a risky way. [INFO] [stdout] | ^ consider adding a `main` function to `src/bin/0-allocation.rs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0601`. [INFO] [stdout] [INFO] [stdout] error[E0601]: `main` function not found in crate `14_asynchronous_programming` [INFO] [stdout] --> src/bin/14-asynchronous_programming.rs:208:4 [INFO] [stdout] | [INFO] [stdout] 208 | // [INFO] [stdout] | ^ consider adding a `main` function to `src/bin/14-asynchronous_programming.rs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0601`. [INFO] [stdout] [INFO] [stderr] error: could not compile `esercizi_malnati` (bin "2-language") due to 1 previous error [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `esercizi_malnati` (bin "14-asynchronous_programming") due to 1 previous error [INFO] [stdout] error: expected identifier, found `<` [INFO] [stdout] --> src/bin/6-lifetimes.rs:69:7 [INFO] [stdout] | [INFO] [stdout] 69 | struct<'a, 'b> Point { [INFO] [stdout] | ^ expected identifier [INFO] [stdout] | [INFO] [stdout] help: place the generic parameter name after the struct name [INFO] [stdout] | [INFO] [stdout] 69 - struct<'a, 'b> Point { [INFO] [stdout] 69 + struct Point<'a, 'b> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `esercizi_malnati` (bin "0-allocation") due to 1 previous error [INFO] [stdout] error[E0601]: `main` function not found in crate `5_traits_generics` [INFO] [stdout] --> src/bin/5-traits_generics.rs:170:40 [INFO] [stdout] | [INFO] [stdout] 170 | // to be subtraits of each other tho). [INFO] [stdout] | ^ consider adding a `main` function to `src/bin/5-traits_generics.rs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0601]: `main` function not found in crate `1_rust` [INFO] [stdout] --> src/bin/1-rust.rs:232:2 [INFO] [stdout] | [INFO] [stdout] 232 | [INFO] [stdout] | ^ consider adding a `main` function to `src/bin/1-rust.rs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0601`. [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0601`. [INFO] [stdout] [INFO] [stdout] error[E0601]: `main` function not found in crate `4_composite_types` [INFO] [stdout] --> src/bin/4-composite_types.rs:191:96 [INFO] [stdout] | [INFO] [stdout] 191 | // Litterally unions have same utility of enums while enum provide modern and better features. [INFO] [stdout] | ^ consider adding a `main` function to `src/bin/4-composite_types.rs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0601`. [INFO] [stdout] [INFO] [stderr] error: could not compile `esercizi_malnati` (bin "6-lifetimes" test) due to 1 previous error [INFO] [stderr] error: could not compile `esercizi_malnati` (bin "5-traits_generics") due to 1 previous error [INFO] [stderr] error: could not compile `esercizi_malnati` (bin "1-rust") due to 1 previous error [INFO] [stderr] error: could not compile `esercizi_malnati` (bin "4-composite_types") due to 1 previous error [INFO] running `Command { std: "docker" "inspect" "c69098f714947b596f6ac08d8df9f4474a909fa85b20638671b0f546ab0b9a35", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c69098f714947b596f6ac08d8df9f4474a909fa85b20638671b0f546ab0b9a35", kill_on_drop: false }` [INFO] [stdout] c69098f714947b596f6ac08d8df9f4474a909fa85b20638671b0f546ab0b9a35