[INFO] fetching crate xero-rs 0.0.1-alpha.2... [INFO] testing xero-rs-0.0.1-alpha.2 against try#1b74e096b9bfb06f84a3007193dcd2f059cbdf6a for pr-96025 [INFO] extracting crate xero-rs 0.0.1-alpha.2 into /workspace/builds/worker-83/source [INFO] validating manifest of crates.io crate xero-rs 0.0.1-alpha.2 on toolchain 1b74e096b9bfb06f84a3007193dcd2f059cbdf6a [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1b74e096b9bfb06f84a3007193dcd2f059cbdf6a" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate xero-rs 0.0.1-alpha.2 [INFO] finished tweaking crates.io crate xero-rs 0.0.1-alpha.2 [INFO] tweaked toml for crates.io crate xero-rs 0.0.1-alpha.2 written to /workspace/builds/worker-83/source/Cargo.toml [INFO] crate crates.io crate xero-rs 0.0.1-alpha.2 already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1b74e096b9bfb06f84a3007193dcd2f059cbdf6a" "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] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-83/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-83/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1b74e096b9bfb06f84a3007193dcd2f059cbdf6a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 37723668765b7b491e8ebb2b4a93e57d16e96643516b50e718524be4ab1dbca0 [INFO] running `Command { std: "docker" "start" "-a" "37723668765b7b491e8ebb2b4a93e57d16e96643516b50e718524be4ab1dbca0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "37723668765b7b491e8ebb2b4a93e57d16e96643516b50e718524be4ab1dbca0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "37723668765b7b491e8ebb2b4a93e57d16e96643516b50e718524be4ab1dbca0", kill_on_drop: false }` [INFO] [stdout] 37723668765b7b491e8ebb2b4a93e57d16e96643516b50e718524be4ab1dbca0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-83/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-83/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1b74e096b9bfb06f84a3007193dcd2f059cbdf6a" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] fe93c7a616cbc13e0389dc5a355a1aa17fed6666fdc25c930d68b432505aa498 [INFO] running `Command { std: "docker" "start" "-a" "fe93c7a616cbc13e0389dc5a355a1aa17fed6666fdc25c930d68b432505aa498", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling proc-macro2 v1.0.28 [INFO] [stderr] Compiling libc v0.2.98 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling syn v1.0.74 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling cc v1.0.69 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling pin-project-lite v0.2.7 [INFO] [stderr] Compiling once_cell v1.8.0 [INFO] [stderr] Compiling serde_derive v1.0.126 [INFO] [stderr] Compiling memchr v2.4.0 [INFO] [stderr] Compiling serde v1.0.126 [INFO] [stderr] Compiling bytes v1.0.1 [INFO] [stderr] Compiling pkg-config v0.3.19 [INFO] [stderr] Compiling futures-core v0.3.16 [INFO] [stderr] Compiling untrusted v0.7.1 [INFO] [stderr] Compiling spin v0.5.2 [INFO] [stderr] Compiling proc-macro-hack v0.5.19 [INFO] [stderr] Compiling itoa v0.4.7 [INFO] [stderr] Compiling proc-macro-nested v0.1.7 [INFO] [stderr] Compiling futures-task v0.3.16 [INFO] [stderr] Compiling futures-sink v0.3.16 [INFO] [stderr] Compiling matches v0.1.8 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling version_check v0.9.3 [INFO] [stderr] Compiling typenum v1.13.0 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling futures-io v0.3.16 [INFO] [stderr] Compiling openssl v0.10.35 [INFO] [stderr] Compiling hashbrown v0.11.2 [INFO] [stderr] Compiling pin-utils v0.1.0 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Compiling slab v0.4.3 [INFO] [stderr] Compiling httparse v1.4.1 [INFO] [stderr] Compiling tinyvec_macros v0.1.0 [INFO] [stderr] Compiling foreign-types-shared v0.1.1 [INFO] [stderr] Compiling futures-channel v0.3.16 [INFO] [stderr] Compiling native-tls v0.2.7 [INFO] [stderr] Compiling base64 v0.13.0 [INFO] [stderr] Compiling percent-encoding v2.1.0 [INFO] [stderr] Compiling try-lock v0.2.3 [INFO] [stderr] Compiling openssl-probe v0.1.4 [INFO] [stderr] Compiling httpdate v1.0.1 [INFO] [stderr] Compiling tower-service v0.3.1 [INFO] [stderr] Compiling encoding_rs v0.8.28 [INFO] [stderr] Compiling serde_json v1.0.64 [INFO] [stderr] Compiling ppv-lite86 v0.2.10 [INFO] [stderr] Compiling cpufeatures v0.1.5 [INFO] [stderr] Compiling ipnet v2.3.1 [INFO] [stderr] Compiling mime v0.3.16 [INFO] [stderr] Compiling opaque-debug v0.3.0 [INFO] [stderr] Compiling arrayvec v0.5.2 [INFO] [stderr] Compiling foreign-types v0.3.2 [INFO] [stderr] Compiling tinyvec v1.3.1 [INFO] [stderr] Compiling unicode-bidi v0.3.5 [INFO] [stderr] Compiling tracing-core v0.1.18 [INFO] [stderr] Compiling form_urlencoded v1.0.1 [INFO] [stderr] Compiling http v0.2.4 [INFO] [stderr] Compiling tokio v1.9.0 [INFO] [stderr] Compiling futures-macro v0.3.16 [INFO] [stderr] Compiling futures-util v0.3.16 [INFO] [stderr] Compiling indexmap v1.7.0 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling generic-array v0.14.4 [INFO] [stderr] Compiling ring v0.16.20 [INFO] [stderr] Compiling openssl-sys v0.9.65 [INFO] [stderr] Compiling want v0.3.0 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Compiling unicode-normalization v0.1.19 [INFO] [stderr] Compiling mio v0.7.13 [INFO] [stderr] Compiling num_cpus v1.13.0 [INFO] [stderr] Compiling getrandom v0.2.3 [INFO] [stderr] Compiling socket2 v0.4.0 [INFO] [stderr] Compiling time v0.1.43 [INFO] [stderr] Compiling rand_core v0.6.3 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling digest v0.9.0 [INFO] [stderr] Compiling block-buffer v0.9.0 [INFO] [stderr] Compiling rand v0.8.4 [INFO] [stderr] Compiling sha2 v0.9.5 [INFO] [stderr] Compiling http-body v0.4.2 [INFO] [stderr] Compiling idna v0.2.3 [INFO] [stderr] Compiling webpki v0.21.4 [INFO] [stderr] Compiling sct v0.6.1 [INFO] [stderr] Compiling rustls v0.19.1 [INFO] [stderr] Compiling webpki-roots v0.21.1 [INFO] [stderr] Compiling tokio-macros v1.3.0 [INFO] [stderr] Compiling tracing-attributes v0.1.15 [INFO] [stderr] Compiling thiserror-impl v1.0.26 [INFO] [stderr] Compiling thiserror v1.0.26 [INFO] [stderr] Compiling tracing v0.1.26 [INFO] [stderr] Compiling tokio-util v0.6.7 [INFO] [stderr] Compiling tokio-rustls v0.22.0 [INFO] [stderr] Compiling tokio-native-tls v0.3.0 [INFO] [stderr] Compiling h2 v0.3.3 [INFO] [stderr] Compiling serde_urlencoded v0.7.0 [INFO] [stderr] Compiling url v2.2.2 [INFO] [stderr] Compiling chrono v0.4.19 [INFO] [stderr] Compiling serde_path_to_error v0.1.4 [INFO] [stderr] Compiling rust_decimal v1.15.0 [INFO] [stderr] Compiling uuid v0.8.2 [INFO] [stderr] Compiling hyper v0.14.11 [INFO] [stderr] Compiling hyper-rustls v0.22.1 [INFO] [stderr] Compiling reqwest v0.11.4 [INFO] [stderr] Compiling oauth2 v4.1.0 [INFO] [stderr] Compiling xero-rs v0.0.1-alpha.2 (/opt/rustwide/workdir) [INFO] [stdout] warning: field is never read: `error_number` [INFO] [stdout] --> src/error.rs:50:5 [INFO] [stdout] | [INFO] [stdout] 50 | error_number: u64, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] note: `Response` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/error.rs:47:10 [INFO] [stdout] | [INFO] [stdout] 47 | #[derive(Debug, Clone, Deserialize)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `message` [INFO] [stdout] --> src/error.rs:51:5 [INFO] [stdout] | [INFO] [stdout] 51 | message: String, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Response` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/error.rs:47:10 [INFO] [stdout] | [INFO] [stdout] 47 | #[derive(Debug, Clone, Deserialize)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `error` [INFO] [stdout] --> src/error.rs:53:5 [INFO] [stdout] | [INFO] [stdout] 53 | error: ErrorType, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Response` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/error.rs:47:10 [INFO] [stdout] | [INFO] [stdout] 47 | #[derive(Debug, Clone, Deserialize)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `type` [INFO] [stdout] --> src/error.rs:59:5 [INFO] [stdout] | [INFO] [stdout] 59 | r#type: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `ForbiddenResponse` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/error.rs:56:10 [INFO] [stdout] | [INFO] [stdout] 56 | #[derive(Debug, Clone, Deserialize)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `title` [INFO] [stdout] --> src/error.rs:60:5 [INFO] [stdout] | [INFO] [stdout] 60 | title: String, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `ForbiddenResponse` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/error.rs:56:10 [INFO] [stdout] | [INFO] [stdout] 56 | #[derive(Debug, Clone, Deserialize)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `status` [INFO] [stdout] --> src/error.rs:61:5 [INFO] [stdout] | [INFO] [stdout] 61 | status: u16, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `ForbiddenResponse` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/error.rs:56:10 [INFO] [stdout] | [INFO] [stdout] 56 | #[derive(Debug, Clone, Deserialize)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `detail` [INFO] [stdout] --> src/error.rs:62:5 [INFO] [stdout] | [INFO] [stdout] 62 | detail: String, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `ForbiddenResponse` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/error.rs:56:10 [INFO] [stdout] | [INFO] [stdout] 56 | #[derive(Debug, Clone, Deserialize)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `instance` [INFO] [stdout] --> src/error.rs:63:5 [INFO] [stdout] | [INFO] [stdout] 63 | instance: Uuid, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `ForbiddenResponse` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/error.rs:56:10 [INFO] [stdout] | [INFO] [stdout] 56 | #[derive(Debug, Clone, Deserialize)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `extensions` [INFO] [stdout] --> src/error.rs:64:5 [INFO] [stdout] | [INFO] [stdout] 64 | extensions: HashMap, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `ForbiddenResponse` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/error.rs:56:10 [INFO] [stdout] | [INFO] [stdout] 56 | #[derive(Debug, Clone, Deserialize)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 9 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 40.32s [INFO] running `Command { std: "docker" "inspect" "fe93c7a616cbc13e0389dc5a355a1aa17fed6666fdc25c930d68b432505aa498", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fe93c7a616cbc13e0389dc5a355a1aa17fed6666fdc25c930d68b432505aa498", kill_on_drop: false }` [INFO] [stdout] fe93c7a616cbc13e0389dc5a355a1aa17fed6666fdc25c930d68b432505aa498 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-83/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-83/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1b74e096b9bfb06f84a3007193dcd2f059cbdf6a" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 95ccba81893c63f1f280e88f6bda7156aa023296dabd89e175db6d21a9a747ec [INFO] running `Command { std: "docker" "start" "-a" "95ccba81893c63f1f280e88f6bda7156aa023296dabd89e175db6d21a9a747ec", kill_on_drop: false }` [INFO] [stderr] Compiling getrandom v0.1.16 [INFO] [stderr] Compiling regex-syntax v0.6.25 [INFO] [stderr] Compiling byteorder v1.4.3 [INFO] [stderr] Compiling safemem v0.3.3 [INFO] [stderr] Compiling utf-8 v0.7.6 [INFO] [stderr] Compiling remove_dir_all v0.5.3 [INFO] [stderr] Compiling anyhow v1.0.42 [INFO] [stderr] Compiling quick-error v1.2.3 [INFO] [stderr] Compiling scoped-tls v1.0.0 [INFO] [stderr] Compiling smallvec v1.6.1 [INFO] [stderr] Compiling ansi_term v0.12.1 [INFO] [stderr] Compiling unicase v2.6.0 [INFO] [stderr] Compiling input_buffer v0.4.0 [INFO] [stderr] Compiling thread_local v1.1.3 [INFO] [stderr] Compiling sharded-slab v0.1.1 [INFO] [stderr] Compiling headers-core v0.2.0 [INFO] [stderr] Compiling twoway v0.1.8 [INFO] [stderr] Compiling tracing-log v0.1.2 [INFO] [stderr] Compiling sha-1 v0.9.7 [INFO] [stderr] Compiling pin-project-internal v1.0.8 [INFO] [stderr] Compiling tracing-serde v0.1.2 [INFO] [stderr] Compiling tokio-stream v0.1.7 [INFO] [stderr] Compiling futures v0.3.16 [INFO] [stderr] Compiling rust_decimal_macros v1.15.0 [INFO] [stdout] warning: field is never read: `error_number` [INFO] [stdout] --> src/error.rs:50:5 [INFO] [stdout] | [INFO] [stdout] 50 | error_number: u64, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] note: `Response` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/error.rs:47:10 [INFO] [stdout] | [INFO] [stdout] 47 | #[derive(Debug, Clone, Deserialize)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `message` [INFO] [stdout] --> src/error.rs:51:5 [INFO] [stdout] | [INFO] [stdout] 51 | message: String, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Response` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/error.rs:47:10 [INFO] [stdout] | [INFO] [stdout] 47 | #[derive(Debug, Clone, Deserialize)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `error` [INFO] [stdout] --> src/error.rs:53:5 [INFO] [stdout] | [INFO] [stdout] 53 | error: ErrorType, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Response` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/error.rs:47:10 [INFO] [stdout] | [INFO] [stdout] 47 | #[derive(Debug, Clone, Deserialize)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `type` [INFO] [stdout] --> src/error.rs:59:5 [INFO] [stdout] | [INFO] [stdout] 59 | r#type: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `ForbiddenResponse` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/error.rs:56:10 [INFO] [stdout] | [INFO] [stdout] 56 | #[derive(Debug, Clone, Deserialize)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `title` [INFO] [stdout] --> src/error.rs:60:5 [INFO] [stdout] | [INFO] [stdout] 60 | title: String, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `ForbiddenResponse` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/error.rs:56:10 [INFO] [stdout] | [INFO] [stdout] 56 | #[derive(Debug, Clone, Deserialize)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `status` [INFO] [stdout] --> src/error.rs:61:5 [INFO] [stdout] | [INFO] [stdout] 61 | status: u16, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `ForbiddenResponse` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/error.rs:56:10 [INFO] [stdout] | [INFO] [stdout] 56 | #[derive(Debug, Clone, Deserialize)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `detail` [INFO] [stdout] --> src/error.rs:62:5 [INFO] [stdout] | [INFO] [stdout] 62 | detail: String, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `ForbiddenResponse` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/error.rs:56:10 [INFO] [stdout] | [INFO] [stdout] 56 | #[derive(Debug, Clone, Deserialize)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `instance` [INFO] [stdout] --> src/error.rs:63:5 [INFO] [stdout] | [INFO] [stdout] 63 | instance: Uuid, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `ForbiddenResponse` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/error.rs:56:10 [INFO] [stdout] | [INFO] [stdout] 56 | #[derive(Debug, Clone, Deserialize)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `extensions` [INFO] [stdout] --> src/error.rs:64:5 [INFO] [stdout] | [INFO] [stdout] 64 | extensions: HashMap, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `ForbiddenResponse` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/error.rs:56:10 [INFO] [stdout] | [INFO] [stdout] 56 | #[derive(Debug, Clone, Deserialize)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 9 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling buf_redux v0.8.4 [INFO] [stderr] Compiling tempfile v3.2.0 [INFO] [stderr] Compiling headers v0.3.4 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling mime_guess v2.0.3 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling tungstenite v0.12.0 [INFO] [stderr] Compiling pin-project v1.0.8 [INFO] [stderr] Compiling regex-automata v0.1.10 [INFO] [stderr] Compiling regex v1.5.4 [INFO] [stderr] Compiling tokio-tungstenite v0.13.0 [INFO] [stderr] Compiling matchers v0.0.1 [INFO] [stderr] Compiling multipart v0.17.1 [INFO] [stderr] Compiling tracing-subscriber v0.2.19 [INFO] [stderr] Compiling warp v0.3.1 [INFO] [stderr] Compiling xero-rs v0.0.1-alpha.2 (/opt/rustwide/workdir) [INFO] [stdout] warning: field is never read: `error_number` [INFO] [stdout] --> src/error.rs:50:5 [INFO] [stdout] | [INFO] [stdout] 50 | error_number: u64, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] note: `Response` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/error.rs:47:10 [INFO] [stdout] | [INFO] [stdout] 47 | #[derive(Debug, Clone, Deserialize)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `message` [INFO] [stdout] --> src/error.rs:51:5 [INFO] [stdout] | [INFO] [stdout] 51 | message: String, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Response` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/error.rs:47:10 [INFO] [stdout] | [INFO] [stdout] 47 | #[derive(Debug, Clone, Deserialize)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `error` [INFO] [stdout] --> src/error.rs:53:5 [INFO] [stdout] | [INFO] [stdout] 53 | error: ErrorType, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Response` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/error.rs:47:10 [INFO] [stdout] | [INFO] [stdout] 47 | #[derive(Debug, Clone, Deserialize)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `type` [INFO] [stdout] --> src/error.rs:59:5 [INFO] [stdout] | [INFO] [stdout] 59 | r#type: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `ForbiddenResponse` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/error.rs:56:10 [INFO] [stdout] | [INFO] [stdout] 56 | #[derive(Debug, Clone, Deserialize)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `title` [INFO] [stdout] --> src/error.rs:60:5 [INFO] [stdout] | [INFO] [stdout] 60 | title: String, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `ForbiddenResponse` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/error.rs:56:10 [INFO] [stdout] | [INFO] [stdout] 56 | #[derive(Debug, Clone, Deserialize)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `status` [INFO] [stdout] --> src/error.rs:61:5 [INFO] [stdout] | [INFO] [stdout] 61 | status: u16, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `ForbiddenResponse` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/error.rs:56:10 [INFO] [stdout] | [INFO] [stdout] 56 | #[derive(Debug, Clone, Deserialize)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `detail` [INFO] [stdout] --> src/error.rs:62:5 [INFO] [stdout] | [INFO] [stdout] 62 | detail: String, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `ForbiddenResponse` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/error.rs:56:10 [INFO] [stdout] | [INFO] [stdout] 56 | #[derive(Debug, Clone, Deserialize)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `instance` [INFO] [stdout] --> src/error.rs:63:5 [INFO] [stdout] | [INFO] [stdout] 63 | instance: Uuid, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `ForbiddenResponse` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/error.rs:56:10 [INFO] [stdout] | [INFO] [stdout] 56 | #[derive(Debug, Clone, Deserialize)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `extensions` [INFO] [stdout] --> src/error.rs:64:5 [INFO] [stdout] | [INFO] [stdout] 64 | extensions: HashMap, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `ForbiddenResponse` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/error.rs:56:10 [INFO] [stdout] | [INFO] [stdout] 56 | #[derive(Debug, Clone, Deserialize)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 9 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 38.80s [INFO] [stderr] Executable unittests src/lib.rs (/opt/rustwide/target/debug/deps/xero_rs-13350b0517f2bf6a) [INFO] [stderr] Executable tests/authorize.rs (/opt/rustwide/target/debug/deps/authorize-601416ba58f7c3d9) [INFO] [stderr] Executable tests/contact.rs (/opt/rustwide/target/debug/deps/contact-893002b34425b684) [INFO] [stderr] Executable tests/invoice.rs (/opt/rustwide/target/debug/deps/invoice-68327885b5668a8a) [INFO] [stderr] Executable tests/purchase_order.rs (/opt/rustwide/target/debug/deps/purchase_order-62c325b3d0fcdd53) [INFO] [stderr] Executable tests/quote.rs (/opt/rustwide/target/debug/deps/quote-ea3be1c348ed098a) [INFO] running `Command { std: "docker" "inspect" "95ccba81893c63f1f280e88f6bda7156aa023296dabd89e175db6d21a9a747ec", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "95ccba81893c63f1f280e88f6bda7156aa023296dabd89e175db6d21a9a747ec", kill_on_drop: false }` [INFO] [stdout] 95ccba81893c63f1f280e88f6bda7156aa023296dabd89e175db6d21a9a747ec [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-83/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-83/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1b74e096b9bfb06f84a3007193dcd2f059cbdf6a" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 78e758cd38615eecd0c2851595f2e8bd4a5423dfd86fbd1c314b00c5e6db7041 [INFO] running `Command { std: "docker" "start" "-a" "78e758cd38615eecd0c2851595f2e8bd4a5423dfd86fbd1c314b00c5e6db7041", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stdout] [INFO] [stderr] warning: field is never read: `error_number` [INFO] [stdout] running 0 tests [INFO] [stderr] --> src/error.rs:50:5 [INFO] [stdout] [INFO] [stderr] | [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stderr] 50 | error_number: u64, [INFO] [stdout] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stderr] | [INFO] [stdout] running 1 test [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] note: `Response` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] --> src/error.rs:47:10 [INFO] [stderr] | [INFO] [stderr] 47 | #[derive(Debug, Clone, Deserialize)] [INFO] [stderr] | ^^^^^ ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: field is never read: `message` [INFO] [stderr] --> src/error.rs:51:5 [INFO] [stderr] | [INFO] [stderr] 51 | message: String, [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `Response` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] --> src/error.rs:47:10 [INFO] [stderr] | [INFO] [stderr] 47 | #[derive(Debug, Clone, Deserialize)] [INFO] [stderr] | ^^^^^ ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: field is never read: `error` [INFO] [stderr] --> src/error.rs:53:5 [INFO] [stderr] | [INFO] [stderr] 53 | error: ErrorType, [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `Response` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] --> src/error.rs:47:10 [INFO] [stderr] | [INFO] [stderr] 47 | #[derive(Debug, Clone, Deserialize)] [INFO] [stderr] | ^^^^^ ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: field is never read: `type` [INFO] [stderr] --> src/error.rs:59:5 [INFO] [stderr] | [INFO] [stderr] 59 | r#type: Option, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `ForbiddenResponse` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] --> src/error.rs:56:10 [INFO] [stderr] | [INFO] [stderr] 56 | #[derive(Debug, Clone, Deserialize)] [INFO] [stderr] | ^^^^^ ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: field is never read: `title` [INFO] [stderr] --> src/error.rs:60:5 [INFO] [stderr] | [INFO] [stderr] 60 | title: String, [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `ForbiddenResponse` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] --> src/error.rs:56:10 [INFO] [stderr] | [INFO] [stderr] 56 | #[derive(Debug, Clone, Deserialize)] [INFO] [stderr] | ^^^^^ ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: field is never read: `status` [INFO] [stderr] --> src/error.rs:61:5 [INFO] [stderr] | [INFO] [stderr] 61 | status: u16, [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `ForbiddenResponse` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] --> src/error.rs:56:10 [INFO] [stderr] | [INFO] [stderr] 56 | #[derive(Debug, Clone, Deserialize)] [INFO] [stderr] | ^^^^^ ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: field is never read: `detail` [INFO] [stderr] --> src/error.rs:62:5 [INFO] [stderr] | [INFO] [stderr] 62 | detail: String, [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `ForbiddenResponse` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] --> src/error.rs:56:10 [INFO] [stderr] | [INFO] [stderr] 56 | #[derive(Debug, Clone, Deserialize)] [INFO] [stderr] | ^^^^^ ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: field is never read: `instance` [INFO] [stderr] --> src/error.rs:63:5 [INFO] [stderr] | [INFO] [stderr] 63 | instance: Uuid, [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `ForbiddenResponse` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] --> src/error.rs:56:10 [INFO] [stderr] | [INFO] [stderr] 56 | #[derive(Debug, Clone, Deserialize)] [INFO] [stderr] | ^^^^^ ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: field is never read: `extensions` [INFO] [stderr] --> src/error.rs:64:5 [INFO] [stderr] | [INFO] [stderr] 64 | extensions: HashMap, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `ForbiddenResponse` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] --> src/error.rs:56:10 [INFO] [stderr] | [INFO] [stderr] 56 | #[derive(Debug, Clone, Deserialize)] [INFO] [stderr] | ^^^^^ ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: `xero-rs` (lib) generated 9 warnings [INFO] [stderr] warning: `xero-rs` (lib test) generated 9 warnings (9 duplicates) [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.97s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/xero_rs-13350b0517f2bf6a) [INFO] [stderr] Running tests/authorize.rs (/opt/rustwide/target/debug/deps/authorize-601416ba58f7c3d9) [INFO] [stdout] test authorize_client ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- authorize_client stdout ---- [INFO] [stdout] thread 'authorize_client' panicked at 'XERO_CLIENT_ID not set: NotPresent', src/oauth.rs:35:67 [INFO] [stdout] stack backtrace: [INFO] [stdout] 0: 0x5571fe01c8cd - std::backtrace_rs::backtrace::libunwind::trace::hf368f6ec047d835e [INFO] [stdout] at /rustc/1b74e096b9bfb06f84a3007193dcd2f059cbdf6a/library/std/src/../../backtrace/src/backtrace/libunwind.rs:93:5 [INFO] [stdout] 1: 0x5571fe01c8cd - std::backtrace_rs::backtrace::trace_unsynchronized::h5deaa62eab82df22 [INFO] [stdout] at /rustc/1b74e096b9bfb06f84a3007193dcd2f059cbdf6a/library/std/src/../../backtrace/src/backtrace/mod.rs:66:5 [INFO] [stdout] 2: 0x5571fe01c8cd - std::sys_common::backtrace::_print_fmt::h5a1c3a24a936a045 [INFO] [stdout] at /rustc/1b74e096b9bfb06f84a3007193dcd2f059cbdf6a/library/std/src/sys_common/backtrace.rs:66:5 [INFO] [stdout] 3: 0x5571fe01c8cd - ::fmt::h0219f75f359b565d [INFO] [stdout] at /rustc/1b74e096b9bfb06f84a3007193dcd2f059cbdf6a/library/std/src/sys_common/backtrace.rs:45:22 [INFO] [stdout] 4: 0x5571fe04153c - core::fmt::write::hf0ed2ae6b5ba2d7d [INFO] [stdout] at /rustc/1b74e096b9bfb06f84a3007193dcd2f059cbdf6a/library/core/src/fmt/mod.rs:1194:17 [INFO] [stdout] 5: 0x5571fe0161e1 - std::io::Write::write_fmt::h38d43b38044a5699 [INFO] [stdout] at /rustc/1b74e096b9bfb06f84a3007193dcd2f059cbdf6a/library/std/src/io/mod.rs:1655:15 [INFO] [stdout] 6: 0x5571fe01e3e5 - std::sys_common::backtrace::_print::h733b600962ba33ce [INFO] [stdout] at /rustc/1b74e096b9bfb06f84a3007193dcd2f059cbdf6a/library/std/src/sys_common/backtrace.rs:48:5 [INFO] [stdout] 7: 0x5571fe01e3e5 - std::sys_common::backtrace::print::h5dc0fa0616f7d4bf [INFO] [stdout] at /rustc/1b74e096b9bfb06f84a3007193dcd2f059cbdf6a/library/std/src/sys_common/backtrace.rs:35:9 [INFO] [stdout] 8: 0x5571fe01e3e5 - std::panicking::default_hook::{{closure}}::h3151cab60fd16f06 [INFO] [stdout] at /rustc/1b74e096b9bfb06f84a3007193dcd2f059cbdf6a/library/std/src/panicking.rs:295:22 [INFO] [stdout] 9: 0x5571fe01e090 - std::panicking::default_hook::ha44b338b782f641e [INFO] [stdout] at /rustc/1b74e096b9bfb06f84a3007193dcd2f059cbdf6a/library/std/src/panicking.rs:311:9 [INFO] [stdout] 10: 0x5571fe01eac8 - std::panicking::rust_panic_with_hook::hddbb61d11ae83bc7 [INFO] [stdout] at /rustc/1b74e096b9bfb06f84a3007193dcd2f059cbdf6a/library/std/src/panicking.rs:698:17 [INFO] [stdout] 11: 0x5571fe01e977 - std::panicking::begin_panic_handler::{{closure}}::ha90ba42a51d96fb7 [INFO] [stdout] at /rustc/1b74e096b9bfb06f84a3007193dcd2f059cbdf6a/library/std/src/panicking.rs:588:13 [INFO] [stdout] 12: 0x5571fe01cd84 - std::sys_common::backtrace::__rust_end_short_backtrace::hb2f712e9f2c19288 [INFO] [stdout] at /rustc/1b74e096b9bfb06f84a3007193dcd2f059cbdf6a/library/std/src/sys_common/backtrace.rs:138:18 [INFO] [stdout] 13: 0x5571fe01e6a9 - rust_begin_unwind [INFO] [stdout] at /rustc/1b74e096b9bfb06f84a3007193dcd2f059cbdf6a/library/std/src/panicking.rs:584:5 [INFO] [stdout] 14: 0x5571fe03fb93 - core::panicking::panic_fmt::ha7e9b4e73b08c9d5 [INFO] [stdout] at /rustc/1b74e096b9bfb06f84a3007193dcd2f059cbdf6a/library/core/src/panicking.rs:142:14 [INFO] [stdout] 15: 0x5571fe03fe43 - core::result::unwrap_failed::hddfa661a0339e8e8 [INFO] [stdout] at /rustc/1b74e096b9bfb06f84a3007193dcd2f059cbdf6a/library/core/src/result.rs:1785:5 [INFO] [stdout] 16: 0x5571fd95ea7e - core::result::Result::expect::hfda534563a1f0005 [INFO] [stdout] at /rustc/1b74e096b9bfb06f84a3007193dcd2f059cbdf6a/library/core/src/result.rs:1035:23 [INFO] [stdout] 17: 0x5571fd95bedb - xero_rs::oauth::KeyPair::from_env::h06f58b4a05a04867 [INFO] [stdout] at /opt/rustwide/workdir/src/oauth.rs:35:35 [INFO] [stdout] 18: 0x5571fd8ae265 - authorize::authorize_client::{{closure}}::h71eaf853955c4021 [INFO] [stdout] at /opt/rustwide/workdir/tests/authorize.rs:10:59 [INFO] [stdout] 19: 0x5571fd8a7d69 - as core::future::future::Future>::poll::hb4017847287178f9 [INFO] [stdout] at /rustc/1b74e096b9bfb06f84a3007193dcd2f059cbdf6a/library/core/src/future/mod.rs:91:19 [INFO] [stdout] 20: 0x5571fd88746a - as core::future::future::Future>::poll::hb9fbadaec0843488 [INFO] [stdout] at /rustc/1b74e096b9bfb06f84a3007193dcd2f059cbdf6a/library/core/src/future/future.rs:124:9 [INFO] [stdout] 21: 0x5571fd8b2bc0 - tokio::runtime::basic_scheduler::Inner

