[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_getrandom_patch_2 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftool-tool-team%2Ftool-tool" "/workspace/builds/worker-5-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-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-5-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] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded clicolors-control v1.0.1 [INFO] [stderr] Downloaded tar v0.4.28 [INFO] [stderr] Downloaded insta v0.16.0 [INFO] [stderr] Downloaded adler32 v1.0.4 [INFO] [stderr] Downloaded zip v0.5.5 [INFO] [stderr] Downloaded terminal_size v0.1.12 [INFO] [stderr] Downloaded atomicwrites v0.2.5 [INFO] [stderr] Downloaded assert-json-diff v1.0.3 [INFO] [stderr] Downloaded podio v0.1.7 [INFO] [stderr] Downloaded anyhow v1.0.31 [INFO] [stderr] Downloaded http_req v0.7.0 [INFO] [stderr] Downloaded colored v1.9.3 [INFO] [stderr] Downloaded proc-macro2 v1.0.17 [INFO] [stderr] Downloaded dirs v2.0.2 [INFO] [stderr] Downloaded extend v0.1.2 [INFO] [stderr] Downloaded serde_yaml v0.8.12 [INFO] [stderr] Downloaded termios v0.3.2 [INFO] [stderr] Downloaded console v0.10.3 [INFO] [stderr] Downloaded dunce v1.0.1 [INFO] [stderr] Downloaded miniz_oxide v0.3.6 [INFO] [stderr] Downloaded flate2 v1.0.14 [INFO] [stderr] Downloaded dirs-sys v0.3.4 [INFO] [stderr] Downloaded mockito v0.25.2 [INFO] [stderr] Downloaded syn v1.0.29 [INFO] [stderr] Downloaded yaml-rust v0.4.3 [INFO] [stderr] Downloaded nix v0.14.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 034c81f869d3fd194f3c992b853b166f4cafe98c97e958cc0cea23e64c405a2b [INFO] running `Command { std: "docker" "start" "-a" "034c81f869d3fd194f3c992b853b166f4cafe98c97e958cc0cea23e64c405a2b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "034c81f869d3fd194f3c992b853b166f4cafe98c97e958cc0cea23e64c405a2b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "034c81f869d3fd194f3c992b853b166f4cafe98c97e958cc0cea23e64c405a2b", kill_on_drop: false }` [INFO] [stdout] 034c81f869d3fd194f3c992b853b166f4cafe98c97e958cc0cea23e64c405a2b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "build" "--frozen" "--message-format=json" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] 4f8e7ab0b252f68466abe28a03b1068a8d4fb3a18f98217d50b4b460e4f0b2f1 [INFO] running `Command { std: "docker" "start" "-a" "4f8e7ab0b252f68466abe28a03b1068a8d4fb3a18f98217d50b4b460e4f0b2f1", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.71 [INFO] [stderr] Compiling cfg-if v0.1.10 [INFO] [stderr] Compiling cc v1.0.54 [INFO] [stderr] Compiling proc-macro2 v1.0.17 [INFO] [stderr] Compiling unicode-xid v0.2.0 [INFO] [stderr] Compiling once_cell v1.4.0 [INFO] [stderr] Compiling spin v0.5.2 [INFO] [stderr] Compiling untrusted v0.7.1 [INFO] [stderr] Compiling syn v1.0.29 [INFO] [stderr] Compiling version_check v0.9.2 [INFO] [stderr] Compiling log v0.4.8 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling crc32fast v1.2.0 [INFO] [stderr] Compiling adler32 v1.0.4 [INFO] [stderr] Compiling serde v1.0.111 [INFO] [stderr] Compiling nix v0.14.1 [INFO] [stderr] Compiling remove_dir_all v0.5.2 [INFO] [stderr] Compiling base64 v0.11.0 [INFO] [stderr] Compiling miniz_oxide v0.3.6 [INFO] [stderr] Compiling anyhow v1.0.31 [INFO] [stderr] Compiling linked-hash-map v0.5.3 [INFO] [stderr] Compiling void v1.0.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 unicase v2.6.0 [INFO] [stderr] Compiling yaml-rust v0.4.3 [INFO] [stderr] Compiling quote v1.0.6 [INFO] [stderr] Compiling rand v0.4.6 [INFO] [stderr] Compiling flate2 v1.0.14 [INFO] [stderr] Compiling dirs-sys v0.3.4 [INFO] [stderr] Compiling filetime v0.2.10 [INFO] [stderr] Compiling xattr v0.2.2 [INFO] [stderr] Compiling dirs v2.0.2 [INFO] [stderr] Compiling tar v0.4.28 [INFO] [stderr] Compiling ring v0.16.15 [INFO] [stderr] Compiling zip v0.5.5 [INFO] [stderr] Compiling tempdir v0.3.7 [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 serde_derive v1.0.111 [INFO] [stderr] Compiling http_req v0.7.0 [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 26.19s [INFO] running `Command { std: "docker" "inspect" "4f8e7ab0b252f68466abe28a03b1068a8d4fb3a18f98217d50b4b460e4f0b2f1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4f8e7ab0b252f68466abe28a03b1068a8d4fb3a18f98217d50b4b460e4f0b2f1", kill_on_drop: false }` [INFO] [stdout] 4f8e7ab0b252f68466abe28a03b1068a8d4fb3a18f98217d50b4b460e4f0b2f1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/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] bb78a908744e624d26cbcc1815b1936552c4d0e474203a3eb60a1ad7a2e1f5db [INFO] running `Command { std: "docker" "start" "-a" "bb78a908744e624d26cbcc1815b1936552c4d0e474203a3eb60a1ad7a2e1f5db", kill_on_drop: false }` [INFO] [stderr] Compiling getrandom v0.1.14 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Compiling memchr v2.3.3 [INFO] [stderr] Compiling ppv-lite86 v0.2.8 [INFO] [stderr] Compiling itoa v0.4.5 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.2 [INFO] [stderr] Compiling proc-macro-error v1.0.2 [INFO] [stderr] Compiling gimli v0.21.0 [INFO] [stderr] Compiling httparse v1.3.4 [INFO] [stderr] Compiling syn-mid v0.5.0 [INFO] [stderr] Compiling terminal_size v0.1.12 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling termios v0.3.2 [INFO] [stderr] Compiling difference v2.0.0 [INFO] [stderr] Compiling object v0.19.0 [INFO] [stderr] Compiling regex-syntax v0.6.18 [INFO] [stderr] Compiling clicolors-control v1.0.1 [INFO] [stderr] Compiling thread_local v1.0.1 [INFO] [stderr] Compiling rustc-demangle v0.1.16 [INFO] [stderr] Compiling colored v1.9.3 [INFO] [stderr] Compiling percent-encoding v2.1.0 [INFO] [stderr] Compiling console v0.10.3 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling serde_json v1.0.53 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling aho-corasick v0.7.10 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling extend v0.1.2 [INFO] [stderr] Compiling tempfile v3.1.0 [INFO] [stderr] Compiling addr2line v0.12.1 [INFO] [stderr] Compiling assert-json-diff v1.0.3 [INFO] [stderr] Compiling backtrace v0.3.48 [INFO] [stderr] Compiling regex v1.3.9 [INFO] [stderr] Compiling insta v0.16.0 [INFO] [stderr] Compiling mockito v0.25.2 [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 18.35s [INFO] running `Command { std: "docker" "inspect" "bb78a908744e624d26cbcc1815b1936552c4d0e474203a3eb60a1ad7a2e1f5db", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bb78a908744e624d26cbcc1815b1936552c4d0e474203a3eb60a1ad7a2e1f5db", kill_on_drop: false }` [INFO] [stdout] bb78a908744e624d26cbcc1815b1936552c4d0e474203a3eb60a1ad7a2e1f5db [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "test" "--frozen" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] 8b7621e4fdf2e00e62262d6e927cebbc4dd86a98b14e71c248dda12dfca3c225 [INFO] running `Command { std: "docker" "start" "-a" "8b7621e4fdf2e00e62262d6e927cebbc4dd86a98b14e71c248dda12dfca3c225", 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.15s [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/tt-9a9ec8b4aae71f83) [INFO] [stdout] [INFO] [stdout] running 42 tests [INFO] [stdout] test args::tests::parse_command ... ok [INFO] [stdout] test args::tests::parse_command_from_shim ... ok [INFO] [stdout] test args::tests::parse_download ... ok [INFO] [stdout] test args::tests::parse_get_binary_path ... ok [INFO] [stdout] test args::tests::parse_get_tool_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 args::tests::parse_command_verbose_env ... ok [INFO] [stdout] test args::tests::parse_command_with_args ... ok [INFO] [stdout] test cache::tests::do_not_download_existing_tool ... ok [INFO] [stdout] test cache::tests::empty_tool_list ... ok [INFO] [stdout] test args::tests::parse_command_verbose_arg ... ok [INFO] [stdout] test config::tests::test_get_config ... ok [INFO] [stdout] test cache::tests::download_exe ... ok [INFO] [stdout] test cache::tests::download_tar_gz ... ok [INFO] [stdout] test cache::tests::download_with_query_params_in_url ... ok [INFO] [stdout] test cache::tests::download_zip_with_too_many_directories_stripped ... ok [INFO] [stdout] test cache::tests::download_tar_gz_with_too_many_directories_stripped ... ok [INFO] [stdout] test invocation::tests::assert_env_unset ... ok [INFO] [stdout] test invocation::tests::assert_exit_code ... ok [INFO] [stdout] test template::tests::template_missing ... ok [INFO] [stdout] test invocation::tests::assert_env_set ... 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] Executing bash command [INFO] [stdout] test invocation::tests::assert_simple_bash ... ok [INFO] [stdout] test template::tests::template_everything ... ok [INFO] [stdout] test cache::tests::download_single_file_tool ... ok [INFO] [stdout] test cache::tests::download_zip ... ok [INFO] [stdout] test download::tests::download_fail ... ok [INFO] [stdout] test util::tests::retry_fail_then_succeed ... ok [INFO] [stdout] test download::tests::redirected_download ... ok [INFO] [stdout] test download::tests::simple_download ... ok [INFO] [stdout] test download::tests::download_redirect_loop ... ok [INFO] [stdout] test help::tests::help_configured ... ok [INFO] [stdout] test config::tests::simple ... ok [INFO] [stdout] test help::tests::help_empty ... ok [INFO] [stdout] test config::tests::with_commands ... ok [INFO] [stdout] test template::tests::template_mixed ... 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.15s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "8b7621e4fdf2e00e62262d6e927cebbc4dd86a98b14e71c248dda12dfca3c225", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8b7621e4fdf2e00e62262d6e927cebbc4dd86a98b14e71c248dda12dfca3c225", kill_on_drop: false }` [INFO] [stdout] 8b7621e4fdf2e00e62262d6e927cebbc4dd86a98b14e71c248dda12dfca3c225