[INFO] fetching crate use-github-api 0.2.0... [INFO] testing use-github-api-0.2.0 against beta-2022-04-10 for beta-1.61-1 [INFO] extracting crate use-github-api 0.2.0 into /workspace/builds/worker-4/source [INFO] validating manifest of crates.io crate use-github-api 0.2.0 on toolchain beta-2022-04-10 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate use-github-api 0.2.0 [INFO] finished tweaking crates.io crate use-github-api 0.2.0 [INFO] tweaked toml for crates.io crate use-github-api 0.2.0 written to /workspace/builds/worker-4/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "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" "+beta-2022-04-10" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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" "+beta-2022-04-10" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 18445796b1302a53b49851df9b6f6681a422524ed61597f39f9ab6a452e8c5d9 [INFO] running `Command { std: "docker" "start" "-a" "18445796b1302a53b49851df9b6f6681a422524ed61597f39f9ab6a452e8c5d9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "18445796b1302a53b49851df9b6f6681a422524ed61597f39f9ab6a452e8c5d9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "18445796b1302a53b49851df9b6f6681a422524ed61597f39f9ab6a452e8c5d9", kill_on_drop: false }` [INFO] [stdout] 18445796b1302a53b49851df9b6f6681a422524ed61597f39f9ab6a452e8c5d9 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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=warn" "-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" "+beta-2022-04-10" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] bea6846fd2d1b21736d8ef2f78d6329f0edf7191b9b3d606be2f77b1d7673709 [INFO] running `Command { std: "docker" "start" "-a" "bea6846fd2d1b21736d8ef2f78d6329f0edf7191b9b3d606be2f77b1d7673709", kill_on_drop: false }` [INFO] [stderr] Compiling tokio v1.17.0 [INFO] [stderr] Compiling chrono v0.4.19 [INFO] [stderr] Compiling tokio-util v0.7.1 [INFO] [stderr] Compiling tokio-native-tls v0.3.0 [INFO] [stderr] Compiling h2 v0.3.13 [INFO] [stderr] Compiling hyper v0.14.18 [INFO] [stderr] Compiling hyper-tls v0.5.0 [INFO] [stderr] Compiling reqwest v0.11.10 [INFO] [stderr] Compiling use-github-api v0.2.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: field is never read: `auth_token` [INFO] [stdout] --> src/client/mod.rs:36:5 [INFO] [stdout] | [INFO] [stdout] 36 | auth_token: &'a str, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] note: `GithubClient` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/client/mod.rs:30:10 [INFO] [stdout] | [INFO] [stdout] 30 | #[derive(Debug)] [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: `default_headers` [INFO] [stdout] --> src/client/mod.rs:37:5 [INFO] [stdout] | [INFO] [stdout] 37 | pub(crate) default_headers: HeaderMap, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `GithubClient` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/client/mod.rs:30:10 [INFO] [stdout] | [INFO] [stdout] 30 | #[derive(Debug)] [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: `user_agent` [INFO] [stdout] --> src/client/mod.rs:38:5 [INFO] [stdout] | [INFO] [stdout] 38 | user_agent: &'a str, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `GithubClient` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/client/mod.rs:30:10 [INFO] [stdout] | [INFO] [stdout] 30 | #[derive(Debug)] [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: `name` [INFO] [stdout] --> src/schema.rs:89:13 [INFO] [stdout] | [INFO] [stdout] 89 | name: String, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Plan` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/schema.rs:87:18 [INFO] [stdout] | [INFO] [stdout] 87 | #[derive(Debug, serde::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: `space` [INFO] [stdout] --> src/schema.rs:90:13 [INFO] [stdout] | [INFO] [stdout] 90 | space: usize, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Plan` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/schema.rs:87:18 [INFO] [stdout] | [INFO] [stdout] 87 | #[derive(Debug, serde::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: `collaborators` [INFO] [stdout] --> src/schema.rs:91:13 [INFO] [stdout] | [INFO] [stdout] 91 | collaborators: usize, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Plan` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/schema.rs:87:18 [INFO] [stdout] | [INFO] [stdout] 87 | #[derive(Debug, serde::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: `private_repos` [INFO] [stdout] --> src/schema.rs:92:13 [INFO] [stdout] | [INFO] [stdout] 92 | private_repos: usize, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Plan` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/schema.rs:87:18 [INFO] [stdout] | [INFO] [stdout] 87 | #[derive(Debug, serde::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: 7 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 11.15s [INFO] running `Command { std: "docker" "inspect" "bea6846fd2d1b21736d8ef2f78d6329f0edf7191b9b3d606be2f77b1d7673709", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bea6846fd2d1b21736d8ef2f78d6329f0edf7191b9b3d606be2f77b1d7673709", kill_on_drop: false }` [INFO] [stdout] bea6846fd2d1b21736d8ef2f78d6329f0edf7191b9b3d606be2f77b1d7673709 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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=warn" "-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" "+beta-2022-04-10" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b19b10c324c4df43559565eb75a17386ce2f387adc33d73641c43015eab7600d [INFO] running `Command { std: "docker" "start" "-a" "b19b10c324c4df43559565eb75a17386ce2f387adc33d73641c43015eab7600d", 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] [stdout] warning: field is never read: `auth_token` [INFO] [stdout] --> src/client/mod.rs:36:5 [INFO] [stdout] | [INFO] [stdout] 36 | auth_token: &'a str, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] note: `GithubClient` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/client/mod.rs:30:10 [INFO] [stdout] | [INFO] [stdout] 30 | #[derive(Debug)] [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: `default_headers` [INFO] [stdout] --> src/client/mod.rs:37:5 [INFO] [stdout] | [INFO] [stdout] 37 | pub(crate) default_headers: HeaderMap, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `GithubClient` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/client/mod.rs:30:10 [INFO] [stdout] | [INFO] [stdout] 30 | #[derive(Debug)] [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: `user_agent` [INFO] [stdout] --> src/client/mod.rs:38:5 [INFO] [stdout] | [INFO] [stdout] 38 | user_agent: &'a str, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `GithubClient` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/client/mod.rs:30:10 [INFO] [stdout] | [INFO] [stdout] 30 | #[derive(Debug)] [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] [stderr] Compiling use-github-api v0.2.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: field is never read: `name` [INFO] [stdout] --> src/schema.rs:89:13 [INFO] [stdout] | [INFO] [stdout] 89 | name: String, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Plan` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/schema.rs:87:18 [INFO] [stdout] | [INFO] [stdout] 87 | #[derive(Debug, serde::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: `space` [INFO] [stdout] --> src/schema.rs:90:13 [INFO] [stdout] | [INFO] [stdout] 90 | space: usize, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Plan` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/schema.rs:87:18 [INFO] [stdout] | [INFO] [stdout] 87 | #[derive(Debug, serde::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: `collaborators` [INFO] [stdout] --> src/schema.rs:91:13 [INFO] [stdout] | [INFO] [stdout] 91 | collaborators: usize, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Plan` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/schema.rs:87:18 [INFO] [stdout] | [INFO] [stdout] 87 | #[derive(Debug, serde::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: `private_repos` [INFO] [stdout] --> src/schema.rs:92:13 [INFO] [stdout] | [INFO] [stdout] 92 | private_repos: usize, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Plan` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/schema.rs:87:18 [INFO] [stdout] | [INFO] [stdout] 87 | #[derive(Debug, serde::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: 7 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `base_url` [INFO] [stdout] --> src/client/mod.rs:33:5 [INFO] [stdout] | [INFO] [stdout] 33 | pub(crate) base_url: &'a str, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] note: `GithubClient` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/client/mod.rs:30:10 [INFO] [stdout] | [INFO] [stdout] 30 | #[derive(Debug)] [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: `reqwest_client` [INFO] [stdout] --> src/client/mod.rs:34:5 [INFO] [stdout] | [INFO] [stdout] 34 | pub(crate) reqwest_client: Client, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `GithubClient` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/client/mod.rs:30:10 [INFO] [stdout] | [INFO] [stdout] 30 | #[derive(Debug)] [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: `name` [INFO] [stdout] --> src/schema.rs:89:13 [INFO] [stdout] | [INFO] [stdout] 89 | name: String, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Plan` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/schema.rs:87:18 [INFO] [stdout] | [INFO] [stdout] 87 | #[derive(Debug, serde::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: `space` [INFO] [stdout] --> src/schema.rs:90:13 [INFO] [stdout] | [INFO] [stdout] 90 | space: usize, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Plan` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/schema.rs:87:18 [INFO] [stdout] | [INFO] [stdout] 87 | #[derive(Debug, serde::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: `collaborators` [INFO] [stdout] --> src/schema.rs:91:13 [INFO] [stdout] | [INFO] [stdout] 91 | collaborators: usize, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Plan` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/schema.rs:87:18 [INFO] [stdout] | [INFO] [stdout] 87 | #[derive(Debug, serde::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: `private_repos` [INFO] [stdout] --> src/schema.rs:92:13 [INFO] [stdout] | [INFO] [stdout] 92 | private_repos: usize, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Plan` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/schema.rs:87:18 [INFO] [stdout] | [INFO] [stdout] 87 | #[derive(Debug, serde::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: 6 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 3.17s [INFO] [stderr] Executable unittests src/lib.rs (/opt/rustwide/target/debug/deps/use_github_api-80d051e595dc6aec) [INFO] running `Command { std: "docker" "inspect" "b19b10c324c4df43559565eb75a17386ce2f387adc33d73641c43015eab7600d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b19b10c324c4df43559565eb75a17386ce2f387adc33d73641c43015eab7600d", kill_on_drop: false }` [INFO] [stdout] b19b10c324c4df43559565eb75a17386ce2f387adc33d73641c43015eab7600d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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=warn" "-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" "+beta-2022-04-10" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] dc041b46eb40254042436de4201e67366aadce835f48ab9cfb81b0d0934891c9 [INFO] running `Command { std: "docker" "start" "-a" "dc041b46eb40254042436de4201e67366aadce835f48ab9cfb81b0d0934891c9", kill_on_drop: false }` [INFO] [stderr] warning: field is never read: `auth_token` [INFO] [stderr] --> src/client/mod.rs:36:5 [INFO] [stderr] | [INFO] [stderr] 36 | auth_token: &'a str, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] note: `GithubClient` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/client/mod.rs:30:10 [INFO] [stderr] | [INFO] [stderr] 30 | #[derive(Debug)] [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: `default_headers` [INFO] [stderr] --> src/client/mod.rs:37:5 [INFO] [stderr] | [INFO] [stderr] 37 | pub(crate) default_headers: HeaderMap, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `GithubClient` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/client/mod.rs:30:10 [INFO] [stderr] | [INFO] [stderr] 30 | #[derive(Debug)] [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: `user_agent` [INFO] [stderr] --> src/client/mod.rs:38:5 [INFO] [stderr] | [INFO] [stderr] 38 | user_agent: &'a str, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `GithubClient` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/client/mod.rs:30:10 [INFO] [stderr] | [INFO] [stderr] 30 | #[derive(Debug)] [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: `name` [INFO] [stderr] --> src/schema.rs:89:13 [INFO] [stderr] | [INFO] [stderr] 89 | name: String, [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `Plan` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/schema.rs:87:18 [INFO] [stderr] | [INFO] [stderr] 87 | #[derive(Debug, serde::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: `space` [INFO] [stderr] --> src/schema.rs:90:13 [INFO] [stderr] | [INFO] [stderr] 90 | space: usize, [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `Plan` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/schema.rs:87:18 [INFO] [stderr] | [INFO] [stderr] 87 | #[derive(Debug, serde::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: `collaborators` [INFO] [stderr] --> src/schema.rs:91:13 [INFO] [stderr] | [INFO] [stderr] 91 | collaborators: usize, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `Plan` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/schema.rs:87:18 [INFO] [stderr] | [INFO] [stderr] 87 | #[derive(Debug, serde::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: `private_repos` [INFO] [stderr] --> src/schema.rs:92:13 [INFO] [stderr] | [INFO] [stderr] 92 | private_repos: usize, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `Plan` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/schema.rs:87:18 [INFO] [stderr] | [INFO] [stderr] 87 | #[derive(Debug, serde::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: `base_url` [INFO] [stderr] --> src/client/mod.rs:33:5 [INFO] [stderr] | [INFO] [stderr] 33 | pub(crate) base_url: &'a str, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] note: `GithubClient` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/client/mod.rs:30:10 [INFO] [stderr] | [INFO] [stderr] 30 | #[derive(Debug)] [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: `reqwest_client` [INFO] [stderr] --> src/client/mod.rs:34:5 [INFO] [stderr] | [INFO] [stderr] 34 | pub(crate) reqwest_client: Client, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `GithubClient` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/client/mod.rs:30:10 [INFO] [stderr] | [INFO] [stderr] 30 | #[derive(Debug)] [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: `use-github-api` (lib) generated 7 warnings [INFO] [stderr] warning: `use-github-api` (lib test) generated 6 warnings (4 duplicates) [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.05s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/use_github_api-80d051e595dc6aec) [INFO] [stdout] [INFO] [stdout] running 13 tests [INFO] [stdout] test client::builder::tests::creates_new ... ok [INFO] [stdout] test client::builder::tests::sets_auth ... ok [INFO] [stdout] test error::creation::tests::test_send_and_sync ... ok [INFO] [stdout] test error::runtime::tests::test_send_and_sync ... ok [INFO] [stdout] test utils::tests::returns_not_found ... ok [INFO] [stdout] test utils::tests::returns_bad_creds ... ok [INFO] [stdout] test client::builder::tests::builds_client ... ok [INFO] [stdout] test users::tests::list_works ... ok [INFO] [stdout] test users::tests::single_works ... ok [INFO] [stdout] test client::tests::new_creates_client_correctly ... ok [INFO] [stdout] test client::tests::setting_auth_token_sets_header ... ok [INFO] [stdout] test users::tests::context_info_works ... ok [INFO] [stdout] test client::builder::tests::err_on_no_token - should panic ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 13 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.03s [INFO] [stdout] [INFO] [stderr] Doc-tests use-github-api [INFO] [stdout] [INFO] [stdout] running 4 tests [INFO] [stdout] test src/client/builder.rs - client::builder::GithubClientBuilder (line 12) ... ignored [INFO] [stdout] test src/client/builder.rs - client::builder::GithubClientBuilder::base_url (line 78) ... ok [INFO] [stdout] test src/client/mod.rs - client::GithubClient::new (line 58) ... ok [INFO] [stdout] test src/client/builder.rs - client::builder::GithubClientBuilder::auth (line 61) ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 3 passed; 0 failed; 1 ignored; 0 measured; 0 filtered out; finished in 1.73s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "dc041b46eb40254042436de4201e67366aadce835f48ab9cfb81b0d0934891c9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "dc041b46eb40254042436de4201e67366aadce835f48ab9cfb81b0d0934891c9", kill_on_drop: false }` [INFO] [stdout] dc041b46eb40254042436de4201e67366aadce835f48ab9cfb81b0d0934891c9