[INFO] fetching crate luk 0.1.0... [INFO] testing luk-0.1.0 against try#b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b for pr-145330-1 [INFO] extracting crate luk 0.1.0 into /workspace/builds/worker-1-tc2/source [INFO] started tweaking crates.io crate luk 0.1.0 [INFO] finished tweaking crates.io crate luk 0.1.0 [INFO] tweaked toml for crates.io crate luk 0.1.0 written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate luk 0.1.0 on toolchain b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate luk 0.1.0 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" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 02f3383d95b1a18cf859b9f7c215ca3ad4bc5bc0895037fa4e3085dcf8c6200b [INFO] running `Command { std: "docker" "start" "-a" "02f3383d95b1a18cf859b9f7c215ca3ad4bc5bc0895037fa4e3085dcf8c6200b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "02f3383d95b1a18cf859b9f7c215ca3ad4bc5bc0895037fa4e3085dcf8c6200b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "02f3383d95b1a18cf859b9f7c215ca3ad4bc5bc0895037fa4e3085dcf8c6200b", kill_on_drop: false }` [INFO] [stdout] 02f3383d95b1a18cf859b9f7c215ca3ad4bc5bc0895037fa4e3085dcf8c6200b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 82150ff43906d9e519708ec2df48351be3aca00388f77245c6b39f91432f43a5 [INFO] running `Command { std: "docker" "start" "-a" "82150ff43906d9e519708ec2df48351be3aca00388f77245c6b39f91432f43a5", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.109 [INFO] [stderr] Compiling proc-macro2 v1.0.33 [INFO] [stderr] Compiling syn v1.0.82 [INFO] [stderr] Compiling encoding_index_tests v0.1.4 [INFO] [stderr] Compiling miniz_oxide v0.4.4 [INFO] [stderr] Compiling serde v1.0.131 [INFO] [stderr] Compiling pkg-config v0.3.23 [INFO] [stderr] Compiling strsim v0.9.3 [INFO] [stderr] Compiling indexmap v1.7.0 [INFO] [stderr] Compiling unicode-width v0.1.9 [INFO] [stderr] Compiling crc32fast v1.3.0 [INFO] [stderr] Compiling ryu v1.0.6 [INFO] [stderr] Compiling backtrace v0.3.63 [INFO] [stderr] Compiling serde_derive v1.0.131 [INFO] [stderr] Compiling regex-syntax v0.6.25 [INFO] [stderr] Compiling serde_json v1.0.72 [INFO] [stderr] Compiling onig_sys v69.7.1 [INFO] [stderr] Compiling gimli v0.26.1 [INFO] [stderr] Compiling safemem v0.3.3 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling quote v1.0.10 [INFO] [stderr] Compiling time v0.3.5 [INFO] [stderr] Compiling line-wrap v0.1.1 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling textwrap v0.11.0 [INFO] [stderr] Compiling object v0.27.1 [INFO] [stderr] Compiling ansi_colours v1.0.4 [INFO] [stderr] Compiling error-chain v0.12.4 [INFO] [stderr] Compiling rustc-demangle v0.1.21 [INFO] [stderr] Compiling addr2line v0.17.0 [INFO] [stderr] Compiling xml-rs v0.8.4 [INFO] [stderr] Compiling derive_builder v0.9.0 [INFO] [stderr] Compiling unicode-segmentation v1.8.0 [INFO] [stderr] Compiling walkdir v2.3.2 [INFO] [stderr] Compiling clap v2.34.0 [INFO] [stderr] Compiling heck v0.3.3 [INFO] [stderr] Compiling regex v1.5.4 [INFO] [stderr] Compiling flate2 v1.0.22 [INFO] [stderr] Compiling darling_core v0.10.2 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling onig v6.3.1 [INFO] [stderr] Compiling plist v1.3.1 [INFO] [stderr] Compiling bincode v1.3.3 [INFO] [stderr] Compiling terminal_size v0.1.17 [INFO] [stderr] Compiling clicolors-control v1.0.1 [INFO] [stderr] Compiling dirs-sys v0.3.6 [INFO] [stderr] Compiling termios v0.3.3 [INFO] [stderr] Compiling encoding-index-tradchinese v1.20141219.5 [INFO] [stderr] Compiling encoding-index-simpchinese v1.20141219.5 [INFO] [stderr] Compiling encoding-index-singlebyte v1.20141219.5 [INFO] [stderr] Compiling encoding-index-korean v1.20141219.5 [INFO] [stderr] Compiling encoding-index-japanese v1.20141219.5 [INFO] [stderr] Compiling anyhow v1.0.51 [INFO] [stderr] Compiling lazycell v1.3.0 [INFO] [stderr] Compiling directories v2.0.2 [INFO] [stderr] Compiling console v0.10.3 [INFO] [stderr] Compiling content_inspector v0.2.4 [INFO] [stderr] Compiling shell-words v0.1.0 [INFO] [stderr] Compiling encoding v0.2.33 [INFO] [stderr] Compiling darling_macro v0.10.2 [INFO] [stderr] Compiling structopt-derive v0.4.18 [INFO] [stderr] Compiling darling v0.10.2 [INFO] [stderr] Compiling derive_builder_core v0.9.0 [INFO] [stderr] Compiling structopt v0.3.25 [INFO] [stderr] Compiling syntect v4.6.0 [INFO] [stderr] Compiling prettyprint v0.8.1 [INFO] [stderr] Compiling luk v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 56.51s [INFO] running `Command { std: "docker" "inspect" "82150ff43906d9e519708ec2df48351be3aca00388f77245c6b39f91432f43a5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "82150ff43906d9e519708ec2df48351be3aca00388f77245c6b39f91432f43a5", kill_on_drop: false }` [INFO] [stdout] 82150ff43906d9e519708ec2df48351be3aca00388f77245c6b39f91432f43a5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 4cc83e922c3586072ab2ce22cca07eb97b383fff30cae98485178dd348d3b8b7 [INFO] running `Command { std: "docker" "start" "-a" "4cc83e922c3586072ab2ce22cca07eb97b383fff30cae98485178dd348d3b8b7", kill_on_drop: false }` [INFO] [stderr] Compiling luk v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:54:58 [INFO] [stdout] | [INFO] [stdout] 54 | find_matches("lorem ipsum\ndolor sit amet", "lorem", &mut result); [INFO] [stdout] | ------------ ^^^^^^^^^^^ expected `&str`, found `&mut Vec<_>` [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&str` [INFO] [stdout] found mutable reference `&mut Vec<_>` [INFO] [stdout] note: function defined here [INFO] [stdout] --> src/main.rs:32:4 [INFO] [stdout] | [INFO] [stdout] 32 | fn find_matches(content: &str, pattern: &str, lang: &str) { [INFO] [stdout] | ^^^^^^^^^^^^ ---------- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stderr] error: could not compile `luk` (bin "luk" test) due to 1 previous error [INFO] running `Command { std: "docker" "inspect" "4cc83e922c3586072ab2ce22cca07eb97b383fff30cae98485178dd348d3b8b7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4cc83e922c3586072ab2ce22cca07eb97b383fff30cae98485178dd348d3b8b7", kill_on_drop: false }` [INFO] [stdout] 4cc83e922c3586072ab2ce22cca07eb97b383fff30cae98485178dd348d3b8b7