[INFO] fetching crate what-bump 1.2.0... [INFO] checking what-bump-1.2.0 against try#4f260f0f20b3133d20cfb50353c0221943af5796+rustflags=-Dunmustuse_in_always_ok for pr-148577 [INFO] extracting crate what-bump 1.2.0 into /workspace/builds/worker-4-tc2/source [INFO] started tweaking crates.io crate what-bump 1.2.0 [INFO] finished tweaking crates.io crate what-bump 1.2.0 [INFO] tweaked toml for crates.io crate what-bump 1.2.0 written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate what-bump 1.2.0 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 what-bump 1.2.0 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-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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] 34d2c0e4ef6ae94c08292739d9d46a0d13a3e407d47425eb9d79ceb8cd06167d [INFO] running `Command { std: "docker" "start" "-a" "34d2c0e4ef6ae94c08292739d9d46a0d13a3e407d47425eb9d79ceb8cd06167d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "34d2c0e4ef6ae94c08292739d9d46a0d13a3e407d47425eb9d79ceb8cd06167d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "34d2c0e4ef6ae94c08292739d9d46a0d13a3e407d47425eb9d79ceb8cd06167d", kill_on_drop: false }` [INFO] [stdout] 34d2c0e4ef6ae94c08292739d9d46a0d13a3e407d47425eb9d79ceb8cd06167d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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] 342f85637e751c454a088085ab8c52bcdffc11e386e4fcb5527b233670cd0160 [INFO] running `Command { std: "docker" "start" "-a" "342f85637e751c454a088085ab8c52bcdffc11e386e4fcb5527b233670cd0160", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.68 [INFO] [stderr] Compiling proc-macro2 v1.0.9 [INFO] [stderr] Compiling autocfg v1.0.0 [INFO] [stderr] Compiling unicode-xid v0.2.0 [INFO] [stderr] Compiling syn v1.0.17 [INFO] [stderr] Compiling memchr v2.3.3 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Checking cfg-if v0.1.10 [INFO] [stderr] Compiling log v0.4.8 [INFO] [stderr] Compiling version_check v0.9.1 [INFO] [stderr] Compiling pkg-config v0.3.17 [INFO] [stderr] Compiling maybe-uninit v2.0.0 [INFO] [stderr] Checking regex-syntax v0.6.17 [INFO] [stderr] Compiling ucd-trie v0.1.3 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling maplit v1.0.2 [INFO] [stderr] Checking thread_local v1.0.1 [INFO] [stderr] Compiling serde v1.0.105 [INFO] [stderr] Checking same-file v1.0.6 [INFO] [stderr] Compiling ryu v1.0.3 [INFO] [stderr] Compiling pest v2.1.3 [INFO] [stderr] Checking matches v0.1.8 [INFO] [stderr] Checking smallvec v1.2.0 [INFO] [stderr] Checking fnv v1.0.6 [INFO] [stderr] Compiling crossbeam-utils v0.7.2 [INFO] [stderr] Compiling num-traits v0.2.11 [INFO] [stderr] Compiling num-integer v0.1.42 [INFO] [stderr] Checking unicode-normalization v0.1.12 [INFO] [stderr] Checking unicode-bidi v0.3.4 [INFO] [stderr] Checking walkdir v2.3.1 [INFO] [stderr] Compiling unicode-segmentation v1.6.0 [INFO] [stderr] Checking unicode-width v0.1.7 [INFO] [stderr] Compiling jobserver v0.1.21 [INFO] [stderr] Checking textwrap v0.11.0 [INFO] [stderr] Checking strsim v0.8.0 [INFO] [stderr] Checking vec_map v0.8.1 [INFO] [stderr] Checking atty v0.2.11 [INFO] [stderr] Compiling proc-macro-error-attr v0.4.12 [INFO] [stderr] Compiling proc-macro-error v0.4.12 [INFO] [stderr] Checking time v0.1.42 [INFO] [stderr] Checking lazy_static v0.2.11 [INFO] [stderr] Checking aho-corasick v0.7.10 [INFO] [stderr] Checking bstr v0.2.12 [INFO] [stderr] Checking ansi_term v0.11.0 [INFO] [stderr] Compiling quote v1.0.3 [INFO] [stderr] Checking percent-encoding v2.1.0 [INFO] [stderr] Checking itoa v0.4.5 [INFO] [stderr] Checking clap v2.33.0 [INFO] [stderr] Compiling cc v1.0.50 [INFO] [stderr] Checking crossbeam-channel v0.4.2 [INFO] [stderr] Compiling heck v0.3.1 [INFO] [stderr] Compiling pest_meta v2.1.3 [INFO] [stderr] Checking thread_local v0.3.4 [INFO] [stderr] Checking semver-parser v0.7.0 [INFO] [stderr] Checking termcolor v1.1.0 [INFO] [stderr] Checking semver v0.9.0 [INFO] [stderr] Checking fallible-iterator v0.2.0 [INFO] [stderr] Checking simple-error v0.2.1 [INFO] [stderr] Checking chrono v0.4.11 [INFO] [stderr] Checking idna v0.2.0 [INFO] [stderr] Compiling libz-sys v1.0.25 [INFO] [stderr] Compiling libgit2-sys v0.10.0 [INFO] [stderr] Checking url v2.1.1 [INFO] [stderr] Checking stderrlog v0.4.3 [INFO] [stderr] Checking regex v1.3.6 [INFO] [stderr] Checking globset v0.4.5 [INFO] [stderr] Checking ignore v0.4.13 [INFO] [stderr] Checking globwalk v0.7.3 [INFO] [stderr] Compiling syn-mid v0.5.0 [INFO] [stderr] Compiling pest_generator v2.1.3 [INFO] [stderr] Checking git2 v0.11.0 [INFO] [stderr] Compiling serde_derive v1.0.105 [INFO] [stderr] Compiling pest_derive v2.1.0 [INFO] [stderr] Compiling structopt-derive v0.4.5 [INFO] [stderr] Checking structopt v0.3.12 [INFO] [stderr] Checking serde_json v1.0.48 [INFO] [stderr] Checking tera v1.1.0 [INFO] [stderr] Checking what-bump v1.2.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> src/bumping.rs:57:10 [INFO] [stdout] | [INFO] [stdout] 57 | #[derive(Serialize)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Serialize` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `Serialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] = note: this warning originates in the derive macro `Serialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `semver::Version` [INFO] [stdout] --> src/changelog.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use semver::Version; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> src/bumping.rs:57:10 [INFO] [stdout] | [INFO] [stdout] 57 | #[derive(Serialize)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Serialize` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `Serialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] = note: this warning originates in the derive macro `Serialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `semver::Version` [INFO] [stdout] --> src/changelog.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use semver::Version; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/main.rs:41:5 [INFO] [stdout] | [INFO] [stdout] 41 | / /// Analyse commits up to this one (exclusive). [INFO] [stdout] 42 | | /// [INFO] [stdout] 43 | | /// This would normally be the commit corresponding to your previous release (it can be [INFO] [stdout] 44 | | /// a tag, a commit id, or anything else that GIT can parse). [INFO] [stdout] 45 | | #[structopt(required_unless = "bump")] [INFO] [stdout] 46 | | up_to_revision: 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/main.rs:52:5 [INFO] [stdout] | [INFO] [stdout] 52 | / /// New version of your software (for changelog) [INFO] [stdout] 53 | | /// [INFO] [stdout] 54 | | /// Manually specify the new version of your software. Useful if you're just generating [INFO] [stdout] 55 | | /// the changelog. [INFO] [stdout] 56 | | #[structopt(long, short, requires = "changelog")] [INFO] [stdout] 57 | | new_version: Option, [INFO] [stdout] | |_______________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/main.rs:63:5 [INFO] [stdout] | [INFO] [stdout] 63 | / /// Also generate a changelog, and write it to this file. [INFO] [stdout] 64 | | /// [INFO] [stdout] 65 | | /// You can put placeholders between double-brackets (e.g. `{{version}}` or `{{date}}`), [INFO] [stdout] 66 | | /// which will be substituted with their actual values. [INFO] [stdout] 67 | | #[structopt(long, short)] [INFO] [stdout] 68 | | changelog: Option, [INFO] [stdout] | |_____________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/main.rs:89:5 [INFO] [stdout] | [INFO] [stdout] 89 | / /// Specify a custom template file for the changelog (cannot be used with --template-id) [INFO] [stdout] 90 | | #[structopt(long, short)] [INFO] [stdout] 91 | | template: Option, [INFO] [stdout] | |_____________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/main.rs:93:5 [INFO] [stdout] | [INFO] [stdout] 93 | / #[structopt(long, help = &TEMPLATE_ID_HELP, default_value = "default.md")] [INFO] [stdout] 94 | | template_id: String, [INFO] [stdout] | |_______________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/bumping.rs:57:10 [INFO] [stdout] | [INFO] [stdout] 57 | #[derive(Serialize)] [INFO] [stdout] | ^-------- [INFO] [stdout] | | [INFO] [stdout] | `Serialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_SERIALIZE_FOR_LogEntry` [INFO] [stdout] 58 | pub struct LogEntry { [INFO] [stdout] | -------- `LogEntry` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Serialize` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Serialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: `#[warn(non_local_definitions)]` on by default [INFO] [stdout] = note: this warning originates in the derive macro `Serialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `what-bump` (bin "what-bump" test) due to 5 previous errors; 3 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/main.rs:41:5 [INFO] [stdout] | [INFO] [stdout] 41 | / /// Analyse commits up to this one (exclusive). [INFO] [stdout] 42 | | /// [INFO] [stdout] 43 | | /// This would normally be the commit corresponding to your previous release (it can be [INFO] [stdout] 44 | | /// a tag, a commit id, or anything else that GIT can parse). [INFO] [stdout] 45 | | #[structopt(required_unless = "bump")] [INFO] [stdout] 46 | | up_to_revision: 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/main.rs:52:5 [INFO] [stdout] | [INFO] [stdout] 52 | / /// New version of your software (for changelog) [INFO] [stdout] 53 | | /// [INFO] [stdout] 54 | | /// Manually specify the new version of your software. Useful if you're just generating [INFO] [stdout] 55 | | /// the changelog. [INFO] [stdout] 56 | | #[structopt(long, short, requires = "changelog")] [INFO] [stdout] 57 | | new_version: Option, [INFO] [stdout] | |_______________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/main.rs:63:5 [INFO] [stdout] | [INFO] [stdout] 63 | / /// Also generate a changelog, and write it to this file. [INFO] [stdout] 64 | | /// [INFO] [stdout] 65 | | /// You can put placeholders between double-brackets (e.g. `{{version}}` or `{{date}}`), [INFO] [stdout] 66 | | /// which will be substituted with their actual values. [INFO] [stdout] 67 | | #[structopt(long, short)] [INFO] [stdout] 68 | | changelog: Option, [INFO] [stdout] | |_____________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/main.rs:89:5 [INFO] [stdout] | [INFO] [stdout] 89 | / /// Specify a custom template file for the changelog (cannot be used with --template-id) [INFO] [stdout] 90 | | #[structopt(long, short)] [INFO] [stdout] 91 | | template: Option, [INFO] [stdout] | |_____________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/main.rs:93:5 [INFO] [stdout] | [INFO] [stdout] 93 | / #[structopt(long, help = &TEMPLATE_ID_HELP, default_value = "default.md")] [INFO] [stdout] 94 | | template_id: String, [INFO] [stdout] | |_______________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/bumping.rs:57:10 [INFO] [stdout] | [INFO] [stdout] 57 | #[derive(Serialize)] [INFO] [stdout] | ^-------- [INFO] [stdout] | | [INFO] [stdout] | `Serialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_SERIALIZE_FOR_LogEntry` [INFO] [stdout] 58 | pub struct LogEntry { [INFO] [stdout] | -------- `LogEntry` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Serialize` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Serialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: `#[warn(non_local_definitions)]` on by default [INFO] [stdout] = note: this warning originates in the derive macro `Serialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `what-bump` (bin "what-bump") due to 5 previous errors; 3 warnings emitted [INFO] running `Command { std: "docker" "inspect" "342f85637e751c454a088085ab8c52bcdffc11e386e4fcb5527b233670cd0160", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "342f85637e751c454a088085ab8c52bcdffc11e386e4fcb5527b233670cd0160", kill_on_drop: false }` [INFO] [stdout] 342f85637e751c454a088085ab8c52bcdffc11e386e4fcb5527b233670cd0160