[INFO] cloning repository https://github.com/wangtaohhh/rustlings-solution [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/wangtaohhh/rustlings-solution" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fwangtaohhh%2Frustlings-solution", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fwangtaohhh%2Frustlings-solution'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] f442cdcdcce6637d07dd9de99d331d28105afefa [INFO] checking wangtaohhh/rustlings-solution against master#350d0ef0ec0493e6d21cfb265cb8211a0e74d766 for pr-145342-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fwangtaohhh%2Frustlings-solution" "/workspace/builds/worker-6-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc1/source'... [INFO] [stderr] done. [INFO] [stderr] Updating files: 59% (988/1661) Updating files: 60% (997/1661) Updating files: 61% (1014/1661) Updating files: 62% (1030/1661) Updating files: 63% (1047/1661) Updating files: 64% (1064/1661) Updating files: 65% (1080/1661) Updating files: 66% (1097/1661) Updating files: 67% (1113/1661) Updating files: 68% (1130/1661) Updating files: 69% (1147/1661) Updating files: 70% (1163/1661) Updating files: 71% (1180/1661) Updating files: 72% (1196/1661) Updating files: 73% (1213/1661) Updating files: 74% (1230/1661) Updating files: 75% (1246/1661) Updating files: 76% (1263/1661) Updating files: 77% (1279/1661) Updating files: 78% (1296/1661) Updating files: 79% (1313/1661) Updating files: 80% (1329/1661) Updating files: 81% (1346/1661) Updating files: 82% (1363/1661) Updating files: 83% (1379/1661) Updating files: 84% (1396/1661) Updating files: 85% (1412/1661) Updating files: 86% (1429/1661) Updating files: 87% (1446/1661) Updating files: 88% (1462/1661) Updating files: 89% (1479/1661) Updating files: 89% (1482/1661) Updating files: 90% (1495/1661) Updating files: 91% (1512/1661) Updating files: 92% (1529/1661) Updating files: 93% (1545/1661) Updating files: 94% (1562/1661) Updating files: 95% (1578/1661) Updating files: 96% (1595/1661) Updating files: 97% (1612/1661) Updating files: 98% (1628/1661) Updating files: 99% (1645/1661) Updating files: 100% (1661/1661) Updating files: 100% (1661/1661), done. [INFO] started tweaking git repo https://github.com/wangtaohhh/rustlings-solution [INFO] finished tweaking git repo https://github.com/wangtaohhh/rustlings-solution [INFO] tweaked toml for git repo https://github.com/wangtaohhh/rustlings-solution written to /workspace/builds/worker-6-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/wangtaohhh/rustlings-solution on toolchain 350d0ef0ec0493e6d21cfb265cb8211a0e74d766 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/wangtaohhh/rustlings-solution 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" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded predicates-tree v1.0.3 [INFO] [stderr] Downloaded argh_shared v0.1.5 [INFO] [stderr] Downloaded argh_derive v0.1.5 [INFO] [stderr] Downloaded console v0.15.0 [INFO] [stderr] Downloaded serde v1.0.129 [INFO] [stderr] Downloaded serde_derive v1.0.129 [INFO] [stderr] Downloaded argh v0.1.5 [INFO] [stderr] Downloaded home v0.5.3 [INFO] [stderr] Downloaded syn v1.0.75 [INFO] [stderr] Downloaded libc v0.2.100 [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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 821d9cfdfe268681bbc8f643d7c64f5cc1306e6f7de72215b597db81d333624c [INFO] running `Command { std: "docker" "start" "-a" "821d9cfdfe268681bbc8f643d7c64f5cc1306e6f7de72215b597db81d333624c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "821d9cfdfe268681bbc8f643d7c64f5cc1306e6f7de72215b597db81d333624c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "821d9cfdfe268681bbc8f643d7c64f5cc1306e6f7de72215b597db81d333624c", kill_on_drop: false }` [INFO] [stdout] 821d9cfdfe268681bbc8f643d7c64f5cc1306e6f7de72215b597db81d333624c [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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 289559f321a13201b395f7e501f2ef7a30c5851a39476ca0543b07a41d8cd6be [INFO] running `Command { std: "docker" "start" "-a" "289559f321a13201b395f7e501f2ef7a30c5851a39476ca0543b07a41d8cd6be", 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] Compiling log v0.4.14 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Compiling serde v1.0.129 [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Checking regex-syntax v0.6.25 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Compiling serde_json v1.0.81 [INFO] [stderr] Checking cfg-if v0.1.10 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Checking itoa v1.0.2 [INFO] [stderr] Compiling unicode-segmentation v1.8.0 [INFO] [stderr] Checking slab v0.4.4 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Checking once_cell v1.10.0 [INFO] [stderr] Checking unicode-width v0.1.8 [INFO] [stderr] Compiling heck v0.3.3 [INFO] [stderr] Checking aho-corasick v0.7.18 [INFO] [stderr] Checking bitflags v1.3.2 [INFO] [stderr] Checking lazycell v1.3.0 [INFO] [stderr] Compiling escargot v0.4.0 [INFO] [stderr] Checking predicates-core v1.0.2 [INFO] [stderr] Compiling argh_shared v0.1.5 [INFO] [stderr] Checking same-file v1.0.6 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Checking walkdir v2.3.2 [INFO] [stderr] Checking treeline v0.1.0 [INFO] [stderr] Checking normalize-line-endings v0.3.0 [INFO] [stderr] Checking number_prefix v0.4.0 [INFO] [stderr] Checking difference v2.0.0 [INFO] [stderr] Checking predicates-tree v1.0.3 [INFO] [stderr] Checking glob v0.3.0 [INFO] [stderr] Checking home v0.5.3 [INFO] [stderr] Checking iovec v0.1.4 [INFO] [stderr] Checking net2 v0.2.37 [INFO] [stderr] Checking inotify-sys v0.1.5 [INFO] [stderr] Checking terminal_size v0.1.17 [INFO] [stderr] Checking filetime v0.2.15 [INFO] [stderr] Checking inotify v0.7.1 [INFO] [stderr] Checking mio v0.6.23 [INFO] [stderr] Checking float-cmp v0.8.0 [INFO] [stderr] Checking regex v1.5.5 [INFO] [stderr] Checking mio-extras v2.0.6 [INFO] [stderr] Checking notify v4.0.17 [INFO] [stderr] Checking console v0.15.0 [INFO] [stderr] Checking predicates v1.0.8 [INFO] [stderr] Checking indicatif v0.16.2 [INFO] [stderr] Compiling argh_derive v0.1.5 [INFO] [stderr] Checking argh v0.1.5 [INFO] [stderr] Checking toml v0.5.9 [INFO] [stderr] Checking rustlings v5.3.0 (/opt/rustwide/workdir) [INFO] [stderr] Checking assert_cmd v0.11.1 [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] [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 22.98s [INFO] running `Command { std: "docker" "inspect" "289559f321a13201b395f7e501f2ef7a30c5851a39476ca0543b07a41d8cd6be", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "289559f321a13201b395f7e501f2ef7a30c5851a39476ca0543b07a41d8cd6be", kill_on_drop: false }` [INFO] [stdout] 289559f321a13201b395f7e501f2ef7a30c5851a39476ca0543b07a41d8cd6be