[INFO] fetching crate sml 0.1.46... [INFO] testing sml-0.1.46 against try#c2e32f1c9652b13ed99608599c1e855462f421f3 for pr-146098-8 [INFO] extracting crate sml 0.1.46 into /workspace/builds/worker-3-tc2/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-3-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate sml 0.1.46 on toolchain c2e32f1c9652b13ed99608599c1e855462f421f3 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "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" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 10 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" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] ed3ca55cb82af95bb85c8667e751b8784175848645ce683e01fe7fafbdb0479a [INFO] running `Command { std: "docker" "start" "-a" "ed3ca55cb82af95bb85c8667e751b8784175848645ce683e01fe7fafbdb0479a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ed3ca55cb82af95bb85c8667e751b8784175848645ce683e01fe7fafbdb0479a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ed3ca55cb82af95bb85c8667e751b8784175848645ce683e01fe7fafbdb0479a", kill_on_drop: false }` [INFO] [stdout] ed3ca55cb82af95bb85c8667e751b8784175848645ce683e01fe7fafbdb0479a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 4604e7bef172aaa4e9a500e8d36b62d008264f7182b28f17dd0d5b7cf554b19d [INFO] running `Command { std: "docker" "start" "-a" "4604e7bef172aaa4e9a500e8d36b62d008264f7182b28f17dd0d5b7cf554b19d", kill_on_drop: false }` [INFO] [stderr] Compiling colored v1.9.4 [INFO] [stderr] Compiling 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)]` (part of `#[warn(unused)]`) 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: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/lib.rs:644:19 [INFO] [stdout] | [INFO] [stdout] 644 | pub fn to_ref(&self) -> Small { [INFO] [stdout] | ^^^^^ ^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 644 | pub fn to_ref(&self) -> Small<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/lib.rs:779:19 [INFO] [stdout] | [INFO] [stdout] 779 | fn apply_path(&self, s: &str) -> Result { [INFO] [stdout] | ^^^^^ ^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 779 | fn apply_path(&self, s: &str) -> Result, SmallError> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.56s [INFO] running `Command { std: "docker" "inspect" "4604e7bef172aaa4e9a500e8d36b62d008264f7182b28f17dd0d5b7cf554b19d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4604e7bef172aaa4e9a500e8d36b62d008264f7182b28f17dd0d5b7cf554b19d", kill_on_drop: false }` [INFO] [stdout] 4604e7bef172aaa4e9a500e8d36b62d008264f7182b28f17dd0d5b7cf554b19d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f56b61b7dd0a47f79ded0753b0aeb7de1747492aced5ca6e53299d7d2f5e8727 [INFO] running `Command { std: "docker" "start" "-a" "f56b61b7dd0a47f79ded0753b0aeb7de1747492aced5ca6e53299d7d2f5e8727", kill_on_drop: false }` [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)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling sml v0.1.46 (/opt/rustwide/workdir) [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: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/lib.rs:644:19 [INFO] [stdout] | [INFO] [stdout] 644 | pub fn to_ref(&self) -> Small { [INFO] [stdout] | ^^^^^ ^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 644 | pub fn to_ref(&self) -> Small<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/lib.rs:779:19 [INFO] [stdout] | [INFO] [stdout] 779 | fn apply_path(&self, s: &str) -> Result { [INFO] [stdout] | ^^^^^ ^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type 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)]` (part of `#[warn(unused)]`) on by default [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)]` (part of `#[warn(unused)]`) 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: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/lib.rs:644:19 [INFO] [stdout] | [INFO] [stdout] 644 | pub fn to_ref(&self) -> Small { [INFO] [stdout] | ^^^^^ ^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 644 | pub fn to_ref(&self) -> Small<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/lib.rs:779:19 [INFO] [stdout] | [INFO] [stdout] 779 | fn apply_path(&self, s: &str) -> Result { [INFO] [stdout] | ^^^^^ ^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 779 | fn apply_path(&self, s: &str) -> Result, SmallError> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.32s [INFO] running `Command { std: "docker" "inspect" "f56b61b7dd0a47f79ded0753b0aeb7de1747492aced5ca6e53299d7d2f5e8727", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f56b61b7dd0a47f79ded0753b0aeb7de1747492aced5ca6e53299d7d2f5e8727", kill_on_drop: false }` [INFO] [stdout] f56b61b7dd0a47f79ded0753b0aeb7de1747492aced5ca6e53299d7d2f5e8727 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 4b6fda8b4105be00ec3ce41afa1a3e28baeebee7f524f09f0b6d4661dd1d4c46 [INFO] running `Command { std: "docker" "start" "-a" "4b6fda8b4105be00ec3ce41afa1a3e28baeebee7f524f09f0b6d4661dd1d4c46", kill_on_drop: false }` [INFO] [stderr] warning: function `spaces` is never used [INFO] [stderr] --> src/lib.rs:182:4 [INFO] [stderr] | [INFO] [stderr] 182 | fn spaces(i: usize) -> String { [INFO] [stderr] | ^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: methods `indent` and `line` are never used [INFO] [stderr] --> src/lib.rs:446:8 [INFO] [stderr] | [INFO] [stderr] 424 | impl Token { [INFO] [stderr] | ---------- methods in this implementation [INFO] [stderr] ... [INFO] [stderr] 446 | fn indent(&mut self) { [INFO] [stderr] | ^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 576 | fn line(&self) -> usize { [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] warning: method `indent` is never used [INFO] [stderr] --> src/lib.rs:637:8 [INFO] [stderr] | [INFO] [stderr] 613 | impl SmallString { [INFO] [stderr] | ---------------- method in this implementation [INFO] [stderr] ... [INFO] [stderr] 637 | fn indent(&mut self) { [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: method `tokens` is never used [INFO] [stderr] --> src/lib.rs:724:8 [INFO] [stderr] | [INFO] [stderr] 722 | impl<'a> Small<'a> { [INFO] [stderr] | ------------------ method in this implementation [INFO] [stderr] 723 | [INFO] [stderr] 724 | fn tokens(&self) -> Vec { [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/lib.rs:644:19 [INFO] [stderr] | [INFO] [stderr] 644 | pub fn to_ref(&self) -> Small { [INFO] [stderr] | ^^^^^ ^^^^^ the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 644 | pub fn to_ref(&self) -> Small<'_> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/lib.rs:779:19 [INFO] [stderr] | [INFO] [stderr] 779 | fn apply_path(&self, s: &str) -> Result { [INFO] [stderr] | ^^^^^ ^^^^^ the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 779 | fn apply_path(&self, s: &str) -> Result, SmallError> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: `sml` (lib) generated 6 warnings (run `cargo fix --lib -p sml` to apply 2 suggestions) [INFO] [stderr] warning: `sml` (lib test) generated 6 warnings (6 duplicates) [INFO] [stderr] warning: function `key_parse2` is never used [INFO] [stderr] --> tests/test.rs:148:4 [INFO] [stderr] | [INFO] [stderr] 148 | fn key_parse2() { [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: `sml` (test "test") generated 1 warning [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.01s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/sml-7ff0cb4fdb71ce7a) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Running tests/test.rs (/opt/rustwide/target/debug/deps/test-dacf2b078aa36d40) [INFO] [stdout] [INFO] [stdout] running 24 tests [INFO] [stdout] test basic1 ... ok [INFO] [stdout] test basic2 ... ok [INFO] [stdout] test basic4 ... ok [INFO] [stdout] test basic3 ... ok [INFO] [stdout] test bool_parse_error ... ok [INFO] [stdout] test empty_error ... ok [INFO] [stdout] test empty_key_error ... ok [INFO] [stdout] test float_parse_error ... ok [INFO] [stdout] test indent1 ... ok [INFO] [stdout] test is_key_error ... ok [INFO] [stdout] test is_value_error ... ok [INFO] [stdout] test key_parse1 ... ok [INFO] [stdout] test missing_token_error ... ok [INFO] [stdout] test no_colon_error1 ... ok [INFO] [stdout] test no_colon_error2 ... ok [INFO] [stdout] test no_quote_after_key_error ... ok [INFO] [stdout] test no_second_quote ... ok [INFO] [stdout] test no_space_after_key ... ok [INFO] [stdout] test not_unique_error ... ok [INFO] [stdout] test parse_value_error ... ok [INFO] [stdout] test path1 ... ok [INFO] [stdout] test path_is_key ... ok [INFO] [stdout] test path_vec_string ... ok [INFO] [stdout] test path_not_unique ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 24 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Doc-tests sml [INFO] [stdout] [INFO] [stdout] running 6 tests [INFO] [stdout] test src/lib.rs - (line 118) ... FAILED [INFO] [stdout] test src/lib.rs - (line 112) ... FAILED [INFO] [stdout] test src/lib.rs - (line 106) ... FAILED [INFO] [stdout] test src/lib.rs - (line 123) ... FAILED [INFO] [stdout] test src/lib.rs - (line 158) ... FAILED [INFO] [stdout] test src/lib.rs - (line 62) ... ok [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/lib.rs - (line 118) stdout ---- [INFO] [stdout] error: missing `fn` for function definition [INFO] [stdout] --> src/lib.rs:119:1 [INFO] [stdout] | [INFO] [stdout] 119 | from_str(s: &str) -> Result [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: add `fn` here to parse `from_str` as a function [INFO] [stdout] | [INFO] [stdout] 119 | fn from_str(s: &str) -> Result [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - (line 112) stdout ---- [INFO] [stdout] error: missing `fn` for function definition [INFO] [stdout] --> src/lib.rs:113:1 [INFO] [stdout] | [INFO] [stdout] 113 | path(small: &Small, key_path: &str) -> Result [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] help: add `fn` here to parse `path` as a function [INFO] [stdout] | [INFO] [stdout] 113 | fn path(small: &Small, key_path: &str) -> Result [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - (line 106) stdout ---- [INFO] [stdout] error: missing `fn` for function definition [INFO] [stdout] --> src/lib.rs:107:1 [INFO] [stdout] | [INFO] [stdout] 107 | from_small(slice: &Small) -> Result [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: add `fn` here to parse `from_small` as a function [INFO] [stdout] | [INFO] [stdout] 107 | fn from_small(slice: &Small) -> Result [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - (line 123) stdout ---- [INFO] [stdout] error: invalid `struct` delimiters or `fn` call arguments [INFO] [stdout] --> src/lib.rs:124:1 [INFO] [stdout] | [INFO] [stdout] 124 | from_str_debug(s: &str) -> Self [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: if `from_str_debug` is a struct, use braces as delimiters [INFO] [stdout] | [INFO] [stdout] 124 - from_str_debug(s: &str) -> Self [INFO] [stdout] 124 + from_str_debug { s: &str } -> Self [INFO] [stdout] | [INFO] [stdout] help: if `from_str_debug` is a function, use the arguments directly [INFO] [stdout] | [INFO] [stdout] 124 - from_str_debug(s: &str) -> Self [INFO] [stdout] 124 + from_str_debug(&str) -> Self [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: `->` is not valid syntax for field accesses and method calls [INFO] [stdout] --> src/lib.rs:124:25 [INFO] [stdout] | [INFO] [stdout] 124 | from_str_debug(s: &str) -> Self [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = help: the `.` operator will automatically dereference the value, except if the value is a raw pointer [INFO] [stdout] help: try using `.` instead [INFO] [stdout] | [INFO] [stdout] 124 - from_str_debug(s: &str) -> Self [INFO] [stdout] 124 + from_str_debug(s: &str) . Self [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - (line 158) stdout ---- [INFO] [stdout] error[E0405]: cannot find trait `FromSmall` in this scope [INFO] [stdout] --> src/lib.rs:159:6 [INFO] [stdout] | [INFO] [stdout] 159 | impl FromSmall for u32 { [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this trait [INFO] [stdout] | [INFO] [stdout] 158 + use sml::FromSmall; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Small` in this scope [INFO] [stdout] --> src/lib.rs:160:23 [INFO] [stdout] | [INFO] [stdout] 160 | fn from_small(s: &Small) -> Result { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 158 + use sml::Small; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `SmallError` in this scope [INFO] [stdout] --> src/lib.rs:160:46 [INFO] [stdout] | [INFO] [stdout] 160 | fn from_small(s: &Small) -> Result { [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 158 + use sml::SmallError; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `SmallError` [INFO] [stdout] --> src/lib.rs:165:26 [INFO] [stdout] | [INFO] [stdout] 165 | .map_err(|_| SmallError::ParseValue(token, "u32")) [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `SmallError` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 158 + use sml::SmallError; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0405, E0412, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0405`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] src/lib.rs - (line 106) [INFO] [stdout] src/lib.rs - (line 112) [INFO] [stdout] src/lib.rs - (line 118) [INFO] [stdout] src/lib.rs - (line 123) [INFO] [stdout] src/lib.rs - (line 158) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 1 passed; 5 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.18s [INFO] [stdout] [INFO] [stderr] error: doctest failed, to rerun pass `--doc` [INFO] running `Command { std: "docker" "inspect" "4b6fda8b4105be00ec3ce41afa1a3e28baeebee7f524f09f0b6d4661dd1d4c46", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4b6fda8b4105be00ec3ce41afa1a3e28baeebee7f524f09f0b6d4661dd1d4c46", kill_on_drop: false }` [INFO] [stdout] 4b6fda8b4105be00ec3ce41afa1a3e28baeebee7f524f09f0b6d4661dd1d4c46