[INFO] cloning repository https://github.com/LearningOS/rust-rustlings-TanHaonan [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-TanHaonan" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FLearningOS%2Frust-rustlings-TanHaonan", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FLearningOS%2Frust-rustlings-TanHaonan'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 06865840f7219c43a59e61b76c7561f237c751ce [INFO] building LearningOS/rust-rustlings-TanHaonan 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-TanHaonan" "/workspace/builds/worker-7-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/LearningOS/rust-rustlings-TanHaonan 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-TanHaonan [INFO] finished tweaking git repo https://github.com/LearningOS/rust-rustlings-TanHaonan [INFO] tweaked toml for git repo https://github.com/LearningOS/rust-rustlings-TanHaonan written to /workspace/builds/worker-7-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/LearningOS/rust-rustlings-TanHaonan 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] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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] ec2e856d6172cd0a8b189aef7b69ab701f81112d361d6f59dc76af26ab4ac28d [INFO] running `Command { std: "docker" "start" "-a" "ec2e856d6172cd0a8b189aef7b69ab701f81112d361d6f59dc76af26ab4ac28d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ec2e856d6172cd0a8b189aef7b69ab701f81112d361d6f59dc76af26ab4ac28d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ec2e856d6172cd0a8b189aef7b69ab701f81112d361d6f59dc76af26ab4ac28d", kill_on_drop: false }` [INFO] [stdout] ec2e856d6172cd0a8b189aef7b69ab701f81112d361d6f59dc76af26ab4ac28d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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] 2441828405d2bdf4facb51cbb1c7316c2ed1a9f4864a7732555db2bb98e83ea0 [INFO] running `Command { std: "docker" "start" "-a" "2441828405d2bdf4facb51cbb1c7316c2ed1a9f4864a7732555db2bb98e83ea0", 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 cfg-if v0.1.10 [INFO] [stderr] Compiling parking_lot_core v0.9.4 [INFO] [stderr] Compiling slab v0.4.4 [INFO] [stderr] Compiling scopeguard v1.1.0 [INFO] [stderr] Compiling regex-syntax v0.6.25 [INFO] [stderr] Compiling smallvec v1.10.0 [INFO] [stderr] Compiling lock_api v0.4.9 [INFO] [stderr] Compiling unicode-segmentation v1.8.0 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Compiling tokio v1.21.2 [INFO] [stderr] Compiling serde_json v1.0.81 [INFO] [stderr] Compiling lazycell v1.3.0 [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Compiling same-file v1.0.6 [INFO] [stderr] Compiling heck v0.3.3 [INFO] [stderr] Compiling argh_shared v0.1.5 [INFO] [stderr] Compiling unicode-width v0.1.8 [INFO] [stderr] Compiling once_cell v1.10.0 [INFO] [stderr] Compiling walkdir v2.3.2 [INFO] [stderr] Compiling bytes v1.2.1 [INFO] [stderr] Compiling itoa v1.0.2 [INFO] [stderr] Compiling number_prefix v0.4.0 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling pin-project-lite v0.2.9 [INFO] [stderr] Compiling home v0.5.3 [INFO] [stderr] Compiling glob v0.3.0 [INFO] [stderr] Compiling aho-corasick v0.7.18 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Compiling iovec v0.1.4 [INFO] [stderr] Compiling net2 v0.2.37 [INFO] [stderr] Compiling inotify-sys v0.1.5 [INFO] [stderr] Compiling terminal_size v0.1.17 [INFO] [stderr] Compiling filetime v0.2.15 [INFO] [stderr] Compiling mio v0.8.5 [INFO] [stderr] Compiling socket2 v0.4.7 [INFO] [stderr] Compiling num_cpus v1.13.1 [INFO] [stderr] Compiling signal-hook-registry v1.4.0 [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 mio-extras v2.0.6 [INFO] [stderr] Compiling notify v4.0.17 [INFO] [stderr] Compiling regex v1.5.5 [INFO] [stderr] Compiling console v0.15.0 [INFO] [stderr] Compiling indicatif v0.16.2 [INFO] [stderr] Compiling argh_derive v0.1.5 [INFO] [stderr] Compiling tokio-macros v1.8.0 [INFO] [stderr] Compiling argh v0.1.5 [INFO] [stderr] Compiling toml v0.5.9 [INFO] [stderr] Compiling rustlings v5.2.1 (/opt/rustwide/workdir) [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 16.19s [INFO] running `Command { std: "docker" "inspect" "2441828405d2bdf4facb51cbb1c7316c2ed1a9f4864a7732555db2bb98e83ea0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2441828405d2bdf4facb51cbb1c7316c2ed1a9f4864a7732555db2bb98e83ea0", kill_on_drop: false }` [INFO] [stdout] 2441828405d2bdf4facb51cbb1c7316c2ed1a9f4864a7732555db2bb98e83ea0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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] 7938dfe485031cbc49dfa6ce4042fbf1bd309a0e35089febe9632d72f07078e2 [INFO] running `Command { std: "docker" "start" "-a" "7938dfe485031cbc49dfa6ce4042fbf1bd309a0e35089febe9632d72f07078e2", kill_on_drop: false }` [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling escargot v0.4.0 [INFO] [stderr] Compiling predicates-core v1.0.2 [INFO] [stderr] Compiling treeline v0.1.0 [INFO] [stderr] Compiling normalize-line-endings v0.3.0 [INFO] [stderr] Compiling difference v2.0.0 [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] Compiling predicates-tree v1.0.3 [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.2.1 (/opt/rustwide/workdir) [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 `test` profile [unoptimized + debuginfo] target(s) in 2.30s [INFO] running `Command { std: "docker" "inspect" "7938dfe485031cbc49dfa6ce4042fbf1bd309a0e35089febe9632d72f07078e2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7938dfe485031cbc49dfa6ce4042fbf1bd309a0e35089febe9632d72f07078e2", kill_on_drop: false }` [INFO] [stdout] 7938dfe485031cbc49dfa6ce4042fbf1bd309a0e35089febe9632d72f07078e2