[INFO] fetching crate cargo-nuget 0.1.0... [INFO] checking cargo-nuget-0.1.0 against try#c387b04bf028733cd561d62128c8a5eee4bc1458+rustflags=-Dtail_expr_drop_order for pr-130930 [INFO] extracting crate cargo-nuget 0.1.0 into /workspace/builds/worker-3-tc2/source [INFO] validating manifest of crates.io crate cargo-nuget 0.1.0 on toolchain c387b04bf028733cd561d62128c8a5eee4bc1458 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c387b04bf028733cd561d62128c8a5eee4bc1458" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate cargo-nuget 0.1.0 [INFO] finished tweaking crates.io crate cargo-nuget 0.1.0 [INFO] tweaked toml for crates.io crate cargo-nuget 0.1.0 written to /workspace/builds/worker-3-tc2/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c387b04bf028733cd561d62128c8a5eee4bc1458" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 50 packages to latest compatible versions [INFO] [stderr] Adding ansi_term v0.9.0 (available: v0.12.1) [INFO] [stderr] Adding bitflags v0.7.0 (available: v2.6.0) [INFO] [stderr] Adding bitflags v0.8.2 (available: v2.6.0) [INFO] [stderr] Adding bzip2 v0.3.3 (available: v0.4.4) [INFO] [stderr] Adding chrono v0.3.0 (available: v0.4.38) [INFO] [stderr] Adding clap v2.21.3 (available: v2.34.0) [INFO] [stderr] Adding hermit-abi v0.1.19 (available: v0.4.0) [INFO] [stderr] Adding lazy_static v0.2.11 (available: v1.5.0) [INFO] [stderr] Adding log v0.3.9 (available: v0.4.22) [INFO] [stderr] Adding num v0.1.42 (available: v0.4.3) [INFO] [stderr] Adding podio v0.1.7 (available: v0.2.0) [INFO] [stderr] Adding quick-error v1.1.0 (available: v1.2.3) [INFO] [stderr] Adding semver v0.6.0 (available: v1.0.23) [INFO] [stderr] Adding semver-parser v0.7.0 (available: v0.10.2) [INFO] [stderr] Adding serde v0.8.23 (available: v1.0.210) [INFO] [stderr] Adding strsim v0.6.0 (available: v0.11.1) [INFO] [stderr] Adding term v0.4.6 (available: v1.0.0) [INFO] [stderr] Adding term-painter v0.2.4 (available: v0.4.0) [INFO] [stderr] Adding term_size v0.2.3 (available: v0.3.2) [INFO] [stderr] Adding time v0.1.45 (available: v0.3.36) [INFO] [stderr] Adding toml v0.2.1 (available: v0.8.19) [INFO] [stderr] Adding unicode-width v0.1.14 (available: v0.2.0) [INFO] [stderr] Adding vec_map v0.7.0 (available: v0.8.2) [INFO] [stderr] Adding wasi v0.10.0+wasi-snapshot-preview1 (available: v0.10.2+wasi-snapshot-preview1) [INFO] [stderr] Adding winapi v0.2.8 (available: v0.3.9) [INFO] [stderr] Adding xml-rs v0.3.6 (available: v0.8.22) [INFO] [stderr] Adding zip v0.2.8 (available: v2.2.0) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c387b04bf028733cd561d62128c8a5eee4bc1458" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2021 [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:6252d7ea7fb8caaf7af6d800c5fb250a9cd862b9a7f9508afb3c54fa7fe1102e" "/opt/rustwide/cargo-home/bin/cargo" "+c387b04bf028733cd561d62128c8a5eee4bc1458" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 7a7716aff54d7d504033545f34e150446e2923a3fdf39b48bd75518cbfa6bea2 [INFO] running `Command { std: "docker" "start" "-a" "7a7716aff54d7d504033545f34e150446e2923a3fdf39b48bd75518cbfa6bea2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "7a7716aff54d7d504033545f34e150446e2923a3fdf39b48bd75518cbfa6bea2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7a7716aff54d7d504033545f34e150446e2923a3fdf39b48bd75518cbfa6bea2", kill_on_drop: false }` [INFO] [stdout] 7a7716aff54d7d504033545f34e150446e2923a3fdf39b48bd75518cbfa6bea2 [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 -Dtail_expr_drop_order" "-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:6252d7ea7fb8caaf7af6d800c5fb250a9cd862b9a7f9508afb3c54fa7fe1102e" "/opt/rustwide/cargo-home/bin/cargo" "+c387b04bf028733cd561d62128c8a5eee4bc1458" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 65a8d703da751374717b7f4a73840dd60646862a05638c1c2ca37c81e51d64c1 [INFO] running `Command { std: "docker" "start" "-a" "65a8d703da751374717b7f4a73840dd60646862a05638c1c2ca37c81e51d64c1", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2021 [INFO] [stderr] Compiling libc v0.2.159 [INFO] [stderr] Compiling autocfg v1.4.0 [INFO] [stderr] Compiling shlex v1.3.0 [INFO] [stderr] Compiling pkg-config v0.3.31 [INFO] [stderr] Checking adler2 v2.0.0 [INFO] [stderr] Checking unicode-width v0.1.14 [INFO] [stderr] Checking serde v0.8.23 [INFO] [stderr] Checking strsim v0.6.0 [INFO] [stderr] Checking unicode-segmentation v1.12.0 [INFO] [stderr] Checking podio v0.1.7 [INFO] [stderr] Checking bitflags v0.7.0 [INFO] [stderr] Checking semver-parser v0.7.0 [INFO] [stderr] Checking vec_map v0.7.0 [INFO] [stderr] Checking log v0.4.22 [INFO] [stderr] Checking ansi_term v0.9.0 [INFO] [stderr] Checking crc32fast v1.4.2 [INFO] [stderr] Checking term v0.4.6 [INFO] [stderr] Checking miniz_oxide v0.8.0 [INFO] [stderr] Checking bitflags v0.8.2 [INFO] [stderr] Checking xml-rs v0.3.6 [INFO] [stderr] Checking semver v0.6.0 [INFO] [stderr] Compiling cc v1.1.22 [INFO] [stderr] Checking quick-error v1.1.0 [INFO] [stderr] Checking lazy_static v0.2.11 [INFO] [stderr] Checking log v0.3.9 [INFO] [stderr] Checking term-painter v0.2.4 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Checking flate2 v1.0.34 [INFO] [stderr] Checking time v0.1.45 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking term_size v0.2.3 [INFO] [stderr] Checking clap v2.21.3 [INFO] [stderr] Compiling bzip2-sys v0.1.11+1.0.8 [INFO] [stderr] Checking msdos_time v0.1.6 [INFO] [stderr] Checking num-integer v0.1.46 [INFO] [stderr] Checking num-iter v0.1.45 [INFO] [stderr] Checking toml v0.2.1 [INFO] [stderr] Checking num v0.1.42 [INFO] [stderr] Checking chrono v0.3.0 [INFO] [stderr] Checking bzip2 v0.3.3 [INFO] [stderr] Checking zip v0.2.8 [INFO] [stderr] Checking cargo-nuget v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> src/nuget/pack.rs:36:52 [INFO] [stdout] | [INFO] [stdout] 36 | pub fn pack<'a>(args: NugetPackArgs<'a>) -> Result { [INFO] [stdout] | -- lifetime `'a` declared here ^^^^^ this elided lifetime gets resolved as `'a` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(elided_named_lifetimes)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> src/nuget/pack.rs:36:52 [INFO] [stdout] | [INFO] [stdout] 36 | pub fn pack<'a>(args: NugetPackArgs<'a>) -> Result { [INFO] [stdout] | -- lifetime `'a` declared here ^^^^^ this elided lifetime gets resolved as `'a` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(elided_named_lifetimes)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `Once::new()` function is now preferred [INFO] [stdout] --> src/args.rs:25:1 [INFO] [stdout] | [INFO] [stdout] 25 | / lazy_static! { [INFO] [stdout] 26 | | static ref TARGET_PATHS: Vec = { [INFO] [stdout] 27 | | let archs = vec![ [INFO] [stdout] 28 | | Arch::x86, [INFO] [stdout] ... | [INFO] [stdout] 45 | | }; [INFO] [stdout] 46 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` which comes from the expansion of the macro `lazy_static` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/main.rs:31:66 [INFO] [stdout] | [INFO] [stdout] 31 | fn get_command(args: &clap::ArgMatches) -> Option>> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 31 | fn get_command(args: &clap::ArgMatches) -> Option>> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/main.rs:83:21 [INFO] [stdout] | [INFO] [stdout] 83 | err: Option>, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 83 | err: Option>, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `Once::new()` function is now preferred [INFO] [stdout] --> src/args.rs:25:1 [INFO] [stdout] | [INFO] [stdout] 25 | / lazy_static! { [INFO] [stdout] 26 | | static ref TARGET_PATHS: Vec = { [INFO] [stdout] 27 | | let archs = vec![ [INFO] [stdout] 28 | | Arch::x86, [INFO] [stdout] ... | [INFO] [stdout] 45 | | }; [INFO] [stdout] 46 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` which comes from the expansion of the macro `lazy_static` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/main.rs:31:66 [INFO] [stdout] | [INFO] [stdout] 31 | fn get_command(args: &clap::ArgMatches) -> Option>> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 31 | fn get_command(args: &clap::ArgMatches) -> Option>> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/main.rs:83:21 [INFO] [stdout] | [INFO] [stdout] 83 | err: Option>, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 83 | err: Option>, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/pack.rs:6:50 [INFO] [stdout] | [INFO] [stdout] 6 | pub fn call(args: &ArgMatches) -> Result<(), Box> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 6 | pub fn call(args: &ArgMatches) -> Result<(), Box> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/cross.rs:6:50 [INFO] [stdout] | [INFO] [stdout] 6 | pub fn call(args: &ArgMatches) -> Result<(), Box> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 6 | pub fn call(args: &ArgMatches) -> Result<(), Box> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/pack.rs:6:50 [INFO] [stdout] | [INFO] [stdout] 6 | pub fn call(args: &ArgMatches) -> Result<(), Box> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 6 | pub fn call(args: &ArgMatches) -> Result<(), Box> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/cross.rs:6:50 [INFO] [stdout] | [INFO] [stdout] 6 | pub fn call(args: &ArgMatches) -> Result<(), Box> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 6 | pub fn call(args: &ArgMatches) -> Result<(), Box> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 6 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 6 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 2.64s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: bitflags v0.7.0, bitflags v0.8.2 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1` [INFO] running `Command { std: "docker" "inspect" "65a8d703da751374717b7f4a73840dd60646862a05638c1c2ca37c81e51d64c1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "65a8d703da751374717b7f4a73840dd60646862a05638c1c2ca37c81e51d64c1", kill_on_drop: false }` [INFO] [stdout] 65a8d703da751374717b7f4a73840dd60646862a05638c1c2ca37c81e51d64c1