[INFO] cloning repository https://github.com/tool-tool-team/tool-tool [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/tool-tool-team/tool-tool" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftool-tool-team%2Ftool-tool", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftool-tool-team%2Ftool-tool'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 1821f0e269106dedade721c5c8f2c5cc9f631eba [INFO] testing tool-tool-team/tool-tool against try#8de4c7234dd9b97c9d76b58671343fdbbc9a433e+target=x86_64-unknown-linux-musl for musl_upgrade_1_2_5_with_libc_patch_0 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftool-tool-team%2Ftool-tool" "/workspace/builds/worker-6-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/tool-tool-team/tool-tool [INFO] finished tweaking git repo https://github.com/tool-tool-team/tool-tool [INFO] tweaked toml for git repo https://github.com/tool-tool-team/tool-tool written to /workspace/builds/worker-6-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/tool-tool-team/tool-tool on toolchain 8de4c7234dd9b97c9d76b58671343fdbbc9a433e [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/tool-tool-team/tool-tool 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" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded podio v0.1.7 [INFO] [stderr] Downloaded proc-macro2 v1.0.17 [INFO] [stderr] Downloaded insta v0.16.0 [INFO] [stderr] Downloaded atomicwrites v0.2.5 [INFO] [stderr] Downloaded console v0.10.3 [INFO] [stderr] Downloaded mockito v0.25.2 [INFO] [stderr] Downloaded serde_yaml v0.8.12 [INFO] [stderr] Downloaded js-sys v0.3.40 [INFO] [stderr] Downloaded http_req v0.7.0 [INFO] [stderr] Downloaded backtrace v0.3.48 [INFO] [stderr] Downloaded addr2line v0.12.1 [INFO] [stderr] Downloaded syn v1.0.29 [INFO] [stderr] Downloaded tar v0.4.28 [INFO] [stderr] Downloaded object v0.19.0 [INFO] [stderr] Downloaded assert-json-diff v1.0.3 [INFO] [stderr] Downloaded zip v0.5.5 [INFO] [stderr] Downloaded webpki-roots v0.19.0 [INFO] [stderr] Downloaded dunce v1.0.1 [INFO] [stderr] Downloaded web-sys v0.3.40 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 2aa9b97363a1c000f056104e67e198a46ef3d755c889f146961bf756264a2b3d [INFO] running `Command { std: "docker" "start" "-a" "2aa9b97363a1c000f056104e67e198a46ef3d755c889f146961bf756264a2b3d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "2aa9b97363a1c000f056104e67e198a46ef3d755c889f146961bf756264a2b3d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2aa9b97363a1c000f056104e67e198a46ef3d755c889f146961bf756264a2b3d", kill_on_drop: false }` [INFO] [stdout] 2aa9b97363a1c000f056104e67e198a46ef3d755c889f146961bf756264a2b3d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/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" "-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "build" "--frozen" "--message-format=json" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] 5df99a8aec440b55573e1db8bebda513ee27c9610cf2375a7df639be918395d4 [INFO] running `Command { std: "docker" "start" "-a" "5df99a8aec440b55573e1db8bebda513ee27c9610cf2375a7df639be918395d4", kill_on_drop: false }` [INFO] [stderr] Compiling cc v1.0.54 [INFO] [stderr] Compiling proc-macro2 v1.0.17 [INFO] [stderr] Compiling once_cell v1.4.0 [INFO] [stderr] Compiling syn v1.0.29 [INFO] [stderr] Compiling crc32fast v1.2.0 [INFO] [stderr] Compiling serde v1.0.111 [INFO] [stderr] Compiling nix v0.14.1 [INFO] [stderr] Compiling adler32 v1.0.4 [INFO] [stderr] Compiling unicase v2.6.0 [INFO] [stderr] Compiling anyhow v1.0.31 [INFO] [stderr] Compiling linked-hash-map v0.5.3 [INFO] [stderr] Compiling remove_dir_all v0.5.2 [INFO] [stderr] Compiling base64 v0.11.0 [INFO] [stderr] Compiling log v0.4.8 [INFO] [stderr] Compiling rand v0.4.6 [INFO] [stderr] Compiling void v1.0.2 [INFO] [stderr] Compiling miniz_oxide v0.3.6 [INFO] [stderr] Compiling filetime v0.2.10 [INFO] [stderr] Compiling yaml-rust v0.4.3 [INFO] [stderr] Compiling dirs-sys v0.3.4 [INFO] [stderr] Compiling xattr v0.2.2 [INFO] [stderr] Compiling dtoa v0.4.5 [INFO] [stderr] Compiling podio v0.1.7 [INFO] [stderr] Compiling dunce v1.0.1 [INFO] [stderr] Compiling tar v0.4.28 [INFO] [stderr] Compiling dirs v2.0.2 [INFO] [stderr] Compiling flate2 v1.0.14 [INFO] [stderr] Compiling quote v1.0.6 [INFO] [stderr] Compiling ring v0.16.15 [INFO] [stderr] Compiling tempdir v0.3.7 [INFO] [stderr] Compiling zip v0.5.5 [INFO] [stderr] Compiling atomicwrites v0.2.5 [INFO] [stderr] Compiling webpki v0.21.3 [INFO] [stderr] Compiling sct v0.6.0 [INFO] [stderr] Compiling rustls v0.17.0 [INFO] [stderr] Compiling webpki-roots v0.19.0 [INFO] [stderr] Compiling http_req v0.7.0 [INFO] [stderr] Compiling serde_derive v1.0.111 [INFO] [stderr] Compiling serde_yaml v0.8.12 [INFO] [stderr] Compiling tool-tool v1.0.1-alpha.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/config.rs:10:48 [INFO] [stdout] | [INFO] [stdout] 10 | #[derive(Debug, Default, Clone, PartialEq, Eq, Serialize, Deserialize)] [INFO] [stdout] | ^-------- [INFO] [stdout] | | [INFO] [stdout] | `Serialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_SERIALIZE_FOR_Configuration` [INFO] [stdout] 11 | pub struct Configuration { [INFO] [stdout] | ------------- `Configuration` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Serialize` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Serialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: `#[warn(non_local_definitions)]` on by default [INFO] [stdout] = note: this warning originates in the derive macro `Serialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/config.rs:10:59 [INFO] [stdout] | [INFO] [stdout] 10 | #[derive(Debug, Default, Clone, PartialEq, Eq, Serialize, Deserialize)] [INFO] [stdout] | ^---------- [INFO] [stdout] | | [INFO] [stdout] | `Deserialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_DESERIALIZE_FOR_Configuration` [INFO] [stdout] 11 | pub struct Configuration { [INFO] [stdout] | ------------- `Configuration` is not local [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/config.rs:18:48 [INFO] [stdout] | [INFO] [stdout] 18 | #[derive(Debug, Default, Clone, PartialEq, Eq, Serialize, Deserialize)] [INFO] [stdout] | ^-------- [INFO] [stdout] | | [INFO] [stdout] | `Serialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_SERIALIZE_FOR_ToolConfiguration` [INFO] [stdout] 19 | pub struct ToolConfiguration { [INFO] [stdout] | ----------------- `ToolConfiguration` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Serialize` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Serialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Serialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/config.rs:18:59 [INFO] [stdout] | [INFO] [stdout] 18 | #[derive(Debug, Default, Clone, PartialEq, Eq, Serialize, Deserialize)] [INFO] [stdout] | ^---------- [INFO] [stdout] | | [INFO] [stdout] | `Deserialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_DESERIALIZE_FOR_ToolConfiguration` [INFO] [stdout] 19 | pub struct ToolConfiguration { [INFO] [stdout] | ----------------- `ToolConfiguration` is not local [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/config.rs:36:48 [INFO] [stdout] | [INFO] [stdout] 36 | #[derive(Debug, Default, Clone, PartialEq, Eq, Serialize, Deserialize)] [INFO] [stdout] | ^-------- [INFO] [stdout] | | [INFO] [stdout] | `Serialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_SERIALIZE_FOR_DownloadUrls` [INFO] [stdout] 37 | pub struct DownloadUrls { [INFO] [stdout] | ------------ `DownloadUrls` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Serialize` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Serialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Serialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/config.rs:36:59 [INFO] [stdout] | [INFO] [stdout] 36 | #[derive(Debug, Default, Clone, PartialEq, Eq, Serialize, Deserialize)] [INFO] [stdout] | ^---------- [INFO] [stdout] | | [INFO] [stdout] | `Deserialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_DESERIALIZE_FOR_DownloadUrls` [INFO] [stdout] 37 | pub struct DownloadUrls { [INFO] [stdout] | ------------ `DownloadUrls` is not local [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 20.47s [INFO] running `Command { std: "docker" "inspect" "5df99a8aec440b55573e1db8bebda513ee27c9610cf2375a7df639be918395d4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5df99a8aec440b55573e1db8bebda513ee27c9610cf2375a7df639be918395d4", kill_on_drop: false }` [INFO] [stdout] 5df99a8aec440b55573e1db8bebda513ee27c9610cf2375a7df639be918395d4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/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" "-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "test" "--frozen" "--no-run" "--message-format=json" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] cd1cf652a0d62d67629b9231374a160b778ced0d81d37ada7818f1d689553415 [INFO] running `Command { std: "docker" "start" "-a" "cd1cf652a0d62d67629b9231374a160b778ced0d81d37ada7818f1d689553415", kill_on_drop: false }` [INFO] [stderr] Compiling ppv-lite86 v0.2.8 [INFO] [stderr] Compiling itoa v0.4.5 [INFO] [stderr] Compiling getrandom v0.1.14 [INFO] [stderr] Compiling httparse v1.3.4 [INFO] [stderr] Compiling gimli v0.21.0 [INFO] [stderr] Compiling aho-corasick v0.7.10 [INFO] [stderr] Compiling termios v0.3.2 [INFO] [stderr] Compiling terminal_size v0.1.12 [INFO] [stderr] Compiling clicolors-control v1.0.1 [INFO] [stderr] Compiling syn-mid v0.5.0 [INFO] [stderr] Compiling difference v2.0.0 [INFO] [stderr] Compiling regex-syntax v0.6.18 [INFO] [stderr] Compiling object v0.19.0 [INFO] [stderr] Compiling colored v1.9.3 [INFO] [stderr] Compiling serde_json v1.0.53 [INFO] [stderr] Compiling console v0.10.3 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.2 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling proc-macro-error v1.0.2 [INFO] [stderr] Compiling extend v0.1.2 [INFO] [stderr] Compiling tempfile v3.1.0 [INFO] [stderr] Compiling assert-json-diff v1.0.3 [INFO] [stderr] Compiling regex v1.3.9 [INFO] [stderr] Compiling addr2line v0.12.1 [INFO] [stderr] Compiling mockito v0.25.2 [INFO] [stderr] Compiling backtrace v0.3.48 [INFO] [stderr] Compiling insta v0.16.0 [INFO] [stderr] Compiling tool-tool v1.0.1-alpha.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/config.rs:10:48 [INFO] [stdout] | [INFO] [stdout] 10 | #[derive(Debug, Default, Clone, PartialEq, Eq, Serialize, Deserialize)] [INFO] [stdout] | ^-------- [INFO] [stdout] | | [INFO] [stdout] | `Serialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_SERIALIZE_FOR_Configuration` [INFO] [stdout] 11 | pub struct Configuration { [INFO] [stdout] | ------------- `Configuration` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Serialize` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Serialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: `#[warn(non_local_definitions)]` on by default [INFO] [stdout] = note: this warning originates in the derive macro `Serialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/config.rs:10:59 [INFO] [stdout] | [INFO] [stdout] 10 | #[derive(Debug, Default, Clone, PartialEq, Eq, Serialize, Deserialize)] [INFO] [stdout] | ^---------- [INFO] [stdout] | | [INFO] [stdout] | `Deserialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_DESERIALIZE_FOR_Configuration` [INFO] [stdout] 11 | pub struct Configuration { [INFO] [stdout] | ------------- `Configuration` is not local [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/config.rs:18:48 [INFO] [stdout] | [INFO] [stdout] 18 | #[derive(Debug, Default, Clone, PartialEq, Eq, Serialize, Deserialize)] [INFO] [stdout] | ^-------- [INFO] [stdout] | | [INFO] [stdout] | `Serialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_SERIALIZE_FOR_ToolConfiguration` [INFO] [stdout] 19 | pub struct ToolConfiguration { [INFO] [stdout] | ----------------- `ToolConfiguration` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Serialize` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Serialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Serialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/config.rs:18:59 [INFO] [stdout] | [INFO] [stdout] 18 | #[derive(Debug, Default, Clone, PartialEq, Eq, Serialize, Deserialize)] [INFO] [stdout] | ^---------- [INFO] [stdout] | | [INFO] [stdout] | `Deserialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_DESERIALIZE_FOR_ToolConfiguration` [INFO] [stdout] 19 | pub struct ToolConfiguration { [INFO] [stdout] | ----------------- `ToolConfiguration` is not local [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/config.rs:36:48 [INFO] [stdout] | [INFO] [stdout] 36 | #[derive(Debug, Default, Clone, PartialEq, Eq, Serialize, Deserialize)] [INFO] [stdout] | ^-------- [INFO] [stdout] | | [INFO] [stdout] | `Serialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_SERIALIZE_FOR_DownloadUrls` [INFO] [stdout] 37 | pub struct DownloadUrls { [INFO] [stdout] | ------------ `DownloadUrls` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Serialize` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Serialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Serialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/config.rs:36:59 [INFO] [stdout] | [INFO] [stdout] 36 | #[derive(Debug, Default, Clone, PartialEq, Eq, Serialize, Deserialize)] [INFO] [stdout] | ^---------- [INFO] [stdout] | | [INFO] [stdout] | `Deserialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_DESERIALIZE_FOR_DownloadUrls` [INFO] [stdout] 37 | pub struct DownloadUrls { [INFO] [stdout] | ------------ `DownloadUrls` is not local [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 13.32s [INFO] running `Command { std: "docker" "inspect" "cd1cf652a0d62d67629b9231374a160b778ced0d81d37ada7818f1d689553415", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cd1cf652a0d62d67629b9231374a160b778ced0d81d37ada7818f1d689553415", kill_on_drop: false }` [INFO] [stdout] cd1cf652a0d62d67629b9231374a160b778ced0d81d37ada7818f1d689553415 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/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" "-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "test" "--frozen" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] 14353a6136715ce1ef2899a9afb0e267d42c005e5e95bfce9fbbb857d76ec721 [INFO] running `Command { std: "docker" "start" "-a" "14353a6136715ce1ef2899a9afb0e267d42c005e5e95bfce9fbbb857d76ec721", kill_on_drop: false }` [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> src/config.rs:10:48 [INFO] [stderr] | [INFO] [stderr] 10 | #[derive(Debug, Default, Clone, PartialEq, Eq, Serialize, Deserialize)] [INFO] [stderr] | ^-------- [INFO] [stderr] | | [INFO] [stderr] | `Serialize` is not local [INFO] [stderr] | move the `impl` block outside of this constant `_IMPL_SERIALIZE_FOR_Configuration` [INFO] [stderr] 11 | pub struct Configuration { [INFO] [stderr] | ------------- `Configuration` is not local [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `Serialize` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = note: the derive macro `Serialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [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 `Serialize` (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/config.rs:10:59 [INFO] [stderr] | [INFO] [stderr] 10 | #[derive(Debug, Default, Clone, PartialEq, Eq, Serialize, Deserialize)] [INFO] [stderr] | ^---------- [INFO] [stderr] | | [INFO] [stderr] | `Deserialize` is not local [INFO] [stderr] | move the `impl` block outside of this constant `_IMPL_DESERIALIZE_FOR_Configuration` [INFO] [stderr] 11 | pub struct Configuration { [INFO] [stderr] | ------------- `Configuration` is not local [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/config.rs:18:48 [INFO] [stderr] | [INFO] [stderr] 18 | #[derive(Debug, Default, Clone, PartialEq, Eq, Serialize, Deserialize)] [INFO] [stderr] | ^-------- [INFO] [stderr] | | [INFO] [stderr] | `Serialize` is not local [INFO] [stderr] | move the `impl` block outside of this constant `_IMPL_SERIALIZE_FOR_ToolConfiguration` [INFO] [stderr] 19 | pub struct ToolConfiguration { [INFO] [stderr] | ----------------- `ToolConfiguration` is not local [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `Serialize` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = note: the derive macro `Serialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [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 `Serialize` (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/config.rs:18:59 [INFO] [stderr] | [INFO] [stderr] 18 | #[derive(Debug, Default, Clone, PartialEq, Eq, Serialize, Deserialize)] [INFO] [stderr] | ^---------- [INFO] [stderr] | | [INFO] [stderr] | `Deserialize` is not local [INFO] [stderr] | move the `impl` block outside of this constant `_IMPL_DESERIALIZE_FOR_ToolConfiguration` [INFO] [stderr] 19 | pub struct ToolConfiguration { [INFO] [stderr] | ----------------- `ToolConfiguration` is not local [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/config.rs:36:48 [INFO] [stderr] | [INFO] [stderr] 36 | #[derive(Debug, Default, Clone, PartialEq, Eq, Serialize, Deserialize)] [INFO] [stderr] | ^-------- [INFO] [stderr] | | [INFO] [stderr] | `Serialize` is not local [INFO] [stderr] | move the `impl` block outside of this constant `_IMPL_SERIALIZE_FOR_DownloadUrls` [INFO] [stderr] 37 | pub struct DownloadUrls { [INFO] [stderr] | ------------ `DownloadUrls` is not local [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `Serialize` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = note: the derive macro `Serialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [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 `Serialize` (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/config.rs:36:59 [INFO] [stderr] | [INFO] [stderr] 36 | #[derive(Debug, Default, Clone, PartialEq, Eq, Serialize, Deserialize)] [INFO] [stderr] | ^---------- [INFO] [stderr] | | [INFO] [stderr] | `Deserialize` is not local [INFO] [stderr] | move the `impl` block outside of this constant `_IMPL_DESERIALIZE_FOR_DownloadUrls` [INFO] [stderr] 37 | pub struct DownloadUrls { [INFO] [stderr] | ------------ `DownloadUrls` is not local [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: `tool-tool` (bin "tt" test) generated 6 warnings [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.17s [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/tt-bb2cc1dbbd6fdff1) [INFO] [stdout] [INFO] [stdout] running 42 tests [INFO] [stdout] test args::tests::parse_command_from_shim ... ok [INFO] [stdout] test args::tests::parse_command ... ok [INFO] [stdout] test args::tests::parse_command_verbose_arg ... ok [INFO] [stdout] test args::tests::parse_command_verbose_env ... ok [INFO] [stdout] test args::tests::parse_command_with_args ... ok [INFO] [stdout] test args::tests::parse_download ... ok [INFO] [stdout] test args::tests::parse_get_tool_path ... ok [INFO] [stdout] test args::tests::parse_get_binary_path ... ok [INFO] [stdout] test args::tests::parse_get_tool_version ... ok [INFO] [stdout] test args::tests::parse_help ... ok [INFO] [stdout] test args::tests::parse_no_args ... ok [INFO] [stdout] test cache::tests::empty_tool_list ... ok [INFO] [stdout] test cache::tests::do_not_download_existing_tool ... ok [INFO] [stdout] test config::tests::test_get_config ... ok [INFO] [stdout] test invocation::tests::assert_env_set ... ok [INFO] [stdout] test cache::tests::download_exe ... ok [INFO] [stdout] test invocation::tests::assert_env_unset ... ok [INFO] [stdout] Executing bash command [INFO] [stdout] test invocation::tests::assert_exit_code ... ok [INFO] [stdout] test template::tests::template_everything ... ok [INFO] [stdout] test invocation::tests::assert_simple_bash ... ok [INFO] [stdout] test cache::tests::download_single_file_tool ... ok [INFO] [stdout] test template::tests::template_missing ... ok [INFO] [stdout] test template::tests::template_mixed ... ok [INFO] [stdout] test template::tests::template_mixed2 ... ok [INFO] [stdout] test template::tests::template_nothing ... ok [INFO] [stdout] test template::tests::template_unclosed ... ok [INFO] [stdout] test util::tests::retry_success ... ok [INFO] [stdout] test cache::tests::download_with_query_params_in_url ... ok [INFO] [stdout] test cache::tests::download_tar_gz ... ok [INFO] [stdout] test cache::tests::download_zip_with_too_many_directories_stripped ... ok [INFO] [stdout] test download::tests::download_redirect_loop ... ok [INFO] [stdout] test util::tests::retry_fail_then_succeed ... ok [INFO] [stdout] test cache::tests::download_tar_gz_with_too_many_directories_stripped ... ok [INFO] [stdout] test download::tests::download_fail ... ok [INFO] [stdout] test help::tests::help_empty ... ok [INFO] [stdout] test config::tests::with_commands ... ok [INFO] [stdout] test download::tests::redirected_download ... ok [INFO] [stdout] test config::tests::simple ... ok [INFO] [stdout] test help::tests::help_configured ... ok [INFO] [stdout] test download::tests::simple_download ... ok [INFO] [stdout] test cache::tests::download_zip ... ok [INFO] [stdout] test util::tests::retry_failure ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 42 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 10.13s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "14353a6136715ce1ef2899a9afb0e267d42c005e5e95bfce9fbbb857d76ec721", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "14353a6136715ce1ef2899a9afb0e267d42c005e5e95bfce9fbbb857d76ec721", kill_on_drop: false }` [INFO] [stdout] 14353a6136715ce1ef2899a9afb0e267d42c005e5e95bfce9fbbb857d76ec721