[INFO] cloning repository https://github.com/nightmarelie/rustlings [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/nightmarelie/rustlings" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnightmarelie%2Frustlings", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnightmarelie%2Frustlings'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] ea504e6bf11a23bb010b7b98a58a97ec2dcd0489 [INFO] building nightmarelie/rustlings against master#44f415c1d617ebc7b931a243b7b321ef8a6ca47c for pr-142134-abi-ast-error [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnightmarelie%2Frustlings" "/workspace/builds/worker-3-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/nightmarelie/rustlings on toolchain 44f415c1d617ebc7b931a243b7b321ef8a6ca47c [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+44f415c1d617ebc7b931a243b7b321ef8a6ca47c" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/nightmarelie/rustlings [INFO] finished tweaking git repo https://github.com/nightmarelie/rustlings [INFO] tweaked toml for git repo https://github.com/nightmarelie/rustlings written to /workspace/builds/worker-3-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/nightmarelie/rustlings 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" "+44f415c1d617ebc7b931a243b7b321ef8a6ca47c" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded toml_edit v0.22.11 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:eea15d5475069c3ef791f10c2c6b5af2ee421ef2da1e680ecce1cba46243983b" "/opt/rustwide/cargo-home/bin/cargo" "+44f415c1d617ebc7b931a243b7b321ef8a6ca47c" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] a6cb2c0ccc69851cb512396daf6710e54a3e87a1f3f1fa74d42c103c76bdb0b3 [INFO] running `Command { std: "docker" "start" "-a" "a6cb2c0ccc69851cb512396daf6710e54a3e87a1f3f1fa74d42c103c76bdb0b3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a6cb2c0ccc69851cb512396daf6710e54a3e87a1f3f1fa74d42c103c76bdb0b3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a6cb2c0ccc69851cb512396daf6710e54a3e87a1f3f1fa74d42c103c76bdb0b3", kill_on_drop: false }` [INFO] [stdout] a6cb2c0ccc69851cb512396daf6710e54a3e87a1f3f1fa74d42c103c76bdb0b3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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=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" "+44f415c1d617ebc7b931a243b7b321ef8a6ca47c" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 467385f235cb736b001928b056efb492826cfd2467fa6e5cdd25fce16619b6fe [INFO] running `Command { std: "docker" "start" "-a" "467385f235cb736b001928b056efb492826cfd2467fa6e5cdd25fce16619b6fe", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.81 [INFO] [stderr] Compiling unicode-ident v1.0.12 [INFO] [stderr] Compiling libc v0.2.153 [INFO] [stderr] Compiling serde v1.0.198 [INFO] [stderr] Compiling crossbeam-utils v0.8.19 [INFO] [stderr] Compiling utf8parse v0.2.1 [INFO] [stderr] Compiling colorchoice v1.0.0 [INFO] [stderr] Compiling anstyle v1.0.6 [INFO] [stderr] Compiling anstyle-parse v0.2.3 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Compiling portable-atomic v1.6.0 [INFO] [stderr] Compiling log v0.4.21 [INFO] [stderr] Compiling same-file v1.0.6 [INFO] [stderr] Compiling anstyle-query v1.0.2 [INFO] [stderr] Compiling rustix v0.38.32 [INFO] [stderr] Compiling anstream v0.6.13 [INFO] [stderr] Compiling walkdir v2.5.0 [INFO] [stderr] Compiling serde_json v1.0.116 [INFO] [stderr] Compiling hashbrown v0.14.3 [INFO] [stderr] Compiling heck v0.5.0 [INFO] [stderr] Compiling anyhow v1.0.82 [INFO] [stderr] Compiling quote v1.0.36 [INFO] [stderr] Compiling crossbeam-channel v0.5.12 [INFO] [stderr] Compiling clap_lex v0.7.0 [INFO] [stderr] Compiling syn v2.0.60 [INFO] [stderr] Compiling bitflags v2.5.0 [INFO] [stderr] Compiling unicode-width v0.1.11 [INFO] [stderr] Compiling linux-raw-sys v0.4.13 [INFO] [stderr] Compiling equivalent v1.0.1 [INFO] [stderr] Compiling strsim v0.11.1 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling indexmap v2.2.6 [INFO] [stderr] Compiling inotify-sys v0.1.5 [INFO] [stderr] Compiling inotify v0.9.6 [INFO] [stderr] Compiling filetime v0.2.23 [INFO] [stderr] Compiling mio v0.8.11 [INFO] [stderr] Compiling clap_builder v4.5.2 [INFO] [stderr] Compiling console v0.15.8 [INFO] [stderr] Compiling winnow v0.6.6 [INFO] [stderr] Compiling number_prefix v0.4.0 [INFO] [stderr] Compiling notify v6.1.1 [INFO] [stderr] Compiling home v0.5.9 [INFO] [stderr] Compiling itoa v1.0.11 [INFO] [stderr] Compiling either v1.11.0 [INFO] [stderr] Compiling ryu v1.0.17 [INFO] [stderr] Compiling shlex v1.3.0 [INFO] [stderr] Compiling indicatif v0.17.8 [INFO] [stderr] Compiling notify-debouncer-mini v0.4.1 [INFO] [stderr] Compiling which v6.0.1 [INFO] [stderr] Compiling serde_derive v1.0.198 [INFO] [stderr] Compiling clap_derive v4.5.4 [INFO] [stderr] Compiling clap v4.5.4 [INFO] [stderr] Compiling serde_spanned v0.6.5 [INFO] [stderr] Compiling toml_datetime v0.6.5 [INFO] [stderr] Compiling toml_edit v0.22.11 [INFO] [stderr] Compiling rustlings v5.6.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/exercise.rs:125:20 [INFO] [stdout] | [INFO] [stdout] 125 | 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] 125 | pub fn compile(&self) -> Result, ExerciseOutput> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 43.09s [INFO] running `Command { std: "docker" "inspect" "467385f235cb736b001928b056efb492826cfd2467fa6e5cdd25fce16619b6fe", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "467385f235cb736b001928b056efb492826cfd2467fa6e5cdd25fce16619b6fe", kill_on_drop: false }` [INFO] [stdout] 467385f235cb736b001928b056efb492826cfd2467fa6e5cdd25fce16619b6fe [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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=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" "+44f415c1d617ebc7b931a243b7b321ef8a6ca47c" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 447f449a78600bf45fd2f3d5f96e58e4ca95df2f5fc78b2919262d78b6992b37 [INFO] running `Command { std: "docker" "start" "-a" "447f449a78600bf45fd2f3d5f96e58e4ca95df2f5fc78b2919262d78b6992b37", kill_on_drop: false }` [INFO] [stderr] Compiling memchr v2.7.2 [INFO] [stderr] Compiling autocfg v1.2.0 [INFO] [stderr] Compiling regex-syntax v0.8.3 [INFO] [stderr] Compiling doc-comment v0.3.3 [INFO] [stderr] Compiling predicates-core v1.0.6 [INFO] [stderr] Compiling assert_cmd v2.0.14 [INFO] [stderr] Compiling difflib v0.4.0 [INFO] [stderr] Compiling normalize-line-endings v0.3.0 [INFO] [stderr] Compiling termtree v0.4.1 [INFO] [stderr] Compiling wait-timeout v0.2.0 [INFO] [stderr] Compiling glob v0.3.1 [INFO] [stderr] Compiling predicates-tree v1.0.9 [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/exercise.rs:125:20 [INFO] [stdout] | [INFO] [stdout] 125 | 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] 125 | pub fn compile(&self) -> Result, ExerciseOutput> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling num-traits v0.2.18 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Compiling float-cmp v0.9.0 [INFO] [stderr] Compiling regex-automata v0.4.6 [INFO] [stderr] Compiling regex v1.10.4 [INFO] [stderr] Compiling bstr v1.9.1 [INFO] [stderr] Compiling predicates v3.1.0 [INFO] [stderr] Compiling rustlings v5.6.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/exercise.rs:125:20 [INFO] [stdout] | [INFO] [stdout] 125 | 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] 125 | pub fn compile(&self) -> Result, ExerciseOutput> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 19.34s [INFO] running `Command { std: "docker" "inspect" "447f449a78600bf45fd2f3d5f96e58e4ca95df2f5fc78b2919262d78b6992b37", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "447f449a78600bf45fd2f3d5f96e58e4ca95df2f5fc78b2919262d78b6992b37", kill_on_drop: false }` [INFO] [stdout] 447f449a78600bf45fd2f3d5f96e58e4ca95df2f5fc78b2919262d78b6992b37