[INFO] cloning repository https://github.com/oskrgab/rustlings [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/oskrgab/rustlings" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Foskrgab%2Frustlings", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Foskrgab%2Frustlings'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] aa040e43702c3f73aaa8b9a0e4ff03108612807b [INFO] building oskrgab/rustlings against try#d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6 for pr-146237-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Foskrgab%2Frustlings" "/workspace/builds/worker-5-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc2/source'... [INFO] [stderr] done. [INFO] removed /workspace/builds/worker-5-tc2/source/.cargo/config.toml [INFO] started tweaking git repo https://github.com/oskrgab/rustlings [INFO] finished tweaking git repo https://github.com/oskrgab/rustlings [INFO] tweaked toml for git repo https://github.com/oskrgab/rustlings written to /workspace/builds/worker-5-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/oskrgab/rustlings on toolchain d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/oskrgab/rustlings 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" "+d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6" "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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 484e9504f837bce88135be46c87d04bde493037090014a28730393dbfe6d8686 [INFO] running `Command { std: "docker" "start" "-a" "484e9504f837bce88135be46c87d04bde493037090014a28730393dbfe6d8686", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "484e9504f837bce88135be46c87d04bde493037090014a28730393dbfe6d8686", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "484e9504f837bce88135be46c87d04bde493037090014a28730393dbfe6d8686", kill_on_drop: false }` [INFO] [stdout] 484e9504f837bce88135be46c87d04bde493037090014a28730393dbfe6d8686 [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=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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 9982a65cec39840cff1ead508bc9e8685097b6f47ba74d5c2730df8e8876f3a1 [INFO] running `Command { std: "docker" "start" "-a" "9982a65cec39840cff1ead508bc9e8685097b6f47ba74d5c2730df8e8876f3a1", kill_on_drop: false }` [INFO] [stderr] Compiling 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] error[E0061]: this function takes 0 arguments but 1 argument was supplied [INFO] [stdout] --> exercises/09_strings/strings4.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | placeholder("blue"); [INFO] [stdout] | ^^^^^^^^^^^ ------ unexpected argument of type `&'static str` [INFO] [stdout] | [INFO] [stdout] note: function defined here [INFO] [stdout] --> exercises/09_strings/strings4.rs:2:4 [INFO] [stdout] | [INFO] [stdout] 2 | fn placeholder() {} [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] help: remove the extra argument [INFO] [stdout] | [INFO] [stdout] 16 - placeholder("blue"); [INFO] [stdout] 16 + placeholder(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `name` in this scope [INFO] [stdout] --> exercises/04_primitive_types/primitive_types5.rs:7:16 [INFO] [stdout] | [INFO] [stdout] 7 | println!("{name} is {age} years old"); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0106]: missing lifetime specifier [INFO] [stdout] --> exercises/16_lifetimes/lifetimes1.rs:7:33 [INFO] [stdout] | [INFO] [stdout] 7 | fn longest(x: &str, y: &str) -> &str { [INFO] [stdout] | ---- ---- ^ expected named lifetime parameter [INFO] [stdout] | [INFO] [stdout] = help: this function's return type contains a borrowed value, but the signature does not say whether it is borrowed from `x` or `y` [INFO] [stdout] help: consider introducing a named lifetime parameter [INFO] [stdout] | [INFO] [stdout] 7 | fn longest<'a>(x: &'a str, y: &'a str) -> &'a str { [INFO] [stdout] | ++++ ++ ++ ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0106`. [INFO] [stdout] [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[E0061]: this function takes 0 arguments but 1 argument was supplied [INFO] [stdout] --> exercises/09_strings/strings4.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | placeholder("red".to_string()); [INFO] [stdout] | ^^^^^^^^^^^ ----------------- unexpected argument of type `String` [INFO] [stdout] | [INFO] [stdout] note: function defined here [INFO] [stdout] --> exercises/09_strings/strings4.rs:2:4 [INFO] [stdout] | [INFO] [stdout] 2 | fn placeholder() {} [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] help: remove the extra argument [INFO] [stdout] | [INFO] [stdout] 18 - placeholder("red".to_string()); [INFO] [stdout] 18 + placeholder(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 0 arguments but 1 argument was supplied [INFO] [stdout] --> exercises/09_strings/strings4.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 20 | placeholder(String::from("hi")); [INFO] [stdout] | ^^^^^^^^^^^ ------------------ unexpected argument of type `String` [INFO] [stdout] | [INFO] [stdout] note: function defined here [INFO] [stdout] --> exercises/09_strings/strings4.rs:2:4 [INFO] [stdout] | [INFO] [stdout] 2 | fn placeholder() {} [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] help: remove the extra argument [INFO] [stdout] | [INFO] [stdout] 20 - placeholder(String::from("hi")); [INFO] [stdout] 20 + placeholder(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 0 arguments but 1 argument was supplied [INFO] [stdout] --> exercises/09_strings/strings4.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 22 | placeholder("rust is fun!".to_owned()); [INFO] [stdout] | ^^^^^^^^^^^ ------------------------- unexpected argument of type `String` [INFO] [stdout] | [INFO] [stdout] note: function defined here [INFO] [stdout] --> exercises/09_strings/strings4.rs:2:4 [INFO] [stdout] | [INFO] [stdout] 2 | fn placeholder() {} [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] help: remove the extra argument [INFO] [stdout] | [INFO] [stdout] 22 - placeholder("rust is fun!".to_owned()); [INFO] [stdout] 22 + placeholder(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 0 arguments but 1 argument was supplied [INFO] [stdout] --> exercises/09_strings/strings4.rs:24:5 [INFO] [stdout] | [INFO] [stdout] 24 | placeholder("nice weather".into()); [INFO] [stdout] | ^^^^^^^^^^^ --------------------- unexpected argument [INFO] [stdout] | [INFO] [stdout] note: function defined here [INFO] [stdout] --> exercises/09_strings/strings4.rs:2:4 [INFO] [stdout] | [INFO] [stdout] 2 | fn placeholder() {} [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] help: remove the extra argument [INFO] [stdout] | [INFO] [stdout] 24 - placeholder("nice weather".into()); [INFO] [stdout] 24 + placeholder(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 0 arguments but 1 argument was supplied [INFO] [stdout] --> exercises/09_strings/strings4.rs:26:5 [INFO] [stdout] | [INFO] [stdout] 26 | placeholder(format!("Interpolation {}", "Station")); [INFO] [stdout] | ^^^^^^^^^^^ -------------------------------------- unexpected argument of type `String` [INFO] [stdout] | [INFO] [stdout] note: function defined here [INFO] [stdout] --> exercises/09_strings/strings4.rs:2:4 [INFO] [stdout] | [INFO] [stdout] 2 | fn placeholder() {} [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] help: remove the extra argument [INFO] [stdout] | [INFO] [stdout] 26 - placeholder(format!("Interpolation {}", "Station")); [INFO] [stdout] 26 + placeholder(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `age` in this scope [INFO] [stdout] --> exercises/04_primitive_types/primitive_types5.rs:7:26 [INFO] [stdout] | [INFO] [stdout] 7 | println!("{name} is {age} years old"); [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 0 arguments but 1 argument was supplied [INFO] [stdout] --> exercises/09_strings/strings4.rs:30:5 [INFO] [stdout] | [INFO] [stdout] 30 | placeholder(&String::from("abc")[0..1]); [INFO] [stdout] | ^^^^^^^^^^^ -------------------------- unexpected argument of type `&str` [INFO] [stdout] | [INFO] [stdout] note: function defined here [INFO] [stdout] --> exercises/09_strings/strings4.rs:2:4 [INFO] [stdout] | [INFO] [stdout] 2 | fn placeholder() {} [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] help: remove the extra argument [INFO] [stdout] | [INFO] [stdout] 30 - placeholder(&String::from("abc")[0..1]); [INFO] [stdout] 30 + placeholder(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 0 arguments but 1 argument was supplied [INFO] [stdout] --> exercises/09_strings/strings4.rs:32:5 [INFO] [stdout] | [INFO] [stdout] 32 | placeholder(" hello there ".trim()); [INFO] [stdout] | ^^^^^^^^^^^ ----------------------- unexpected argument of type `&str` [INFO] [stdout] | [INFO] [stdout] note: function defined here [INFO] [stdout] --> exercises/09_strings/strings4.rs:2:4 [INFO] [stdout] | [INFO] [stdout] 2 | fn placeholder() {} [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] help: remove the extra argument [INFO] [stdout] | [INFO] [stdout] 32 - placeholder(" hello there ".trim()); [INFO] [stdout] 32 + placeholder(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 0 arguments but 1 argument was supplied [INFO] [stdout] --> exercises/09_strings/strings4.rs:34:5 [INFO] [stdout] | [INFO] [stdout] 34 | placeholder("Happy Monday!".replace("Mon", "Tues")); [INFO] [stdout] | ^^^^^^^^^^^ -------------------------------------- unexpected argument of type `String` [INFO] [stdout] | [INFO] [stdout] note: function defined here [INFO] [stdout] --> exercises/09_strings/strings4.rs:2:4 [INFO] [stdout] | [INFO] [stdout] 2 | fn placeholder() {} [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] help: remove the extra argument [INFO] [stdout] | [INFO] [stdout] 34 - placeholder("Happy Monday!".replace("Mon", "Tues")); [INFO] [stdout] 34 + placeholder(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 0 arguments but 1 argument was supplied [INFO] [stdout] --> exercises/09_strings/strings4.rs:36:5 [INFO] [stdout] | [INFO] [stdout] 36 | placeholder("mY sHiFt KeY iS sTiCkY".to_lowercase()); [INFO] [stdout] | ^^^^^^^^^^^ --------------------------------------- unexpected argument of type `String` [INFO] [stdout] | [INFO] [stdout] note: function defined here [INFO] [stdout] --> exercises/09_strings/strings4.rs:2:4 [INFO] [stdout] | [INFO] [stdout] 2 | fn placeholder() {} [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] help: remove the extra argument [INFO] [stdout] | [INFO] [stdout] 36 - placeholder("mY sHiFt KeY iS sTiCkY".to_lowercase()); [INFO] [stdout] 36 + placeholder(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0425`. [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] [stderr] error: could not compile `exercises` (bin "lifetimes1") due to 1 previous error [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] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] For more information about this error, try `rustc --explain E0425`. [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] [stderr] error: could not compile `exercises` (bin "primitive_types5") due to 2 previous errors [INFO] [stderr] error: could not compile `exercises` (bin "traits5") due to 3 previous errors [INFO] [stderr] error: could not compile `exercises` (bin "try_from_into") due to 3 previous errors [INFO] [stdout] error[E0425]: cannot find value `basket` in this scope [INFO] [stdout] --> exercises/11_hashmaps/hashmaps1.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | basket.insert(String::from("banana"), 2); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `basket` in this scope [INFO] [stdout] --> exercises/11_hashmaps/hashmaps1.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | basket [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 "hashmaps1") due to 2 previous errors [INFO] [stderr] error: could not compile `exercises` (bin "strings4") due to 10 previous errors [INFO] [stdout] For more information about this error, try `rustc --explain E0061`. [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "9982a65cec39840cff1ead508bc9e8685097b6f47ba74d5c2730df8e8876f3a1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9982a65cec39840cff1ead508bc9e8685097b6f47ba74d5c2730df8e8876f3a1", kill_on_drop: false }` [INFO] [stdout] 9982a65cec39840cff1ead508bc9e8685097b6f47ba74d5c2730df8e8876f3a1