[INFO] fetching crate megam_api 0.1.10... [INFO] checking megam_api-0.1.10 against master#43d9f3859e0204e764161ee085a360274b5f3e9a for pr-97346 [INFO] extracting crate megam_api 0.1.10 into /workspace/builds/worker-13/source [INFO] validating manifest of crates.io crate megam_api 0.1.10 on toolchain 43d9f3859e0204e764161ee085a360274b5f3e9a [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+43d9f3859e0204e764161ee085a360274b5f3e9a" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate megam_api 0.1.10 [INFO] removed 0 missing tests [INFO] finished tweaking crates.io crate megam_api 0.1.10 [INFO] tweaked toml for crates.io crate megam_api 0.1.10 written to /workspace/builds/worker-13/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+43d9f3859e0204e764161ee085a360274b5f3e9a" "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" "+43d9f3859e0204e764161ee085a360274b5f3e9a" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: An explicit [[test]] section is specified in Cargo.toml which currently [INFO] [stderr] disables Cargo from automatically inferring other test targets. [INFO] [stderr] This inference behavior will change in the Rust 2018 edition and the following [INFO] [stderr] files will be included as a test target: [INFO] [stderr] [INFO] [stderr] * /workspace/builds/worker-13/source/tests/test_sshkeys.rs [INFO] [stderr] * /workspace/builds/worker-13/source/tests/test_csars.rs [INFO] [stderr] * /workspace/builds/worker-13/source/tests/test_accounts.rs [INFO] [stderr] [INFO] [stderr] This is likely to break cargo build or cargo test as these files may not be [INFO] [stderr] ready to be compiled as a test target today. You can future-proof yourself [INFO] [stderr] and disable this warning by adding `autotests = false` to your [package] [INFO] [stderr] section. You may also move the files to a location where Cargo would not [INFO] [stderr] automatically infer them to be a target, such as in subfolders. [INFO] [stderr] [INFO] [stderr] For more information on this warning you can consult [INFO] [stderr] https://github.com/rust-lang/cargo/issues/5330 [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded curl v0.2.19 [INFO] [stderr] Downloaded curl-sys v0.1.35 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/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:ac0d0aa6ec8ed129e241004a6179c99fa0d2616f50ba759c5b60bd26d0fafa02" "/opt/rustwide/cargo-home/bin/cargo" "+43d9f3859e0204e764161ee085a360274b5f3e9a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] e7308831918ec58c7a0660608a760603454a242720d64cd6e392d60b32a3b4d5 [INFO] running `Command { std: "docker" "start" "-a" "e7308831918ec58c7a0660608a760603454a242720d64cd6e392d60b32a3b4d5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e7308831918ec58c7a0660608a760603454a242720d64cd6e392d60b32a3b4d5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e7308831918ec58c7a0660608a760603454a242720d64cd6e392d60b32a3b4d5", kill_on_drop: false }` [INFO] [stdout] e7308831918ec58c7a0660608a760603454a242720d64cd6e392d60b32a3b4d5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/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:ac0d0aa6ec8ed129e241004a6179c99fa0d2616f50ba759c5b60bd26d0fafa02" "/opt/rustwide/cargo-home/bin/cargo" "+43d9f3859e0204e764161ee085a360274b5f3e9a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 0f01a9f444e395eeb71268cb0034efcf31f61da5f063cef64e9c17f1124c1bd5 [INFO] running `Command { std: "docker" "start" "-a" "0f01a9f444e395eeb71268cb0034efcf31f61da5f063cef64e9c17f1124c1bd5", kill_on_drop: false }` [INFO] [stderr] warning: An explicit [[test]] section is specified in Cargo.toml which currently [INFO] [stderr] disables Cargo from automatically inferring other test targets. [INFO] [stderr] This inference behavior will change in the Rust 2018 edition and the following [INFO] [stderr] files will be included as a test target: [INFO] [stderr] [INFO] [stderr] * /opt/rustwide/workdir/tests/test_sshkeys.rs [INFO] [stderr] * /opt/rustwide/workdir/tests/test_csars.rs [INFO] [stderr] * /opt/rustwide/workdir/tests/test_accounts.rs [INFO] [stderr] [INFO] [stderr] This is likely to break cargo build or cargo test as these files may not be [INFO] [stderr] ready to be compiled as a test target today. You can future-proof yourself [INFO] [stderr] and disable this warning by adding `autotests = false` to your [package] [INFO] [stderr] section. You may also move the files to a location where Cargo would not [INFO] [stderr] automatically infer them to be a target, such as in subfolders. [INFO] [stderr] [INFO] [stderr] For more information on this warning you can consult [INFO] [stderr] https://github.com/rust-lang/cargo/issues/5330 [INFO] [stderr] Compiling libc v0.2.126 [INFO] [stderr] Compiling pkg-config v0.3.25 [INFO] [stderr] Compiling gcc v0.3.55 [INFO] [stderr] Compiling winapi-build v0.1.1 [INFO] [stderr] Compiling cc v1.0.73 [INFO] [stderr] Checking tinyvec_macros v0.1.0 [INFO] [stderr] Checking winapi v0.2.8 [INFO] [stderr] Compiling log v0.4.17 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Checking unicode-bidi v0.3.8 [INFO] [stderr] Checking matches v0.1.9 [INFO] [stderr] Checking regex-syntax v0.3.9 [INFO] [stderr] Checking percent-encoding v1.0.1 [INFO] [stderr] Checking utf8-ranges v0.1.3 [INFO] [stderr] Checking rustc-serialize v0.3.24 [INFO] [stderr] Checking libc v0.1.12 [INFO] [stderr] Compiling kernel32-sys v0.2.2 [INFO] [stderr] Checking tinyvec v1.6.0 [INFO] [stderr] Compiling rust-crypto v0.2.36 [INFO] [stderr] Compiling openssl-sys v0.7.17 [INFO] [stderr] Compiling curl-sys v0.1.35 [INFO] [stderr] Checking log v0.3.9 [INFO] [stderr] Compiling libz-sys v1.1.8 [INFO] [stderr] Checking unicode-normalization v0.1.19 [INFO] [stderr] Checking thread-id v2.0.0 [INFO] [stderr] Checking memchr v0.1.11 [INFO] [stderr] Checking rand v0.4.6 [INFO] [stderr] Checking time v0.1.44 [INFO] [stderr] Checking thread_local v0.2.7 [INFO] [stderr] Checking aho-corasick v0.5.3 [INFO] [stderr] Checking regex v0.1.80 [INFO] [stderr] Checking rand v0.3.23 [INFO] [stderr] Checking idna v0.1.5 [INFO] [stderr] Checking env_logger v0.3.5 [INFO] [stderr] Checking url v1.7.2 [INFO] [stderr] Checking curl v0.2.19 [INFO] [stderr] Checking megam_api v0.1.10 (/opt/rustwide/workdir) [INFO] [stdout] warning: use of deprecated macro `RustcEncodable`: rustc-serialize is deprecated and no longer supported [INFO] [stdout] --> src/megam_api/util/accounts.rs:6:35 [INFO] [stdout] | [INFO] [stdout] 6 | #[derive(PartialEq, Clone, Debug, RustcEncodable, RustcDecodable)] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `RustcDecodable`: rustc-serialize is deprecated and no longer supported [INFO] [stdout] --> src/megam_api/util/accounts.rs:6:51 [INFO] [stdout] | [INFO] [stdout] 6 | #[derive(PartialEq, Clone, Debug, RustcEncodable, RustcDecodable)] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `RustcEncodable`: rustc-serialize is deprecated and no longer supported [INFO] [stdout] --> src/megam_api/util/accounts.rs:23:17 [INFO] [stdout] | [INFO] [stdout] 23 | #[derive(Debug, RustcEncodable, RustcDecodable)] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `RustcDecodable`: rustc-serialize is deprecated and no longer supported [INFO] [stdout] --> src/megam_api/util/accounts.rs:23:33 [INFO] [stdout] | [INFO] [stdout] 23 | #[derive(Debug, RustcEncodable, RustcDecodable)] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `RustcEncodable`: rustc-serialize is deprecated and no longer supported [INFO] [stdout] --> src/megam_api/util/sshkeys.rs:6:17 [INFO] [stdout] | [INFO] [stdout] 6 | #[derive(Debug, RustcEncodable, RustcDecodable)] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `RustcDecodable`: rustc-serialize is deprecated and no longer supported [INFO] [stdout] --> src/megam_api/util/sshkeys.rs:6:33 [INFO] [stdout] | [INFO] [stdout] 6 | #[derive(Debug, RustcEncodable, RustcDecodable)] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `RustcEncodable`: rustc-serialize is deprecated and no longer supported [INFO] [stdout] --> src/megam_api/util/sshkeys.rs:16:17 [INFO] [stdout] | [INFO] [stdout] 16 | #[derive(Debug, RustcEncodable, RustcDecodable)] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `RustcDecodable`: rustc-serialize is deprecated and no longer supported [INFO] [stdout] --> src/megam_api/util/sshkeys.rs:16:33 [INFO] [stdout] | [INFO] [stdout] 16 | #[derive(Debug, RustcEncodable, RustcDecodable)] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `RustcEncodable`: rustc-serialize is deprecated and no longer supported [INFO] [stdout] --> src/megam_api/util/csars.rs:6:17 [INFO] [stdout] | [INFO] [stdout] 6 | #[derive(Debug, RustcEncodable, RustcDecodable)] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `RustcDecodable`: rustc-serialize is deprecated and no longer supported [INFO] [stdout] --> src/megam_api/util/csars.rs:6:33 [INFO] [stdout] | [INFO] [stdout] 6 | #[derive(Debug, RustcEncodable, RustcDecodable)] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `RustcEncodable`: rustc-serialize is deprecated and no longer supported [INFO] [stdout] --> src/megam_api/util/csars.rs:14:17 [INFO] [stdout] | [INFO] [stdout] 14 | #[derive(Debug, RustcEncodable, RustcDecodable)] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `RustcDecodable`: rustc-serialize is deprecated and no longer supported [INFO] [stdout] --> src/megam_api/util/csars.rs:14:33 [INFO] [stdout] | [INFO] [stdout] 14 | #[derive(Debug, RustcEncodable, RustcDecodable)] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `RustcEncodable`: rustc-serialize is deprecated and no longer supported [INFO] [stdout] --> src/megam_api/util/errors.rs:13:10 [INFO] [stdout] | [INFO] [stdout] 13 | #[derive(RustcEncodable, Debug, RustcDecodable)] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `RustcDecodable`: rustc-serialize is deprecated and no longer supported [INFO] [stdout] --> src/megam_api/util/errors.rs:13:33 [INFO] [stdout] | [INFO] [stdout] 13 | #[derive(RustcEncodable, Debug, RustcDecodable)] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `rustc_serialize::json` [INFO] [stdout] --> src/megam_api/util/errors.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use rustc_serialize::json; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `RustcEncodable`: rustc-serialize is deprecated and no longer supported [INFO] [stdout] --> src/megam_api/api.rs:44:10 [INFO] [stdout] | [INFO] [stdout] 44 | #[derive(RustcEncodable, Debug, RustcDecodable)] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `RustcDecodable`: rustc-serialize is deprecated and no longer supported [INFO] [stdout] --> src/megam_api/api.rs:44:33 [INFO] [stdout] | [INFO] [stdout] 44 | #[derive(RustcEncodable, Debug, RustcDecodable)] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `RustcEncodable`: rustc-serialize is deprecated and no longer supported [INFO] [stdout] --> src/megam_api/api.rs:60:10 [INFO] [stdout] | [INFO] [stdout] 60 | #[derive(RustcEncodable, Debug, RustcDecodable)] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `RustcDecodable`: rustc-serialize is deprecated and no longer supported [INFO] [stdout] --> src/megam_api/api.rs:60:33 [INFO] [stdout] | [INFO] [stdout] 60 | #[derive(RustcEncodable, Debug, RustcDecodable)] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::error::Error` [INFO] [stdout] --> src/megam_api/api.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | use std::error::Error; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `RustcEncodable`: rustc-serialize is deprecated and no longer supported [INFO] [stdout] --> src/megam_api/util/accounts.rs:6:35 [INFO] [stdout] | [INFO] [stdout] 6 | #[derive(PartialEq, Clone, Debug, RustcEncodable, RustcDecodable)] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `RustcDecodable`: rustc-serialize is deprecated and no longer supported [INFO] [stdout] --> src/megam_api/util/accounts.rs:6:51 [INFO] [stdout] | [INFO] [stdout] 6 | #[derive(PartialEq, Clone, Debug, RustcEncodable, RustcDecodable)] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `RustcEncodable`: rustc-serialize is deprecated and no longer supported [INFO] [stdout] --> src/megam_api/util/accounts.rs:23:17 [INFO] [stdout] | [INFO] [stdout] 23 | #[derive(Debug, RustcEncodable, RustcDecodable)] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `RustcDecodable`: rustc-serialize is deprecated and no longer supported [INFO] [stdout] --> src/megam_api/util/accounts.rs:23:33 [INFO] [stdout] | [INFO] [stdout] 23 | #[derive(Debug, RustcEncodable, RustcDecodable)] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `RustcEncodable`: rustc-serialize is deprecated and no longer supported [INFO] [stdout] --> src/megam_api/util/sshkeys.rs:6:17 [INFO] [stdout] | [INFO] [stdout] 6 | #[derive(Debug, RustcEncodable, RustcDecodable)] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `RustcDecodable`: rustc-serialize is deprecated and no longer supported [INFO] [stdout] --> src/megam_api/util/sshkeys.rs:6:33 [INFO] [stdout] | [INFO] [stdout] 6 | #[derive(Debug, RustcEncodable, RustcDecodable)] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `RustcEncodable`: rustc-serialize is deprecated and no longer supported [INFO] [stdout] --> src/megam_api/util/sshkeys.rs:16:17 [INFO] [stdout] | [INFO] [stdout] 16 | #[derive(Debug, RustcEncodable, RustcDecodable)] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `RustcDecodable`: rustc-serialize is deprecated and no longer supported [INFO] [stdout] --> src/megam_api/util/sshkeys.rs:16:33 [INFO] [stdout] | [INFO] [stdout] 16 | #[derive(Debug, RustcEncodable, RustcDecodable)] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `RustcEncodable`: rustc-serialize is deprecated and no longer supported [INFO] [stdout] --> src/megam_api/util/csars.rs:6:17 [INFO] [stdout] | [INFO] [stdout] 6 | #[derive(Debug, RustcEncodable, RustcDecodable)] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `RustcDecodable`: rustc-serialize is deprecated and no longer supported [INFO] [stdout] --> src/megam_api/util/csars.rs:6:33 [INFO] [stdout] | [INFO] [stdout] 6 | #[derive(Debug, RustcEncodable, RustcDecodable)] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `RustcEncodable`: rustc-serialize is deprecated and no longer supported [INFO] [stdout] --> src/megam_api/util/csars.rs:14:17 [INFO] [stdout] | [INFO] [stdout] 14 | #[derive(Debug, RustcEncodable, RustcDecodable)] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `RustcDecodable`: rustc-serialize is deprecated and no longer supported [INFO] [stdout] --> src/megam_api/util/csars.rs:14:33 [INFO] [stdout] | [INFO] [stdout] 14 | #[derive(Debug, RustcEncodable, RustcDecodable)] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `RustcEncodable`: rustc-serialize is deprecated and no longer supported [INFO] [stdout] --> src/megam_api/util/errors.rs:13:10 [INFO] [stdout] | [INFO] [stdout] 13 | #[derive(RustcEncodable, Debug, RustcDecodable)] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `RustcDecodable`: rustc-serialize is deprecated and no longer supported [INFO] [stdout] --> src/megam_api/util/errors.rs:13:33 [INFO] [stdout] | [INFO] [stdout] 13 | #[derive(RustcEncodable, Debug, RustcDecodable)] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `rustc_serialize::json` [INFO] [stdout] --> src/megam_api/util/errors.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use rustc_serialize::json; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `RustcEncodable`: rustc-serialize is deprecated and no longer supported [INFO] [stdout] --> src/megam_api/api.rs:44:10 [INFO] [stdout] | [INFO] [stdout] 44 | #[derive(RustcEncodable, Debug, RustcDecodable)] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `RustcDecodable`: rustc-serialize is deprecated and no longer supported [INFO] [stdout] --> src/megam_api/api.rs:44:33 [INFO] [stdout] | [INFO] [stdout] 44 | #[derive(RustcEncodable, Debug, RustcDecodable)] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `RustcEncodable`: rustc-serialize is deprecated and no longer supported [INFO] [stdout] --> src/megam_api/api.rs:60:10 [INFO] [stdout] | [INFO] [stdout] 60 | #[derive(RustcEncodable, Debug, RustcDecodable)] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `RustcDecodable`: rustc-serialize is deprecated and no longer supported [INFO] [stdout] --> src/megam_api/api.rs:60:33 [INFO] [stdout] | [INFO] [stdout] 60 | #[derive(RustcEncodable, Debug, RustcDecodable)] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::error::Error` [INFO] [stdout] --> src/megam_api/api.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | use std::error::Error; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `FailOne` should have a snake case name [INFO] [stdout] --> src/megam_api/util/accounts.rs:83:13 [INFO] [stdout] | [INFO] [stdout] 83 | Err(FailOne) => return Err(FailOne), [INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case: `fail_one` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `FailOne` should have a snake case name [INFO] [stdout] --> src/megam_api/util/sshkeys.rs:54:13 [INFO] [stdout] | [INFO] [stdout] 54 | Err(FailOne) => return Err(FailOne), [INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case: `fail_one` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `FailOne` should have a snake case name [INFO] [stdout] --> src/megam_api/util/csars.rs:64:13 [INFO] [stdout] | [INFO] [stdout] 64 | Err(FailOne) => return Err(FailOne), [INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case: `fail_one` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `Email` should have a snake case name [INFO] [stdout] --> src/megam_api/api.rs:62:7 [INFO] [stdout] | [INFO] [stdout] 62 | pub Email: String, [INFO] [stdout] | ^^^^^ help: convert the identifier to snake case: `email` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `Apikey` should have a snake case name [INFO] [stdout] --> src/megam_api/api.rs:63:6 [INFO] [stdout] | [INFO] [stdout] 63 | pub Apikey: String, [INFO] [stdout] | ^^^^^^ help: convert the identifier to snake case: `apikey` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `Host` should have a snake case name [INFO] [stdout] --> src/megam_api/api.rs:64:6 [INFO] [stdout] | [INFO] [stdout] 64 | pub Host: String, [INFO] [stdout] | ^^^^ help: convert the identifier to snake case: `host` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `Version` should have a snake case name [INFO] [stdout] --> src/megam_api/api.rs:65:6 [INFO] [stdout] | [INFO] [stdout] 65 | pub Version: String, [INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case (notice the capitalization): `version` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `FailOne` should have a snake case name [INFO] [stdout] --> src/megam_api/util/accounts.rs:83:13 [INFO] [stdout] | [INFO] [stdout] 83 | Err(FailOne) => return Err(FailOne), [INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case: `fail_one` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `FailOne` should have a snake case name [INFO] [stdout] --> src/megam_api/util/sshkeys.rs:54:13 [INFO] [stdout] | [INFO] [stdout] 54 | Err(FailOne) => return Err(FailOne), [INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case: `fail_one` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `FailOne` should have a snake case name [INFO] [stdout] --> src/megam_api/util/csars.rs:64:13 [INFO] [stdout] | [INFO] [stdout] 64 | Err(FailOne) => return Err(FailOne), [INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case: `fail_one` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `Email` should have a snake case name [INFO] [stdout] --> src/megam_api/api.rs:62:7 [INFO] [stdout] | [INFO] [stdout] 62 | pub Email: String, [INFO] [stdout] | ^^^^^ help: convert the identifier to snake case: `email` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `Apikey` should have a snake case name [INFO] [stdout] --> src/megam_api/api.rs:63:6 [INFO] [stdout] | [INFO] [stdout] 63 | pub Apikey: String, [INFO] [stdout] | ^^^^^^ help: convert the identifier to snake case: `apikey` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `Host` should have a snake case name [INFO] [stdout] --> src/megam_api/api.rs:64:6 [INFO] [stdout] | [INFO] [stdout] 64 | pub Host: String, [INFO] [stdout] | ^^^^ help: convert the identifier to snake case: `host` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `Version` should have a snake case name [INFO] [stdout] --> src/megam_api/api.rs:65:6 [INFO] [stdout] | [INFO] [stdout] 65 | pub Version: String, [INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case (notice the capitalization): `version` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 27 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 27 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0463]: can't find crate for `hamcrest` [INFO] [stdout] --> tests/tests.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | extern crate hamcrest; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `#[macro_use]` import [INFO] [stdout] --> tests/tests.rs:13:1 [INFO] [stdout] | [INFO] [stdout] 13 | #[macro_use] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused macro definition: `test` [INFO] [stdout] --> tests/tests.rs:17:14 [INFO] [stdout] | [INFO] [stdout] 17 | macro_rules! test { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_macros)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error; 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0463`. [INFO] [stdout] [INFO] [stderr] error: could not compile `megam_api` due to 2 previous errors; 2 warnings emitted [INFO] running `Command { std: "docker" "inspect" "0f01a9f444e395eeb71268cb0034efcf31f61da5f063cef64e9c17f1124c1bd5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0f01a9f444e395eeb71268cb0034efcf31f61da5f063cef64e9c17f1124c1bd5", kill_on_drop: false }` [INFO] [stdout] 0f01a9f444e395eeb71268cb0034efcf31f61da5f063cef64e9c17f1124c1bd5