[INFO] fetching crate transporter 0.1.1... [INFO] checking transporter-0.1.1 against try#4f260f0f20b3133d20cfb50353c0221943af5796+rustflags=-Dunmustuse_in_always_ok for pr-148577 [INFO] extracting crate transporter 0.1.1 into /workspace/builds/worker-7-tc2/source [INFO] started tweaking crates.io crate transporter 0.1.1 [INFO] finished tweaking crates.io crate transporter 0.1.1 [INFO] tweaked toml for crates.io crate transporter 0.1.1 written to /workspace/builds/worker-7-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate transporter 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 transporter 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-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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] 61e22ddc285c31a883298c1669bf650d8863ce120e5df1bbcfb6f7ba6992d9f7 [INFO] running `Command { std: "docker" "start" "-a" "61e22ddc285c31a883298c1669bf650d8863ce120e5df1bbcfb6f7ba6992d9f7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "61e22ddc285c31a883298c1669bf650d8863ce120e5df1bbcfb6f7ba6992d9f7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "61e22ddc285c31a883298c1669bf650d8863ce120e5df1bbcfb6f7ba6992d9f7", kill_on_drop: false }` [INFO] [stdout] 61e22ddc285c31a883298c1669bf650d8863ce120e5df1bbcfb6f7ba6992d9f7 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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] a8890f32d3b0d661ec73cf8b28a3c78a003ebee23e976e978b41167e48b05463 [INFO] running `Command { std: "docker" "start" "-a" "a8890f32d3b0d661ec73cf8b28a3c78a003ebee23e976e978b41167e48b05463", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.18 [INFO] [stderr] Compiling unicode-xid v0.2.1 [INFO] [stderr] Compiling syn v1.0.34 [INFO] [stderr] Compiling version_check v0.9.2 [INFO] [stderr] Compiling memchr v2.3.3 [INFO] [stderr] Compiling libc v0.2.72 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling serde_derive v1.0.114 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Compiling serde v1.0.114 [INFO] [stderr] Checking unicode-width v0.1.8 [INFO] [stderr] Compiling unicode-segmentation v1.6.0 [INFO] [stderr] Checking ansi_term v0.11.0 [INFO] [stderr] Checking strsim v0.8.0 [INFO] [stderr] Checking regex-syntax v0.6.18 [INFO] [stderr] Checking vec_map v0.8.2 [INFO] [stderr] Checking maplit v1.0.2 [INFO] [stderr] Checking textwrap v0.11.0 [INFO] [stderr] Checking thread_local v1.0.1 [INFO] [stderr] Compiling heck v0.3.1 [INFO] [stderr] Checking aho-corasick v0.7.13 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.3 [INFO] [stderr] Compiling proc-macro-error v1.0.3 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking clap v2.33.1 [INFO] [stderr] Compiling quote v1.0.7 [INFO] [stderr] Checking regex v1.3.9 [INFO] [stderr] Checking Inflector v0.11.4 [INFO] [stderr] Compiling syn-mid v0.5.0 [INFO] [stderr] Compiling typed-builder v0.6.0 [INFO] [stderr] Compiling structopt-derive v0.4.8 [INFO] [stderr] Checking structopt v0.3.15 [INFO] [stderr] Checking toml v0.5.6 [INFO] [stderr] Checking transporter v0.1.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: method `name` is never used [INFO] [stdout] --> src/schema.rs:58:19 [INFO] [stdout] | [INFO] [stdout] 57 | impl Type { [INFO] [stdout] | --------- method in this implementation [INFO] [stdout] 58 | pub(crate) fn name(&self) -> 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: struct `BufFileCreator` is never constructed [INFO] [stdout] --> src/file_creator.rs:36:12 [INFO] [stdout] | [INFO] [stdout] 36 | pub struct BufFileCreator { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `BufFileWriter` is never constructed [INFO] [stdout] --> src/file_creator.rs:40:12 [INFO] [stdout] | [INFO] [stdout] 40 | pub struct BufFileWriter(sync::Arc>>); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `get_for_io` and `new` are never used [INFO] [stdout] --> src/file_creator.rs:43:8 [INFO] [stdout] | [INFO] [stdout] 42 | impl BufFileWriter { [INFO] [stdout] | ------------------ associated items in this implementation [INFO] [stdout] 43 | fn get_for_io(&mut self) -> io::Result>> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 55 | fn new(inner: sync::Arc>>) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/schema.rs:239:25 [INFO] [stdout] | [INFO] [stdout] 239 | pub(crate) fn types(&self) -> Values> { [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] 239 | pub(crate) fn types(&self) -> Values<'_, String, Rc> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> src/rust/cli.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 19 | / #[structopt(long = "visibility", default_value = "pub(crate)")] [INFO] [stdout] 20 | | #[builder(default = "pub(crate)".to_string(), setter(into))] [INFO] [stdout] 21 | | visibility: String, [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: std::result::Result [INFO] [stdout] --> src/php/cli.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 19 | / #[structopt(short = "n", long = "namespace", default_value = "Transport")] [INFO] [stdout] 20 | | #[builder(default = "Transport".to_string(), setter(into))] [INFO] [stdout] 21 | | namespace: String, [INFO] [stdout] | |_____________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/php/php_type.rs:15:13 [INFO] [stdout] | [INFO] [stdout] 15 | fn kind(&self) -> Kind; [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] 15 | fn kind(&self) -> Kind<'_>; [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/php/php_type.rs:54:13 [INFO] [stdout] | [INFO] [stdout] 54 | fn kind(&self) -> Kind { [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] 54 | fn kind(&self) -> Kind<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/file_creator.rs:43:19 [INFO] [stdout] | [INFO] [stdout] 43 | fn get_for_io(&mut self) -> io::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] 43 | fn get_for_io(&mut self) -> io::Result>> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `transporter` (lib test) due to 2 previous errors; 8 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: method `name` is never used [INFO] [stdout] --> src/schema.rs:58:19 [INFO] [stdout] | [INFO] [stdout] 57 | impl Type { [INFO] [stdout] | --------- method in this implementation [INFO] [stdout] 58 | pub(crate) fn name(&self) -> 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: struct `BufFileCreator` is never constructed [INFO] [stdout] --> src/file_creator.rs:36:12 [INFO] [stdout] | [INFO] [stdout] 36 | pub struct BufFileCreator { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `BufFileWriter` is never constructed [INFO] [stdout] --> src/file_creator.rs:40:12 [INFO] [stdout] | [INFO] [stdout] 40 | pub struct BufFileWriter(sync::Arc>>); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `get_for_io` and `new` are never used [INFO] [stdout] --> src/file_creator.rs:43:8 [INFO] [stdout] | [INFO] [stdout] 42 | impl BufFileWriter { [INFO] [stdout] | ------------------ associated items in this implementation [INFO] [stdout] 43 | fn get_for_io(&mut self) -> io::Result>> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 55 | fn new(inner: sync::Arc>>) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/schema.rs:239:25 [INFO] [stdout] | [INFO] [stdout] 239 | pub(crate) fn types(&self) -> Values> { [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] 239 | pub(crate) fn types(&self) -> Values<'_, String, Rc> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> src/rust/cli.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 19 | / #[structopt(long = "visibility", default_value = "pub(crate)")] [INFO] [stdout] 20 | | #[builder(default = "pub(crate)".to_string(), setter(into))] [INFO] [stdout] 21 | | visibility: String, [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: std::result::Result [INFO] [stdout] --> src/php/cli.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 19 | / #[structopt(short = "n", long = "namespace", default_value = "Transport")] [INFO] [stdout] 20 | | #[builder(default = "Transport".to_string(), setter(into))] [INFO] [stdout] 21 | | namespace: String, [INFO] [stdout] | |_____________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/php/php_type.rs:15:13 [INFO] [stdout] | [INFO] [stdout] 15 | fn kind(&self) -> Kind; [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] 15 | fn kind(&self) -> Kind<'_>; [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/php/php_type.rs:54:13 [INFO] [stdout] | [INFO] [stdout] 54 | fn kind(&self) -> Kind { [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] 54 | fn kind(&self) -> Kind<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/file_creator.rs:43:19 [INFO] [stdout] | [INFO] [stdout] 43 | fn get_for_io(&mut self) -> io::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] 43 | fn get_for_io(&mut self) -> io::Result>> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `transporter` (lib) due to 2 previous errors; 8 warnings emitted [INFO] running `Command { std: "docker" "inspect" "a8890f32d3b0d661ec73cf8b28a3c78a003ebee23e976e978b41167e48b05463", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a8890f32d3b0d661ec73cf8b28a3c78a003ebee23e976e978b41167e48b05463", kill_on_drop: false }` [INFO] [stdout] a8890f32d3b0d661ec73cf8b28a3c78a003ebee23e976e978b41167e48b05463