[INFO] cloning repository https://github.com/LearningOS/rust-rustlings-2024-spring-haidong [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/LearningOS/rust-rustlings-2024-spring-haidong" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FLearningOS%2Frust-rustlings-2024-spring-haidong", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FLearningOS%2Frust-rustlings-2024-spring-haidong'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 9f307d352d264801bcabbdf401b03a8c7df18f66 [INFO] building LearningOS/rust-rustlings-2024-spring-haidong against try#8b8eff55bd72abbb57167bc42222a7f91d41cb0d for pr-142134-abi-ast-error [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FLearningOS%2Frust-rustlings-2024-spring-haidong" "/workspace/builds/worker-0-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/LearningOS/rust-rustlings-2024-spring-haidong on toolchain 8b8eff55bd72abbb57167bc42222a7f91d41cb0d [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8b8eff55bd72abbb57167bc42222a7f91d41cb0d" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/LearningOS/rust-rustlings-2024-spring-haidong [INFO] finished tweaking git repo https://github.com/LearningOS/rust-rustlings-2024-spring-haidong [INFO] tweaked toml for git repo https://github.com/LearningOS/rust-rustlings-2024-spring-haidong written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/LearningOS/rust-rustlings-2024-spring-haidong 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" "+8b8eff55bd72abbb57167bc42222a7f91d41cb0d" "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] [stderr] Downloading crates ... [INFO] [stderr] Downloaded serde_json v1.0.102 [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:eea15d5475069c3ef791f10c2c6b5af2ee421ef2da1e680ecce1cba46243983b" "/opt/rustwide/cargo-home/bin/cargo" "+8b8eff55bd72abbb57167bc42222a7f91d41cb0d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 1414d36e7f80b5c7336a3c664a31630a9eb8770c5dea2b2efc7fec1dba49a5f4 [INFO] running `Command { std: "docker" "start" "-a" "1414d36e7f80b5c7336a3c664a31630a9eb8770c5dea2b2efc7fec1dba49a5f4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "1414d36e7f80b5c7336a3c664a31630a9eb8770c5dea2b2efc7fec1dba49a5f4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1414d36e7f80b5c7336a3c664a31630a9eb8770c5dea2b2efc7fec1dba49a5f4", kill_on_drop: false }` [INFO] [stdout] 1414d36e7f80b5c7336a3c664a31630a9eb8770c5dea2b2efc7fec1dba49a5f4 [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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:eea15d5475069c3ef791f10c2c6b5af2ee421ef2da1e680ecce1cba46243983b" "/opt/rustwide/cargo-home/bin/cargo" "+8b8eff55bd72abbb57167bc42222a7f91d41cb0d" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 42cb91840be6cbdf4c4fcd7a77a9409784eae29d653cde6dc433bd6ef84d4d78 [INFO] running `Command { std: "docker" "start" "-a" "42cb91840be6cbdf4c4fcd7a77a9409784eae29d653cde6dc433bd6ef84d4d78", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.147 [INFO] [stderr] Compiling proc-macro2 v1.0.64 [INFO] [stderr] Compiling quote v1.0.29 [INFO] [stderr] Compiling unicode-ident v1.0.10 [INFO] [stderr] Compiling memchr v2.5.0 [INFO] [stderr] Compiling cfg-if v0.1.10 [INFO] [stderr] Compiling serde v1.0.171 [INFO] [stderr] Compiling parking_lot_core v0.9.8 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling log v0.4.19 [INFO] [stderr] Compiling regex-syntax v0.7.4 [INFO] [stderr] Compiling smallvec v1.11.0 [INFO] [stderr] Compiling lazycell v1.3.0 [INFO] [stderr] Compiling slab v0.4.8 [INFO] [stderr] Compiling lock_api v0.4.10 [INFO] [stderr] Compiling tokio v1.29.1 [INFO] [stderr] Compiling unicode-width v0.1.10 [INFO] [stderr] Compiling serde_json v1.0.102 [INFO] [stderr] Compiling argh_shared v0.1.10 [INFO] [stderr] Compiling walkdir v2.3.3 [INFO] [stderr] Compiling pin-project-lite v0.2.10 [INFO] [stderr] Compiling number_prefix v0.4.0 [INFO] [stderr] Compiling bytes v1.4.0 [INFO] [stderr] Compiling itoa v1.0.8 [INFO] [stderr] Compiling ryu v1.0.14 [INFO] [stderr] Compiling home v0.5.5 [INFO] [stderr] Compiling glob v0.3.1 [INFO] [stderr] Compiling aho-corasick v1.0.2 [INFO] [stderr] Compiling syn v2.0.25 [INFO] [stderr] Compiling net2 v0.2.39 [INFO] [stderr] Compiling iovec v0.1.4 [INFO] [stderr] Compiling inotify-sys v0.1.5 [INFO] [stderr] Compiling socket2 v0.4.9 [INFO] [stderr] Compiling console v0.15.7 [INFO] [stderr] Compiling num_cpus v1.16.0 [INFO] [stderr] Compiling signal-hook-registry v1.4.1 [INFO] [stderr] Compiling filetime v0.2.21 [INFO] [stderr] Compiling mio v0.8.8 [INFO] [stderr] Compiling inotify v0.7.1 [INFO] [stderr] Compiling mio v0.6.23 [INFO] [stderr] Compiling parking_lot v0.12.1 [INFO] [stderr] Compiling regex-automata v0.3.3 [INFO] [stderr] Compiling mio-extras v2.0.6 [INFO] [stderr] Compiling notify v4.0.17 [INFO] [stderr] Compiling argh_derive v0.1.10 [INFO] [stderr] Compiling argh v0.1.10 [INFO] [stderr] Compiling serde_derive v1.0.171 [INFO] [stderr] Compiling tokio-macros v2.1.0 [INFO] [stderr] Compiling regex v1.9.1 [INFO] [stderr] Compiling indicatif v0.16.2 [INFO] [stderr] Compiling toml v0.5.11 [INFO] [stderr] Compiling rustlings v5.5.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/exercise.rs:113:20 [INFO] [stdout] | [INFO] [stdout] 113 | 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] 113 | pub fn compile(&self) -> Result, ExerciseOutput> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 12.58s [INFO] running `Command { std: "docker" "inspect" "42cb91840be6cbdf4c4fcd7a77a9409784eae29d653cde6dc433bd6ef84d4d78", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "42cb91840be6cbdf4c4fcd7a77a9409784eae29d653cde6dc433bd6ef84d4d78", kill_on_drop: false }` [INFO] [stdout] 42cb91840be6cbdf4c4fcd7a77a9409784eae29d653cde6dc433bd6ef84d4d78 [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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:eea15d5475069c3ef791f10c2c6b5af2ee421ef2da1e680ecce1cba46243983b" "/opt/rustwide/cargo-home/bin/cargo" "+8b8eff55bd72abbb57167bc42222a7f91d41cb0d" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 8abfae289b263959244b3ebef80b4679f3591c0866f575f92c1e9533f0526d5e [INFO] running `Command { std: "docker" "start" "-a" "8abfae289b263959244b3ebef80b4679f3591c0866f575f92c1e9533f0526d5e", kill_on_drop: false }` [INFO] [stderr] Compiling num-traits v0.2.15 [INFO] [stderr] Compiling predicates-core v1.0.6 [INFO] [stderr] Compiling escargot v0.4.0 [INFO] [stderr] Compiling normalize-line-endings v0.3.0 [INFO] [stderr] Compiling difference v2.0.0 [INFO] [stderr] Compiling termtree v0.4.1 [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/exercise.rs:113:20 [INFO] [stdout] | [INFO] [stdout] 113 | 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] 113 | pub fn compile(&self) -> Result, ExerciseOutput> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling predicates-tree v1.0.9 [INFO] [stderr] Compiling float-cmp v0.8.0 [INFO] [stderr] Compiling predicates v1.0.8 [INFO] [stderr] Compiling assert_cmd v0.11.1 [INFO] [stderr] Compiling rustlings v5.5.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/exercise.rs:113:20 [INFO] [stdout] | [INFO] [stdout] 113 | 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] 113 | pub fn compile(&self) -> Result, ExerciseOutput> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 1.88s [INFO] running `Command { std: "docker" "inspect" "8abfae289b263959244b3ebef80b4679f3591c0866f575f92c1e9533f0526d5e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8abfae289b263959244b3ebef80b4679f3591c0866f575f92c1e9533f0526d5e", kill_on_drop: false }` [INFO] [stdout] 8abfae289b263959244b3ebef80b4679f3591c0866f575f92c1e9533f0526d5e