::block_on::{{closure}}::{{closure}}::hf6dee845804af058 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/tokio-1.9.0/src/runtime/basic_scheduler.rs:208:62 [INFO] [stdout] 22: 0x5571fd8b1cb9 - tokio::coop::with_budget::{{closure}}::h004621e08dd5a054 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/tokio-1.9.0/src/coop.rs:106:9 [INFO] [stdout] 23: 0x5571fd882c48 - std::thread::local::LocalKey::try_with::h43a29307f2124fa4 [INFO] [stdout] at /rustc/1b74e096b9bfb06f84a3007193dcd2f059cbdf6a/library/std/src/thread/local.rs:443:16 [INFO] [stdout] 24: 0x5571fd882afd - std::thread::local::LocalKey::with::ha97454ece746feb9 [INFO] [stdout] at /rustc/1b74e096b9bfb06f84a3007193dcd2f059cbdf6a/library/std/src/thread/local.rs:419:9 [INFO] [stdout] 25: 0x5571fd8b2540 - tokio::coop::with_budget::hc2f66389a9451cff [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/tokio-1.9.0/src/coop.rs:99:5 [INFO] [stdout] 26: 0x5571fd8b2540 - tokio::coop::budget::h9b75680192785132 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/tokio-1.9.0/src/coop.rs:76:5 [INFO] [stdout] 27: 0x5571fd8b2540 - tokio::runtime::basic_scheduler::Inner

::block_on::{{closure}}::h6fb98284fc97bbf4 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/tokio-1.9.0/src/runtime/basic_scheduler.rs:208:39 [INFO] [stdout] 28: 0x5571fd8b3541 - tokio::runtime::basic_scheduler::enter::{{closure}}::hc61d4cc2ed69eeca [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/tokio-1.9.0/src/runtime/basic_scheduler.rs:299:29 [INFO] [stdout] 29: 0x5571fd886a67 - tokio::macros::scoped_tls::ScopedKey::set::h0bac19ad79851c18 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/tokio-1.9.0/src/macros/scoped_tls.rs:61:9 [INFO] [stdout] 30: 0x5571fd8b34bd - tokio::runtime::basic_scheduler::enter::h21759d41252c0425 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/tokio-1.9.0/src/runtime/basic_scheduler.rs:299:5 [INFO] [stdout] 31: 0x5571fd8b21bd - tokio::runtime::basic_scheduler::Inner

::block_on::hbf6a2eb8211e1186 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/tokio-1.9.0/src/runtime/basic_scheduler.rs:197:9 [INFO] [stdout] 32: 0x5571fd8b2c56 - tokio::runtime::basic_scheduler::InnerGuard

::block_on::hf8d7eeb4099b4962 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/tokio-1.9.0/src/runtime/basic_scheduler.rs:452:9 [INFO] [stdout] 33: 0x5571fd8b2d5c - tokio::runtime::basic_scheduler::BasicScheduler

::block_on::h3f3772059751afca [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/tokio-1.9.0/src/runtime/basic_scheduler.rs:157:24 [INFO] [stdout] 34: 0x5571fd895776 - tokio::runtime::Runtime::block_on::he0083ac17e7c855c [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/tokio-1.9.0/src/runtime/mod.rs:450:46 [INFO] [stdout] 35: 0x5571fd8ae05c - authorize::authorize_client::h4bf5de4157883d18 [INFO] [stdout] at /opt/rustwide/workdir/tests/authorize.rs:14:5 [INFO] [stdout] 36: 0x5571fd8adf3e - authorize::authorize_client::{{closure}}::hd543bc6bfab75e58 [INFO] [stdout] at /opt/rustwide/workdir/tests/authorize.rs:8:7 [INFO] [stdout] 37: 0x5571fd8a876e - core::ops::function::FnOnce::call_once::hc1e26e21009da20c [INFO] [stdout] at /rustc/1b74e096b9bfb06f84a3007193dcd2f059cbdf6a/library/core/src/ops/function.rs:248:5 [INFO] [stdout] 38: 0x5571fd955763 - core::ops::function::FnOnce::call_once::h0dfe20f12b77bab0 [INFO] [stdout] at /rustc/1b74e096b9bfb06f84a3007193dcd2f059cbdf6a/library/core/src/ops/function.rs:248:5 [INFO] [stdout] 39: 0x5571fd955763 - test::__rust_begin_short_backtrace::h621e75342c56b813 [INFO] [stdout] at /rustc/1b74e096b9bfb06f84a3007193dcd2f059cbdf6a/library/test/src/lib.rs:573:5 [INFO] [stdout] 40: 0x5571fd95450a - as core::ops::function::FnOnce>::call_once::ha960722220d3e4e3 [INFO] [stdout] at /rustc/1b74e096b9bfb06f84a3007193dcd2f059cbdf6a/library/alloc/src/boxed.rs:1866:9 [INFO] [stdout] 41: 0x5571fd95450a - as core::ops::function::FnOnce<()>>::call_once::h8d4f52e2b0282cfb [INFO] [stdout] at /rustc/1b74e096b9bfb06f84a3007193dcd2f059cbdf6a/library/core/src/panic/unwind_safe.rs:271:9 [INFO] [stdout] 42: 0x5571fd95450a - std::panicking::try::do_call::h482ae3b09291596d [INFO] [stdout] at /rustc/1b74e096b9bfb06f84a3007193dcd2f059cbdf6a/library/std/src/panicking.rs:492:40 [INFO] [stdout] 43: 0x5571fd95450a - std::panicking::try::h2ddddb26c086954d [INFO] [stdout] at /rustc/1b74e096b9bfb06f84a3007193dcd2f059cbdf6a/library/std/src/panicking.rs:456:19 [INFO] [stdout] 44: 0x5571fd95450a - std::panic::catch_unwind::h743b0e27e7a9c139 [INFO] [stdout] at /rustc/1b74e096b9bfb06f84a3007193dcd2f059cbdf6a/library/std/src/panic.rs:137:14 [INFO] [stdout] 45: 0x5571fd95450a - test::run_test_in_process::ha7740d79e504cc37 [INFO] [stdout] at /rustc/1b74e096b9bfb06f84a3007193dcd2f059cbdf6a/library/test/src/lib.rs:596:18 [INFO] [stdout] 46: 0x5571fd95450a - test::run_test::run_test_inner::{{closure}}::h8418baf60f7a06c4 [INFO] [stdout] at /rustc/1b74e096b9bfb06f84a3007193dcd2f059cbdf6a/library/test/src/lib.rs:490:39 [INFO] [stdout] 47: 0x5571fd91ecbd - test::run_test::run_test_inner::{{closure}}::h0beb35daaa80ec66 [INFO] [stdout] at /rustc/1b74e096b9bfb06f84a3007193dcd2f059cbdf6a/library/test/src/lib.rs:517:37 [INFO] [stdout] 48: 0x5571fd91ecbd - std::sys_common::backtrace::__rust_begin_short_backtrace::hb005f1ebb9b3ac0b [INFO] [stdout] at /rustc/1b74e096b9bfb06f84a3007193dcd2f059cbdf6a/library/std/src/sys_common/backtrace.rs:122:18 [INFO] [stdout] 49: 0x5571fd9247b8 - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::h496c50f972d6dc0f [INFO] [stdout] at /rustc/1b74e096b9bfb06f84a3007193dcd2f059cbdf6a/library/std/src/thread/mod.rs:498:17 [INFO] [stdout] 50: 0x5571fd9247b8 - as core::ops::function::FnOnce<()>>::call_once::ha5b8911111f511ea [INFO] [stdout] at /rustc/1b74e096b9bfb06f84a3007193dcd2f059cbdf6a/library/core/src/panic/unwind_safe.rs:271:9 [INFO] [stdout] 51: 0x5571fd9247b8 - std::panicking::try::do_call::h084ed94d88677037 [INFO] [stdout] at /rustc/1b74e096b9bfb06f84a3007193dcd2f059cbdf6a/library/std/src/panicking.rs:492:40 [INFO] [stdout] 52: 0x5571fd9247b8 - std::panicking::try::h013a823fb6061e50 [INFO] [stdout] at /rustc/1b74e096b9bfb06f84a3007193dcd2f059cbdf6a/library/std/src/panicking.rs:456:19 [INFO] [stdout] 53: 0x5571fd9247b8 - std::panic::catch_unwind::h041e5fbe96cdc85b [INFO] [stdout] at /rustc/1b74e096b9bfb06f84a3007193dcd2f059cbdf6a/library/std/src/panic.rs:137:14 [INFO] [stdout] 54: 0x5571fd9247b8 - std::thread::Builder::spawn_unchecked_::{{closure}}::h24aad6f3231b4f43 [INFO] [stdout] at /rustc/1b74e096b9bfb06f84a3007193dcd2f059cbdf6a/library/std/src/thread/mod.rs:497:30 [INFO] [stdout] 55: 0x5571fd9247b8 - core::ops::function::FnOnce::call_once{{vtable.shim}}::h88f4642fdc208aab [INFO] [stdout] at /rustc/1b74e096b9bfb06f84a3007193dcd2f059cbdf6a/library/core/src/ops/function.rs:248:5 [INFO] [stdout] 56: 0x5571fe0236b3 - as core::ops::function::FnOnce>::call_once::h21f4f903d484bbf8 [INFO] [stdout] at /rustc/1b74e096b9bfb06f84a3007193dcd2f059cbdf6a/library/alloc/src/boxed.rs:1866:9 [INFO] [stdout] 57: 0x5571fe0236b3 - as core::ops::function::FnOnce>::call_once::h88143291d50223e5 [INFO] [stdout] at /rustc/1b74e096b9bfb06f84a3007193dcd2f059cbdf6a/library/alloc/src/boxed.rs:1866:9 [INFO] [stdout] 58: 0x5571fe0236b3 - std::sys::unix::thread::Thread::new::thread_start::h21cad75f6abb068a [INFO] [stdout] at /rustc/1b74e096b9bfb06f84a3007193dcd2f059cbdf6a/library/std/src/sys/unix/thread.rs:108:17 [INFO] [stdout] 59: 0x7fe1c10fe609 - start_thread [INFO] [stdout] 60: 0x7fe1c0ece163 - clone [INFO] [stdout] 61: 0x0 - [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] authorize_client [INFO] [stdout] [INFO] [stdout] test result: FAILED. 0 passed; 1 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.05s [INFO] [stdout] [INFO] [stderr] error: test failed, to rerun pass '--test authorize' [INFO] running `Command { std: "docker" "inspect" "78e758cd38615eecd0c2851595f2e8bd4a5423dfd86fbd1c314b00c5e6db7041", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "78e758cd38615eecd0c2851595f2e8bd4a5423dfd86fbd1c314b00c5e6db7041", kill_on_drop: false }` [INFO] [stdout] 78e758cd38615eecd0c2851595f2e8bd4a5423dfd86fbd1c314b00c5e6db7041