[INFO] fetching crate bstree-file-readonly 0.1.1... [INFO] checking bstree-file-readonly-0.1.1 against try#4f260f0f20b3133d20cfb50353c0221943af5796+rustflags=-Dunmustuse_in_always_ok for pr-148577 [INFO] extracting crate bstree-file-readonly 0.1.1 into /workspace/builds/worker-6-tc2/source [INFO] started tweaking crates.io crate bstree-file-readonly 0.1.1 [INFO] finished tweaking crates.io crate bstree-file-readonly 0.1.1 [INFO] tweaked toml for crates.io crate bstree-file-readonly 0.1.1 written to /workspace/builds/worker-6-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate bstree-file-readonly 0.1.1 on toolchain 4f260f0f20b3133d20cfb50353c0221943af5796 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4f260f0f20b3133d20cfb50353c0221943af5796" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate bstree-file-readonly 0.1.1 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" "+4f260f0f20b3133d20cfb50353c0221943af5796" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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" "+4f260f0f20b3133d20cfb50353c0221943af5796" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] a6c5680adf798a466dcd7dd2278b2aeb8eaa67da45596337c7f45917941d7d8a [INFO] running `Command { std: "docker" "start" "-a" "a6c5680adf798a466dcd7dd2278b2aeb8eaa67da45596337c7f45917941d7d8a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a6c5680adf798a466dcd7dd2278b2aeb8eaa67da45596337c7f45917941d7d8a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a6c5680adf798a466dcd7dd2278b2aeb8eaa67da45596337c7f45917941d7d8a", kill_on_drop: false }` [INFO] [stdout] a6c5680adf798a466dcd7dd2278b2aeb8eaa67da45596337c7f45917941d7d8a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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 -Dunmustuse_in_always_ok" "-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" "+4f260f0f20b3133d20cfb50353c0221943af5796" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 93c5b644aba4766575518d11952b7236a3f94bbd0a3c9545f3b2e4ef0171499b [INFO] running `Command { std: "docker" "start" "-a" "93c5b644aba4766575518d11952b7236a3f94bbd0a3c9545f3b2e4ef0171499b", kill_on_drop: false }` [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 libc v0.2.109 [INFO] [stderr] Compiling version_check v0.9.3 [INFO] [stderr] Compiling serde_derive v1.0.130 [INFO] [stderr] Compiling serde v1.0.130 [INFO] [stderr] Compiling getrandom v0.1.16 [INFO] [stderr] Compiling memchr v2.4.1 [INFO] [stderr] Compiling ryu v1.0.6 [INFO] [stderr] Compiling unicode-segmentation v1.8.0 [INFO] [stderr] Checking unicode-width v0.1.9 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Checking ppv-lite86 v0.2.15 [INFO] [stderr] Checking regex-automata v0.1.10 [INFO] [stderr] Compiling serde_json v1.0.72 [INFO] [stderr] Checking itoa v0.4.8 [INFO] [stderr] Checking textwrap v0.11.0 [INFO] [stderr] Checking ansi_term v0.12.1 [INFO] [stderr] Compiling heck v0.3.3 [INFO] [stderr] Checking strsim v0.8.0 [INFO] [stderr] Checking either v1.6.1 [INFO] [stderr] Checking byteorder v1.4.3 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Checking itertools v0.11.0 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking memmap v0.7.0 [INFO] [stderr] Checking clap v2.34.0 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Compiling quote v1.0.10 [INFO] [stderr] Checking rand_chacha v0.2.2 [INFO] [stderr] Checking csv-core v0.1.10 [INFO] [stderr] Checking rand v0.7.3 [INFO] [stderr] Compiling structopt-derive v0.4.18 [INFO] [stderr] Checking structopt v0.3.25 [INFO] [stderr] Checking bstr v0.2.17 [INFO] [stderr] Checking bincode v1.3.3 [INFO] [stderr] Checking csv v1.1.6 [INFO] [stderr] Checking bstree-file-readonly v0.1.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: struct `GetProcess` is never constructed [INFO] [stdout] --> src/bstree.rs:2391:8 [INFO] [stdout] | [INFO] [stdout] 2391 | struct GetProcess<'a> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `GetExactProcess` is never constructed [INFO] [stdout] --> src/bstree.rs:2427:8 [INFO] [stdout] | [INFO] [stdout] 2427 | struct GetExactProcess<'a> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `GetProcess` is never constructed [INFO] [stdout] --> src/bstree.rs:2391:8 [INFO] [stdout] | [INFO] [stdout] 2391 | struct GetProcess<'a> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `GetExactProcess` is never constructed [INFO] [stdout] --> src/bstree.rs:2427:8 [INFO] [stdout] | [INFO] [stdout] 2427 | struct GetExactProcess<'a> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/cliargs/colargs.rs:19:3 [INFO] [stdout] | [INFO] [stdout] 19 | / #[structopt(short = "i", long)] [INFO] [stdout] 20 | | /// Index or Name of the column containing the identifier (else the order in the input file is used, starting at 0) [INFO] [stdout] 21 | | id: Option, [INFO] [stdout] | |____________________^ [INFO] [stdout] | [INFO] [stdout] = note: requested on the command line with `-D unmustuse-in-always-ok` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/cliargs/colargs.rs:22:3 [INFO] [stdout] | [INFO] [stdout] 22 | / #[structopt(short = "v", long, default_value = "0")] [INFO] [stdout] 23 | | /// Index or Name of the column containing the value to be indexed [INFO] [stdout] 24 | | val: String, [INFO] [stdout] | |_____________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/cliargs/mode.rs:39:5 [INFO] [stdout] | [INFO] [stdout] 39 | / #[structopt(short = "v", long)] [INFO] [stdout] 40 | | value: String, [INFO] [stdout] | |_________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/cliargs/mode.rs:53:5 [INFO] [stdout] | [INFO] [stdout] 53 | / #[structopt(long)] [INFO] [stdout] 54 | | d_max: Option, [INFO] [stdout] | |_________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/cliargs/mode.rs:59:5 [INFO] [stdout] | [INFO] [stdout] 59 | / #[structopt(short = "v", long)] [INFO] [stdout] 60 | | value: String, [INFO] [stdout] | |_________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/cliargs/mode.rs:63:5 [INFO] [stdout] | [INFO] [stdout] 63 | / #[structopt(long)] [INFO] [stdout] 64 | | d_max: Option, [INFO] [stdout] | |_________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/cliargs/mode.rs:69:5 [INFO] [stdout] | [INFO] [stdout] 69 | / #[structopt(short = "f", long = "from")] [INFO] [stdout] 70 | | /// HLower value of the range [INFO] [stdout] 71 | | lo: String, [INFO] [stdout] | |______________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/cliargs/mode.rs:72:5 [INFO] [stdout] | [INFO] [stdout] 72 | / #[structopt(short = "t", long = "to")] [INFO] [stdout] 73 | | /// Higher value of the range [INFO] [stdout] 74 | | hi: String, [INFO] [stdout] | |______________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/cliargs/colargs.rs:19:3 [INFO] [stdout] | [INFO] [stdout] 19 | / #[structopt(short = "i", long)] [INFO] [stdout] 20 | | /// Index or Name of the column containing the identifier (else the order in the input file is used, starting at 0) [INFO] [stdout] 21 | | id: Option, [INFO] [stdout] | |____________________^ [INFO] [stdout] | [INFO] [stdout] = note: requested on the command line with `-D unmustuse-in-always-ok` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/cliargs/colargs.rs:22:3 [INFO] [stdout] | [INFO] [stdout] 22 | / #[structopt(short = "v", long, default_value = "0")] [INFO] [stdout] 23 | | /// Index or Name of the column containing the value to be indexed [INFO] [stdout] 24 | | val: String, [INFO] [stdout] | |_____________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/cliargs/mode.rs:88:11 [INFO] [stdout] | [INFO] [stdout] 88 | Value { value: String }, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/cliargs/mode.rs:91:10 [INFO] [stdout] | [INFO] [stdout] 91 | List { file: PathBuf }, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/cliargs/mode.rs:39:5 [INFO] [stdout] | [INFO] [stdout] 39 | / #[structopt(short = "v", long)] [INFO] [stdout] 40 | | value: String, [INFO] [stdout] | |_________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/cliargs/mode.rs:53:5 [INFO] [stdout] | [INFO] [stdout] 53 | / #[structopt(long)] [INFO] [stdout] 54 | | d_max: Option, [INFO] [stdout] | |_________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/cliargs/mode.rs:59:5 [INFO] [stdout] | [INFO] [stdout] 59 | / #[structopt(short = "v", long)] [INFO] [stdout] 60 | | value: String, [INFO] [stdout] | |_________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/cliargs/mode.rs:63:5 [INFO] [stdout] | [INFO] [stdout] 63 | / #[structopt(long)] [INFO] [stdout] 64 | | d_max: Option, [INFO] [stdout] | |_________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/cliargs/mode.rs:69:5 [INFO] [stdout] | [INFO] [stdout] 69 | / #[structopt(short = "f", long = "from")] [INFO] [stdout] 70 | | /// HLower value of the range [INFO] [stdout] 71 | | lo: String, [INFO] [stdout] | |______________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/cliargs/mode.rs:72:5 [INFO] [stdout] | [INFO] [stdout] 72 | / #[structopt(short = "t", long = "to")] [INFO] [stdout] 73 | | /// Higher value of the range [INFO] [stdout] 74 | | hi: String, [INFO] [stdout] | |______________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/cliargs/mode.rs:88:11 [INFO] [stdout] | [INFO] [stdout] 88 | Value { value: String }, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/cliargs/mode.rs:91:10 [INFO] [stdout] | [INFO] [stdout] 91 | List { file: PathBuf }, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/visitors.rs:284:63 [INFO] [stdout] | [INFO] [stdout] 284 | pub fn new(center: V, distance: &'a D, d_max: Option) -> VisitorNn { [INFO] [stdout] | -- ^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is named 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: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 284 | pub fn new(center: V, distance: &'a D, d_max: Option) -> VisitorNn<'a, I, V, U, D> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/visitors.rs:284:63 [INFO] [stdout] | [INFO] [stdout] 284 | pub fn new(center: V, distance: &'a D, d_max: Option) -> VisitorNn { [INFO] [stdout] | -- ^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is named 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: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 284 | pub fn new(center: V, distance: &'a D, d_max: Option) -> VisitorNn<'a, I, V, U, D> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `bstree-file-readonly` (lib test) due to 10 previous errors; 3 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `bstree-file-readonly` (lib) due to 10 previous errors; 3 warnings emitted [INFO] running `Command { std: "docker" "inspect" "93c5b644aba4766575518d11952b7236a3f94bbd0a3c9545f3b2e4ef0171499b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "93c5b644aba4766575518d11952b7236a3f94bbd0a3c9545f3b2e4ef0171499b", kill_on_drop: false }` [INFO] [stdout] 93c5b644aba4766575518d11952b7236a3f94bbd0a3c9545f3b2e4ef0171499b