[INFO] cloning repository https://github.com/freshtonic/selecta-rs [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/freshtonic/selecta-rs" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ffreshtonic%2Fselecta-rs", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ffreshtonic%2Fselecta-rs'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] b029a925348ae44dd8c2027ebf7705d41914b5b3 [INFO] checking freshtonic/selecta-rs against master#506512391b1a75ae450d36c9420978402a91abcc for pr-125384 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ffreshtonic%2Fselecta-rs" "/workspace/builds/worker-5-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/freshtonic/selecta-rs on toolchain 506512391b1a75ae450d36c9420978402a91abcc [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+506512391b1a75ae450d36c9420978402a91abcc" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/freshtonic/selecta-rs [INFO] finished tweaking git repo https://github.com/freshtonic/selecta-rs [INFO] tweaked toml for git repo https://github.com/freshtonic/selecta-rs written to /workspace/builds/worker-5-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/freshtonic/selecta-rs 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" "+506512391b1a75ae450d36c9420978402a91abcc" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [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:beeedbb442662e57d416641ecc3200b38e573c25b057896194468d05594dd835" "/opt/rustwide/cargo-home/bin/cargo" "+506512391b1a75ae450d36c9420978402a91abcc" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] a457c565280ed59cf00eb87d11cbbe130d58f0e538fdb45d37a391f186785f4f [INFO] running `Command { std: "docker" "start" "-a" "a457c565280ed59cf00eb87d11cbbe130d58f0e538fdb45d37a391f186785f4f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a457c565280ed59cf00eb87d11cbbe130d58f0e538fdb45d37a391f186785f4f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a457c565280ed59cf00eb87d11cbbe130d58f0e538fdb45d37a391f186785f4f", kill_on_drop: false }` [INFO] [stdout] a457c565280ed59cf00eb87d11cbbe130d58f0e538fdb45d37a391f186785f4f [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=allow" "-e" "RUSTDOCFLAGS=--cap-lints=allow" "-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:beeedbb442662e57d416641ecc3200b38e573c25b057896194468d05594dd835" "/opt/rustwide/cargo-home/bin/cargo" "+506512391b1a75ae450d36c9420978402a91abcc" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 6c7d3c70dc799cb1dac66889b986ff03c03213198f5280edade47e418f64954e [INFO] running `Command { std: "docker" "start" "-a" "6c7d3c70dc799cb1dac66889b986ff03c03213198f5280edade47e418f64954e", kill_on_drop: false }` [INFO] [stderr] Checking selecta v0.0.1 (/opt/rustwide/workdir) [INFO] [stdout] error[E0463]: can't find crate for `regex` [INFO] [stdout] --> src/lib.rs:4:1 [INFO] [stdout] | [INFO] [stdout] 4 | extern crate regex; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0463]: can't find crate for `regex` [INFO] [stdout] --> src/lib.rs:4:1 [INFO] [stdout] | [INFO] [stdout] 4 | extern crate regex; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `core::str::StrExt` [INFO] [stdout] --> src/score.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use core::str::StrExt; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ no `StrExt` in `str` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `core::str::StrExt` [INFO] [stdout] --> src/score.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use core::str::StrExt; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ no `StrExt` in `str` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `core::str::StrExt` [INFO] [stdout] --> src/score.rs:50:9 [INFO] [stdout] | [INFO] [stdout] 50 | use core::str::StrExt; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ no `StrExt` in `str` [INFO] [stdout] | [INFO] [stdout] help: consider importing this unresolved item through its public re-export instead [INFO] [stdout] | [INFO] [stdout] 50 | use score::StrExt; [INFO] [stdout] | ~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `as_slice` found for reference `&String` in the current scope [INFO] [stdout] --> src/score.rs:23:48 [INFO] [stdout] | [INFO] [stdout] 23 | let re = match regex::Regex::new(re_string.as_slice()) { [INFO] [stdout] | ^^^^^^^^ method not found in `&String` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `as_slice` found for reference `&String` in the current scope [INFO] [stdout] --> src/score.rs:27:30 [INFO] [stdout] | [INFO] [stdout] 27 | match re.captures(choice.as_slice()) { [INFO] [stdout] | ^^^^^^^^ method not found in `&String` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `as_slice` found for reference `&String` in the current scope [INFO] [stdout] --> src/score.rs:23:48 [INFO] [stdout] | [INFO] [stdout] 23 | let re = match regex::Regex::new(re_string.as_slice()) { [INFO] [stdout] | ^^^^^^^^ method not found in `&String` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `as_slice` found for struct `String` in the current scope [INFO] [stdout] --> src/score.rs:38:47 [INFO] [stdout] | [INFO] [stdout] 38 | .map(|ch| regex::quote(ch.to_string().as_slice())) [INFO] [stdout] | ^^^^^^^^ method not found in `String` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `as_slice` found for reference `&String` in the current scope [INFO] [stdout] --> src/score.rs:27:30 [INFO] [stdout] | [INFO] [stdout] 27 | match re.captures(choice.as_slice()) { [INFO] [stdout] | ^^^^^^^^ method not found in `&String` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 5 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0463, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `as_slice` found for struct `String` in the current scope [INFO] [stdout] --> src/score.rs:38:47 [INFO] [stdout] | [INFO] [stdout] 38 | .map(|ch| regex::quote(ch.to_string().as_slice())) [INFO] [stdout] | ^^^^^^^^ method not found in `String` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `selecta` (lib) due to 6 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0599]: no method named `char_len` found for reference `&'static str` in the current scope [INFO] [stdout] --> src/score.rs:92:36 [INFO] [stdout] | [INFO] [stdout] 92 | 1.0 / ("a long string".char_len() as f32)); [INFO] [stdout] | ^^^^^^^^ method not found in `&str` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `char_len` found for reference `&'static str` in the current scope [INFO] [stdout] --> src/score.rs:95:42 [INFO] [stdout] | [INFO] [stdout] 95 | 1.0 / ("spec/search_spec.rb".char_len() as f32)); [INFO] [stdout] | ^^^^^^^^ method not found in `&str` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 8 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0463, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stderr] error: could not compile `selecta` (lib test) due to 9 previous errors [INFO] running `Command { std: "docker" "inspect" "6c7d3c70dc799cb1dac66889b986ff03c03213198f5280edade47e418f64954e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6c7d3c70dc799cb1dac66889b986ff03c03213198f5280edade47e418f64954e", kill_on_drop: false }` [INFO] [stdout] 6c7d3c70dc799cb1dac66889b986ff03c03213198f5280edade47e418f64954e [INFO] checking freshtonic/selecta-rs against try#dae34b759e282c069aa28752564694effd121a63 for pr-125384 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ffreshtonic%2Fselecta-rs" "/workspace/builds/worker-5-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/freshtonic/selecta-rs on toolchain dae34b759e282c069aa28752564694effd121a63 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+dae34b759e282c069aa28752564694effd121a63" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/freshtonic/selecta-rs [INFO] finished tweaking git repo https://github.com/freshtonic/selecta-rs [INFO] tweaked toml for git repo https://github.com/freshtonic/selecta-rs written to /workspace/builds/worker-5-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/freshtonic/selecta-rs 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" "+dae34b759e282c069aa28752564694effd121a63" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:beeedbb442662e57d416641ecc3200b38e573c25b057896194468d05594dd835" "/opt/rustwide/cargo-home/bin/cargo" "+dae34b759e282c069aa28752564694effd121a63" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 79511742fb004ed8ad8855e7b44cb9f04ee9e1528096bdb0035a161026d22f2b [INFO] running `Command { std: "docker" "start" "-a" "79511742fb004ed8ad8855e7b44cb9f04ee9e1528096bdb0035a161026d22f2b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "79511742fb004ed8ad8855e7b44cb9f04ee9e1528096bdb0035a161026d22f2b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "79511742fb004ed8ad8855e7b44cb9f04ee9e1528096bdb0035a161026d22f2b", kill_on_drop: false }` [INFO] [stdout] 79511742fb004ed8ad8855e7b44cb9f04ee9e1528096bdb0035a161026d22f2b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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=allow" "-e" "RUSTDOCFLAGS=--cap-lints=allow" "-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:beeedbb442662e57d416641ecc3200b38e573c25b057896194468d05594dd835" "/opt/rustwide/cargo-home/bin/cargo" "+dae34b759e282c069aa28752564694effd121a63" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 42d129ba1f98a44f93ba3e27bd76fba1321249e69a50b1cc1fe0ba9946c8f4c9 [INFO] running `Command { std: "docker" "start" "-a" "42d129ba1f98a44f93ba3e27bd76fba1321249e69a50b1cc1fe0ba9946c8f4c9", kill_on_drop: false }` [INFO] [stderr] Copying to /tmp/fixit [INFO] [stderr] no edition found in manifest, probably 2015, skipping [INFO] running `Command { std: "docker" "inspect" "42d129ba1f98a44f93ba3e27bd76fba1321249e69a50b1cc1fe0ba9946c8f4c9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "42d129ba1f98a44f93ba3e27bd76fba1321249e69a50b1cc1fe0ba9946c8f4c9", kill_on_drop: false }` [INFO] [stdout] 42d129ba1f98a44f93ba3e27bd76fba1321249e69a50b1cc1fe0ba9946c8f4c9