[INFO] cloning repository https://github.com/LearningOS/learn_rust_rustlings-HLRJ [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/LearningOS/learn_rust_rustlings-HLRJ" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FLearningOS%2Flearn_rust_rustlings-HLRJ", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FLearningOS%2Flearn_rust_rustlings-HLRJ'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 8971773b042bcc88665e0b68bda249a1360ab310 [INFO] checking LearningOS/learn_rust_rustlings-HLRJ/8971773b042bcc88665e0b68bda249a1360ab310 against master#0fb279be1d96464c69209053ef0f97ad63088cda for pr-143857 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FLearningOS%2Flearn_rust_rustlings-HLRJ" "/workspace/builds/worker-6-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/LearningOS/learn_rust_rustlings-HLRJ [INFO] finished tweaking git repo https://github.com/LearningOS/learn_rust_rustlings-HLRJ [INFO] tweaked toml for git repo https://github.com/LearningOS/learn_rust_rustlings-HLRJ written to /workspace/builds/worker-6-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/LearningOS/learn_rust_rustlings-HLRJ on toolchain 0fb279be1d96464c69209053ef0f97ad63088cda [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+0fb279be1d96464c69209053ef0f97ad63088cda" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/LearningOS/learn_rust_rustlings-HLRJ 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" "+0fb279be1d96464c69209053ef0f97ad63088cda" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+0fb279be1d96464c69209053ef0f97ad63088cda" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 89b241623a601dcf3d6ea9f48d89f5f2428ca55a9bf39d5ef5b2f46c3ff0d5b2 [INFO] running `Command { std: "docker" "start" "-a" "89b241623a601dcf3d6ea9f48d89f5f2428ca55a9bf39d5ef5b2f46c3ff0d5b2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "89b241623a601dcf3d6ea9f48d89f5f2428ca55a9bf39d5ef5b2f46c3ff0d5b2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "89b241623a601dcf3d6ea9f48d89f5f2428ca55a9bf39d5ef5b2f46c3ff0d5b2", kill_on_drop: false }` [INFO] [stdout] 89b241623a601dcf3d6ea9f48d89f5f2428ca55a9bf39d5ef5b2f46c3ff0d5b2 [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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+0fb279be1d96464c69209053ef0f97ad63088cda" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a29c2f9d693fcdc8555ecb130b56ba0f8e6f8082d18f2054030403cf6b750fba [INFO] running `Command { std: "docker" "start" "-a" "a29c2f9d693fcdc8555ecb130b56ba0f8e6f8082d18f2054030403cf6b750fba", 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 log v0.4.14 [INFO] [stderr] Compiling serde_derive v1.0.129 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Compiling serde v1.0.129 [INFO] [stderr] Checking regex-syntax v0.6.25 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Checking cfg-if v0.1.10 [INFO] [stderr] Compiling serde_json v1.0.81 [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Checking slab v0.4.4 [INFO] [stderr] Compiling unicode-segmentation v1.8.0 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Checking itoa v1.0.2 [INFO] [stderr] Checking same-file v1.0.6 [INFO] [stderr] Compiling argh_shared v0.1.5 [INFO] [stderr] Checking lazycell v1.3.0 [INFO] [stderr] Checking once_cell v1.10.0 [INFO] [stderr] Checking bitflags v1.3.2 [INFO] [stderr] Checking unicode-width v0.1.8 [INFO] [stderr] Checking walkdir v2.3.2 [INFO] [stderr] Checking predicates-core v1.0.2 [INFO] [stderr] Compiling escargot v0.4.0 [INFO] [stderr] Checking number_prefix v0.4.0 [INFO] [stderr] Checking difference v2.0.0 [INFO] [stderr] Checking normalize-line-endings v0.3.0 [INFO] [stderr] Checking glob v0.3.0 [INFO] [stderr] Checking treeline v0.1.0 [INFO] [stderr] Checking home v0.5.3 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Checking predicates-tree v1.0.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 float-cmp v0.8.0 [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 regex v1.5.5 [INFO] [stderr] Checking console v0.15.0 [INFO] [stderr] Checking predicates v1.0.8 [INFO] [stderr] Checking mio-extras v2.0.6 [INFO] [stderr] Checking notify v4.0.17 [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 v4.8.0 (/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 19.15s [INFO] running `Command { std: "docker" "inspect" "a29c2f9d693fcdc8555ecb130b56ba0f8e6f8082d18f2054030403cf6b750fba", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a29c2f9d693fcdc8555ecb130b56ba0f8e6f8082d18f2054030403cf6b750fba", kill_on_drop: false }` [INFO] [stdout] a29c2f9d693fcdc8555ecb130b56ba0f8e6f8082d18f2054030403cf6b750fba