[INFO] cloning repository https://github.com/Collins-Ruto/patient-records
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Collins-Ruto/patient-records" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FCollins-Ruto%2Fpatient-records", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FCollins-Ruto%2Fpatient-records'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 25e1c8ac8135bfd17c3230c21940f81dfd364454
[INFO] testing Collins-Ruto/patient-records against try#9f93af291970322f4f1c6315ccde4d7078201159 for pr-146098-6
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FCollins-Ruto%2Fpatient-records" "/workspace/builds/worker-5-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/Collins-Ruto/patient-records
[INFO] finished tweaking git repo https://github.com/Collins-Ruto/patient-records
[INFO] tweaked toml for git repo https://github.com/Collins-Ruto/patient-records written to /workspace/builds/worker-5-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/Collins-Ruto/patient-records on toolchain 9f93af291970322f4f1c6315ccde4d7078201159
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+9f93af291970322f4f1c6315ccde4d7078201159" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/Collins-Ruto/patient-records 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" "+9f93af291970322f4f1c6315ccde4d7078201159" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/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" "+9f93af291970322f4f1c6315ccde4d7078201159" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 507fd211ac1afb9621f8c79333def7268bb6bbc9b44abbdf7d1541acb8d129ae
[INFO] running `Command { std: "docker" "start" "-a" "507fd211ac1afb9621f8c79333def7268bb6bbc9b44abbdf7d1541acb8d129ae", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "507fd211ac1afb9621f8c79333def7268bb6bbc9b44abbdf7d1541acb8d129ae", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "507fd211ac1afb9621f8c79333def7268bb6bbc9b44abbdf7d1541acb8d129ae", kill_on_drop: false }`
[INFO] [stdout] 507fd211ac1afb9621f8c79333def7268bb6bbc9b44abbdf7d1541acb8d129ae
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/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" "+9f93af291970322f4f1c6315ccde4d7078201159" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 48cbbeb81c72ca7dc72bf7fe4133ea81e835ea96c0f511cb181e08137b5a86a9
[INFO] running `Command { std: "docker" "start" "-a" "48cbbeb81c72ca7dc72bf7fe4133ea81e835ea96c0f511cb181e08137b5a86a9", kill_on_drop: false }`
[INFO] [stderr]    Compiling proc-macro2 v1.0.70
[INFO] [stderr]    Compiling libc v0.2.150
[INFO] [stderr]    Compiling hashbrown v0.14.3
[INFO] [stderr]    Compiling once_cell v1.19.0
[INFO] [stderr]    Compiling serde v1.0.193
[INFO] [stderr]    Compiling either v1.9.0
[INFO] [stderr]    Compiling winnow v0.5.26
[INFO] [stderr]    Compiling toml_datetime v0.6.5
[INFO] [stderr]    Compiling lazy_static v1.4.0
[INFO] [stderr]    Compiling generic-array v0.14.7
[INFO] [stderr]    Compiling aho-corasick v1.1.2
[INFO] [stderr]    Compiling lock_api v0.4.11
[INFO] [stderr]    Compiling num-traits v0.2.17
[INFO] [stderr]    Compiling parking_lot_core v0.9.9
[INFO] [stderr]    Compiling num-integer v0.1.45
[INFO] [stderr]    Compiling rustix v0.38.27
[INFO] [stderr]    Compiling rustversion v1.0.14
[INFO] [stderr]    Compiling smallvec v1.11.2
[INFO] [stderr]    Compiling scopeguard v1.2.0
[INFO] [stderr]    Compiling crunchy v0.2.2
[INFO] [stderr]    Compiling num-bigint v0.4.4
[INFO] [stderr]    Compiling tiny-keccak v2.0.2
[INFO] [stderr]    Compiling crc32fast v1.3.2
[INFO] [stderr]    Compiling regex-syntax v0.6.29
[INFO] [stderr]    Compiling typed-arena v2.0.2
[INFO] [stderr]    Compiling arrayvec v0.5.2
[INFO] [stderr]    Compiling bitflags v2.4.1
[INFO] [stderr]    Compiling paste v1.0.14
[INFO] [stderr]    Compiling thiserror v1.0.50
[INFO] [stderr]    Compiling siphasher v0.3.11
[INFO] [stderr]    Compiling unicode-width v0.1.11
[INFO] [stderr]    Compiling anyhow v1.0.75
[INFO] [stderr]    Compiling linux-raw-sys v0.4.12
[INFO] [stderr]    Compiling phf_shared v0.10.0
[INFO] [stderr]    Compiling precomputed-hash v0.1.1
[INFO] [stderr]    Compiling termcolor v1.4.0
[INFO] [stderr]    Compiling log v0.4.20
[INFO] [stderr]    Compiling bit-vec v0.6.3
[INFO] [stderr]    Compiling new_debug_unreachable v1.0.4
[INFO] [stderr]    Compiling fixedbitset v0.4.2
[INFO] [stderr]    Compiling cpufeatures v0.2.11
[INFO] [stderr]    Compiling quote v1.0.33
[INFO] [stderr]    Compiling ena v0.14.2
[INFO] [stderr]    Compiling crypto-common v0.1.6
[INFO] [stderr]    Compiling block-buffer v0.10.4
[INFO] [stderr]    Compiling bit-set v0.5.3
[INFO] [stderr]    Compiling syn v2.0.39
[INFO] [stderr]    Compiling syn v1.0.109
[INFO] [stderr]    Compiling indexmap v2.1.0
[INFO] [stderr]    Compiling digest v0.10.7
[INFO] [stderr]    Compiling itertools v0.10.5
[INFO] [stderr]    Compiling dirs-sys-next v0.1.2
[INFO] [stderr]    Compiling cc v1.0.83
[INFO] [stderr]    Compiling codespan-reporting v0.11.1
[INFO] [stderr]    Compiling dirs-next v2.0.0
[INFO] [stderr]    Compiling term v0.7.0
[INFO] [stderr]    Compiling sha2 v0.10.8
[INFO] [stderr]    Compiling leb128 v0.2.5
[INFO] [stderr]    Compiling unicode-xid v0.2.4
[INFO] [stderr]    Compiling parking_lot v0.12.1
[INFO] [stderr]    Compiling data-encoding v2.5.0
[INFO] [stderr]    Compiling byteorder v1.5.0
[INFO] [stderr]    Compiling diff v0.1.13
[INFO] [stderr]    Compiling ascii-canvas v3.0.0
[INFO] [stderr]    Compiling string_cache v0.8.7
[INFO] [stderr]    Compiling is-terminal v0.4.9
[INFO] [stderr]    Compiling futures-core v0.3.29
[INFO] [stderr]    Compiling fnv v1.0.7
[INFO] [stderr]    Compiling toml_edit v0.19.15
[INFO] [stderr]    Compiling petgraph v0.6.4
[INFO] [stderr]    Compiling beef v0.5.2
[INFO] [stderr]    Compiling psm v0.1.21
[INFO] [stderr]    Compiling slab v0.4.9
[INFO] [stderr]    Compiling futures-channel v0.3.29
[INFO] [stderr]    Compiling regex-automata v0.4.3
[INFO] [stderr]    Compiling futures-task v0.3.29
[INFO] [stderr]    Compiling stacker v0.1.15
[INFO] [stderr]    Compiling pretty v0.10.0
[INFO] [stderr]    Compiling proc-macro-error-attr v1.0.4
[INFO] [stderr]    Compiling futures-sink v0.3.29
[INFO] [stderr]    Compiling futures-util v0.3.29
[INFO] [stderr]    Compiling proc-macro-error v1.0.4
[INFO] [stderr]    Compiling unicode-bidi v0.3.14
[INFO] [stderr]    Compiling candid v0.9.11
[INFO] [stderr]    Compiling pin-project-lite v0.2.13
[INFO] [stderr]    Compiling futures-io v0.3.29
[INFO] [stderr]    Compiling pretty v0.12.3
[INFO] [stderr]    Compiling slotmap v1.0.7
[INFO] [stderr]    Compiling lalrpop-util v0.19.12
[INFO] [stderr]    Compiling percent-encoding v2.3.1
[INFO] [stderr]    Compiling serde_json v1.0.108
[INFO] [stderr]    Compiling form_urlencoded v1.2.1
[INFO] [stderr]    Compiling ic0 v0.18.11
[INFO] [stderr]    Compiling ryu v1.0.16
[INFO] [stderr]    Compiling if_chain v1.0.2
[INFO] [stderr]    Compiling itoa v1.0.10
[INFO] [stderr]    Compiling ic0 v0.21.1
[INFO] [stderr]    Compiling ic-stable-structures v0.5.6
[INFO] [stderr]    Compiling idna v0.5.0
[INFO] [stderr]    Compiling idna v0.2.3
[INFO] [stderr]    Compiling url v2.5.0
[INFO] [stderr]    Compiling proc-macro-crate v1.3.1
[INFO] [stderr]    Compiling serde_derive v1.0.193
[INFO] [stderr]    Compiling thiserror-impl v1.0.50
[INFO] [stderr]    Compiling futures-macro v0.3.29
[INFO] [stderr]    Compiling candid_derive v0.6.4
[INFO] [stderr]    Compiling num_enum_derive v0.6.1
[INFO] [stderr]    Compiling regex v1.10.2
[INFO] [stderr]    Compiling num_enum v0.6.1
[INFO] [stderr]    Compiling lalrpop v0.19.12
[INFO] [stderr]    Compiling validator_types v0.15.0
[INFO] [stderr]    Compiling binread_derive v2.1.0
[INFO] [stderr]    Compiling num_enum_derive v0.5.11
[INFO] [stderr]    Compiling logos-derive v0.12.1
[INFO] [stderr]    Compiling candid_derive v0.5.0
[INFO] [stderr]    Compiling validator_derive v0.15.0
[INFO] [stderr]    Compiling num_enum v0.5.11
[INFO] [stderr]    Compiling binread v2.2.0
[INFO] [stderr]    Compiling logos v0.12.1
[INFO] [stderr]    Compiling futures-executor v0.3.29
[INFO] [stderr]    Compiling futures v0.3.29
[INFO] [stderr]    Compiling serde_bytes v0.11.12
[INFO] [stderr]    Compiling serde_tokenstream v0.1.7
[INFO] [stderr]    Compiling validator v0.15.0
[INFO] [stderr]    Compiling candid v0.8.4
[INFO] [stderr]    Compiling ic-cdk-macros v0.8.1
[INFO] [stderr]    Compiling ic-cdk v0.11.3
[INFO] [stderr]    Compiling ic-cdk-macros v0.6.10
[INFO] [stderr]    Compiling ic-cdk v0.7.4
[INFO] [stderr]    Compiling ic-cdk-timers v0.1.2
[INFO] [stderr]    Compiling patient_records_backend v0.1.0 (/opt/rustwide/workdir/src/patient_records_backend)
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]   --> src/patient_records_backend/src/lib.rs:28:17
[INFO] [stdout]    |
[INFO] [stdout] 28 |     fn to_bytes(&self) -> Cow<[u8]> {
[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] 28 |     fn to_bytes(&self) -> Cow<'_, [u8]> {
[INFO] [stdout]    |                               +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]   --> src/patient_records_backend/src/lib.rs:49:17
[INFO] [stdout]    |
[INFO] [stdout] 49 |     fn to_bytes(&self) -> Cow<[u8]> {
[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] 49 |     fn to_bytes(&self) -> Cow<'_, [u8]> {
[INFO] [stdout]    |                               +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]   --> src/patient_records_backend/src/lib.rs:69:17
[INFO] [stdout]    |
[INFO] [stdout] 69 |     fn to_bytes(&self) -> Cow<[u8]> {
[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] 69 |     fn to_bytes(&self) -> Cow<'_, [u8]> {
[INFO] [stdout]    |                               +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: linking with `cc` failed: exit status: 1
[INFO] [stdout]   |
[INFO] [stdout]   = note:  "cc" "-Wl,--version-script=/tmp/rustcIlRmn9/list" "-Wl,--no-undefined-version" "-m64" "/tmp/rustcIlRmn9/symbols.o" "<4 object files omitted>" "-Wl,--as-needed" "-Wl,-Bstatic" "/opt/rustwide/target/debug/deps/{libvalidator-0ed90cd9aef665c0,liburl-9a060c4da7eddeb5,libidna-44e8204ff573068d,libform_urlencoded-a5edb5174711de82,libpercent_encoding-9bee39bbc5bd523a,libregex-083054ec027ab69a,libregex_automata-57bfda0c899f60cd,libaho_corasick-e637373e1e042801,libmemchr-5ca7148678800e70,libregex_syntax-03701eaa5490ec0b,libidna-33e7aa69aa1022cf,libunicode_normalization-22f8d74ab15126ea,libtinyvec-c9d39c3280bd728d,libtinyvec_macros-1c14e8980bff1229,libunicode_bidi-2c21a156e0814972,libmatches-78daa3f1b5ec35b5,libserde_json-5c29d7a75459e8fb,libryu-8ff14dfa97b8970c,libitoa-cbcf4da6e0ac7621,libic_stable_structures-1a5b8d0b697daabc,libic_cdk-148ef398e5ec270d,libic0-88cedc4127ae8e95,libcandid-1f23f22028049ebb,libstacker-46619e2df2412abd,libpsm-dc918185ac387541,liblibc-1016f049a8846868,libhex-28742b4ca144387c,libcrc32fast-6bd2f9a022460d01,libdata_encoding-27d68fb865743c1d,libserde_bytes-5e506073c56c9ed9,libpretty-41081c325a40ded8,libarrayvec-f5ee3f47c3793c70,libtyped_arena-e8efe135793da16d,libleb128-ae0983f084a091ac,libbyteorder-1efcbe4f07366651,libsha2-3418551d51a5263a,libcpufeatures-b6a27e40fb118289,libcfg_if-33ef6c02a07f9fec,libdigest-3c2d891685d4b89e,libblock_buffer-8cfc6f57c23bdc22,libcrypto_common-66e2e31812479249,libgeneric_array-f5f3e90d36d8aab9,libtypenum-66c155be53855aa0,libnum_bigint-793118767bb36428,libnum_integer-442c0a4b9515febf,libnum_traits-78eddf8df1b04aaf,libanyhow-a758b722ca9235a8,libnum_enum-282d5795f78122e4,libbinread-ac6543aea3f911fc,liblazy_static-2bb390fee0230a38,libthiserror-276a8a99960a0b29,libcodespan_reporting-279e1e16687018f1,libunicode_width-ff8848b4c91bc42d,libtermcolor-b45930379953534a,libserde-0824881654b47b55}.rlib" "<sysroot>/lib/rustlib/x86_64-unknown-linux-gnu/lib/{libstd-*,libpanic_unwind-*,libobject-*,libmemchr-*,libaddr2line-*,libgimli-*,libcfg_if-*,librustc_demangle-*,libstd_detect-*,libhashbrown-*,librustc_std_workspace_alloc-*,libminiz_oxide-*,libadler2-*,libunwind-*,liblibc-*,librustc_std_workspace_core-*,liballoc-*,libcore-*,libcompiler_builtins-*}.rlib" "-Wl,-Bdynamic" "-lgcc_s" "-lutil" "-lrt" "-lpthread" "-lm" "-ldl" "-lc" "-L" "/tmp/rustcIlRmn9/raw-dylibs" "-B<sysroot>/lib/rustlib/x86_64-unknown-linux-gnu/bin/gcc-ld" "-fuse-ld=lld" "-Wl,--eh-frame-hdr" "-Wl,-z,noexecstack" "-L" "/opt/rustwide/target/debug/build/psm-18c1359b7143ae61/out" "-L" "<sysroot>/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-o" "/opt/rustwide/target/debug/deps/libpatient_records_backend.so" "-Wl,--gc-sections" "-shared" "-Wl,-z,relro,-z,now" "-nodefaultlibs"
[INFO] [stdout]   = note: some arguments are omitted. use `--verbose` to show all linker arguments
[INFO] [stdout]   = note: rust-lld: error: /tmp/rustcIlRmn9/list:3: ; expected, but got get_all_hospitals
[INFO] [stdout]           >>>     canister_query get_all_hospitals;
[INFO] [stdout]           >>>                    ^
[INFO] [stdout]           collect2: error: ld returned 1 exit status
[INFO] [stdout]           
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `patient_records_backend` (lib) due to 1 previous error; 3 warnings emitted
[INFO] running `Command { std: "docker" "inspect" "48cbbeb81c72ca7dc72bf7fe4133ea81e835ea96c0f511cb181e08137b5a86a9", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "48cbbeb81c72ca7dc72bf7fe4133ea81e835ea96c0f511cb181e08137b5a86a9", kill_on_drop: false }`
[INFO] [stdout] 48cbbeb81c72ca7dc72bf7fe4133ea81e835ea96c0f511cb181e08137b5a86a9
