[INFO] fetching crate scrumple 1.2.3... [INFO] testing scrumple-1.2.3 against try#8de4c7234dd9b97c9d76b58671343fdbbc9a433e+target=x86_64-unknown-linux-musl for musl_upgrade_1_2_5_with_libc_patch_0 [INFO] extracting crate scrumple 1.2.3 into /workspace/builds/worker-7-tc1/source [INFO] started tweaking crates.io crate scrumple 1.2.3 [INFO] finished tweaking crates.io crate scrumple 1.2.3 [INFO] tweaked toml for crates.io crate scrumple 1.2.3 written to /workspace/builds/worker-7-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate scrumple 1.2.3 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 crates.io crate scrumple 1.2.3 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 indoc-impl v0.3.5 [INFO] [stderr] Downloaded indoc v0.3.5 [INFO] [stderr] Downloaded syn v1.0.21 [INFO] [stderr] Downloaded esparse v0.1.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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] d5ca39bd80cc7a9e94cc641f9ed092749d4f347614410e2f7fd68a4bf4930238 [INFO] running `Command { std: "docker" "start" "-a" "d5ca39bd80cc7a9e94cc641f9ed092749d4f347614410e2f7fd68a4bf4930238", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d5ca39bd80cc7a9e94cc641f9ed092749d4f347614410e2f7fd68a4bf4930238", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d5ca39bd80cc7a9e94cc641f9ed092749d4f347614410e2f7fd68a4bf4930238", kill_on_drop: false }` [INFO] [stdout] d5ca39bd80cc7a9e94cc641f9ed092749d4f347614410e2f7fd68a4bf4930238 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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] 0d7041545a2527ed1f9165dfa3163b38e95f0e560b8e474ba5f7b2701f5303e0 [INFO] running `Command { std: "docker" "start" "-a" "0d7041545a2527ed1f9165dfa3163b38e95f0e560b8e474ba5f7b2701f5303e0", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.70 [INFO] [stderr] Compiling proc-macro2 v1.0.12 [INFO] [stderr] Compiling unicode-xid v0.2.0 [INFO] [stderr] Compiling syn v1.0.21 [INFO] [stderr] Compiling log v0.4.8 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling memchr v2.3.3 [INFO] [stderr] Compiling ryu v1.0.4 [INFO] [stderr] Compiling byteorder v1.3.4 [INFO] [stderr] Compiling slab v0.4.2 [INFO] [stderr] Compiling serde v1.0.110 [INFO] [stderr] Compiling proc-macro-hack v0.5.15 [INFO] [stderr] Compiling same-file v1.0.6 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling lazycell v1.2.1 [INFO] [stderr] Compiling unindent v0.1.5 [INFO] [stderr] Compiling walkdir v2.3.1 [INFO] [stderr] Compiling safemem v0.2.0 [INFO] [stderr] Compiling thread_local v1.0.1 [INFO] [stderr] Compiling matches v0.1.8 [INFO] [stderr] Compiling itoa v0.4.5 [INFO] [stderr] Compiling regex-syntax v0.6.17 [INFO] [stderr] Compiling fnv v1.0.6 [INFO] [stderr] Compiling crossbeam v0.2.12 [INFO] [stderr] Compiling aho-corasick v0.7.10 [INFO] [stderr] Compiling base64 v0.6.0 [INFO] [stderr] Compiling quote v1.0.5 [INFO] [stderr] Compiling net2 v0.2.34 [INFO] [stderr] Compiling iovec v0.1.4 [INFO] [stderr] Compiling inotify-sys v0.1.3 [INFO] [stderr] Compiling filetime v0.2.10 [INFO] [stderr] Compiling memchr v1.0.2 [INFO] [stderr] Compiling num_cpus v1.13.0 [INFO] [stderr] Compiling inotify v0.7.0 [INFO] [stderr] Compiling esparse v0.1.0 [INFO] [stderr] Compiling mio v0.6.22 [INFO] [stderr] Compiling mio-extras v2.0.6 [INFO] [stderr] Compiling regex v1.3.7 [INFO] [stderr] Compiling notify v4.0.15 [INFO] [stderr] Compiling serde_derive v1.0.110 [INFO] [stderr] Compiling indoc-impl v0.3.5 [INFO] [stderr] Compiling indoc v0.3.5 [INFO] [stderr] Compiling serde_json v1.0.53 [INFO] [stderr] Compiling scrumple v1.2.3 (/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/main.rs:95:17 [INFO] [stdout] | [INFO] [stdout] 95 | #[derive(Debug, Deserialize)] [INFO] [stdout] | ^---------- [INFO] [stdout] | | [INFO] [stdout] | `Deserialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_DESERIALIZE_FOR_DependencyManifest` [INFO] [stdout] 96 | #[serde(rename_all = "camelCase")] [INFO] [stdout] 97 | struct DependencyManifest { [INFO] [stdout] | ------------------ `DependencyManifest` 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: `#[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: unused borrow that must be used [INFO] [stdout] --> src/main.rs:144:17 [INFO] [stdout] | [INFO] [stdout] 144 | &names.insert(key.to_owned()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the borrow produces a value [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 144 | let _ = &names.insert(key.to_owned()); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused borrow that must be used [INFO] [stdout] --> src/main.rs:192:17 [INFO] [stdout] | [INFO] [stdout] 192 | &dev_deps_and_their_deps.insert(key.to_owned()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the borrow produces a value [INFO] [stdout] | [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 192 | let _ = &dev_deps_and_their_deps.insert(key.to_owned()); [INFO] [stdout] | +++++++ [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/manifest.rs:19:26 [INFO] [stdout] | [INFO] [stdout] 19 | #[derive(Debug, Default, Deserialize, PartialEq, Eq, Clone)] [INFO] [stdout] | ^---------- [INFO] [stdout] | | [INFO] [stdout] | `Deserialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_DESERIALIZE_FOR_BrowserSubstitutionMap` [INFO] [stdout] 20 | #[serde(transparent)] [INFO] [stdout] 21 | pub struct BrowserSubstitutionMap(pub FnvHashMap>); [INFO] [stdout] | ---------------------- `BrowserSubstitutionMap` 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/manifest.rs:109:49 [INFO] [stdout] | [INFO] [stdout] 109 | #[derive(Debug, Default, PartialEq, Eq, Deserialize)] [INFO] [stdout] | ^---------- [INFO] [stdout] | | [INFO] [stdout] | `Deserialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_DESERIALIZE_FOR_RawPackageInfo` and up 2 bodies [INFO] [stdout] 110 | #[serde(default)] [INFO] [stdout] 111 | struct RawPackageInfo { [INFO] [stdout] | -------------- `RawPackageInfo` 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/writer.rs:127:18 [INFO] [stdout] | [INFO] [stdout] 127 | #[derive(Serialize, Debug)] [INFO] [stdout] | ^-------- [INFO] [stdout] | | [INFO] [stdout] | `Serialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_SERIALIZE_FOR_SourceMap` and up 2 bodies [INFO] [stdout] 128 | #[serde(rename_all = "camelCase")] [INFO] [stdout] 129 | struct SourceMap<'a> { [INFO] [stdout] | --------- `SourceMap` 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] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 19.93s [INFO] running `Command { std: "docker" "inspect" "0d7041545a2527ed1f9165dfa3163b38e95f0e560b8e474ba5f7b2701f5303e0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0d7041545a2527ed1f9165dfa3163b38e95f0e560b8e474ba5f7b2701f5303e0", kill_on_drop: false }` [INFO] [stdout] 0d7041545a2527ed1f9165dfa3163b38e95f0e560b8e474ba5f7b2701f5303e0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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] 4f609d80e5f67ea90a44db0571c6df2f9ddd7812f9074731e1ed8c64b3bfdeeb [INFO] running `Command { std: "docker" "start" "-a" "4f609d80e5f67ea90a44db0571c6df2f9ddd7812f9074731e1ed8c64b3bfdeeb", kill_on_drop: false }` [INFO] [stderr] Compiling getrandom v0.1.14 [INFO] [stderr] Compiling ppv-lite86 v0.2.6 [INFO] [stderr] Compiling remove_dir_all v0.5.2 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling tempfile v3.1.0 [INFO] [stderr] Compiling scrumple v1.2.3 (/opt/rustwide/workdir) [INFO] [stdout] error[E0583]: file not found for module `test` [INFO] [stdout] --> src/main.rs:638:1 [INFO] [stdout] | [INFO] [stdout] 638 | mod test; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: to create the module `test`, create file "src/test.rs" or "src/test/mod.rs" [INFO] [stdout] = note: if there is a `mod test` elsewhere in the crate already, import it with `use crate::...` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0583`. [INFO] [stdout] [INFO] [stderr] error: could not compile `scrumple` (bin "scrumple" test) due to 1 previous error [INFO] running `Command { std: "docker" "inspect" "4f609d80e5f67ea90a44db0571c6df2f9ddd7812f9074731e1ed8c64b3bfdeeb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4f609d80e5f67ea90a44db0571c6df2f9ddd7812f9074731e1ed8c64b3bfdeeb", kill_on_drop: false }` [INFO] [stdout] 4f609d80e5f67ea90a44db0571c6df2f9ddd7812f9074731e1ed8c64b3bfdeeb