[INFO] cloning repository https://github.com/leptonyu/salak.rs [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/leptonyu/salak.rs" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fleptonyu%2Fsalak.rs", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fleptonyu%2Fsalak.rs'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 5987068220cfe83f3af8f2e4c2d77067fde54e71 [INFO] checking leptonyu/salak.rs against try#4f260f0f20b3133d20cfb50353c0221943af5796+rustflags=-Dunmustuse_in_always_ok for pr-148577 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fleptonyu%2Fsalak.rs" "/workspace/builds/worker-6-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/leptonyu/salak.rs [INFO] removed 0 missing examples [INFO] finished tweaking git repo https://github.com/leptonyu/salak.rs [INFO] tweaked toml for git repo https://github.com/leptonyu/salak.rs written to /workspace/builds/worker-6-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/leptonyu/salak.rs 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 git repo https://github.com/leptonyu/salak.rs 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] a51b6d9d188f41ecd961188b069d779af31ddc9b2660f20235f987982891bdf3 [INFO] running `Command { std: "docker" "start" "-a" "a51b6d9d188f41ecd961188b069d779af31ddc9b2660f20235f987982891bdf3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a51b6d9d188f41ecd961188b069d779af31ddc9b2660f20235f987982891bdf3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a51b6d9d188f41ecd961188b069d779af31ddc9b2660f20235f987982891bdf3", kill_on_drop: false }` [INFO] [stdout] a51b6d9d188f41ecd961188b069d779af31ddc9b2660f20235f987982891bdf3 [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] 02d1c6a3b8b2d3241e216a67f9aa0e69be96ad054d20ce2ffb0b348ca61df622 [INFO] running `Command { std: "docker" "start" "-a" "02d1c6a3b8b2d3241e216a67f9aa0e69be96ad054d20ce2ffb0b348ca61df622", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.28 [INFO] [stderr] Compiling syn v1.0.75 [INFO] [stderr] Compiling libc v0.2.100 [INFO] [stderr] Compiling serde_derive v1.0.127 [INFO] [stderr] Compiling serde v1.0.127 [INFO] [stderr] Compiling crossbeam-utils v0.8.5 [INFO] [stderr] Compiling semver v1.0.4 [INFO] [stderr] Checking unicode-width v0.1.8 [INFO] [stderr] Compiling memoffset v0.6.4 [INFO] [stderr] Compiling crossbeam-epoch v0.9.5 [INFO] [stderr] Checking regex-syntax v0.6.25 [INFO] [stderr] Checking instant v0.1.10 [INFO] [stderr] Compiling rayon-core v1.9.1 [INFO] [stderr] Compiling serde_json v1.0.66 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling rayon v1.5.1 [INFO] [stderr] Checking pad v0.1.6 [INFO] [stderr] Checking regex-automata v0.1.10 [INFO] [stderr] Checking termcolor v1.1.2 [INFO] [stderr] Checking plotters-backend v0.3.2 [INFO] [stderr] Checking textwrap v0.11.0 [INFO] [stderr] Checking csv-core v0.1.10 [INFO] [stderr] Checking unicode-xid v0.2.2 [INFO] [stderr] Compiling trybuild v1.0.45 [INFO] [stderr] Checking half v1.7.1 [INFO] [stderr] Checking glob v0.3.0 [INFO] [stderr] Checking clap v2.33.3 [INFO] [stderr] Checking plotters-svg v0.3.1 [INFO] [stderr] Checking crossbeam-channel v0.5.1 [INFO] [stderr] Compiling rustc_version v0.4.0 [INFO] [stderr] Checking quote v1.0.9 [INFO] [stderr] Checking crossbeam-deque v0.8.1 [INFO] [stderr] Checking getrandom v0.2.3 [INFO] [stderr] Checking parking_lot_core v0.8.3 [INFO] [stderr] Checking num_cpus v1.13.0 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Compiling cast v0.2.7 [INFO] [stderr] Checking regex v1.5.4 [INFO] [stderr] Checking parking_lot v0.11.1 [INFO] [stderr] Checking rand_core v0.6.3 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking plotters v0.3.1 [INFO] [stderr] Checking criterion-plot v0.4.4 [INFO] [stderr] Checking rand v0.8.4 [INFO] [stderr] Checking env_logger v0.9.0 [INFO] [stderr] Checking env_logger v0.8.4 [INFO] [stderr] Checking quickcheck v1.0.3 [INFO] [stderr] Checking salak_derive v0.8.0 (/opt/rustwide/workdir/salak_derive) [INFO] [stderr] Compiling quickcheck_macros v1.0.0 [INFO] [stderr] Checking toml v0.5.8 [INFO] [stderr] Checking bstr v0.2.16 [INFO] [stderr] Checking serde_cbor v0.11.2 [INFO] [stderr] Checking csv v1.1.6 [INFO] [stderr] Checking salak v0.14.1 (/opt/rustwide/workdir) [INFO] [stderr] Checking tinytemplate v1.2.1 [INFO] [stderr] Checking criterion v0.3.5 [INFO] [stdout] warning: fields `key`, `tp`, and `def` are never read [INFO] [stdout] --> src/derive.rs:47:5 [INFO] [stdout] | [INFO] [stdout] 46 | pub(crate) struct KeyDesc { [INFO] [stdout] | ------- fields in this struct [INFO] [stdout] 47 | key: String, [INFO] [stdout] | ^^^ [INFO] [stdout] 48 | tp: &'static str, [INFO] [stdout] | ^^ [INFO] [stdout] 49 | pub(crate) required: Option, [INFO] [stdout] 50 | def: Option, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `KeyDesc` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `KeyDescs` is never constructed [INFO] [stdout] --> src/derive.rs:55:19 [INFO] [stdout] | [INFO] [stdout] 55 | pub(crate) struct KeyDescs(pub(crate) Vec); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: ControlFlow, i64> [INFO] [stdout] --> src/raw.rs:141:39 [INFO] [stdout] | [INFO] [stdout] 141 | Property::I(s) => $x::try_from(s)?, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 152 | impl_property_num!(i8, i16, i32, i64, i128, u8, u16, u32, u64, u128, isize, usize); [INFO] [stdout] | ---------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: requested on the command line with `-D unmustuse-in-always-ok` [INFO] [stdout] = note: this error originates in the macro `impl_property_num` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/raw.rs:141:39 [INFO] [stdout] | [INFO] [stdout] 141 | Property::I(s) => $x::try_from(s)?, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 152 | impl_property_num!(i8, i16, i32, i64, i128, u8, u16, u32, u64, u128, isize, usize); [INFO] [stdout] | ---------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `impl_property_num` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: ControlFlow, i128> [INFO] [stdout] --> src/raw.rs:141:39 [INFO] [stdout] | [INFO] [stdout] 141 | Property::I(s) => $x::try_from(s)?, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 152 | impl_property_num!(i8, i16, i32, i64, i128, u8, u16, u32, u64, u128, isize, usize); [INFO] [stdout] | ---------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `impl_property_num` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/raw.rs:141:39 [INFO] [stdout] | [INFO] [stdout] 141 | Property::I(s) => $x::try_from(s)?, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 152 | impl_property_num!(i8, i16, i32, i64, i128, u8, u16, u32, u64, u128, isize, usize); [INFO] [stdout] | ---------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `impl_property_num` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: ControlFlow, PathBuf> [INFO] [stdout] --> src/raw.rs:403:39 [INFO] [stdout] | [INFO] [stdout] 403 | Property::S(s) => <$x>::from_str(s)?, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 413 | / impl_property_from_str!( [INFO] [stdout] 414 | | Ipv4Addr, [INFO] [stdout] 415 | | Ipv6Addr, [INFO] [stdout] 416 | | IpAddr, [INFO] [stdout] ... | [INFO] [stdout] 421 | | OsString [INFO] [stdout] 422 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `impl_property_from_str` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/raw.rs:403:39 [INFO] [stdout] | [INFO] [stdout] 403 | Property::S(s) => <$x>::from_str(s)?, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 413 | / impl_property_from_str!( [INFO] [stdout] 414 | | Ipv4Addr, [INFO] [stdout] 415 | | Ipv6Addr, [INFO] [stdout] 416 | | IpAddr, [INFO] [stdout] ... | [INFO] [stdout] 421 | | OsString [INFO] [stdout] 422 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `impl_property_from_str` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: ControlFlow, PathBuf> [INFO] [stdout] --> src/raw.rs:404:39 [INFO] [stdout] | [INFO] [stdout] 404 | Property::O(s) => <$x>::from_str(&s)?, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 413 | / impl_property_from_str!( [INFO] [stdout] 414 | | Ipv4Addr, [INFO] [stdout] 415 | | Ipv6Addr, [INFO] [stdout] 416 | | IpAddr, [INFO] [stdout] ... | [INFO] [stdout] 421 | | OsString [INFO] [stdout] 422 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `impl_property_from_str` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/raw.rs:404:39 [INFO] [stdout] | [INFO] [stdout] 404 | Property::O(s) => <$x>::from_str(&s)?, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 413 | / impl_property_from_str!( [INFO] [stdout] 414 | | Ipv4Addr, [INFO] [stdout] 415 | | Ipv6Addr, [INFO] [stdout] 416 | | IpAddr, [INFO] [stdout] ... | [INFO] [stdout] 421 | | OsString [INFO] [stdout] 422 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `impl_property_from_str` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: ControlFlow, OsString> [INFO] [stdout] --> src/raw.rs:403:39 [INFO] [stdout] | [INFO] [stdout] 403 | Property::S(s) => <$x>::from_str(s)?, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 413 | / impl_property_from_str!( [INFO] [stdout] 414 | | Ipv4Addr, [INFO] [stdout] 415 | | Ipv6Addr, [INFO] [stdout] 416 | | IpAddr, [INFO] [stdout] ... | [INFO] [stdout] 421 | | OsString [INFO] [stdout] 422 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `impl_property_from_str` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/raw.rs:403:39 [INFO] [stdout] | [INFO] [stdout] 403 | Property::S(s) => <$x>::from_str(s)?, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 413 | / impl_property_from_str!( [INFO] [stdout] 414 | | Ipv4Addr, [INFO] [stdout] 415 | | Ipv6Addr, [INFO] [stdout] 416 | | IpAddr, [INFO] [stdout] ... | [INFO] [stdout] 421 | | OsString [INFO] [stdout] 422 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `impl_property_from_str` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: ControlFlow, OsString> [INFO] [stdout] --> src/raw.rs:404:39 [INFO] [stdout] | [INFO] [stdout] 404 | Property::O(s) => <$x>::from_str(&s)?, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 413 | / impl_property_from_str!( [INFO] [stdout] 414 | | Ipv4Addr, [INFO] [stdout] 415 | | Ipv6Addr, [INFO] [stdout] 416 | | IpAddr, [INFO] [stdout] ... | [INFO] [stdout] 421 | | OsString [INFO] [stdout] 422 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `impl_property_from_str` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/raw.rs:404:39 [INFO] [stdout] | [INFO] [stdout] 404 | Property::O(s) => <$x>::from_str(&s)?, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 413 | / impl_property_from_str!( [INFO] [stdout] 414 | | Ipv4Addr, [INFO] [stdout] 415 | | Ipv6Addr, [INFO] [stdout] 416 | | IpAddr, [INFO] [stdout] ... | [INFO] [stdout] 421 | | OsString [INFO] [stdout] 422 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `impl_property_from_str` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: for loop over an `Option`. This is more readably written as an `if let` statement [INFO] [stdout] --> src/app.rs:577:20 [INFO] [stdout] | [INFO] [stdout] 577 | for map in self.0.get(&TypeId::of::()) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(for_loops_over_fallibles)]` on by default [INFO] [stdout] help: to check pattern in a loop use `while let` [INFO] [stdout] | [INFO] [stdout] 577 - for map in self.0.get(&TypeId::of::()) { [INFO] [stdout] 577 + while let Some(map) = self.0.get(&TypeId::of::()) { [INFO] [stdout] | [INFO] [stdout] help: consider using `if let` to clear intent [INFO] [stdout] | [INFO] [stdout] 577 - for map in self.0.get(&TypeId::of::()) { [INFO] [stdout] 577 + if let Some(map) = self.0.get(&TypeId::of::()) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `salak` (lib) due to 12 previous errors; 3 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] running `Command { std: "docker" "inspect" "02d1c6a3b8b2d3241e216a67f9aa0e69be96ad054d20ce2ffb0b348ca61df622", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "02d1c6a3b8b2d3241e216a67f9aa0e69be96ad054d20ce2ffb0b348ca61df622", kill_on_drop: false }` [INFO] [stdout] 02d1c6a3b8b2d3241e216a67f9aa0e69be96ad054d20ce2ffb0b348ca61df622