[INFO] cloning repository https://github.com/kelampaianIlir/cargo-bundle [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/kelampaianIlir/cargo-bundle" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FkelampaianIlir%2Fcargo-bundle", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FkelampaianIlir%2Fcargo-bundle'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 883fdf067939efd2734026e3f8c0646b68bce076 [INFO] testing kelampaianIlir/cargo-bundle against beta-2025-01-12 for beta-1.85-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FkelampaianIlir%2Fcargo-bundle" "/workspace/builds/worker-0-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/kelampaianIlir/cargo-bundle on toolchain beta-2025-01-12 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+beta-2025-01-12" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/kelampaianIlir/cargo-bundle [INFO] removed 0 missing examples [INFO] finished tweaking git repo https://github.com/kelampaianIlir/cargo-bundle [INFO] tweaked toml for git repo https://github.com/kelampaianIlir/cargo-bundle written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/kelampaianIlir/cargo-bundle 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" "+beta-2025-01-12" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded xattr v0.1.11 [INFO] [stderr] Downloaded walkdir v2.1.3 [INFO] [stderr] Downloaded tar v0.4.14 [INFO] [stderr] Downloaded wayland-window v0.13.2 [INFO] [stderr] Downloaded build_const v0.2.0 [INFO] [stderr] Downloaded x11-dl v2.17.2 [INFO] [stderr] Downloaded ar v0.3.1 [INFO] [stderr] Downloaded proc-macro2 v0.4.19 [INFO] [stderr] Downloaded cab v0.1.0 [INFO] [stderr] Downloaded icns v0.2.2 [INFO] [stderr] Downloaded msi v0.2.0 [INFO] [stderr] Downloaded cc v1.0.4 [INFO] [stderr] Downloaded rayon v1.0.0 [INFO] [stderr] Downloaded winit v0.11.0 [INFO] [stderr] Downloaded crc v1.7.0 [INFO] [stderr] Downloaded cfb v0.3.1 [INFO] [stderr] Downloaded dlib v0.4.0 [INFO] [stderr] Downloaded md5 v0.3.7 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:86ea7c7af713d31e8cfdb68a6d0db50b5cf7cbeecde3d112f9f257f747318d36" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2025-01-12" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 6d707c16e50fffc48b990ef469397cd7fef71b20213f07b93203fcab62e671b9 [INFO] running `Command { std: "docker" "start" "-a" "6d707c16e50fffc48b990ef469397cd7fef71b20213f07b93203fcab62e671b9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "6d707c16e50fffc48b990ef469397cd7fef71b20213f07b93203fcab62e671b9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6d707c16e50fffc48b990ef469397cd7fef71b20213f07b93203fcab62e671b9", kill_on_drop: false }` [INFO] [stdout] 6d707c16e50fffc48b990ef469397cd7fef71b20213f07b93203fcab62e671b9 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:86ea7c7af713d31e8cfdb68a6d0db50b5cf7cbeecde3d112f9f257f747318d36" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2025-01-12" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 9da6ddd648cfe4b2f3240762220fed50e6a4b23a09b188890b260aaf725b662b [INFO] running `Command { std: "docker" "start" "-a" "9da6ddd648cfe4b2f3240762220fed50e6a4b23a09b188890b260aaf725b662b", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Compiling libc v0.2.36 [INFO] [stderr] Compiling num-traits v0.2.0 [INFO] [stderr] Compiling cfg-if v0.1.2 [INFO] [stderr] Compiling cc v1.0.4 [INFO] [stderr] Compiling byteorder v1.2.1 [INFO] [stderr] Compiling nodrop v0.1.12 [INFO] [stderr] Compiling encoding_index_tests v0.1.4 [INFO] [stderr] Compiling siphasher v0.2.2 [INFO] [stderr] Compiling adler32 v1.0.2 [INFO] [stderr] Compiling crossbeam-utils v0.2.2 [INFO] [stderr] Compiling arrayvec v0.4.7 [INFO] [stderr] Compiling scopeguard v0.3.3 [INFO] [stderr] Compiling phf_shared v0.7.21 [INFO] [stderr] Compiling lazy_static v0.2.11 [INFO] [stderr] Compiling memoffset v0.2.1 [INFO] [stderr] Compiling rayon-core v1.4.0 [INFO] [stderr] Compiling deflate v0.7.17 [INFO] [stderr] Compiling unicode-xid v0.0.4 [INFO] [stderr] Compiling build_const v0.2.0 [INFO] [stderr] Compiling crossbeam-epoch v0.3.0 [INFO] [stderr] Compiling lazy_static v1.0.0 [INFO] [stderr] Compiling rand v0.4.2 [INFO] [stderr] Compiling num_cpus v1.8.0 [INFO] [stderr] Compiling crc v1.7.0 [INFO] [stderr] Compiling synom v0.11.3 [INFO] [stderr] Compiling either v1.4.0 [INFO] [stderr] Compiling num-integer v0.1.36 [INFO] [stderr] Compiling num-traits v0.1.43 [INFO] [stderr] Compiling crossbeam-deque v0.2.0 [INFO] [stderr] Compiling sha1 v0.2.0 [INFO] [stderr] Compiling num-iter v0.1.35 [INFO] [stderr] Compiling quote v0.3.15 [INFO] [stderr] Compiling bitflags v1.0.1 [INFO] [stderr] Compiling num v0.1.42 [INFO] [stderr] Compiling uuid v0.5.1 [INFO] [stderr] Compiling time v0.1.39 [INFO] [stderr] Compiling inflate v0.3.4 [INFO] [stderr] Compiling encoding-index-korean v1.20141219.5 [INFO] [stderr] Compiling miniz-sys v0.1.10 [INFO] [stderr] Compiling backtrace-sys v0.1.16 [INFO] [stderr] Compiling rand v0.3.22 [INFO] [stderr] Compiling phf_generator v0.7.21 [INFO] [stderr] Compiling phf_codegen v0.7.21 [INFO] [stderr] Compiling syn v0.11.11 [INFO] [stderr] Compiling encoding-index-simpchinese v1.20141219.5 [INFO] [stderr] Compiling target_build_utils v0.3.1 [INFO] [stderr] Compiling encoding-index-singlebyte v1.20141219.5 [INFO] [stderr] Compiling encoding-index-tradchinese v1.20141219.5 [INFO] [stderr] Compiling encoding-index-japanese v1.20141219.5 [INFO] [stderr] Compiling rayon v1.0.0 [INFO] [stderr] Compiling inflate v0.1.1 [INFO] [stderr] Compiling unicode-width v0.1.4 [INFO] [stderr] Compiling serde v0.9.15 [INFO] [stderr] Compiling rustc-demangle v0.1.6 [INFO] [stderr] Compiling lzw v0.10.0 [INFO] [stderr] Compiling color_quant v1.0.0 [INFO] [stderr] Compiling bitflags v0.7.0 [INFO] [stderr] Compiling dtoa v0.4.2 [INFO] [stderr] Compiling itoa v0.3.4 [INFO] [stderr] Compiling gif v0.9.2 [INFO] [stderr] Compiling serde_derive_internals v0.19.0 [INFO] [stderr] Compiling textwrap v0.9.0 [INFO] [stderr] Compiling flate2 v1.0.1 [INFO] [stderr] Compiling jpeg-decoder v0.1.14 [INFO] [stderr] Compiling png v0.6.2 [INFO] [stderr] Compiling encoding v0.2.33 [INFO] [stderr] Compiling png v0.11.0 [INFO] [stderr] Compiling chrono v0.4.0 [INFO] [stderr] Compiling cfb v0.3.1 [INFO] [stderr] Compiling num-rational v0.1.42 [INFO] [stderr] Compiling enum_primitive v0.1.1 [INFO] [stderr] Compiling atty v0.2.6 [INFO] [stderr] Compiling filetime v0.1.15 [INFO] [stderr] Compiling xattr v0.1.11 [INFO] [stderr] Compiling serde_json v0.9.10 [INFO] [stderr] Compiling phf v0.7.21 [INFO] [stderr] Compiling ansi_term v0.10.2 [INFO] [stderr] Compiling serde v1.0.27 [INFO] [stderr] Compiling strsim v0.7.0 [INFO] [stderr] Compiling same-file v1.0.2 [INFO] [stderr] Compiling vec_map v0.8.0 [INFO] [stderr] Compiling scoped_threadpool v0.1.8 [INFO] [stderr] Compiling walkdir v2.1.3 [INFO] [stderr] Compiling clap v2.30.0 [INFO] [stderr] Compiling tar v0.4.14 [INFO] [stderr] Compiling image v0.12.4 [INFO] [stderr] Compiling msi v0.2.0 [INFO] [stderr] Compiling libflate v0.1.14 [INFO] [stderr] Compiling cab v0.1.0 [INFO] [stderr] Compiling icns v0.2.2 [INFO] [stderr] Compiling serde_derive v1.0.27 [INFO] [stderr] Compiling dirs v1.0.4 [INFO] [stderr] Compiling term v0.4.6 [INFO] [stderr] Compiling md5 v0.3.7 [INFO] [stderr] Compiling glob v0.2.11 [INFO] [stderr] Compiling ar v0.3.1 [INFO] [stderr] Compiling toml v0.4.5 [INFO] [stderr] Compiling backtrace v0.3.5 [INFO] [stderr] Compiling error-chain v0.12.0 [INFO] [stderr] Compiling cargo-bundle v0.4.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/bundle/deb_bundle.rs:255:24 [INFO] [stdout] | [INFO] [stdout] 255 | let icon = try!(image::open(&icon_path)); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/bundle/ios_bundle.rs:106:28 [INFO] [stdout] | [INFO] [stdout] 106 | let icon = try!(image::open(&icon_path)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/bundle/osx_bundle.rs:233:21 [INFO] [stdout] | [INFO] [stdout] 233 | try!(family.add_icon_with_type(&icon, icon_type)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/bundle/osx_bundle.rs:232:32 [INFO] [stdout] | [INFO] [stdout] 232 | let icon = try!(make_icns_image(icon)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/bundle/osx_bundle.rs:244:20 [INFO] [stdout] | [INFO] [stdout] 244 | let icon = try!(image::open(&icon_path)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/bundle/osx_bundle.rs:252:13 [INFO] [stdout] | [INFO] [stdout] 252 | try!(add_icon_to_family(icon, density, &mut family)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/bundle/osx_bundle.rs:258:9 [INFO] [stdout] | [INFO] [stdout] 258 | try!(add_icon_to_family(icon, density, &mut family)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/bundle/osx_bundle.rs:262:9 [INFO] [stdout] | [INFO] [stdout] 262 | try!(fs::create_dir_all(resources_dir)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/bundle/osx_bundle.rs:267:9 [INFO] [stdout] | [INFO] [stdout] 267 | try!(family.write(icns_file)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/bundle/osx_bundle.rs:266:40 [INFO] [stdout] | [INFO] [stdout] 266 | let icns_file = BufWriter::new(try!(File::create(&dest_path))); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/main.rs:116:27 [INFO] [stdout] | [INFO] [stdout] 116 | try!(build_project_if_unbuilt(&s)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/main.rs:36:1 [INFO] [stdout] | [INFO] [stdout] 36 | / error_chain! { [INFO] [stdout] 37 | | foreign_links { [INFO] [stdout] 38 | | Glob(::glob::GlobError); [INFO] [stdout] 39 | | GlobPattern(::glob::PatternError); [INFO] [stdout] ... | [INFO] [stdout] 47 | | errors { } [INFO] [stdout] 48 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `impl_error_chain_processed` which comes from the expansion of the macro `error_chain` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::error::Error::cause`: replaced by Error::source, which can support downcasting [INFO] [stdout] --> src/main.rs:36:1 [INFO] [stdout] | [INFO] [stdout] 36 | / error_chain! { [INFO] [stdout] 37 | | foreign_links { [INFO] [stdout] 38 | | Glob(::glob::GlobError); [INFO] [stdout] 39 | | GlobPattern(::glob::PatternError); [INFO] [stdout] ... | [INFO] [stdout] 47 | | errors { } [INFO] [stdout] 48 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `impl_error_chain_processed` which comes from the expansion of the macro `error_chain` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `script` is never read [INFO] [stdout] --> src/bundle/settings.rs:75:5 [INFO] [stdout] | [INFO] [stdout] 64 | struct BundleSettings { [INFO] [stdout] | -------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 75 | script: Option, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `BundleSettings` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `members` is never read [INFO] [stdout] --> src/bundle/settings.rs:102:5 [INFO] [stdout] | [INFO] [stdout] 101 | struct WorkspaceSettings { [INFO] [stdout] | ----------------- field in this struct [INFO] [stdout] 102 | members: Option> [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `WorkspaceSettings` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `workspace` is never read [INFO] [stdout] --> src/bundle/settings.rs:108:5 [INFO] [stdout] | [INFO] [stdout] 106 | struct CargoSettings { [INFO] [stdout] | ------------- field in this struct [INFO] [stdout] 107 | package: Option, // "Ancestor" workspace Cargo.toml files may not have package info [INFO] [stdout] 108 | workspace: Option, // "Ancestor" workspace Cargo.toml files may declare workspaces [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `CargoSettings` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [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/bundle/settings.rs:63:24 [INFO] [stdout] | [INFO] [stdout] 63 | #[derive(Clone, Debug, Deserialize)] [INFO] [stdout] | -^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `BundleSettings` is not local [INFO] [stdout] | `Deserialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_DESERIALIZE_FOR_BundleSettings` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Deserialize` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Deserialize` 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 `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info) [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/bundle/settings.rs:85:24 [INFO] [stdout] | [INFO] [stdout] 85 | #[derive(Clone, Debug, Deserialize)] [INFO] [stdout] | -^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `MetadataSettings` is not local [INFO] [stdout] | `Deserialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_DESERIALIZE_FOR_MetadataSettings` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Deserialize` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Deserialize` 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: this warning originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info) [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/bundle/settings.rs:90:24 [INFO] [stdout] | [INFO] [stdout] 90 | #[derive(Clone, Debug, Deserialize)] [INFO] [stdout] | -^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `PackageSettings` is not local [INFO] [stdout] | `Deserialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_DESERIALIZE_FOR_PackageSettings` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Deserialize` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Deserialize` 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: this warning originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info) [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/bundle/settings.rs:100:24 [INFO] [stdout] | [INFO] [stdout] 100 | #[derive(Clone, Debug, Deserialize)] [INFO] [stdout] | -^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `WorkspaceSettings` is not local [INFO] [stdout] | `Deserialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_DESERIALIZE_FOR_WorkspaceSettings` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Deserialize` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Deserialize` 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: this warning originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info) [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/bundle/settings.rs:105:24 [INFO] [stdout] | [INFO] [stdout] 105 | #[derive(Clone, Debug, Deserialize)] [INFO] [stdout] | -^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `CargoSettings` is not local [INFO] [stdout] | `Deserialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_DESERIALIZE_FOR_CargoSettings` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Deserialize` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Deserialize` 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: this warning originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 58.62s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: bitflags v0.7.0 [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" "9da6ddd648cfe4b2f3240762220fed50e6a4b23a09b188890b260aaf725b662b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9da6ddd648cfe4b2f3240762220fed50e6a4b23a09b188890b260aaf725b662b", kill_on_drop: false }` [INFO] [stdout] 9da6ddd648cfe4b2f3240762220fed50e6a4b23a09b188890b260aaf725b662b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:86ea7c7af713d31e8cfdb68a6d0db50b5cf7cbeecde3d112f9f257f747318d36" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2025-01-12" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a95c85629b5226d130eaccc1214319477e757a5b6ae1727be73d39d17081ecf2 [INFO] running `Command { std: "docker" "start" "-a" "a95c85629b5226d130eaccc1214319477e757a5b6ae1727be73d39d17081ecf2", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Compiling libloading v0.4.3 [INFO] [stderr] Compiling xml-rs v0.7.0 [INFO] [stderr] Compiling rand v0.3.22 [INFO] [stderr] Compiling token_store v0.1.2 [INFO] [stderr] Compiling pkg-config v0.3.9 [INFO] [stderr] Compiling memmap v0.6.2 [INFO] [stderr] Compiling rand_core v0.2.1 [INFO] [stderr] Compiling remove_dir_all v0.5.1 [INFO] [stderr] Compiling phf_generator v0.7.21 [INFO] [stderr] Compiling tempfile v2.2.0 [INFO] [stderr] Compiling phf_codegen v0.7.21 [INFO] [stderr] Compiling percent-encoding v1.0.1 [INFO] [stderr] Compiling target_build_utils v0.3.1 [INFO] [stderr] Compiling rand v0.5.4 [INFO] [stderr] Compiling x11-dl v2.17.2 [INFO] [stderr] Compiling dlib v0.4.0 [INFO] [stderr] Compiling wayland-sys v0.12.5 [INFO] [stderr] Compiling wayland-scanner v0.12.5 [INFO] [stderr] Compiling wayland-client v0.12.5 [INFO] [stderr] Compiling wayland-protocols v0.12.5 [INFO] [stderr] Compiling tempfile v3.0.3 [INFO] [stderr] Compiling wayland-kbd v0.13.1 [INFO] [stderr] Compiling wayland-window v0.13.2 [INFO] [stderr] Compiling winit v0.11.0 [INFO] [stderr] Compiling cargo-bundle v0.4.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/bundle/deb_bundle.rs:255:24 [INFO] [stdout] | [INFO] [stdout] 255 | let icon = try!(image::open(&icon_path)); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/bundle/ios_bundle.rs:106:28 [INFO] [stdout] | [INFO] [stdout] 106 | let icon = try!(image::open(&icon_path)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/bundle/osx_bundle.rs:233:21 [INFO] [stdout] | [INFO] [stdout] 233 | try!(family.add_icon_with_type(&icon, icon_type)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/bundle/osx_bundle.rs:232:32 [INFO] [stdout] | [INFO] [stdout] 232 | let icon = try!(make_icns_image(icon)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/bundle/osx_bundle.rs:244:20 [INFO] [stdout] | [INFO] [stdout] 244 | let icon = try!(image::open(&icon_path)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/bundle/osx_bundle.rs:252:13 [INFO] [stdout] | [INFO] [stdout] 252 | try!(add_icon_to_family(icon, density, &mut family)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/bundle/osx_bundle.rs:258:9 [INFO] [stdout] | [INFO] [stdout] 258 | try!(add_icon_to_family(icon, density, &mut family)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/bundle/osx_bundle.rs:262:9 [INFO] [stdout] | [INFO] [stdout] 262 | try!(fs::create_dir_all(resources_dir)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/bundle/osx_bundle.rs:267:9 [INFO] [stdout] | [INFO] [stdout] 267 | try!(family.write(icns_file)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/bundle/osx_bundle.rs:266:40 [INFO] [stdout] | [INFO] [stdout] 266 | let icns_file = BufWriter::new(try!(File::create(&dest_path))); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/main.rs:116:27 [INFO] [stdout] | [INFO] [stdout] 116 | try!(build_project_if_unbuilt(&s)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/main.rs:36:1 [INFO] [stdout] | [INFO] [stdout] 36 | / error_chain! { [INFO] [stdout] 37 | | foreign_links { [INFO] [stdout] 38 | | Glob(::glob::GlobError); [INFO] [stdout] 39 | | GlobPattern(::glob::PatternError); [INFO] [stdout] ... | [INFO] [stdout] 47 | | errors { } [INFO] [stdout] 48 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `impl_error_chain_processed` which comes from the expansion of the macro `error_chain` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/bundle/deb_bundle.rs:255:24 [INFO] [stdout] | [INFO] [stdout] 255 | let icon = try!(image::open(&icon_path)); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/bundle/ios_bundle.rs:106:28 [INFO] [stdout] | [INFO] [stdout] 106 | let icon = try!(image::open(&icon_path)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/bundle/osx_bundle.rs:233:21 [INFO] [stdout] | [INFO] [stdout] 233 | try!(family.add_icon_with_type(&icon, icon_type)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/bundle/osx_bundle.rs:232:32 [INFO] [stdout] | [INFO] [stdout] 232 | let icon = try!(make_icns_image(icon)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/bundle/osx_bundle.rs:244:20 [INFO] [stdout] | [INFO] [stdout] 244 | let icon = try!(image::open(&icon_path)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/bundle/osx_bundle.rs:252:13 [INFO] [stdout] | [INFO] [stdout] 252 | try!(add_icon_to_family(icon, density, &mut family)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/bundle/osx_bundle.rs:258:9 [INFO] [stdout] | [INFO] [stdout] 258 | try!(add_icon_to_family(icon, density, &mut family)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/bundle/osx_bundle.rs:262:9 [INFO] [stdout] | [INFO] [stdout] 262 | try!(fs::create_dir_all(resources_dir)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/bundle/osx_bundle.rs:267:9 [INFO] [stdout] | [INFO] [stdout] 267 | try!(family.write(icns_file)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/bundle/osx_bundle.rs:266:40 [INFO] [stdout] | [INFO] [stdout] 266 | let icns_file = BufWriter::new(try!(File::create(&dest_path))); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/main.rs:116:27 [INFO] [stdout] | [INFO] [stdout] 116 | try!(build_project_if_unbuilt(&s)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/main.rs:36:1 [INFO] [stdout] | [INFO] [stdout] 36 | / error_chain! { [INFO] [stdout] 37 | | foreign_links { [INFO] [stdout] 38 | | Glob(::glob::GlobError); [INFO] [stdout] 39 | | GlobPattern(::glob::PatternError); [INFO] [stdout] ... | [INFO] [stdout] 47 | | errors { } [INFO] [stdout] 48 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `impl_error_chain_processed` which comes from the expansion of the macro `error_chain` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::error::Error::cause`: replaced by Error::source, which can support downcasting [INFO] [stdout] --> src/main.rs:36:1 [INFO] [stdout] | [INFO] [stdout] 36 | / error_chain! { [INFO] [stdout] 37 | | foreign_links { [INFO] [stdout] 38 | | Glob(::glob::GlobError); [INFO] [stdout] 39 | | GlobPattern(::glob::PatternError); [INFO] [stdout] ... | [INFO] [stdout] 47 | | errors { } [INFO] [stdout] 48 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `impl_error_chain_processed` which comes from the expansion of the macro `error_chain` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::error::Error::cause`: replaced by Error::source, which can support downcasting [INFO] [stdout] --> src/main.rs:36:1 [INFO] [stdout] | [INFO] [stdout] 36 | / error_chain! { [INFO] [stdout] 37 | | foreign_links { [INFO] [stdout] 38 | | Glob(::glob::GlobError); [INFO] [stdout] 39 | | GlobPattern(::glob::PatternError); [INFO] [stdout] ... | [INFO] [stdout] 47 | | errors { } [INFO] [stdout] 48 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `impl_error_chain_processed` which comes from the expansion of the macro `error_chain` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `script` is never read [INFO] [stdout] --> src/bundle/settings.rs:75:5 [INFO] [stdout] | [INFO] [stdout] 64 | struct BundleSettings { [INFO] [stdout] | -------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 75 | script: Option, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `BundleSettings` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `members` is never read [INFO] [stdout] --> src/bundle/settings.rs:102:5 [INFO] [stdout] | [INFO] [stdout] 101 | struct WorkspaceSettings { [INFO] [stdout] | ----------------- field in this struct [INFO] [stdout] 102 | members: Option> [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `WorkspaceSettings` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `workspace` is never read [INFO] [stdout] --> src/bundle/settings.rs:108:5 [INFO] [stdout] | [INFO] [stdout] 106 | struct CargoSettings { [INFO] [stdout] | ------------- field in this struct [INFO] [stdout] 107 | package: Option, // "Ancestor" workspace Cargo.toml files may not have package info [INFO] [stdout] 108 | workspace: Option, // "Ancestor" workspace Cargo.toml files may declare workspaces [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `CargoSettings` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [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/bundle/settings.rs:63:24 [INFO] [stdout] | [INFO] [stdout] 63 | #[derive(Clone, Debug, Deserialize)] [INFO] [stdout] | -^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `BundleSettings` is not local [INFO] [stdout] | `Deserialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_DESERIALIZE_FOR_BundleSettings` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Deserialize` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Deserialize` 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 `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info) [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/bundle/settings.rs:85:24 [INFO] [stdout] | [INFO] [stdout] 85 | #[derive(Clone, Debug, Deserialize)] [INFO] [stdout] | -^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `MetadataSettings` is not local [INFO] [stdout] | `Deserialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_DESERIALIZE_FOR_MetadataSettings` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Deserialize` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Deserialize` 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: this warning originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info) [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/bundle/settings.rs:90:24 [INFO] [stdout] | [INFO] [stdout] 90 | #[derive(Clone, Debug, Deserialize)] [INFO] [stdout] | -^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `PackageSettings` is not local [INFO] [stdout] | `Deserialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_DESERIALIZE_FOR_PackageSettings` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Deserialize` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Deserialize` 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: this warning originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info) [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/bundle/settings.rs:100:24 [INFO] [stdout] | [INFO] [stdout] 100 | #[derive(Clone, Debug, Deserialize)] [INFO] [stdout] | -^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `WorkspaceSettings` is not local [INFO] [stdout] | `Deserialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_DESERIALIZE_FOR_WorkspaceSettings` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Deserialize` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Deserialize` 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: this warning originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info) [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/bundle/settings.rs:105:24 [INFO] [stdout] | [INFO] [stdout] 105 | #[derive(Clone, Debug, Deserialize)] [INFO] [stdout] | -^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `CargoSettings` is not local [INFO] [stdout] | `Deserialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_DESERIALIZE_FOR_CargoSettings` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Deserialize` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Deserialize` 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: this warning originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `script` is never read [INFO] [stdout] --> src/bundle/settings.rs:75:5 [INFO] [stdout] | [INFO] [stdout] 64 | struct BundleSettings { [INFO] [stdout] | -------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 75 | script: Option, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `BundleSettings` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `members` is never read [INFO] [stdout] --> src/bundle/settings.rs:102:5 [INFO] [stdout] | [INFO] [stdout] 101 | struct WorkspaceSettings { [INFO] [stdout] | ----------------- field in this struct [INFO] [stdout] 102 | members: Option> [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `WorkspaceSettings` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `workspace` is never read [INFO] [stdout] --> src/bundle/settings.rs:108:5 [INFO] [stdout] | [INFO] [stdout] 106 | struct CargoSettings { [INFO] [stdout] | ------------- field in this struct [INFO] [stdout] 107 | package: Option, // "Ancestor" workspace Cargo.toml files may not have package info [INFO] [stdout] 108 | workspace: Option, // "Ancestor" workspace Cargo.toml files may declare workspaces [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `CargoSettings` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [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/bundle/settings.rs:63:24 [INFO] [stdout] | [INFO] [stdout] 63 | #[derive(Clone, Debug, Deserialize)] [INFO] [stdout] | -^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `BundleSettings` is not local [INFO] [stdout] | `Deserialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_DESERIALIZE_FOR_BundleSettings` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Deserialize` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Deserialize` 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 `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info) [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/bundle/settings.rs:85:24 [INFO] [stdout] | [INFO] [stdout] 85 | #[derive(Clone, Debug, Deserialize)] [INFO] [stdout] | -^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `MetadataSettings` is not local [INFO] [stdout] | `Deserialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_DESERIALIZE_FOR_MetadataSettings` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Deserialize` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Deserialize` 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: this warning originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info) [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/bundle/settings.rs:90:24 [INFO] [stdout] | [INFO] [stdout] 90 | #[derive(Clone, Debug, Deserialize)] [INFO] [stdout] | -^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `PackageSettings` is not local [INFO] [stdout] | `Deserialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_DESERIALIZE_FOR_PackageSettings` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Deserialize` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Deserialize` 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: this warning originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info) [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/bundle/settings.rs:100:24 [INFO] [stdout] | [INFO] [stdout] 100 | #[derive(Clone, Debug, Deserialize)] [INFO] [stdout] | -^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `WorkspaceSettings` is not local [INFO] [stdout] | `Deserialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_DESERIALIZE_FOR_WorkspaceSettings` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Deserialize` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Deserialize` 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: this warning originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info) [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/bundle/settings.rs:105:24 [INFO] [stdout] | [INFO] [stdout] 105 | #[derive(Clone, Debug, Deserialize)] [INFO] [stdout] | -^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `CargoSettings` is not local [INFO] [stdout] | `Deserialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_DESERIALIZE_FOR_CargoSettings` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Deserialize` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Deserialize` 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: this warning originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 27.39s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: bitflags v0.7.0 [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" "a95c85629b5226d130eaccc1214319477e757a5b6ae1727be73d39d17081ecf2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a95c85629b5226d130eaccc1214319477e757a5b6ae1727be73d39d17081ecf2", kill_on_drop: false }` [INFO] [stdout] a95c85629b5226d130eaccc1214319477e757a5b6ae1727be73d39d17081ecf2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:86ea7c7af713d31e8cfdb68a6d0db50b5cf7cbeecde3d112f9f257f747318d36" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2025-01-12" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 8f21fbd62475d7a59551bd14fb2e081bb048255f511d59c91e095e6c2be2f258 [INFO] running `Command { std: "docker" "start" "-a" "8f21fbd62475d7a59551bd14fb2e081bb048255f511d59c91e095e6c2be2f258", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/bundle/deb_bundle.rs:255:24 [INFO] [stderr] | [INFO] [stderr] 255 | let icon = try!(image::open(&icon_path)); [INFO] [stderr] | ^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(deprecated)]` on by default [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/bundle/ios_bundle.rs:106:28 [INFO] [stderr] | [INFO] [stderr] 106 | let icon = try!(image::open(&icon_path)); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/bundle/osx_bundle.rs:233:21 [INFO] [stderr] | [INFO] [stderr] 233 | try!(family.add_icon_with_type(&icon, icon_type)); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/bundle/osx_bundle.rs:232:32 [INFO] [stderr] | [INFO] [stderr] 232 | let icon = try!(make_icns_image(icon)); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/bundle/osx_bundle.rs:244:20 [INFO] [stderr] | [INFO] [stderr] 244 | let icon = try!(image::open(&icon_path)); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/bundle/osx_bundle.rs:252:13 [INFO] [stderr] | [INFO] [stderr] 252 | try!(add_icon_to_family(icon, density, &mut family)); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/bundle/osx_bundle.rs:258:9 [INFO] [stderr] | [INFO] [stderr] 258 | try!(add_icon_to_family(icon, density, &mut family)); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/bundle/osx_bundle.rs:262:9 [INFO] [stderr] | [INFO] [stderr] 262 | try!(fs::create_dir_all(resources_dir)); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/bundle/osx_bundle.rs:267:9 [INFO] [stderr] | [INFO] [stderr] 267 | try!(family.write(icns_file)); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/bundle/osx_bundle.rs:266:40 [INFO] [stderr] | [INFO] [stderr] 266 | let icns_file = BufWriter::new(try!(File::create(&dest_path))); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/main.rs:116:27 [INFO] [stderr] | [INFO] [stderr] 116 | try!(build_project_if_unbuilt(&s)); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string() [INFO] [stderr] --> src/main.rs:36:1 [INFO] [stderr] | [INFO] [stderr] 36 | / error_chain! { [INFO] [stderr] 37 | | foreign_links { [INFO] [stderr] 38 | | Glob(::glob::GlobError); [INFO] [stderr] 39 | | GlobPattern(::glob::PatternError); [INFO] [stderr] ... | [INFO] [stderr] 47 | | errors { } [INFO] [stderr] 48 | | } [INFO] [stderr] | |_^ [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in the macro `impl_error_chain_processed` which comes from the expansion of the macro `error_chain` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of deprecated method `std::error::Error::cause`: replaced by Error::source, which can support downcasting [INFO] [stderr] --> src/main.rs:36:1 [INFO] [stderr] | [INFO] [stderr] 36 | / error_chain! { [INFO] [stderr] 37 | | foreign_links { [INFO] [stderr] 38 | | Glob(::glob::GlobError); [INFO] [stderr] 39 | | GlobPattern(::glob::PatternError); [INFO] [stderr] ... | [INFO] [stderr] 47 | | errors { } [INFO] [stderr] 48 | | } [INFO] [stderr] | |_^ [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in the macro `impl_error_chain_processed` which comes from the expansion of the macro `error_chain` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: field `script` is never read [INFO] [stderr] --> src/bundle/settings.rs:75:5 [INFO] [stderr] | [INFO] [stderr] 64 | struct BundleSettings { [INFO] [stderr] | -------------- field in this struct [INFO] [stderr] ... [INFO] [stderr] 75 | script: Option, [INFO] [stderr] | ^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `BundleSettings` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: field `members` is never read [INFO] [stderr] --> src/bundle/settings.rs:102:5 [INFO] [stderr] | [INFO] [stderr] 101 | struct WorkspaceSettings { [INFO] [stderr] | ----------------- field in this struct [INFO] [stderr] 102 | members: Option> [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `WorkspaceSettings` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: field `workspace` is never read [INFO] [stderr] --> src/bundle/settings.rs:108:5 [INFO] [stderr] | [INFO] [stderr] 106 | struct CargoSettings { [INFO] [stderr] | ------------- field in this struct [INFO] [stderr] 107 | package: Option, // "Ancestor" workspace Cargo.toml files may not have package info [INFO] [stderr] 108 | workspace: Option, // "Ancestor" workspace Cargo.toml files may declare workspaces [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `CargoSettings` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> src/bundle/settings.rs:63:24 [INFO] [stderr] | [INFO] [stderr] 63 | #[derive(Clone, Debug, Deserialize)] [INFO] [stderr] | -^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | `BundleSettings` is not local [INFO] [stderr] | `Deserialize` is not local [INFO] [stderr] | move the `impl` block outside of this constant `_IMPL_DESERIALIZE_FOR_BundleSettings` [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `Deserialize` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = note: the derive macro `Deserialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stderr] = 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] [stderr] = 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] [stderr] = note: `#[warn(non_local_definitions)]` on by default [INFO] [stderr] = note: this warning originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> src/bundle/settings.rs:85:24 [INFO] [stderr] | [INFO] [stderr] 85 | #[derive(Clone, Debug, Deserialize)] [INFO] [stderr] | -^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | `MetadataSettings` is not local [INFO] [stderr] | `Deserialize` is not local [INFO] [stderr] | move the `impl` block outside of this constant `_IMPL_DESERIALIZE_FOR_MetadataSettings` [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `Deserialize` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = note: the derive macro `Deserialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stderr] = 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] [stderr] = 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] [stderr] = note: this warning originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> src/bundle/settings.rs:90:24 [INFO] [stderr] | [INFO] [stderr] 90 | #[derive(Clone, Debug, Deserialize)] [INFO] [stderr] | -^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | `PackageSettings` is not local [INFO] [stderr] | `Deserialize` is not local [INFO] [stderr] | move the `impl` block outside of this constant `_IMPL_DESERIALIZE_FOR_PackageSettings` [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `Deserialize` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = note: the derive macro `Deserialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stderr] = 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] [stderr] = 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] [stderr] = note: this warning originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> src/bundle/settings.rs:100:24 [INFO] [stderr] | [INFO] [stderr] 100 | #[derive(Clone, Debug, Deserialize)] [INFO] [stderr] | -^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | `WorkspaceSettings` is not local [INFO] [stderr] | `Deserialize` is not local [INFO] [stderr] | move the `impl` block outside of this constant `_IMPL_DESERIALIZE_FOR_WorkspaceSettings` [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `Deserialize` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = note: the derive macro `Deserialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stderr] = 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] [stderr] = 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] [stderr] = note: this warning originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> src/bundle/settings.rs:105:24 [INFO] [stderr] | [INFO] [stderr] 105 | #[derive(Clone, Debug, Deserialize)] [INFO] [stderr] | -^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | `CargoSettings` is not local [INFO] [stderr] | `Deserialize` is not local [INFO] [stderr] | move the `impl` block outside of this constant `_IMPL_DESERIALIZE_FOR_CargoSettings` [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `Deserialize` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = note: the derive macro `Deserialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stderr] = 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] [stderr] = 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] [stderr] = note: this warning originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: `cargo-bundle` (bin "cargo-bundle") generated 21 warnings [INFO] [stderr] warning: `cargo-bundle` (bin "cargo-bundle" test) generated 21 warnings (21 duplicates) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.17s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: bitflags v0.7.0 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1` [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/cargo_bundle-3b475cb96edd28ff) [INFO] [stdout] [INFO] [stdout] running 10 tests [INFO] [stdout] test bundle::category::tests::category_from_string_did_you_mean ... ok [INFO] [stdout] test bundle::common::tests::copy_dir_with_symlinks ... ok [INFO] [stdout] test bundle::common::tests::create_file_with_parent_dirs ... ok [INFO] [stdout] test bundle::common::tests::retina_icon_paths ... ok [INFO] [stdout] test bundle::settings::tests::parse_cargo_toml ... ok [INFO] [stdout] test bundle::common::tests::resource_relative_paths ... ok [INFO] [stdout] test bundle::settings::tests::parse_bin_and_example_bundles ... ok [INFO] [stdout] test bundle::category::tests::category_from_string_ok ... ok [INFO] [stdout] test bundle::category::tests::category_from_string_totally_wrong ... ok [INFO] [stdout] test bundle::category::tests::ls_application_category_type_round_trip ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 10 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.03s [INFO] [stdout] [INFO] [stderr] Running tests/lib.rs (/opt/rustwide/target/debug/deps/lib-5702e53e39d5d95d) [INFO] [stdout] [INFO] [stdout] running 1 test [INFO] [stdout] test it_works ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "8f21fbd62475d7a59551bd14fb2e081bb048255f511d59c91e095e6c2be2f258", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8f21fbd62475d7a59551bd14fb2e081bb048255f511d59c91e095e6c2be2f258", kill_on_drop: false }` [INFO] [stdout] 8f21fbd62475d7a59551bd14fb2e081bb048255f511d59c91e095e6c2be2f258