[INFO] fetching crate gusto-api 0.2.11... [INFO] testing gusto-api-0.2.11 against try#8262275854dc0e5381c9d42d56257d94932c5a87 for pr-90799 [INFO] extracting crate gusto-api 0.2.11 into /workspace/builds/worker-34/source [INFO] validating manifest of crates.io crate gusto-api 0.2.11 on toolchain 8262275854dc0e5381c9d42d56257d94932c5a87 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8262275854dc0e5381c9d42d56257d94932c5a87" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate gusto-api 0.2.11 [INFO] finished tweaking crates.io crate gusto-api 0.2.11 [INFO] tweaked toml for crates.io crate gusto-api 0.2.11 written to /workspace/builds/worker-34/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8262275854dc0e5381c9d42d56257d94932c5a87" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8262275854dc0e5381c9d42d56257d94932c5a87" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded serde_derive_internals v0.25.0 [INFO] [stderr] Downloaded dyn-clone v1.0.4 [INFO] [stderr] Downloaded hyperx v1.4.0 [INFO] [stderr] Downloaded simple_asn1 v0.4.1 [INFO] [stderr] Downloaded language-tags v0.3.2 [INFO] [stderr] Downloaded nom_pem v4.0.0 [INFO] [stderr] Downloaded schemars_derive v0.8.8 [INFO] [stderr] Downloaded schemars v0.8.8 [INFO] [stderr] Downloaded jsonwebtoken v7.2.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-34/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-34/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:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+8262275854dc0e5381c9d42d56257d94932c5a87" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] b89eed1231efd959f83d6472140a5cf5e2520b341fb5a28f8722ec4fd2013034 [INFO] running `Command { std: "docker" "start" "-a" "b89eed1231efd959f83d6472140a5cf5e2520b341fb5a28f8722ec4fd2013034", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b89eed1231efd959f83d6472140a5cf5e2520b341fb5a28f8722ec4fd2013034", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b89eed1231efd959f83d6472140a5cf5e2520b341fb5a28f8722ec4fd2013034", kill_on_drop: false }` [INFO] [stdout] b89eed1231efd959f83d6472140a5cf5e2520b341fb5a28f8722ec4fd2013034 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-34/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-34/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" "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:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+8262275854dc0e5381c9d42d56257d94932c5a87" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 8b89ac92db9a9dddadd25fbd0bdab02e5c7210d9ebf2a574b5dbb89e706e5497 [INFO] running `Command { std: "docker" "start" "-a" "8b89ac92db9a9dddadd25fbd0bdab02e5c7210d9ebf2a574b5dbb89e706e5497", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling proc-macro2 v1.0.32 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling syn v1.0.82 [INFO] [stderr] Compiling libc v0.2.108 [INFO] [stderr] Compiling serde_derive v1.0.130 [INFO] [stderr] Compiling serde v1.0.130 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling cc v1.0.72 [INFO] [stderr] Compiling once_cell v1.8.0 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling itoa v0.4.8 [INFO] [stderr] Compiling parking_lot_core v0.8.5 [INFO] [stderr] Compiling pin-project-lite v0.2.7 [INFO] [stderr] Compiling pkg-config v0.3.22 [INFO] [stderr] Compiling futures-core v0.3.18 [INFO] [stderr] Compiling scopeguard v1.1.0 [INFO] [stderr] Compiling smallvec v1.7.0 [INFO] [stderr] Compiling memchr v2.4.1 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling futures-task v0.3.18 [INFO] [stderr] Compiling ryu v1.0.6 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling foreign-types-shared v0.1.1 [INFO] [stderr] Compiling percent-encoding v2.1.0 [INFO] [stderr] Compiling openssl v0.10.38 [INFO] [stderr] Compiling tinyvec_macros v0.1.0 [INFO] [stderr] Compiling matches v0.1.9 [INFO] [stderr] Compiling futures-util v0.3.18 [INFO] [stderr] Compiling futures-channel v0.3.18 [INFO] [stderr] Compiling futures-sink v0.3.18 [INFO] [stderr] Compiling hashbrown v0.11.2 [INFO] [stderr] Compiling pin-utils v0.1.0 [INFO] [stderr] Compiling serde_json v1.0.72 [INFO] [stderr] Compiling native-tls v0.2.8 [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Compiling httparse v1.5.1 [INFO] [stderr] Compiling httpdate v1.0.2 [INFO] [stderr] Compiling openssl-probe v0.1.4 [INFO] [stderr] Compiling slab v0.4.5 [INFO] [stderr] Compiling unicode-bidi v0.3.7 [INFO] [stderr] Compiling try-lock v0.2.3 [INFO] [stderr] Compiling base64 v0.13.0 [INFO] [stderr] Compiling tower-service v0.3.1 [INFO] [stderr] Compiling encoding_rs v0.8.29 [INFO] [stderr] Compiling untrusted v0.7.1 [INFO] [stderr] Compiling async-trait v0.1.51 [INFO] [stderr] Compiling hyperx v1.4.0 [INFO] [stderr] Compiling mime v0.3.16 [INFO] [stderr] Compiling spin v0.5.2 [INFO] [stderr] Compiling schemars v0.8.8 [INFO] [stderr] Compiling anyhow v1.0.51 [INFO] [stderr] Compiling base64 v0.12.3 [INFO] [stderr] Compiling ipnet v2.3.1 [INFO] [stderr] Compiling language-tags v0.3.2 [INFO] [stderr] Compiling dyn-clone v1.0.4 [INFO] [stderr] Compiling urlencoding v1.3.3 [INFO] [stderr] Compiling instant v0.1.12 [INFO] [stderr] Compiling unicase v2.6.0 [INFO] [stderr] Compiling tracing-core v0.1.21 [INFO] [stderr] Compiling lock_api v0.4.5 [INFO] [stderr] Compiling tinyvec v1.5.1 [INFO] [stderr] Compiling foreign-types v0.3.2 [INFO] [stderr] Compiling form_urlencoded v1.0.1 [INFO] [stderr] Compiling pem v0.8.3 [INFO] [stderr] Compiling tracing v0.1.29 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling tokio v1.14.0 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling indexmap v1.7.0 [INFO] [stderr] Compiling num-bigint v0.2.6 [INFO] [stderr] Compiling want v0.3.0 [INFO] [stderr] Compiling unicode-normalization v0.1.19 [INFO] [stderr] Compiling openssl-sys v0.9.71 [INFO] [stderr] Compiling ring v0.16.20 [INFO] [stderr] Compiling quote v1.0.10 [INFO] [stderr] Compiling signal-hook-registry v1.4.0 [INFO] [stderr] Compiling mio v0.7.14 [INFO] [stderr] Compiling num_cpus v1.13.0 [INFO] [stderr] Compiling time v0.1.43 [INFO] [stderr] Compiling socket2 v0.4.2 [INFO] [stderr] Compiling getrandom v0.2.3 [INFO] [stderr] Compiling parking_lot v0.11.2 [INFO] [stderr] Compiling idna v0.2.3 [INFO] [stderr] Compiling serde_derive_internals v0.25.0 [INFO] [stderr] Compiling tokio-macros v1.6.0 [INFO] [stderr] Compiling schemars_derive v0.8.8 [INFO] [stderr] Compiling async-recursion v0.3.2 [INFO] [stderr] Compiling bytes v1.1.0 [INFO] [stderr] Compiling chrono v0.4.19 [INFO] [stderr] Compiling url v2.2.2 [INFO] [stderr] Compiling uuid v0.8.2 [INFO] [stderr] Compiling serde_urlencoded v0.7.0 [INFO] [stderr] Compiling http v0.2.5 [INFO] [stderr] Compiling simple_asn1 v0.4.1 [INFO] [stderr] Compiling jsonwebtoken v7.2.0 [INFO] [stderr] Compiling http-body v0.4.4 [INFO] [stderr] Compiling tokio-util v0.6.9 [INFO] [stderr] Compiling tokio-native-tls v0.3.0 [INFO] [stderr] Compiling h2 v0.3.7 [INFO] [stderr] Compiling hyper v0.14.15 [INFO] [stderr] Compiling hyper-tls v0.5.0 [INFO] [stderr] Compiling reqwest v0.11.7 [INFO] [stderr] Compiling gusto-api v0.2.11 (/opt/rustwide/workdir) [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 48.33s [INFO] running `Command { std: "docker" "inspect" "8b89ac92db9a9dddadd25fbd0bdab02e5c7210d9ebf2a574b5dbb89e706e5497", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8b89ac92db9a9dddadd25fbd0bdab02e5c7210d9ebf2a574b5dbb89e706e5497", kill_on_drop: false }` [INFO] [stdout] 8b89ac92db9a9dddadd25fbd0bdab02e5c7210d9ebf2a574b5dbb89e706e5497 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-34/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-34/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" "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:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+8262275854dc0e5381c9d42d56257d94932c5a87" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 9bcacf77b7a61e923d4485548d7ac92e296c0156a0bd84284a32e4f5d0acd9cf [INFO] running `Command { std: "docker" "start" "-a" "9bcacf77b7a61e923d4485548d7ac92e296c0156a0bd84284a32e4f5d0acd9cf", kill_on_drop: false }` [INFO] [stderr] Compiling version_check v0.1.5 [INFO] [stderr] Compiling dirs-sys v0.3.6 [INFO] [stderr] Compiling dirs v3.0.2 [INFO] [stderr] Compiling nom v4.2.3 [INFO] [stderr] Compiling nom_pem v4.0.0 [INFO] [stderr] Compiling gusto-api v0.2.11 (/opt/rustwide/workdir) [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 13.43s [INFO] running `Command { std: "docker" "inspect" "9bcacf77b7a61e923d4485548d7ac92e296c0156a0bd84284a32e4f5d0acd9cf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9bcacf77b7a61e923d4485548d7ac92e296c0156a0bd84284a32e4f5d0acd9cf", kill_on_drop: false }` [INFO] [stdout] 9bcacf77b7a61e923d4485548d7ac92e296c0156a0bd84284a32e4f5d0acd9cf [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-34/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-34/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" "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:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+8262275854dc0e5381c9d42d56257d94932c5a87" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 45725cdb27db46e59412b8336441458243f52d93f71ca5c842efd8ff98d94c07 [INFO] running `Command { std: "docker" "start" "-a" "45725cdb27db46e59412b8336441458243f52d93f71ca5c842efd8ff98d94c07", kill_on_drop: false }` [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.07s [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/gusto_api-5ba9d5d94b8052b8) [INFO] [stdout] [INFO] [stdout] running 1 test [INFO] [stdout] test tests::test_deserialize_employee ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Doc-tests gusto-api [INFO] [stdout] [INFO] [stdout] running 5 tests [INFO] [stdout] test src/companies.rs - companies::Companies::post_provision (line 91) ... FAILED [INFO] [stdout] test src/companies.rs - companies::Companies::post_partner_managed (line 56) ... FAILED [INFO] [stdout] test src/lib.rs - (line 72) ... ok [INFO] [stdout] test src/lib.rs - (line 61) ... FAILED [INFO] [stdout] test src/lib.rs - (line 40) ... ok [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/companies.rs - companies::Companies::post_provision (line 91) stdout ---- [INFO] [stdout] error: expected `;`, found `Authorization` [INFO] [stdout] --> src/companies.rs:92:31 [INFO] [stdout] | [INFO] [stdout] 3 | Content-Type: application/json [INFO] [stdout] | ^ help: add `;` here [INFO] [stdout] 4 | Authorization: Token bbb286ff1a4fe6b84742b0d49b8d0d65bd0208d27d3d50333591df71 [INFO] [stdout] | ------------- unexpected token [INFO] [stdout] [INFO] [stdout] error: expected one of `!`, `(`, `.`, `::`, `;`, `<`, `?`, or `}`, found `bbb286ff1a4fe6b84742b0d49b8d0d65bd0208d27d3d50333591df71` [INFO] [stdout] --> src/companies.rs:93:22 [INFO] [stdout] | [INFO] [stdout] 4 | Authorization: Token bbb286ff1a4fe6b84742b0d49b8d0d65bd0208d27d3d50333591df71 [INFO] [stdout] | - ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected one of 8 possible tokens [INFO] [stdout] | | [INFO] [stdout] | tried to parse a type due to this type ascription [INFO] [stdout] | [INFO] [stdout] = note: `#![feature(type_ascription)]` lets you annotate an expression with a type: `: ` [INFO] [stdout] = note: see issue #23416 for more information [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `Content` in this scope [INFO] [stdout] --> src/companies.rs:92:1 [INFO] [stdout] | [INFO] [stdout] 3 | Content-Type: application/json [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 2 | use serde::__private::de::TagContentOtherField::Content; [INFO] [stdout] | [INFO] [stdout] 2 | use serde::__private::de::TagOrContentField::Content; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `Type` in this scope [INFO] [stdout] --> src/companies.rs:92:9 [INFO] [stdout] | [INFO] [stdout] 3 | Content-Type: application/json [INFO] [stdout] | ^^^^ expecting a type here because of type ascription [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `application` in this scope [INFO] [stdout] --> src/companies.rs:92:15 [INFO] [stdout] | [INFO] [stdout] 3 | Content-Type: application/json [INFO] [stdout] | ^^^^^^^^^^^ expecting a type here because of type ascription [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `json` in this scope [INFO] [stdout] --> src/companies.rs:92:27 [INFO] [stdout] | [INFO] [stdout] 3 | Content-Type: application/json [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error: aborting due to 6 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0425. [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/companies.rs - companies::Companies::post_partner_managed (line 56) stdout ---- [INFO] [stdout] error: expected `;`, found `Authorization` [INFO] [stdout] --> src/companies.rs:57:31 [INFO] [stdout] | [INFO] [stdout] 3 | Content-Type: application/json [INFO] [stdout] | ^ help: add `;` here [INFO] [stdout] 4 | Authorization: Token bbb286ff1a4fe6b84742b0d49b8d0d65bd0208d27d3d50333591df71 [INFO] [stdout] | ------------- unexpected token [INFO] [stdout] [INFO] [stdout] error: expected one of `!`, `(`, `.`, `::`, `;`, `<`, `?`, or `}`, found `bbb286ff1a4fe6b84742b0d49b8d0d65bd0208d27d3d50333591df71` [INFO] [stdout] --> src/companies.rs:58:22 [INFO] [stdout] | [INFO] [stdout] 4 | Authorization: Token bbb286ff1a4fe6b84742b0d49b8d0d65bd0208d27d3d50333591df71 [INFO] [stdout] | - ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected one of 8 possible tokens [INFO] [stdout] | | [INFO] [stdout] | tried to parse a type due to this type ascription [INFO] [stdout] | [INFO] [stdout] = note: `#![feature(type_ascription)]` lets you annotate an expression with a type: `: ` [INFO] [stdout] = note: see issue #23416 for more information [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `Content` in this scope [INFO] [stdout] --> src/companies.rs:57:1 [INFO] [stdout] | [INFO] [stdout] 3 | Content-Type: application/json [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 2 | use serde::__private::de::TagContentOtherField::Content; [INFO] [stdout] | [INFO] [stdout] 2 | use serde::__private::de::TagOrContentField::Content; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `Type` in this scope [INFO] [stdout] --> src/companies.rs:57:9 [INFO] [stdout] | [INFO] [stdout] 3 | Content-Type: application/json [INFO] [stdout] | ^^^^ expecting a type here because of type ascription [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `application` in this scope [INFO] [stdout] --> src/companies.rs:57:15 [INFO] [stdout] | [INFO] [stdout] 3 | Content-Type: application/json [INFO] [stdout] | ^^^^^^^^^^^ expecting a type here because of type ascription [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `json` in this scope [INFO] [stdout] --> src/companies.rs:57:27 [INFO] [stdout] | [INFO] [stdout] 3 | Content-Type: application/json [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error: aborting due to 6 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0425. [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - (line 61) stdout ---- [INFO] [stdout] Test executable failed (exit code 101). [INFO] [stdout] [INFO] [stdout] stderr: [INFO] [stdout] thread 'main' panicked at 'called `Result::unwrap()` on an `Err` value: NotPresent', /opt/rustwide/workdir/src/lib.rs:259:53 [INFO] [stdout] stack backtrace: [INFO] [stdout] 0: 0x5625dd4d43dc - std::backtrace_rs::backtrace::libunwind::trace::h793e05efd273d0f4 [INFO] [stdout] at /rustc/8262275854dc0e5381c9d42d56257d94932c5a87/library/std/src/../../backtrace/src/backtrace/libunwind.rs:93:5 [INFO] [stdout] 1: 0x5625dd4d43dc - std::backtrace_rs::backtrace::trace_unsynchronized::h640b7b86ff610c77 [INFO] [stdout] at /rustc/8262275854dc0e5381c9d42d56257d94932c5a87/library/std/src/../../backtrace/src/backtrace/mod.rs:66:5 [INFO] [stdout] 2: 0x5625dd4d43dc - std::sys_common::backtrace::_print_fmt::h362fa2a4f354f877 [INFO] [stdout] at /rustc/8262275854dc0e5381c9d42d56257d94932c5a87/library/std/src/sys_common/backtrace.rs:67:5 [INFO] [stdout] 3: 0x5625dd4d43dc - ::fmt::hf439e5ed84c74abd [INFO] [stdout] at /rustc/8262275854dc0e5381c9d42d56257d94932c5a87/library/std/src/sys_common/backtrace.rs:46:22 [INFO] [stdout] 4: 0x5625dd4efc3c - core::fmt::write::h72801a82c94e6ff1 [INFO] [stdout] at /rustc/8262275854dc0e5381c9d42d56257d94932c5a87/library/core/src/fmt/mod.rs:1149:17 [INFO] [stdout] 5: 0x5625dd4d01d5 - std::io::Write::write_fmt::h5562a8b6da0f0339 [INFO] [stdout] at /rustc/8262275854dc0e5381c9d42d56257d94932c5a87/library/std/src/io/mod.rs:1697:15 [INFO] [stdout] 6: 0x5625dd4d5c10 - std::sys_common::backtrace::_print::hb29ddd998d02631c [INFO] [stdout] at /rustc/8262275854dc0e5381c9d42d56257d94932c5a87/library/std/src/sys_common/backtrace.rs:49:5 [INFO] [stdout] 7: 0x5625dd4d5c10 - std::sys_common::backtrace::print::h81965e3d7c90fbb6 [INFO] [stdout] at /rustc/8262275854dc0e5381c9d42d56257d94932c5a87/library/std/src/sys_common/backtrace.rs:36:9 [INFO] [stdout] 8: 0x5625dd4d5c10 - std::panicking::default_hook::{{closure}}::h84db205ab6674b38 [INFO] [stdout] at /rustc/8262275854dc0e5381c9d42d56257d94932c5a87/library/std/src/panicking.rs:211:50 [INFO] [stdout] 9: 0x5625dd4d57bb - std::panicking::default_hook::h1bf8bb4159936bca [INFO] [stdout] at /rustc/8262275854dc0e5381c9d42d56257d94932c5a87/library/std/src/panicking.rs:228:9 [INFO] [stdout] 10: 0x5625dd4d62c4 - std::panicking::rust_panic_with_hook::hf8e86850fbbd03b1 [INFO] [stdout] at /rustc/8262275854dc0e5381c9d42d56257d94932c5a87/library/std/src/panicking.rs:606:17 [INFO] [stdout] 11: 0x5625dd4d5da0 - std::panicking::begin_panic_handler::{{closure}}::h590a0d6060ff866e [INFO] [stdout] at /rustc/8262275854dc0e5381c9d42d56257d94932c5a87/library/std/src/panicking.rs:502:13 [INFO] [stdout] 12: 0x5625dd4d4894 - std::sys_common::backtrace::__rust_end_short_backtrace::h260b8bd1c848a03c [INFO] [stdout] at /rustc/8262275854dc0e5381c9d42d56257d94932c5a87/library/std/src/sys_common/backtrace.rs:139:18 [INFO] [stdout] 13: 0x5625dd4d5d09 - rust_begin_unwind [INFO] [stdout] at /rustc/8262275854dc0e5381c9d42d56257d94932c5a87/library/std/src/panicking.rs:498:5 [INFO] [stdout] 14: 0x5625dd3bdeb1 - core::panicking::panic_fmt::h7b8580d81fcbbacd [INFO] [stdout] at /rustc/8262275854dc0e5381c9d42d56257d94932c5a87/library/core/src/panicking.rs:106:14 [INFO] [stdout] 15: 0x5625dd3bdf43 - core::result::unwrap_failed::h885d3f7beb571353 [INFO] [stdout] at /rustc/8262275854dc0e5381c9d42d56257d94932c5a87/library/core/src/result.rs:1613:5 [INFO] [stdout] 16: 0x5625dd3beadc - core::result::Result::unwrap::h59969da92d7096b4 [INFO] [stdout] 17: 0x5625dd3becad - gusto_api::Client::new_from_env::h7bf1535900700f2c [INFO] [stdout] 18: 0x5625dd3bf39b - rust_out::main::_doctest_main_src_lib_rs_61_0::had13ad891b2c2855 [INFO] [stdout] 19: 0x5625dd3bf326 - rust_out::main::h61823b600df25383 [INFO] [stdout] 20: 0x5625dd3be8c3 - core::ops::function::FnOnce::call_once::h827fb1f4029b40e6 [INFO] [stdout] 21: 0x5625dd3be6d9 - std::sys_common::backtrace::__rust_begin_short_backtrace::haf8e35482869953f [INFO] [stdout] 22: 0x5625dd3be749 - std::rt::lang_start::{{closure}}::h5e534791856c5311 [INFO] [stdout] 23: 0x5625dd4d3c21 - core::ops::function::impls:: for &F>::call_once::h42d3791e66d196c0 [INFO] [stdout] at /rustc/8262275854dc0e5381c9d42d56257d94932c5a87/library/core/src/ops/function.rs:259:13 [INFO] [stdout] 24: 0x5625dd4d3c21 - std::panicking::try::do_call::hc3bcb188e535517f [INFO] [stdout] at /rustc/8262275854dc0e5381c9d42d56257d94932c5a87/library/std/src/panicking.rs:406:40 [INFO] [stdout] 25: 0x5625dd4d3c21 - std::panicking::try::hb1edf04d4a7097ab [INFO] [stdout] at /rustc/8262275854dc0e5381c9d42d56257d94932c5a87/library/std/src/panicking.rs:370:19 [INFO] [stdout] 26: 0x5625dd4d3c21 - std::panic::catch_unwind::h75ed941ac0d36d57 [INFO] [stdout] at /rustc/8262275854dc0e5381c9d42d56257d94932c5a87/library/std/src/panic.rs:133:14 [INFO] [stdout] 27: 0x5625dd4d3c21 - std::rt::lang_start_internal::{{closure}}::hc702b3389af4cbea [INFO] [stdout] at /rustc/8262275854dc0e5381c9d42d56257d94932c5a87/library/std/src/rt.rs:128:48 [INFO] [stdout] 28: 0x5625dd4d3c21 - std::panicking::try::do_call::h53276a03c7fe2ebc [INFO] [stdout] at /rustc/8262275854dc0e5381c9d42d56257d94932c5a87/library/std/src/panicking.rs:406:40 [INFO] [stdout] 29: 0x5625dd4d3c21 - std::panicking::try::ha9e37f45dc542517 [INFO] [stdout] at /rustc/8262275854dc0e5381c9d42d56257d94932c5a87/library/std/src/panicking.rs:370:19 [INFO] [stdout] 30: 0x5625dd4d3c21 - std::panic::catch_unwind::h182647595766fee7 [INFO] [stdout] at /rustc/8262275854dc0e5381c9d42d56257d94932c5a87/library/std/src/panic.rs:133:14 [INFO] [stdout] 31: 0x5625dd4d3c21 - std::rt::lang_start_internal::h571831ebdba142de [INFO] [stdout] at /rustc/8262275854dc0e5381c9d42d56257d94932c5a87/library/std/src/rt.rs:128:20 [INFO] [stdout] 32: 0x5625dd3be731 - std::rt::lang_start::h606ea79aaa4848ba [INFO] [stdout] 33: 0x5625dd3bf413 - main [INFO] [stdout] 34: 0x7f1a72e270b3 - __libc_start_main [INFO] [stdout] 35: 0x5625dd3be60e - _start [INFO] [stdout] 36: 0x0 - [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] src/companies.rs - companies::Companies::post_partner_managed (line 56) [INFO] [stdout] src/companies.rs - companies::Companies::post_provision (line 91) [INFO] [stdout] src/lib.rs - (line 61) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 2 passed; 3 failed; 0 ignored; 0 measured; 0 filtered out; finished in 1.81s [INFO] [stdout] [INFO] [stderr] error: test failed, to rerun pass '--doc' [INFO] running `Command { std: "docker" "inspect" "45725cdb27db46e59412b8336441458243f52d93f71ca5c842efd8ff98d94c07", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "45725cdb27db46e59412b8336441458243f52d93f71ca5c842efd8ff98d94c07", kill_on_drop: false }` [INFO] [stdout] 45725cdb27db46e59412b8336441458243f52d93f71ca5c842efd8ff98d94c07