[INFO] cloning repository https://github.com/os2edu/rustlings-cuoduidui [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/os2edu/rustlings-cuoduidui" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fos2edu%2Frustlings-cuoduidui", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fos2edu%2Frustlings-cuoduidui'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] f99dd2602adefbc2803438f4f67b58f483f7bdc3 [INFO] checking os2edu/rustlings-cuoduidui against try#4797991aa2efb6d658150f10425b3f3b5d10eceb for pr-143193 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fos2edu%2Frustlings-cuoduidui" "/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/os2edu/rustlings-cuoduidui [INFO] finished tweaking git repo https://github.com/os2edu/rustlings-cuoduidui [INFO] tweaked toml for git repo https://github.com/os2edu/rustlings-cuoduidui written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/os2edu/rustlings-cuoduidui on toolchain 4797991aa2efb6d658150f10425b3f3b5d10eceb [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4797991aa2efb6d658150f10425b3f3b5d10eceb" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/os2edu/rustlings-cuoduidui 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" "+4797991aa2efb6d658150f10425b3f3b5d10eceb" "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:cf8efcab8866f2cf4285301c7418e2f4f2a9b088c91ba69c40d5b659f81557f7" "/opt/rustwide/cargo-home/bin/cargo" "+4797991aa2efb6d658150f10425b3f3b5d10eceb" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] a1f6f02bdcf74232533afc41599c2968731d0cb1cb4e3824229fea1311a8693b [INFO] running `Command { std: "docker" "start" "-a" "a1f6f02bdcf74232533afc41599c2968731d0cb1cb4e3824229fea1311a8693b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a1f6f02bdcf74232533afc41599c2968731d0cb1cb4e3824229fea1311a8693b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a1f6f02bdcf74232533afc41599c2968731d0cb1cb4e3824229fea1311a8693b", kill_on_drop: false }` [INFO] [stdout] a1f6f02bdcf74232533afc41599c2968731d0cb1cb4e3824229fea1311a8693b [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:cf8efcab8866f2cf4285301c7418e2f4f2a9b088c91ba69c40d5b659f81557f7" "/opt/rustwide/cargo-home/bin/cargo" "+4797991aa2efb6d658150f10425b3f3b5d10eceb" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 52b8754dc4a8685fb13ffc7943e9bc550f2d5113083d32a78533ffde81c9d737 [INFO] running `Command { std: "docker" "start" "-a" "52b8754dc4a8685fb13ffc7943e9bc550f2d5113083d32a78533ffde81c9d737", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.137 [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 log v0.4.14 [INFO] [stderr] Compiling serde_derive v1.0.129 [INFO] [stderr] Compiling serde v1.0.129 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Checking regex-syntax v0.6.25 [INFO] [stderr] Compiling parking_lot_core v0.9.4 [INFO] [stderr] Compiling serde_json v1.0.81 [INFO] [stderr] Checking cfg-if v0.1.10 [INFO] [stderr] Checking slab v0.4.4 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling lock_api v0.4.9 [INFO] [stderr] Checking scopeguard v1.1.0 [INFO] [stderr] Checking itoa v1.0.2 [INFO] [stderr] Checking smallvec v1.10.0 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Compiling unicode-segmentation v1.8.0 [INFO] [stderr] Compiling tokio v1.21.2 [INFO] [stderr] Checking predicates-core v1.0.2 [INFO] [stderr] Compiling argh_shared v0.1.5 [INFO] [stderr] Checking unicode-width v0.1.8 [INFO] [stderr] Compiling escargot v0.4.0 [INFO] [stderr] Checking once_cell v1.10.0 [INFO] [stderr] Checking same-file v1.0.6 [INFO] [stderr] Checking lazycell v1.3.0 [INFO] [stderr] Checking pin-project-lite v0.2.9 [INFO] [stderr] Checking difference v2.0.0 [INFO] [stderr] Checking bytes v1.2.1 [INFO] [stderr] Checking normalize-line-endings v0.3.0 [INFO] [stderr] Checking treeline v0.1.0 [INFO] [stderr] Checking walkdir v2.3.2 [INFO] [stderr] Checking number_prefix v0.4.0 [INFO] [stderr] Checking glob v0.3.0 [INFO] [stderr] Checking predicates-tree v1.0.3 [INFO] [stderr] Checking home v0.5.3 [INFO] [stderr] Compiling heck v0.3.3 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Checking aho-corasick v0.7.18 [INFO] [stderr] Checking iovec v0.1.4 [INFO] [stderr] Checking net2 v0.2.37 [INFO] [stderr] Checking terminal_size v0.1.17 [INFO] [stderr] Checking inotify-sys v0.1.5 [INFO] [stderr] Checking mio v0.8.5 [INFO] [stderr] Checking socket2 v0.4.7 [INFO] [stderr] Checking num_cpus v1.13.1 [INFO] [stderr] Checking filetime v0.2.15 [INFO] [stderr] Checking signal-hook-registry v1.4.0 [INFO] [stderr] Checking float-cmp v0.8.0 [INFO] [stderr] Checking inotify v0.7.1 [INFO] [stderr] Checking mio v0.6.23 [INFO] [stderr] Checking parking_lot v0.12.1 [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 tokio-macros v1.8.0 [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.2.1 (/opt/rustwide/workdir) [INFO] [stderr] Checking assert_cmd v0.11.1 [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/exercise.rs:109:20 [INFO] [stdout] | [INFO] [stdout] 109 | pub fn compile(&self) -> Result { [INFO] [stdout] | ^^^^^ ---------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 109 | pub fn compile(&self) -> Result, ExerciseOutput> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/exercise.rs:109:20 [INFO] [stdout] | [INFO] [stdout] 109 | pub fn compile(&self) -> Result { [INFO] [stdout] | ^^^^^ ---------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for 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 17.37s [INFO] running `Command { std: "docker" "inspect" "52b8754dc4a8685fb13ffc7943e9bc550f2d5113083d32a78533ffde81c9d737", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "52b8754dc4a8685fb13ffc7943e9bc550f2d5113083d32a78533ffde81c9d737", kill_on_drop: false }` [INFO] [stdout] 52b8754dc4a8685fb13ffc7943e9bc550f2d5113083d32a78533ffde81c9d737