[INFO] fetching crate sml 0.1.46... [INFO] checking sml-0.1.46 against master#cf38b8e663f15db10ce49d7bbce02c99fc3dbc0c for pr-143170 [INFO] extracting crate sml 0.1.46 into /workspace/builds/worker-0-tc1/source [INFO] started tweaking crates.io crate sml 0.1.46 [INFO] finished tweaking crates.io crate sml 0.1.46 [INFO] tweaked toml for crates.io crate sml 0.1.46 written to /workspace/builds/worker-0-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate sml 0.1.46 on toolchain cf38b8e663f15db10ce49d7bbce02c99fc3dbc0c [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cf38b8e663f15db10ce49d7bbce02c99fc3dbc0c" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cf38b8e663f15db10ce49d7bbce02c99fc3dbc0c" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Locking 18 packages to latest compatible versions [INFO] [stderr] Adding colored v1.9.4 (available: v3.0.0) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cf38b8e663f15db10ce49d7bbce02c99fc3dbc0c" "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-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+cf38b8e663f15db10ce49d7bbce02c99fc3dbc0c" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 2dd98e8c5878afa478e63ad2a7e9f691b67ce060d3c49bd68b3bd6f982e06b8e [INFO] running `Command { std: "docker" "start" "-a" "2dd98e8c5878afa478e63ad2a7e9f691b67ce060d3c49bd68b3bd6f982e06b8e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "2dd98e8c5878afa478e63ad2a7e9f691b67ce060d3c49bd68b3bd6f982e06b8e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2dd98e8c5878afa478e63ad2a7e9f691b67ce060d3c49bd68b3bd6f982e06b8e", kill_on_drop: false }` [INFO] [stdout] 2dd98e8c5878afa478e63ad2a7e9f691b67ce060d3c49bd68b3bd6f982e06b8e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+cf38b8e663f15db10ce49d7bbce02c99fc3dbc0c" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ebc563c4bdd1f3dd3a1b5fa4e37b2c7969d0c4edec9e04f6d418ae7585cc32ee [INFO] running `Command { std: "docker" "start" "-a" "ebc563c4bdd1f3dd3a1b5fa4e37b2c7969d0c4edec9e04f6d418ae7585cc32ee", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.174 [INFO] [stderr] Checking lazy_static v1.5.0 [INFO] [stderr] Checking is-terminal v0.4.16 [INFO] [stderr] Checking colored v1.9.4 [INFO] [stderr] Checking sml v0.1.46 (/opt/rustwide/workdir) [INFO] [stdout] warning: function `spaces` is never used [INFO] [stdout] --> src/lib.rs:182:4 [INFO] [stdout] | [INFO] [stdout] 182 | fn spaces(i: usize) -> String { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `indent` and `line` are never used [INFO] [stdout] --> src/lib.rs:446:8 [INFO] [stdout] | [INFO] [stdout] 424 | impl Token { [INFO] [stdout] | ---------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 446 | fn indent(&mut self) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 576 | fn line(&self) -> usize { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `indent` is never used [INFO] [stdout] --> src/lib.rs:637:8 [INFO] [stdout] | [INFO] [stdout] 613 | impl SmallString { [INFO] [stdout] | ---------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 637 | fn indent(&mut self) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `tokens` is never used [INFO] [stdout] --> src/lib.rs:724:8 [INFO] [stdout] | [INFO] [stdout] 722 | impl<'a> Small<'a> { [INFO] [stdout] | ------------------ method in this implementation [INFO] [stdout] 723 | [INFO] [stdout] 724 | fn tokens(&self) -> Vec { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/lib.rs:644:19 [INFO] [stdout] | [INFO] [stdout] 644 | pub fn to_ref(&self) -> Small { [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] 644 | pub fn to_ref(&self) -> Small<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/lib.rs:779:19 [INFO] [stdout] | [INFO] [stdout] 779 | fn apply_path(&self, s: &str) -> Result { [INFO] [stdout] | ^^^^^ ----- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 779 | fn apply_path(&self, s: &str) -> Result, SmallError> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `spaces` is never used [INFO] [stdout] --> src/lib.rs:182:4 [INFO] [stdout] | [INFO] [stdout] 182 | fn spaces(i: usize) -> String { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `indent` and `line` are never used [INFO] [stdout] --> src/lib.rs:446:8 [INFO] [stdout] | [INFO] [stdout] 424 | impl Token { [INFO] [stdout] | ---------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 446 | fn indent(&mut self) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 576 | fn line(&self) -> usize { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `indent` is never used [INFO] [stdout] --> src/lib.rs:637:8 [INFO] [stdout] | [INFO] [stdout] 613 | impl SmallString { [INFO] [stdout] | ---------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 637 | fn indent(&mut self) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `tokens` is never used [INFO] [stdout] --> src/lib.rs:724:8 [INFO] [stdout] | [INFO] [stdout] 722 | impl<'a> Small<'a> { [INFO] [stdout] | ------------------ method in this implementation [INFO] [stdout] 723 | [INFO] [stdout] 724 | fn tokens(&self) -> Vec { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/lib.rs:644:19 [INFO] [stdout] | [INFO] [stdout] 644 | pub fn to_ref(&self) -> Small { [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] 644 | pub fn to_ref(&self) -> Small<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/lib.rs:779:19 [INFO] [stdout] | [INFO] [stdout] 779 | fn apply_path(&self, s: &str) -> Result { [INFO] [stdout] | ^^^^^ ----- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 779 | fn apply_path(&self, s: &str) -> Result, SmallError> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `key_parse2` is never used [INFO] [stdout] --> tests/test.rs:148:4 [INFO] [stdout] | [INFO] [stdout] 148 | fn key_parse2() { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 2.30s [INFO] running `Command { std: "docker" "inspect" "ebc563c4bdd1f3dd3a1b5fa4e37b2c7969d0c4edec9e04f6d418ae7585cc32ee", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ebc563c4bdd1f3dd3a1b5fa4e37b2c7969d0c4edec9e04f6d418ae7585cc32ee", kill_on_drop: false }` [INFO] [stdout] ebc563c4bdd1f3dd3a1b5fa4e37b2c7969d0c4edec9e04f6d418ae7585cc32ee