[INFO] fetching crate orcid 0.1.4... [INFO] checking orcid-0.1.4 against try#377afada703be70d3fdff9164a481570a3cba7fe for pr-113240 [INFO] extracting crate orcid 0.1.4 into /workspace/builds/worker-3-tc2/source [INFO] validating manifest of crates.io crate orcid 0.1.4 on toolchain 377afada703be70d3fdff9164a481570a3cba7fe [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+377afada703be70d3fdff9164a481570a3cba7fe" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate orcid 0.1.4 [INFO] finished tweaking crates.io crate orcid 0.1.4 [INFO] tweaked toml for crates.io crate orcid 0.1.4 written to /workspace/builds/worker-3-tc2/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+377afada703be70d3fdff9164a481570a3cba7fe" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+377afada703be70d3fdff9164a481570a3cba7fe" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:a420fdec406141845121210faa381f8029b0be6d4170deff7c4445a424f67918" "/opt/rustwide/cargo-home/bin/cargo" "+377afada703be70d3fdff9164a481570a3cba7fe" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] c907bca206bdff7549adf9f56ee3b78573103619dcd645a099fe056a2d1ec350 [INFO] running `Command { std: "docker" "start" "-a" "c907bca206bdff7549adf9f56ee3b78573103619dcd645a099fe056a2d1ec350", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c907bca206bdff7549adf9f56ee3b78573103619dcd645a099fe056a2d1ec350", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c907bca206bdff7549adf9f56ee3b78573103619dcd645a099fe056a2d1ec350", kill_on_drop: false }` [INFO] [stdout] c907bca206bdff7549adf9f56ee3b78573103619dcd645a099fe056a2d1ec350 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:a420fdec406141845121210faa381f8029b0be6d4170deff7c4445a424f67918" "/opt/rustwide/cargo-home/bin/cargo" "+377afada703be70d3fdff9164a481570a3cba7fe" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 22dc727b57156ca97d003c3b02f590b313602e306774ecdad065b47835c9b303 [INFO] running `Command { std: "docker" "start" "-a" "22dc727b57156ca97d003c3b02f590b313602e306774ecdad065b47835c9b303", kill_on_drop: false }` [INFO] [stderr] Compiling memchr v2.5.0 [INFO] [stderr] Compiling syn v2.0.22 [INFO] [stderr] Checking mio v0.6.23 [INFO] [stderr] Checking tokio-io v0.1.13 [INFO] [stderr] Checking tokio-threadpool v0.1.18 [INFO] [stderr] Checking want v0.2.0 [INFO] [stderr] Checking object v0.31.1 [INFO] [stderr] Checking h2 v0.1.26 [INFO] [stderr] Checking tokio-reactor v0.1.12 [INFO] [stderr] Checking tokio-tcp v0.1.4 [INFO] [stderr] Checking tokio v0.1.22 [INFO] [stderr] Checking hyper v0.12.36 [INFO] [stderr] Compiling serde_derive v1.0.164 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Checking backtrace v0.3.68 [INFO] [stderr] Checking openssl v0.10.55 [INFO] [stderr] Checking failure v0.1.8 [INFO] [stderr] Checking native-tls v0.2.11 [INFO] [stderr] Checking hyper-tls v0.3.2 [INFO] [stderr] Checking serde v1.0.164 [INFO] [stderr] Checking serde_json v1.0.99 [INFO] [stderr] Checking serde_urlencoded v0.5.5 [INFO] [stderr] Checking cookie_store v0.7.0 [INFO] [stderr] Checking reqwest v0.9.24 [INFO] [stderr] Checking orcid v0.1.4 (/opt/rustwide/workdir) [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:333:67 [INFO] [stdout] | [INFO] [stdout] 333 | pub fn author(&self, orcid_id: &String) -> Result> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 333 | pub fn author(&self, orcid_id: &String) -> Result> { [INFO] [stdout] | +++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:348:71 [INFO] [stdout] | [INFO] [stdout] 348 | pub fn search_doi(&self, doi: &String) -> Result, Box<::std::error::Error>> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 348 | pub fn search_doi(&self, doi: &String) -> Result, Box> { [INFO] [stdout] | +++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:353:69 [INFO] [stdout] | [INFO] [stdout] 353 | pub fn search(&self, query: &String) -> Result, Box<::std::error::Error>> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 353 | pub fn search(&self, query: &String) -> Result, Box> { [INFO] [stdout] | +++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:333:67 [INFO] [stdout] | [INFO] [stdout] 333 | pub fn author(&self, orcid_id: &String) -> Result> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 333 | pub fn author(&self, orcid_id: &String) -> Result> { [INFO] [stdout] | +++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:348:71 [INFO] [stdout] | [INFO] [stdout] 348 | pub fn search_doi(&self, doi: &String) -> Result, Box<::std::error::Error>> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 348 | pub fn search_doi(&self, doi: &String) -> Result, Box> { [INFO] [stdout] | +++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:353:69 [INFO] [stdout] | [INFO] [stdout] 353 | pub fn search(&self, query: &String) -> Result, Box<::std::error::Error>> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 353 | pub fn search(&self, query: &String) -> Result, Box> { [INFO] [stdout] | +++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `year`, `month`, and `day` are never read [INFO] [stdout] --> src/lib.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 20 | pub struct PublicationDate { [INFO] [stdout] | --------------- fields in this struct [INFO] [stdout] 21 | year: Option, [INFO] [stdout] | ^^^^ [INFO] [stdout] 22 | month: Option, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 23 | day: Option, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `PublicationDate` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `year`, `month`, and `day` are never read [INFO] [stdout] --> src/lib.rs:76:5 [INFO] [stdout] | [INFO] [stdout] 75 | pub struct Date { [INFO] [stdout] | ---- fields in this struct [INFO] [stdout] 76 | year: Option, [INFO] [stdout] | ^^^^ [INFO] [stdout] 77 | month: Option, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 78 | day: Option, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Date` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `name`, `city`, `region`, `country`, and `disambiguated_organization` are never read [INFO] [stdout] --> src/lib.rs:97:5 [INFO] [stdout] | [INFO] [stdout] 96 | pub struct Organization { [INFO] [stdout] | ------------ fields in this struct [INFO] [stdout] 97 | name: Option, [INFO] [stdout] | ^^^^ [INFO] [stdout] 98 | city: Option, [INFO] [stdout] | ^^^^ [INFO] [stdout] 99 | region: Option, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 100 | country: Option, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 101 | disambiguated_organization: Option<(String, String)>, // TODO external IDS [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Organization` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 6 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `year`, `month`, and `day` are never read [INFO] [stdout] --> src/lib.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 20 | pub struct PublicationDate { [INFO] [stdout] | --------------- fields in this struct [INFO] [stdout] 21 | year: Option, [INFO] [stdout] | ^^^^ [INFO] [stdout] 22 | month: Option, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 23 | day: Option, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `PublicationDate` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `year`, `month`, and `day` are never read [INFO] [stdout] --> src/lib.rs:76:5 [INFO] [stdout] | [INFO] [stdout] 75 | pub struct Date { [INFO] [stdout] | ---- fields in this struct [INFO] [stdout] 76 | year: Option, [INFO] [stdout] | ^^^^ [INFO] [stdout] 77 | month: Option, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 78 | day: Option, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Date` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `name`, `city`, `region`, `country`, and `disambiguated_organization` are never read [INFO] [stdout] --> src/lib.rs:97:5 [INFO] [stdout] | [INFO] [stdout] 96 | pub struct Organization { [INFO] [stdout] | ------------ fields in this struct [INFO] [stdout] 97 | name: Option, [INFO] [stdout] | ^^^^ [INFO] [stdout] 98 | city: Option, [INFO] [stdout] | ^^^^ [INFO] [stdout] 99 | region: Option, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 100 | country: Option, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 101 | disambiguated_organization: Option<(String, String)>, // TODO external IDS [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Organization` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 6 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 16.43s [INFO] running `Command { std: "docker" "inspect" "22dc727b57156ca97d003c3b02f590b313602e306774ecdad065b47835c9b303", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "22dc727b57156ca97d003c3b02f590b313602e306774ecdad065b47835c9b303", kill_on_drop: false }` [INFO] [stdout] 22dc727b57156ca97d003c3b02f590b313602e306774ecdad065b47835c9b303