[INFO] cloning repository https://github.com/SpaceUY/rustlings-trimmed-version [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/SpaceUY/rustlings-trimmed-version" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FSpaceUY%2Frustlings-trimmed-version", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FSpaceUY%2Frustlings-trimmed-version'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 499a649beba924406b4da49dd2c90172bd8dc345 [INFO] checking SpaceUY/rustlings-trimmed-version against try#b1f2594eac607c1f051534800237eeedb5590a49 for pr-139493-3 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FSpaceUY%2Frustlings-trimmed-version" "/workspace/builds/worker-1-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/SpaceUY/rustlings-trimmed-version [INFO] finished tweaking git repo https://github.com/SpaceUY/rustlings-trimmed-version [INFO] tweaked toml for git repo https://github.com/SpaceUY/rustlings-trimmed-version written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/SpaceUY/rustlings-trimmed-version on toolchain b1f2594eac607c1f051534800237eeedb5590a49 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b1f2594eac607c1f051534800237eeedb5590a49" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/SpaceUY/rustlings-trimmed-version 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" "+b1f2594eac607c1f051534800237eeedb5590a49" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:aa71247004a7fa38d13ec170f48f06cdedf5bc50b2a8645e56ed7e992e6fa513" "/opt/rustwide/cargo-home/bin/cargo" "+b1f2594eac607c1f051534800237eeedb5590a49" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 002ce6674f8b9087eada45233621eddda7d9d72ddee5e89c20925aeb69b8ff6c [INFO] running `Command { std: "docker" "start" "-a" "002ce6674f8b9087eada45233621eddda7d9d72ddee5e89c20925aeb69b8ff6c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "002ce6674f8b9087eada45233621eddda7d9d72ddee5e89c20925aeb69b8ff6c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "002ce6674f8b9087eada45233621eddda7d9d72ddee5e89c20925aeb69b8ff6c", kill_on_drop: false }` [INFO] [stdout] 002ce6674f8b9087eada45233621eddda7d9d72ddee5e89c20925aeb69b8ff6c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:aa71247004a7fa38d13ec170f48f06cdedf5bc50b2a8645e56ed7e992e6fa513" "/opt/rustwide/cargo-home/bin/cargo" "+b1f2594eac607c1f051534800237eeedb5590a49" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ab811863ff03ee7bb04c55f25ddab38417e3df8a0bdf2ba5b2c890585ffa930e [INFO] running `Command { std: "docker" "start" "-a" "ab811863ff03ee7bb04c55f25ddab38417e3df8a0bdf2ba5b2c890585ffa930e", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.100 [INFO] [stderr] Compiling proc-macro2 v1.0.28 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling syn v1.0.75 [INFO] [stderr] Compiling memchr v2.4.1 [INFO] [stderr] Compiling serde_derive v1.0.129 [INFO] [stderr] Checking regex-syntax v0.6.25 [INFO] [stderr] Compiling serde v1.0.129 [INFO] [stderr] Checking instant v0.1.10 [INFO] [stderr] Checking lock_api v0.4.4 [INFO] [stderr] Compiling unicode-segmentation v1.8.0 [INFO] [stderr] Checking slab v0.4.4 [INFO] [stderr] Compiling argh_shared v0.1.5 [INFO] [stderr] Compiling serde_json v1.0.66 [INFO] [stderr] Checking lazycell v1.3.0 [INFO] [stderr] Checking walkdir v2.3.2 [INFO] [stderr] Checking number_prefix v0.2.8 [INFO] [stderr] Checking predicates-core v1.0.2 [INFO] [stderr] Checking itoa v0.4.8 [INFO] [stderr] Compiling escargot v0.4.0 [INFO] [stderr] Checking float-cmp v0.8.0 [INFO] [stderr] Checking difference v2.0.0 [INFO] [stderr] Checking aho-corasick v0.7.18 [INFO] [stderr] Checking normalize-line-endings v0.3.0 [INFO] [stderr] Checking treeline v0.1.0 [INFO] [stderr] Checking parking_lot_core v0.8.3 [INFO] [stderr] Checking net2 v0.2.37 [INFO] [stderr] Checking iovec v0.1.4 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Checking terminal_size v0.1.17 [INFO] [stderr] Checking inotify-sys v0.1.5 [INFO] [stderr] Compiling heck v0.3.3 [INFO] [stderr] Checking inotify v0.7.1 [INFO] [stderr] Checking parking_lot v0.11.1 [INFO] [stderr] Checking clicolors-control v1.0.1 [INFO] [stderr] Checking filetime v0.2.15 [INFO] [stderr] Checking termios v0.3.3 [INFO] [stderr] Checking mio v0.6.23 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking predicates-tree v1.0.3 [INFO] [stderr] Checking glob v0.3.0 [INFO] [stderr] Checking mio-extras v2.0.6 [INFO] [stderr] Checking notify v4.0.17 [INFO] [stderr] Checking regex v1.5.4 [INFO] [stderr] Checking console v0.14.1 [INFO] [stderr] Checking console v0.7.7 [INFO] [stderr] Checking predicates v1.0.8 [INFO] [stderr] Compiling argh_derive v0.1.5 [INFO] [stderr] Checking indicatif v0.10.3 [INFO] [stderr] Checking argh v0.1.5 [INFO] [stderr] Checking toml v0.4.10 [INFO] [stderr] Checking rustlings v4.7.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `prelude` [INFO] [stdout] --> src/main.rs:10:21 [INFO] [stdout] | [INFO] [stdout] 10 | use std::io::{self, prelude::*}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `b` [INFO] [stdout] --> src/main.rs:243:9 [INFO] [stdout] | [INFO] [stdout] 243 | let b = Path::new(&homework_path).is_dir(); //.is_file(); [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_b` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/exercise.rs:109:20 [INFO] [stdout] | [INFO] [stdout] 109 | pub fn compile(&self) -> Result { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 109 | pub fn compile(&self) -> Result, ExerciseOutput> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking assert_cmd v0.11.1 [INFO] [stdout] warning: unused import: `prelude` [INFO] [stdout] --> src/main.rs:10:21 [INFO] [stdout] | [INFO] [stdout] 10 | use std::io::{self, prelude::*}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `b` [INFO] [stdout] --> src/main.rs:243:9 [INFO] [stdout] | [INFO] [stdout] 243 | let b = Path::new(&homework_path).is_dir(); //.is_file(); [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_b` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/exercise.rs:109:20 [INFO] [stdout] | [INFO] [stdout] 109 | pub fn compile(&self) -> Result { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 109 | pub fn compile(&self) -> Result, ExerciseOutput> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 23.85s [INFO] running `Command { std: "docker" "inspect" "ab811863ff03ee7bb04c55f25ddab38417e3df8a0bdf2ba5b2c890585ffa930e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ab811863ff03ee7bb04c55f25ddab38417e3df8a0bdf2ba5b2c890585ffa930e", kill_on_drop: false }` [INFO] [stdout] ab811863ff03ee7bb04c55f25ddab38417e3df8a0bdf2ba5b2c890585ffa930e