[INFO] fetching crate luk 0.1.0... [INFO] checking luk-0.1.0 against master#350d0ef0ec0493e6d21cfb265cb8211a0e74d766 for pr-145342-1 [INFO] extracting crate luk 0.1.0 into /workspace/builds/worker-5-tc1/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-5-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate luk 0.1.0 on toolchain 350d0ef0ec0493e6d21cfb265cb8211a0e74d766 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "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" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded serde_derive v1.0.131 [INFO] [stderr] Downloaded shell-words v0.1.0 [INFO] [stderr] Downloaded ansi_colours v1.0.4 [INFO] [stderr] Downloaded console v0.10.3 [INFO] [stderr] Downloaded onig v6.3.1 [INFO] [stderr] Downloaded pkg-config v0.3.23 [INFO] [stderr] Downloaded time v0.3.5 [INFO] [stderr] Downloaded serde v1.0.131 [INFO] [stderr] Downloaded syntect v4.6.0 [INFO] [stderr] Downloaded onig_sys v69.7.1 [INFO] [stderr] Downloaded prettyprint v0.8.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 81cf23c2b0240fb15d716619fad6dd6a9a1ada4d4e3f705b1377c65b6011a82d [INFO] running `Command { std: "docker" "start" "-a" "81cf23c2b0240fb15d716619fad6dd6a9a1ada4d4e3f705b1377c65b6011a82d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "81cf23c2b0240fb15d716619fad6dd6a9a1ada4d4e3f705b1377c65b6011a82d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "81cf23c2b0240fb15d716619fad6dd6a9a1ada4d4e3f705b1377c65b6011a82d", kill_on_drop: false }` [INFO] [stdout] 81cf23c2b0240fb15d716619fad6dd6a9a1ada4d4e3f705b1377c65b6011a82d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e8c4ea10c9a48e1e22e6b14eac7fc6c68f172f576f866febf04b7cd4c464cb97 [INFO] running `Command { std: "docker" "start" "-a" "e8c4ea10c9a48e1e22e6b14eac7fc6c68f172f576f866febf04b7cd4c464cb97", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.109 [INFO] [stderr] Compiling proc-macro2 v1.0.33 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling syn v1.0.82 [INFO] [stderr] Compiling cc v1.0.72 [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling version_check v0.9.3 [INFO] [stderr] Compiling memchr v2.4.1 [INFO] [stderr] Checking encoding_index_tests v0.1.4 [INFO] [stderr] Compiling serde v1.0.131 [INFO] [stderr] Compiling strsim v0.9.3 [INFO] [stderr] Checking adler v1.0.2 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Compiling ident_case v1.0.1 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling pkg-config v0.3.23 [INFO] [stderr] Checking bitflags v1.3.2 [INFO] [stderr] Compiling crc32fast v1.3.0 [INFO] [stderr] Checking unicode-width v0.1.9 [INFO] [stderr] Checking itoa v0.4.8 [INFO] [stderr] Compiling ryu v1.0.6 [INFO] [stderr] Compiling serde_json v1.0.72 [INFO] [stderr] Checking safemem v0.3.3 [INFO] [stderr] Checking gimli v0.26.1 [INFO] [stderr] Compiling serde_derive v1.0.131 [INFO] [stderr] Checking regex-syntax v0.6.25 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Checking hashbrown v0.11.2 [INFO] [stderr] Compiling error-chain v0.12.4 [INFO] [stderr] Checking line-wrap v0.1.1 [INFO] [stderr] Checking textwrap v0.11.0 [INFO] [stderr] Compiling derive_builder v0.9.0 [INFO] [stderr] Checking xml-rs v0.8.4 [INFO] [stderr] Checking strsim v0.8.0 [INFO] [stderr] Compiling miniz_oxide v0.4.4 [INFO] [stderr] Compiling indexmap v1.7.0 [INFO] [stderr] Checking vec_map v0.8.2 [INFO] [stderr] Checking ansi_term v0.12.1 [INFO] [stderr] Compiling unicode-segmentation v1.8.0 [INFO] [stderr] Checking base64 v0.13.0 [INFO] [stderr] Checking rustc-demangle v0.1.21 [INFO] [stderr] Compiling quote v1.0.10 [INFO] [stderr] Checking same-file v1.0.6 [INFO] [stderr] Checking walkdir v2.3.2 [INFO] [stderr] Checking encoding-index-japanese v1.20141219.5 [INFO] [stderr] Compiling heck v0.3.3 [INFO] [stderr] Checking object v0.27.1 [INFO] [stderr] Checking encoding-index-tradchinese v1.20141219.5 [INFO] [stderr] Checking encoding-index-korean v1.20141219.5 [INFO] [stderr] Checking encoding-index-simpchinese v1.20141219.5 [INFO] [stderr] Checking encoding-index-singlebyte v1.20141219.5 [INFO] [stderr] Compiling anyhow v1.0.51 [INFO] [stderr] Checking lazycell v1.3.0 [INFO] [stderr] Checking cfg-if v0.1.10 [INFO] [stderr] Checking content_inspector v0.2.4 [INFO] [stderr] Checking time v0.3.5 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking clicolors-control v1.0.1 [INFO] [stderr] Checking terminal_size v0.1.17 [INFO] [stderr] Checking clap v2.34.0 [INFO] [stderr] Checking dirs-sys v0.3.6 [INFO] [stderr] Checking flate2 v1.0.22 [INFO] [stderr] Checking termios v0.3.3 [INFO] [stderr] Checking encoding v0.2.33 [INFO] [stderr] Checking shell-words v0.1.0 [INFO] [stderr] Checking directories v2.0.2 [INFO] [stderr] Compiling onig_sys v69.7.1 [INFO] [stderr] Compiling backtrace v0.3.63 [INFO] [stderr] Compiling ansi_colours v1.0.4 [INFO] [stderr] Checking addr2line v0.17.0 [INFO] [stderr] Checking regex v1.5.4 [INFO] [stderr] Checking console v0.10.3 [INFO] [stderr] Compiling darling_core v0.10.2 [INFO] [stderr] Compiling structopt-derive v0.4.18 [INFO] [stderr] Checking bincode v1.3.3 [INFO] [stderr] Checking plist v1.3.1 [INFO] [stderr] Compiling darling_macro v0.10.2 [INFO] [stderr] Checking structopt v0.3.25 [INFO] [stderr] Compiling darling v0.10.2 [INFO] [stderr] Compiling derive_builder_core v0.9.0 [INFO] [stderr] Checking onig v6.3.1 [INFO] [stderr] Checking syntect v4.6.0 [INFO] [stderr] Checking prettyprint v0.8.1 [INFO] [stderr] Checking 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" "e8c4ea10c9a48e1e22e6b14eac7fc6c68f172f576f866febf04b7cd4c464cb97", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e8c4ea10c9a48e1e22e6b14eac7fc6c68f172f576f866febf04b7cd4c464cb97", kill_on_drop: false }` [INFO] [stdout] e8c4ea10c9a48e1e22e6b14eac7fc6c68f172f576f866febf04b7cd4c464cb97