[INFO] cloning repository https://github.com/khanra17/Rustlings [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/khanra17/Rustlings" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkhanra17%2FRustlings", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkhanra17%2FRustlings'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] f491fd67ef52f360ceb3801a16ade543d28f962f [INFO] testing khanra17/Rustlings against master#562dee4820c458d823175268e41601d4c060588a for pr-154210-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkhanra17%2FRustlings" "/workspace/builds/worker-6-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc1/source'... [INFO] [stderr] done. [INFO] removed /workspace/builds/worker-6-tc1/source/.cargo/config.toml [INFO] started tweaking git repo https://github.com/khanra17/Rustlings [INFO] finished tweaking git repo https://github.com/khanra17/Rustlings [INFO] tweaked toml for git repo https://github.com/khanra17/Rustlings written to /workspace/builds/worker-6-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/khanra17/Rustlings on toolchain 562dee4820c458d823175268e41601d4c060588a [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+562dee4820c458d823175268e41601d4c060588a" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/khanra17/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" "+562dee4820c458d823175268e41601d4c060588a" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: virtual workspace defaulting to `resolver = "1"` despite one or more workspace members being on edition 2021 which implies `resolver = "2"` [INFO] [stderr] | [INFO] [stderr] = note: to keep the current resolver, specify `workspace.resolver = "1"` in the workspace root's manifest [INFO] [stderr] = note: to use the edition 2021 resolver, specify `workspace.resolver = "2"` in the workspace root's manifest [INFO] [stderr] = note: for more details see https://doc.rust-lang.org/cargo/reference/resolver.html#resolver-versions [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded ryu v1.0.12 [INFO] [stderr] Downloaded itoa v1.0.5 [INFO] [stderr] Downloaded quote v1.0.23 [INFO] [stderr] Downloaded getrandom v0.2.8 [INFO] [stderr] Downloaded once_cell v1.16.0 [INFO] [stderr] Downloaded serde_derive v1.0.151 [INFO] [stderr] Downloaded serde v1.0.151 [INFO] [stderr] Downloaded escargot v0.5.7 [INFO] [stderr] Downloaded proc-macro2 v1.0.49 [INFO] [stderr] Downloaded unicode-ident v1.0.6 [INFO] [stderr] Downloaded serde_json v1.0.91 [INFO] [stderr] Downloaded syn v1.0.107 [INFO] [stderr] Downloaded libc v0.2.139 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/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" "+562dee4820c458d823175268e41601d4c060588a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] f26f33a117e04b0631448ef8166c210cc2e56f8e74a1662f72bd2c00c5a660c1 [INFO] running `Command { std: "docker" "start" "-a" "f26f33a117e04b0631448ef8166c210cc2e56f8e74a1662f72bd2c00c5a660c1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f26f33a117e04b0631448ef8166c210cc2e56f8e74a1662f72bd2c00c5a660c1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f26f33a117e04b0631448ef8166c210cc2e56f8e74a1662f72bd2c00c5a660c1", kill_on_drop: false }` [INFO] [stdout] f26f33a117e04b0631448ef8166c210cc2e56f8e74a1662f72bd2c00c5a660c1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/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" "+562dee4820c458d823175268e41601d4c060588a" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 1e2fd1839aaa1a859d12c2b6200fe9dca33b97c569ff7c81c6116078bfc3658b [INFO] running `Command { std: "docker" "start" "-a" "1e2fd1839aaa1a859d12c2b6200fe9dca33b97c569ff7c81c6116078bfc3658b", kill_on_drop: false }` [INFO] [stderr] warning: virtual workspace defaulting to `resolver = "1"` despite one or more workspace members being on edition 2021 which implies `resolver = "2"` [INFO] [stderr] | [INFO] [stderr] = note: to keep the current resolver, specify `workspace.resolver = "1"` in the workspace root's manifest [INFO] [stderr] = note: to use the edition 2021 resolver, specify `workspace.resolver = "2"` in the workspace root's manifest [INFO] [stderr] = note: for more details see https://doc.rust-lang.org/cargo/reference/resolver.html#resolver-versions [INFO] [stderr] Compiling proc-macro2 v1.0.49 [INFO] [stderr] Compiling quote v1.0.23 [INFO] [stderr] Compiling unicode-ident v1.0.6 [INFO] [stderr] Compiling syn v1.0.107 [INFO] [stderr] Compiling serde_derive v1.0.151 [INFO] [stderr] Compiling serde v1.0.151 [INFO] [stderr] Compiling log v0.4.17 [INFO] [stderr] Compiling serde_json v1.0.91 [INFO] [stderr] Compiling itoa v1.0.5 [INFO] [stderr] Compiling ryu v1.0.12 [INFO] [stderr] Compiling escargot v0.5.7 [INFO] [stderr] Compiling once_cell v1.16.0 [INFO] [stderr] Compiling libc v0.2.139 [INFO] [stderr] Compiling ppv-lite86 v0.2.17 [INFO] [stderr] Compiling hello_macro v0.1.0 (/opt/rustwide/workdir/Macros/Procedural Macros/hello_macro) [INFO] [stderr] Compiling errors5 v0.1.0 (/opt/rustwide/workdir/Error Handling/Errors Primer/Multiple Errors) [INFO] [stderr] Compiling using_as v0.1.0 (/opt/rustwide/workdir/Standard Library Types/Type Conversions/Using As) [INFO] [stderr] Compiling loop_over_vector_with_iterators v0.1.0 (/opt/rustwide/workdir/Standard Library Types/Iterators/Loop Over Vector With Iterators) [INFO] [stderr] Compiling count_progress v0.1.0 (/opt/rustwide/workdir/Standard Library Types/Iterators/Count Progress) [INFO] [stderr] Compiling build_team_scores_table v0.1.0 (/opt/rustwide/workdir/Common Collections/Hashmaps/Build Scores Table) [INFO] [stderr] Compiling vec_trait v0.1.0 (/opt/rustwide/workdir/Generic Types, Traits, and Lifetime/Traits/Vec Trait) [INFO] [stderr] Compiling declaring_a_hashmap v0.1.0 (/opt/rustwide/workdir/Common Collections/Hashmaps/Fruits Delivery) [INFO] [stderr] Compiling license_it v0.1.0 (/opt/rustwide/workdir/Generic Types, Traits, and Lifetime/Traits/License It) [INFO] [stderr] Compiling combine_traits v0.1.0 (/opt/rustwide/workdir/Generic Types, Traits, and Lifetime/Traits/Combine Traits) [INFO] [stderr] Compiling advanced_errors v0.1.0 (/opt/rustwide/workdir/Error Handling/Errors Primer/Advanced Errors) [INFO] [stderr] Compiling fromstr v0.1.0 (/opt/rustwide/workdir/Standard Library Types/Type Conversions/FromStr) [INFO] [stdout] warning: unused import: `ParseInt` [INFO] [stdout] --> Standard Library Types/Type Conversions/FromStr/src/lib.rs:4:54 [INFO] [stdout] | [INFO] [stdout] 4 | use crate::ParsePersonError::{BadLen, Empty, NoName, ParseInt}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling errors6 v0.1.0 (/opt/rustwide/workdir/Error Handling/Errors Primer/Custom Errors) [INFO] [stderr] Compiling capitalize_first v0.1.0 (/opt/rustwide/workdir/Standard Library Types/Iterators/Capitalize first) [INFO] [stderr] Compiling compare_licenses v0.1.0 (/opt/rustwide/workdir/Generic Types, Traits, and Lifetime/Traits/Compare Licenses) [INFO] [stderr] Compiling trait_bound_syntax v0.1.0 (/opt/rustwide/workdir/Generic Types, Traits, and Lifetime/Traits/Trait Bound Syntax) [INFO] [stderr] Compiling count_typed_cells v0.1.0 (/opt/rustwide/workdir/Common Collections/Vectors/Count Typed Cells) [INFO] [stderr] Compiling home_alone v0.1.0 (/opt/rustwide/workdir/Modules/Modules/Home Alone at Day X) [INFO] [stderr] Compiling string_transformer v0.1.0 (/opt/rustwide/workdir/Common Collections/Strings/String Transformer) [INFO] [stderr] Compiling modifying_a_hashmap v0.1.0 (/opt/rustwide/workdir/Common Collections/Hashmaps/More Fruits) [INFO] [stderr] Compiling string_trait v0.1.0 (/opt/rustwide/workdir/Generic Types, Traits, and Lifetime/Traits/String Trait) [INFO] [stderr] Compiling use_cow v0.1.0 (/opt/rustwide/workdir/Standard Library Types/Smart Pointers/Use Cow) [INFO] [stderr] Compiling declaring_a_vector v0.1.0 (/opt/rustwide/workdir/Common Collections/Vectors/Create a Vector on Your Own) [INFO] [stderr] Compiling trim_a_string v0.1.0 (/opt/rustwide/workdir/Understanding Ownership/The Slice Type/Trim a String) [INFO] [stderr] Compiling workers_in_the_engine v0.1.0 (/opt/rustwide/workdir/Standard Library Types/Smart Pointers/Workers in the Engine) [INFO] [stderr] Compiling advanced_errors_2 v0.1.0 (/opt/rustwide/workdir/Error Handling/Errors Primer/Advanced Errors 2) [INFO] [stderr] Compiling from_into v0.1.0 (/opt/rustwide/workdir/Standard Library Types/Type Conversions/From Into) [INFO] [stderr] Compiling generics_in_structs v0.1.0 (/opt/rustwide/workdir/Generic Types, Traits, and Lifetime/Generic Data Types/Generics in Structs) [INFO] [stderr] Compiling lamp_with_switchers v0.1.0 (/opt/rustwide/workdir/Standard Library Types/Smart Pointers/Switch the Lamp) [INFO] [stderr] Compiling box_task v0.1.0 (/opt/rustwide/workdir/Standard Library Types/Smart Pointers/Box Task) [INFO] [stderr] Compiling asref_and_asmut v0.1.0 (/opt/rustwide/workdir/Standard Library Types/Type Conversions/AsRef and AsMut) [INFO] [stdout] error[E0635]: unknown feature `proc_macro_span_shrink` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/proc-macro2-1.0.49/src/lib.rs:92:30 [INFO] [stdout] | [INFO] [stdout] 92 | feature(proc_macro_span, proc_macro_span_shrink) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: there is a feature with a similar name: `proc_macro_span_file` [INFO] [stdout] | [INFO] [stdout] 92 - feature(proc_macro_span, proc_macro_span_shrink) [INFO] [stdout] 92 + feature(proc_macro_span, proc_macro_span_file) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling process_some_strings v0.1.0 (/opt/rustwide/workdir/Common Collections/Strings/Process Some Strings) [INFO] [stderr] Compiling loop_over_a_vector v0.1.0 (/opt/rustwide/workdir/Common Collections/Vectors/Loop Over a Vector) [INFO] [stderr] Compiling try_from_into v0.1.0 (/opt/rustwide/workdir/Standard Library Types/Type Conversions/Try From Into) [INFO] [stderr] Compiling add_conditions v0.1.0 (/opt/rustwide/workdir/Common Programming Concepts/Conditions/Add Conditions) [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> Error Handling/Errors Primer/Advanced Errors 2/src/lib.rs:49:13 [INFO] [stdout] | [INFO] [stdout] 49 | _ => write!(f, "unhandled error!"), [INFO] [stdout] | ^ no value can reach this [INFO] [stdout] | [INFO] [stdout] note: multiple earlier patterns match some of the same values [INFO] [stdout] --> Error Handling/Errors Primer/Advanced Errors 2/src/lib.rs:49:13 [INFO] [stdout] | [INFO] [stdout] 44 | NoCity => write!(f, "no city name"), [INFO] [stdout] | ------ matches some of the same values [INFO] [stdout] 45 | Empty => write!(f, "empty input"), [INFO] [stdout] | ----- matches some of the same values [INFO] [stdout] 46 | BadLen => write!(f, "incorrect number of fields"), [INFO] [stdout] | ------ matches some of the same values [INFO] [stdout] 47 | ParseFloat(e) => write!(f, "error parsing temperature: {}", e), [INFO] [stdout] | ------------- matches some of the same values [INFO] [stdout] 48 | ParseInt(e) => write!(f, "error parsing year: {}", e), [INFO] [stdout] 49 | _ => write!(f, "unhandled error!"), [INFO] [stdout] | ^ ...and 1 other patterns collectively make this unreachable [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `TryInto` [INFO] [stdout] --> Standard Library Types/Type Conversions/Try From Into/src/lib.rs:1:29 [INFO] [stdout] | [INFO] [stdout] 1 | use std::convert::{TryFrom, TryInto}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0635`. [INFO] [stdout] [INFO] [stderr] error: could not compile `proc-macro2` (lib) due to 1 previous error [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] running `Command { std: "docker" "inspect" "1e2fd1839aaa1a859d12c2b6200fe9dca33b97c569ff7c81c6116078bfc3658b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1e2fd1839aaa1a859d12c2b6200fe9dca33b97c569ff7c81c6116078bfc3658b", kill_on_drop: false }` [INFO] [stdout] 1e2fd1839aaa1a859d12c2b6200fe9dca33b97c569ff7c81c6116078bfc3658b