[INFO] cloning repository https://github.com/pedro-stanaka/rustlings [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/pedro-stanaka/rustlings" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpedro-stanaka%2Frustlings", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpedro-stanaka%2Frustlings'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 3b3c6b469718014402765175cbf33b6400bc12e8 [INFO] checking pedro-stanaka/rustlings against try#5d96fa0e954d77528204a1ba3b8847ec083c779b for pr-153457 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpedro-stanaka%2Frustlings" "/workspace/builds/worker-0-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/pedro-stanaka/rustlings [INFO] finished tweaking git repo https://github.com/pedro-stanaka/rustlings [INFO] tweaked toml for git repo https://github.com/pedro-stanaka/rustlings written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/pedro-stanaka/rustlings on toolchain 5d96fa0e954d77528204a1ba3b8847ec083c779b [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+5d96fa0e954d77528204a1ba3b8847ec083c779b" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+5d96fa0e954d77528204a1ba3b8847ec083c779b" "generate-lockfile" "--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: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+5d96fa0e954d77528204a1ba3b8847ec083c779b" "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-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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" "+5d96fa0e954d77528204a1ba3b8847ec083c779b" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 81040718739b77680201647e09ea7bd13e3b4685d860c2edd236ae8711010061 [INFO] running `Command { std: "docker" "start" "-a" "81040718739b77680201647e09ea7bd13e3b4685d860c2edd236ae8711010061", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "81040718739b77680201647e09ea7bd13e3b4685d860c2edd236ae8711010061", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "81040718739b77680201647e09ea7bd13e3b4685d860c2edd236ae8711010061", kill_on_drop: false }` [INFO] [stdout] 81040718739b77680201647e09ea7bd13e3b4685d860c2edd236ae8711010061 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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" "+5d96fa0e954d77528204a1ba3b8847ec083c779b" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 4bb7db4e7a74cfc32d14f9838feecf43337379c0acce1e70374a5b0a014eb8fe [INFO] running `Command { std: "docker" "start" "-a" "4bb7db4e7a74cfc32d14f9838feecf43337379c0acce1e70374a5b0a014eb8fe", kill_on_drop: false }` [INFO] [stderr] Checking exercises v0.0.0 (/opt/rustwide/workdir) [INFO] [stdout] error: expected identifier, found `)` [INFO] [stdout] --> exercises/15_traits/traits5.rs:22:23 [INFO] [stdout] | [INFO] [stdout] 22 | fn some_func(item: ???) -> bool { [INFO] [stdout] | ^ expected identifier [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused macro definition: `my_macro` [INFO] [stdout] --> exercises/21_macros/macros1.rs:1:14 [INFO] [stdout] | [INFO] [stdout] 1 | macro_rules! my_macro { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_macros)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0423]: expected function, found macro `my_macro` [INFO] [stdout] --> exercises/21_macros/macros1.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | my_macro(); [INFO] [stdout] | ^^^^^^^^ not a function [INFO] [stdout] | [INFO] [stdout] help: use `!` to invoke the macro [INFO] [stdout] | [INFO] [stdout] 9 | my_macro!(); [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `item` in this scope [INFO] [stdout] --> exercises/15_traits/traits5.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 23 | item.some_function() && item.other_function() [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `item` in this scope [INFO] [stdout] --> exercises/15_traits/traits5.rs:23:29 [INFO] [stdout] | [INFO] [stdout] 23 | item.some_function() && item.other_function() [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0423`. [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0425`. [INFO] [stdout] [INFO] [stderr] error: could not compile `exercises` (bin "traits5" test) due to 3 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `exercises` (bin "macros1") due to 1 previous error; 1 warning emitted [INFO] [stderr] error: could not compile `exercises` (bin "try_from_into") due to 3 previous errors [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> exercises/23_conversions/try_from_into.rs:31:44 [INFO] [stdout] | [INFO] [stdout] 31 | fn try_from(tuple: (i16, i16, i16)) -> Result {} [INFO] [stdout] | -------- ^^^^^^^^^^^^^^^^^^^^^^^^^ expected `Result`, found `()` [INFO] [stdout] | | [INFO] [stdout] | implicitly returns `()` as its body has no tail or `return` expression [INFO] [stdout] | [INFO] [stdout] = note: expected enum `Result` [INFO] [stdout] found unit type `()` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> exercises/23_conversions/try_from_into.rs:38:35 [INFO] [stdout] | [INFO] [stdout] 38 | fn try_from(arr: [i16; 3]) -> Result {} [INFO] [stdout] | -------- ^^^^^^^^^^^^^^^^^^^^^^^^^ expected `Result`, found `()` [INFO] [stdout] | | [INFO] [stdout] | implicitly returns `()` as its body has no tail or `return` expression [INFO] [stdout] | [INFO] [stdout] = note: expected enum `Result` [INFO] [stdout] found unit type `()` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> exercises/23_conversions/try_from_into.rs:46:35 [INFO] [stdout] | [INFO] [stdout] 46 | fn try_from(slice: &[i16]) -> Result {} [INFO] [stdout] | -------- ^^^^^^^^^^^^^^^^^^^^^^^^^ expected `Result`, found `()` [INFO] [stdout] | | [INFO] [stdout] | implicitly returns `()` as its body has no tail or `return` expression [INFO] [stdout] | [INFO] [stdout] = note: expected enum `Result` [INFO] [stdout] found unit type `()` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stdout] error: expected identifier, found `,` [INFO] [stdout] --> exercises/15_traits/traits4.rs:14:40 [INFO] [stdout] | [INFO] [stdout] 14 | fn compare_license_types(software1: ???, software2: ???) -> bool { [INFO] [stdout] | ^ expected identifier [INFO] [stdout] | [INFO] [stdout] help: remove this comma [INFO] [stdout] | [INFO] [stdout] 14 - fn compare_license_types(software1: ???, software2: ???) -> bool { [INFO] [stdout] 14 + fn compare_license_types(software1: ??? software2: ???) -> bool { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected a trait, found type [INFO] [stdout] --> exercises/15_traits/traits4.rs:14:39 [INFO] [stdout] | [INFO] [stdout] 14 | fn compare_license_types(software1: ???, software2: ???) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected identifier, found `)` [INFO] [stdout] --> exercises/15_traits/traits4.rs:14:56 [INFO] [stdout] | [INFO] [stdout] 14 | fn compare_license_types(software1: ???, software2: ???) -> bool { [INFO] [stdout] | ^ expected identifier [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `my_macro` in this scope [INFO] [stdout] --> exercises/21_macros/macros2.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | my_macro!(); [INFO] [stdout] | ^^^^^^^^ consider moving the definition of `my_macro` before this call [INFO] [stdout] | [INFO] [stdout] note: a macro with the same name exists, but it appears later [INFO] [stdout] --> exercises/21_macros/macros2.rs:6:14 [INFO] [stdout] | [INFO] [stdout] 6 | macro_rules! my_macro { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused macro definition: `my_macro` [INFO] [stdout] --> exercises/21_macros/macros2.rs:6:14 [INFO] [stdout] | [INFO] [stdout] 6 | macro_rules! my_macro { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_macros)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `fill_vec` is never used [INFO] [stdout] --> exercises/06_move_semantics/move_semantics2.rs:1:4 [INFO] [stdout] | [INFO] [stdout] 1 | fn fill_vec(vec: Vec) -> Vec { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `exercises` (bin "macros2") due to 1 previous error; 1 warning emitted [INFO] [stdout] error[E0425]: cannot find value `software1` in this scope [INFO] [stdout] --> exercises/15_traits/traits4.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | software1.licensing_info() == software2.licensing_info() [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `software2` in this scope [INFO] [stdout] --> exercises/15_traits/traits4.rs:15:35 [INFO] [stdout] | [INFO] [stdout] 15 | software1.licensing_info() == software2.licensing_info() [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0425`. [INFO] [stdout] [INFO] [stderr] error: could not compile `exercises` (bin "traits4" test) due to 5 previous errors [INFO] running `Command { std: "docker" "inspect" "4bb7db4e7a74cfc32d14f9838feecf43337379c0acce1e70374a5b0a014eb8fe", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4bb7db4e7a74cfc32d14f9838feecf43337379c0acce1e70374a5b0a014eb8fe", kill_on_drop: false }` [INFO] [stdout] 4bb7db4e7a74cfc32d14f9838feecf43337379c0acce1e70374a5b0a014eb8fe