[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] building Collins-Ruto/patient-records against master#ad211ced81509462cdfe4c29ed10f97279a0acae for pr-135216
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FCollins-Ruto%2Fpatient-records" "/workspace/builds/worker-6-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc1/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/Collins-Ruto/patient-records on toolchain ad211ced81509462cdfe4c29ed10f97279a0acae
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ad211ced81509462cdfe4c29ed10f97279a0acae" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[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-6-tc1/source/Cargo.toml
[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" "+ad211ced81509462cdfe4c29ed10f97279a0acae" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded validator_derive v0.15.0
[INFO] [stderr]   Downloaded validator_types v0.15.0
[INFO] [stderr]   Downloaded winnow v0.5.26
[INFO] [stderr]   Downloaded rustix v0.38.27
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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" "+ad211ced81509462cdfe4c29ed10f97279a0acae" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 8debd3e88ba15f0c18d6a2fc7affe7abbf07d698cf4e0a4593a0d8be32fa08e8
[INFO] running `Command { std: "docker" "start" "-a" "8debd3e88ba15f0c18d6a2fc7affe7abbf07d698cf4e0a4593a0d8be32fa08e8", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "8debd3e88ba15f0c18d6a2fc7affe7abbf07d698cf4e0a4593a0d8be32fa08e8", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "8debd3e88ba15f0c18d6a2fc7affe7abbf07d698cf4e0a4593a0d8be32fa08e8", kill_on_drop: false }`
[INFO] [stdout] 8debd3e88ba15f0c18d6a2fc7affe7abbf07d698cf4e0a4593a0d8be32fa08e8
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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" "+ad211ced81509462cdfe4c29ed10f97279a0acae" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 9e81a767556eb14f45b8218809f1e3cee2690a73d2a5e124faf2fe37edbbfd85
[INFO] running `Command { std: "docker" "start" "-a" "9e81a767556eb14f45b8218809f1e3cee2690a73d2a5e124faf2fe37edbbfd85", kill_on_drop: false }`
[INFO] [stderr]    Compiling proc-macro2 v1.0.70
[INFO] [stderr]    Compiling unicode-ident v1.0.12
[INFO] [stderr]    Compiling libc v0.2.150
[INFO] [stderr]    Compiling syn v1.0.109
[INFO] [stderr]    Compiling equivalent v1.0.1
[INFO] [stderr]    Compiling hashbrown v0.14.3
[INFO] [stderr]    Compiling memchr v2.6.4
[INFO] [stderr]    Compiling once_cell v1.19.0
[INFO] [stderr]    Compiling serde v1.0.193
[INFO] [stderr]    Compiling typenum v1.17.0
[INFO] [stderr]    Compiling winnow v0.5.26
[INFO] [stderr]    Compiling toml_datetime v0.6.5
[INFO] [stderr]    Compiling either v1.9.0
[INFO] [stderr]    Compiling generic-array v0.14.7
[INFO] [stderr]    Compiling regex-syntax v0.8.2
[INFO] [stderr]    Compiling num-traits v0.2.17
[INFO] [stderr]    Compiling lock_api v0.4.11
[INFO] [stderr]    Compiling parking_lot_core v0.9.9
[INFO] [stderr]    Compiling num-integer v0.1.45
[INFO] [stderr]    Compiling crunchy v0.2.2
[INFO] [stderr]    Compiling smallvec v1.11.2
[INFO] [stderr]    Compiling rustix v0.38.27
[INFO] [stderr]    Compiling rustversion v1.0.14
[INFO] [stderr]    Compiling scopeguard v1.2.0
[INFO] [stderr]    Compiling num-bigint v0.4.4
[INFO] [stderr]    Compiling regex-syntax v0.6.29
[INFO] [stderr]    Compiling linux-raw-sys v0.4.12
[INFO] [stderr]    Compiling bitflags v2.4.1
[INFO] [stderr]    Compiling typed-arena v2.0.2
[INFO] [stderr]    Compiling thiserror v1.0.50
[INFO] [stderr]    Compiling paste v1.0.14
[INFO] [stderr]    Compiling unicode-width v0.1.11
[INFO] [stderr]    Compiling siphasher v0.3.11
[INFO] [stderr]    Compiling anyhow v1.0.75
[INFO] [stderr]    Compiling tiny-keccak v2.0.2
[INFO] [stderr]    Compiling quote v1.0.33
[INFO] [stderr]    Compiling arrayvec v0.5.2
[INFO] [stderr]    Compiling aho-corasick v1.1.2
[INFO] [stderr]    Compiling phf_shared v0.10.0
[INFO] [stderr]    Compiling cpufeatures v0.2.11
[INFO] [stderr]    Compiling termcolor v1.4.0
[INFO] [stderr]    Compiling precomputed-hash v0.1.1
[INFO] [stderr]    Compiling indexmap v2.1.0
[INFO] [stderr]    Compiling syn v2.0.39
[INFO] [stderr]    Compiling dirs-sys-next v0.1.2
[INFO] [stderr]    Compiling dirs-next v2.0.0
[INFO] [stderr]    Compiling cc v1.0.83
[INFO] [stderr]    Compiling parking_lot v0.12.1
[INFO] [stderr]    Compiling term v0.7.0
[INFO] [stderr]    Compiling new_debug_unreachable v1.0.4
[INFO] [stderr]    Compiling fixedbitset v0.4.2
[INFO] [stderr]    Compiling bit-vec v0.6.3
[INFO] [stderr]    Compiling log v0.4.20
[INFO] [stderr]    Compiling petgraph v0.6.4
[INFO] [stderr]    Compiling bit-set v0.5.3
[INFO] [stderr]    Compiling crypto-common v0.1.6
[INFO] [stderr]    Compiling block-buffer v0.10.4
[INFO] [stderr]    Compiling ena v0.14.2
[INFO] [stderr]    Compiling string_cache v0.8.7
[INFO] [stderr]    Compiling codespan-reporting v0.11.1
[INFO] [stderr]    Compiling digest v0.10.7
[INFO] [stderr]    Compiling is-terminal v0.4.9
[INFO] [stderr]    Compiling ascii-canvas v3.0.0
[INFO] [stderr]    Compiling crc32fast v1.3.2
[INFO] [stderr]    Compiling sha2 v0.10.8
[INFO] [stderr]    Compiling itertools v0.10.5
[INFO] [stderr]    Compiling hex v0.4.3
[INFO] [stderr]    Compiling toml_edit v0.19.15
[INFO] [stderr]    Compiling byteorder v1.5.0
[INFO] [stderr]    Compiling diff v0.1.13
[INFO] [stderr]    Compiling unicode-xid v0.2.4
[INFO] [stderr]    Compiling regex-automata v0.4.3
[INFO] [stderr]    Compiling leb128 v0.2.5
[INFO] [stderr]    Compiling data-encoding v2.5.0
[INFO] [stderr]    Compiling fnv v1.0.7
[INFO] [stderr]    Compiling futures-core v0.3.29
[INFO] [stderr]    Compiling beef v0.5.2
[INFO] [stderr]    Compiling slab v0.4.9
[INFO] [stderr]    Compiling tinyvec_macros v0.1.1
[INFO] [stderr]    Compiling futures-task v0.3.29
[INFO] [stderr]    Compiling futures-channel v0.3.29
[INFO] [stderr]    Compiling tinyvec v1.6.0
[INFO] [stderr]    Compiling pretty v0.10.0
[INFO] [stderr]    Compiling psm v0.1.21
[INFO] [stderr]    Compiling stacker v0.1.15
[INFO] [stderr]    Compiling proc-macro-error-attr v1.0.4
[INFO] [stderr]    Compiling futures-util v0.3.29
[INFO] [stderr]    Compiling futures-sink v0.3.29
[INFO] [stderr]    Compiling proc-macro-error v1.0.4
[INFO] [stderr]    Compiling unicode-bidi v0.3.14
[INFO] [stderr]    Compiling pin-project-lite v0.2.13
[INFO] [stderr]    Compiling candid v0.9.11
[INFO] [stderr]    Compiling futures-io v0.3.29
[INFO] [stderr]    Compiling pin-utils v0.1.0
[INFO] [stderr]    Compiling pretty v0.12.3
[INFO] [stderr]    Compiling slotmap v1.0.7
[INFO] [stderr]    Compiling serde_json v1.0.108
[INFO] [stderr]    Compiling percent-encoding v2.3.1
[INFO] [stderr]    Compiling lalrpop-util v0.19.12
[INFO] [stderr]    Compiling matches v0.1.10
[INFO] [stderr]    Compiling form_urlencoded v1.2.1
[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.18.11
[INFO] [stderr]    Compiling ic0 v0.21.1
[INFO] [stderr]    Compiling ic-stable-structures v0.5.6
[INFO] [stderr]    Compiling unicode-normalization v0.1.22
[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 idna v0.5.0
[INFO] [stderr]    Compiling idna v0.2.3
[INFO] [stderr]    Compiling proc-macro-crate v1.3.1
[INFO] [stderr]    Compiling url v2.5.0
[INFO] [stderr]    Compiling num_enum_derive v0.6.1
[INFO] [stderr]    Compiling num_enum v0.6.1
[INFO] [stderr]    Compiling regex v1.10.2
[INFO] [stderr]    Compiling validator_types v0.15.0
[INFO] [stderr]    Compiling lalrpop v0.19.12
[INFO] [stderr]    Compiling binread_derive v2.1.0
[INFO] [stderr]    Compiling logos-derive v0.12.1
[INFO] [stderr]    Compiling num_enum_derive v0.5.11
[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 futures-executor v0.3.29
[INFO] [stderr]    Compiling futures v0.3.29
[INFO] [stderr]    Compiling binread v2.2.0
[INFO] [stderr]    Compiling logos v0.12.1
[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] error: linking with `cc` failed: exit status: 1
[INFO] [stdout]   |
[INFO] [stdout]   = note: LC_ALL="C" PATH="/opt/rustwide/rustup-home/toolchains/ad211ced81509462cdfe4c29ed10f97279a0acae/lib/rustlib/x86_64-unknown-linux-gnu/bin:/opt/rustwide/rustup-home/toolchains/ad211ced81509462cdfe4c29ed10f97279a0acae/lib/rustlib/x86_64-unknown-linux-gnu/bin/self-contained:/opt/rustwide/cargo-home/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin" VSLANG="1033" "cc" "-Wl,--version-script=/tmp/rustcveZqks/list" "-Wl,--no-undefined-version" "-m64" "/tmp/rustcveZqks/symbols.o" "<7 object files omitted>" "-Wl,--as-needed" "-Wl,-Bstatic" "/opt/rustwide/target/debug/deps/{libvalidator-e231d7152f51356d.rlib,liburl-9a060c4da7eddeb5.rlib,libidna-44e8204ff573068d.rlib,libform_urlencoded-a5edb5174711de82.rlib,libpercent_encoding-9bee39bbc5bd523a.rlib,libregex-083054ec027ab69a.rlib,libregex_automata-57bfda0c899f60cd.rlib,libaho_corasick-e637373e1e042801.rlib,libmemchr-5ca7148678800e70.rlib,libregex_syntax-03701eaa5490ec0b.rlib,libidna-33e7aa69aa1022cf.rlib,libunicode_normalization-22f8d74ab15126ea.rlib,libtinyvec-c9d39c3280bd728d.rlib,libtinyvec_macros-1c14e8980bff1229.rlib,libunicode_bidi-2c21a156e0814972.rlib,libmatches-78daa3f1b5ec35b5.rlib,libserde_json-6675222324c09d34.rlib,libryu-8ff14dfa97b8970c.rlib,libitoa-cbcf4da6e0ac7621.rlib,libic_stable_structures-1a5b8d0b697daabc.rlib,libic_cdk-f158cbbf7e3264b4.rlib,libic0-88cedc4127ae8e95.rlib,libcandid-686e04dbb4277fe4.rlib,libstacker-5978bfbc0b3bbfab.rlib,libpsm-9a00344babf44eae.rlib,liblibc-3256196f79e91901.rlib,libhex-28742b4ca144387c.rlib,libcrc32fast-56a2f8bd1095fa00.rlib,libdata_encoding-27d68fb865743c1d.rlib,libserde_bytes-daab4ec743080cd1.rlib,libpretty-41081c325a40ded8.rlib,libarrayvec-f5ee3f47c3793c70.rlib,libtyped_arena-e8efe135793da16d.rlib,libleb128-ae0983f084a091ac.rlib,libbyteorder-1efcbe4f07366651.rlib,libsha2-ff90956b3b23f926.rlib,libcpufeatures-b6a27e40fb118289.rlib,libcfg_if-33ef6c02a07f9fec.rlib,libdigest-a901e0ab52b66573.rlib,libblock_buffer-4df9c1873c9f7c79.rlib,libcrypto_common-4c5b7ae24a9d0f97.rlib,libgeneric_array-54985d075ba32a93.rlib,libtypenum-e3323f6ed06bf501.rlib,libnum_bigint-e1a1dcbb558329ea.rlib,libnum_integer-bf997a9b925e6065.rlib,libnum_traits-66af25cac9c3b77c.rlib,libanyhow-580fe8eb48cf1861.rlib,libnum_enum-f9caa40bb7bd823b.rlib,libbinread-57a3cdc2d431a759.rlib,liblazy_static-2bb390fee0230a38.rlib,libthiserror-c1428697ee92f1d1.rlib,libcodespan_reporting-279e1e16687018f1.rlib,libunicode_width-ff8848b4c91bc42d.rlib,libtermcolor-b45930379953534a.rlib,libserde-04777b7c3c006a39.rlib}" "/opt/rustwide/rustup-home/toolchains/ad211ced81509462cdfe4c29ed10f97279a0acae/lib/rustlib/x86_64-unknown-linux-gnu/lib/{libstd-d6f1d924b2f4233e.rlib,libpanic_unwind-00eb06e39850f679.rlib,libobject-d0382f11baa011b6.rlib,libmemchr-b7e2e2c1a7e4643d.rlib,libaddr2line-30ced7f1999cfa29.rlib,libgimli-3ee7e14c58e31ebd.rlib,librustc_demangle-a4f649bba77ffcc5.rlib,libstd_detect-c89a3ce7ad7c3dbd.rlib,libhashbrown-e1ce1d3d110c6707.rlib,librustc_std_workspace_alloc-e0604fecbf0f39dc.rlib,libminiz_oxide-0a9c6172f04822cc.rlib,libadler2-14a33f7117abcee7.rlib,libunwind-24c16adbe5e57356.rlib,libcfg_if-d2688d4a5c8e415b.rlib,liblibc-8ff7ba6d97853f27.rlib,liballoc-5c001d095eb077ec.rlib,librustc_std_workspace_core-395a38b8e0851c9b.rlib,libcore-d453bab70303062c.rlib,libcompiler_builtins-dd545221bb4f4734.rlib}" "-Wl,-Bdynamic" "-lgcc_s" "-lutil" "-lrt" "-lpthread" "-lm" "-ldl" "-lc" "-B/opt/rustwide/rustup-home/toolchains/ad211ced81509462cdfe4c29ed10f97279a0acae/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-f71b6c9bf0896903/out" "-L" "/opt/rustwide/rustup-home/toolchains/ad211ced81509462cdfe4c29ed10f97279a0acae/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/rustcveZqks/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
[INFO] running `Command { std: "docker" "inspect" "9e81a767556eb14f45b8218809f1e3cee2690a73d2a5e124faf2fe37edbbfd85", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "9e81a767556eb14f45b8218809f1e3cee2690a73d2a5e124faf2fe37edbbfd85", kill_on_drop: false }`
[INFO] [stdout] 9e81a767556eb14f45b8218809f1e3cee2690a73d2a5e124faf2fe37edbbfd85
