[INFO] cloning repository https://github.com/semperos/xmler [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/semperos/xmler" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsemperos%2Fxmler", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsemperos%2Fxmler'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] a19beb9b8223011935ed086294cdddf097aaf88b [INFO] checking semperos/xmler/a19beb9b8223011935ed086294cdddf097aaf88b against master#85c39893a761fe4c050523278da4e7e45ab42b6e for pr-134688 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsemperos%2Fxmler" "/workspace/builds/worker-2-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/semperos/xmler on toolchain 85c39893a761fe4c050523278da4e7e45ab42b6e [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+85c39893a761fe4c050523278da4e7e45ab42b6e" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/semperos/xmler [INFO] finished tweaking git repo https://github.com/semperos/xmler [INFO] tweaked toml for git repo https://github.com/semperos/xmler written to /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/semperos/xmler 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" "+85c39893a761fe4c050523278da4e7e45ab42b6e" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded xml-rs v0.6.0 [INFO] [stderr] Downloaded csv-core v0.1.2 [INFO] [stderr] Downloaded serde v1.0.10 [INFO] [stderr] Downloaded textwrap v0.8.0 [INFO] [stderr] Downloaded serde_derive v1.0.10 [INFO] [stderr] Downloaded clap v2.26.2 [INFO] [stderr] Downloaded csv v1.0.0-beta.3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+85c39893a761fe4c050523278da4e7e45ab42b6e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 48de0680c66adbbe17d9b32905725da08670a1d05c4af1f99ceb2813a0b8cd31 [INFO] running `Command { std: "docker" "start" "-a" "48de0680c66adbbe17d9b32905725da08670a1d05c4af1f99ceb2813a0b8cd31", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "48de0680c66adbbe17d9b32905725da08670a1d05c4af1f99ceb2813a0b8cd31", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "48de0680c66adbbe17d9b32905725da08670a1d05c4af1f99ceb2813a0b8cd31", kill_on_drop: false }` [INFO] [stdout] 48de0680c66adbbe17d9b32905725da08670a1d05c4af1f99ceb2813a0b8cd31 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+85c39893a761fe4c050523278da4e7e45ab42b6e" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 6d7dbdfc85931db9f484e3fa0c4cee2917c3f9a4590e3cb74bfe1f1d2ab1c22a [INFO] running `Command { std: "docker" "start" "-a" "6d7dbdfc85931db9f484e3fa0c4cee2917c3f9a4590e3cb74bfe1f1d2ab1c22a", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Checking libc v0.2.26 [INFO] [stderr] Compiling synom v0.11.3 [INFO] [stderr] Checking bitflags v0.9.1 [INFO] [stderr] Checking unicode-width v0.1.4 [INFO] [stderr] Checking strsim v0.6.0 [INFO] [stderr] Checking ansi_term v0.9.0 [INFO] [stderr] Checking vec_map v0.8.0 [INFO] [stderr] Checking serde v1.0.10 [INFO] [stderr] Checking glob v0.2.11 [INFO] [stderr] Checking xml-rs v0.6.0 [INFO] [stderr] Compiling syn v0.11.11 [INFO] [stderr] Checking term_size v0.3.0 [INFO] [stderr] Checking memchr v1.0.1 [INFO] [stderr] Checking atty v0.2.2 [INFO] [stderr] Checking textwrap v0.8.0 [INFO] [stderr] Checking csv-core v0.1.2 [INFO] [stderr] Checking clap v2.26.2 [INFO] [stderr] Compiling serde_derive_internals v0.15.1 [INFO] [stderr] Compiling serde_derive v1.0.10 [INFO] [stderr] Checking csv v1.0.0-beta.3 [INFO] [stderr] Checking xmler v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `super::*` [INFO] [stdout] --> src/lib.rs:115:9 [INFO] [stdout] | [INFO] [stdout] 115 | use super::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [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/lib.rs:27:17 [INFO] [stdout] | [INFO] [stdout] 27 | #[derive(Debug, Serialize)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `UrlType` is not local [INFO] [stdout] | `Serialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_SERIALIZE_FOR_UrlType` [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/lib.rs:33:17 [INFO] [stdout] | [INFO] [stdout] 33 | #[derive(Debug, Serialize)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `IndexableEntry` is not local [INFO] [stdout] | `Serialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_SERIALIZE_FOR_IndexableEntry` [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] error[E0425]: cannot find function `example` in this scope [INFO] [stdout] --> src/lib.rs:119:24 [INFO] [stdout] | [INFO] [stdout] 119 | assert_eq!(42, example(None)); [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `example` in this scope [INFO] [stdout] --> src/lib.rs:120:24 [INFO] [stdout] | [INFO] [stdout] 120 | assert_eq!(23, example(Some(23))); [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0425`. [INFO] [stdout] [INFO] [stderr] error: could not compile `xmler` (lib test) due to 2 previous errors; 1 warning emitted [INFO] running `Command { std: "docker" "inspect" "6d7dbdfc85931db9f484e3fa0c4cee2917c3f9a4590e3cb74bfe1f1d2ab1c22a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6d7dbdfc85931db9f484e3fa0c4cee2917c3f9a4590e3cb74bfe1f1d2ab1c22a", kill_on_drop: false }` [INFO] [stdout] 6d7dbdfc85931db9f484e3fa0c4cee2917c3f9a4590e3cb74bfe1f1d2ab1c22a