[INFO] fetching crate fhirbolt-serde 0.4.0... [INFO] testing fhirbolt-serde-0.4.0 against master#c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38 for pr-146098-7 [INFO] extracting crate fhirbolt-serde 0.4.0 into /workspace/builds/worker-2-tc1/source [INFO] started tweaking crates.io crate fhirbolt-serde 0.4.0 [INFO] finished tweaking crates.io crate fhirbolt-serde 0.4.0 [INFO] tweaked toml for crates.io crate fhirbolt-serde 0.4.0 written to /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate fhirbolt-serde 0.4.0 on toolchain c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "generate-lockfile" "--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] Locking 29 packages to latest compatible versions [INFO] [stderr] Adding indexmap v1.9.3 (available: v2.12.0) [INFO] [stderr] Adding quick-xml v0.25.0 (available: v0.38.3) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded assert-json-diff v2.0.2 [INFO] [stderr] Downloaded quick-xml v0.25.0 [INFO] [stderr] Downloaded fhirbolt-model v0.4.0 [INFO] [stderr] Downloaded fhirbolt-element v0.4.0 [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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] ac0766306a3291101fc336099fcbcec004790377a99f00d815cf6b5f86841da0 [INFO] running `Command { std: "docker" "start" "-a" "ac0766306a3291101fc336099fcbcec004790377a99f00d815cf6b5f86841da0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ac0766306a3291101fc336099fcbcec004790377a99f00d815cf6b5f86841da0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ac0766306a3291101fc336099fcbcec004790377a99f00d815cf6b5f86841da0", kill_on_drop: false }` [INFO] [stdout] ac0766306a3291101fc336099fcbcec004790377a99f00d815cf6b5f86841da0 [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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ca6bd773ca1ea57869da5e348367ffb31f5b5ca70adc3e49aa5ec3b2fabd64da [INFO] running `Command { std: "docker" "start" "-a" "ca6bd773ca1ea57869da5e348367ffb31f5b5ca70adc3e49aa5ec3b2fabd64da", kill_on_drop: false }` [INFO] [stderr] Compiling serde_json v1.0.145 [INFO] [stderr] Compiling quick-xml v0.25.0 [INFO] [stderr] Compiling phf_generator v0.11.3 [INFO] [stderr] Compiling syn v2.0.110 [INFO] [stderr] Compiling phf_macros v0.11.3 [INFO] [stderr] Compiling serde_derive v1.0.228 [INFO] [stderr] Compiling phf v0.11.3 [INFO] [stderr] Compiling fhirbolt-shared v0.4.0 [INFO] [stderr] Compiling serde v1.0.228 [INFO] [stderr] Compiling fhirbolt-element v0.4.0 [INFO] [stderr] Compiling fhirbolt-serde v0.4.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: struct `Decimal` is never constructed [INFO] [stdout] --> src/decimal.rs:7:19 [INFO] [stdout] | [INFO] [stdout] 7 | pub(crate) struct Decimal<'a> { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/context/ser.rs:61:32 [INFO] [stdout] | [INFO] [stdout] 61 | pub(crate) fn current_path(&self) -> Ref { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 61 | pub(crate) fn current_path(&self) -> Ref<'_, ElementPath> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/context/ser.rs:65:36 [INFO] [stdout] | [INFO] [stdout] 65 | pub(crate) fn current_path_mut(&self) -> RefMut { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 65 | pub(crate) fn current_path_mut(&self) -> RefMut<'_, ElementPath> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 14.77s [INFO] running `Command { std: "docker" "inspect" "ca6bd773ca1ea57869da5e348367ffb31f5b5ca70adc3e49aa5ec3b2fabd64da", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ca6bd773ca1ea57869da5e348367ffb31f5b5ca70adc3e49aa5ec3b2fabd64da", kill_on_drop: false }` [INFO] [stdout] ca6bd773ca1ea57869da5e348367ffb31f5b5ca70adc3e49aa5ec3b2fabd64da [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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 820c7b4228676b278594eaa70b50a332232be59f6a49c0a5d94c1cd80131e678 [INFO] running `Command { std: "docker" "start" "-a" "820c7b4228676b278594eaa70b50a332232be59f6a49c0a5d94c1cd80131e678", kill_on_drop: false }` [INFO] [stderr] Compiling assert-json-diff v2.0.2 [INFO] [stdout] warning: struct `Decimal` is never constructed [INFO] [stdout] --> src/decimal.rs:7:19 [INFO] [stdout] | [INFO] [stdout] 7 | pub(crate) struct Decimal<'a> { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/context/ser.rs:61:32 [INFO] [stdout] | [INFO] [stdout] 61 | pub(crate) fn current_path(&self) -> Ref { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 61 | pub(crate) fn current_path(&self) -> Ref<'_, ElementPath> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/context/ser.rs:65:36 [INFO] [stdout] | [INFO] [stdout] 65 | pub(crate) fn current_path_mut(&self) -> RefMut { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 65 | pub(crate) fn current_path_mut(&self) -> RefMut<'_, ElementPath> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling fhirbolt-serde v0.4.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `fhirbolt_model` [INFO] [stdout] --> src/model/mod.rs:7:9 [INFO] [stdout] | [INFO] [stdout] 7 | use fhirbolt_model::r4b::{ [INFO] [stdout] | ^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `fhirbolt_model` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `fhirbolt_model`, use `cargo add fhirbolt_model` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `test_utils` [INFO] [stdout] --> src/element/mod.rs:124:9 [INFO] [stdout] | [INFO] [stdout] 124 | use test_utils::assert_xml_eq; [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `test_utils` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `test_utils`, use `cargo add test_utils` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stderr] error: could not compile `fhirbolt-serde` (lib test) due to 2 previous errors [INFO] running `Command { std: "docker" "inspect" "820c7b4228676b278594eaa70b50a332232be59f6a49c0a5d94c1cd80131e678", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "820c7b4228676b278594eaa70b50a332232be59f6a49c0a5d94c1cd80131e678", kill_on_drop: false }` [INFO] [stdout] 820c7b4228676b278594eaa70b50a332232be59f6a49c0a5d94c1cd80131e678