[INFO] fetching crate scrumple 1.2.3... [INFO] checking scrumple-1.2.3 against master#8c32e313cccf7df531e2d49ffb8227bb92304aee for pr-145608-1 [INFO] extracting crate scrumple 1.2.3 into /workspace/builds/worker-1-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-1-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate scrumple 1.2.3 on toolchain 8c32e313cccf7df531e2d49ffb8227bb92304aee [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8c32e313cccf7df531e2d49ffb8227bb92304aee" "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" "+8c32e313cccf7df531e2d49ffb8227bb92304aee" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded inotify-sys v0.1.3 [INFO] [stderr] Downloaded notify v4.0.15 [INFO] [stderr] Downloaded unindent v0.1.5 [INFO] [stderr] Downloaded proc-macro-hack v0.5.15 [INFO] [stderr] Downloaded proc-macro2 v1.0.12 [INFO] [stderr] Downloaded indoc v0.3.5 [INFO] [stderr] Downloaded filetime v0.2.10 [INFO] [stderr] Downloaded inotify v0.7.0 [INFO] [stderr] Downloaded indoc-impl 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-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+8c32e313cccf7df531e2d49ffb8227bb92304aee" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 9cfc7d719500472f7b0c04fef7e677c2f5c33bd4680648e7bd820970fda30db0 [INFO] running `Command { std: "docker" "start" "-a" "9cfc7d719500472f7b0c04fef7e677c2f5c33bd4680648e7bd820970fda30db0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "9cfc7d719500472f7b0c04fef7e677c2f5c33bd4680648e7bd820970fda30db0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9cfc7d719500472f7b0c04fef7e677c2f5c33bd4680648e7bd820970fda30db0", kill_on_drop: false }` [INFO] [stdout] 9cfc7d719500472f7b0c04fef7e677c2f5c33bd4680648e7bd820970fda30db0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+8c32e313cccf7df531e2d49ffb8227bb92304aee" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 7a171c6447f9677663a2bc3ad37de69fc39c6689dc55ec74c38eb000f4421514 [INFO] running `Command { std: "docker" "start" "-a" "7a171c6447f9677663a2bc3ad37de69fc39c6689dc55ec74c38eb000f4421514", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.70 [INFO] [stderr] Checking cfg-if v0.1.10 [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 getrandom v0.1.14 [INFO] [stderr] Compiling log v0.4.8 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling memchr v2.3.3 [INFO] [stderr] Compiling serde v1.0.110 [INFO] [stderr] Checking slab v0.4.2 [INFO] [stderr] Compiling ryu v1.0.4 [INFO] [stderr] Compiling byteorder v1.3.4 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Checking ppv-lite86 v0.2.6 [INFO] [stderr] Compiling proc-macro-hack v0.5.15 [INFO] [stderr] Compiling unindent v0.1.5 [INFO] [stderr] Checking lazycell v1.2.1 [INFO] [stderr] Checking aho-corasick v0.7.10 [INFO] [stderr] Checking thread_local v1.0.1 [INFO] [stderr] Checking iovec v0.1.4 [INFO] [stderr] Checking net2 v0.2.34 [INFO] [stderr] Checking inotify-sys v0.1.3 [INFO] [stderr] Compiling quote v1.0.5 [INFO] [stderr] Checking inotify v0.7.0 [INFO] [stderr] Checking filetime v0.2.10 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Checking mio v0.6.22 [INFO] [stderr] Checking memchr v1.0.2 [INFO] [stderr] Checking walkdir v2.3.1 [INFO] [stderr] Checking rand_chacha v0.2.2 [INFO] [stderr] Checking safemem v0.2.0 [INFO] [stderr] Checking itoa v0.4.5 [INFO] [stderr] Checking unicode-xid v0.1.0 [INFO] [stderr] Checking matches v0.1.8 [INFO] [stderr] Checking regex-syntax v0.6.17 [INFO] [stderr] Checking num_cpus v1.13.0 [INFO] [stderr] Checking base64 v0.6.0 [INFO] [stderr] Checking remove_dir_all v0.5.2 [INFO] [stderr] Checking esparse v0.1.0 [INFO] [stderr] Checking rand v0.7.3 [INFO] [stderr] Checking crossbeam v0.2.12 [INFO] [stderr] Checking fnv v1.0.6 [INFO] [stderr] Checking mio-extras v2.0.6 [INFO] [stderr] Checking notify v4.0.15 [INFO] [stderr] Checking tempfile v3.1.0 [INFO] [stderr] Checking regex v1.3.7 [INFO] [stderr] Compiling serde_derive v1.0.110 [INFO] [stderr] Compiling indoc-impl v0.3.5 [INFO] [stderr] Checking indoc v0.3.5 [INFO] [stderr] Checking serde_json v1.0.53 [INFO] [stderr] Checking 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] [stderr] warning: build failed, waiting for other jobs to finish... [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] running `Command { std: "docker" "inspect" "7a171c6447f9677663a2bc3ad37de69fc39c6689dc55ec74c38eb000f4421514", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7a171c6447f9677663a2bc3ad37de69fc39c6689dc55ec74c38eb000f4421514", kill_on_drop: false }` [INFO] [stdout] 7a171c6447f9677663a2bc3ad37de69fc39c6689dc55ec74c38eb000f4421514