[INFO] cloning repository https://github.com/lialsoftlab/trlogic_test [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/lialsoftlab/trlogic_test" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flialsoftlab%2Ftrlogic_test", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flialsoftlab%2Ftrlogic_test'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 54b54fc2eb9f1c76e78eef4213cc3ca52b4c8981 [INFO] checking lialsoftlab/trlogic_test against try#f17e3a389e192f83fe27a581774a9d1dbb8e565b for pr-137394 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flialsoftlab%2Ftrlogic_test" "/workspace/builds/worker-1-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/lialsoftlab/trlogic_test on toolchain f17e3a389e192f83fe27a581774a9d1dbb8e565b [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f17e3a389e192f83fe27a581774a9d1dbb8e565b" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/lialsoftlab/trlogic_test [INFO] finished tweaking git repo https://github.com/lialsoftlab/trlogic_test [INFO] tweaked toml for git repo https://github.com/lialsoftlab/trlogic_test written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/lialsoftlab/trlogic_test already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f17e3a389e192f83fe27a581774a9d1dbb8e565b" "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 [ERROR] error running command: no output for 300 seconds [INFO] checking lialsoftlab/trlogic_test against try#f17e3a389e192f83fe27a581774a9d1dbb8e565b for pr-137394 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flialsoftlab%2Ftrlogic_test" "/workspace/builds/worker-1-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/lialsoftlab/trlogic_test on toolchain f17e3a389e192f83fe27a581774a9d1dbb8e565b [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f17e3a389e192f83fe27a581774a9d1dbb8e565b" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/lialsoftlab/trlogic_test [INFO] finished tweaking git repo https://github.com/lialsoftlab/trlogic_test [INFO] tweaked toml for git repo https://github.com/lialsoftlab/trlogic_test written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/lialsoftlab/trlogic_test already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f17e3a389e192f83fe27a581774a9d1dbb8e565b" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded tiny_http v0.6.2 [INFO] [stderr] Downloaded structopt-derive v0.2.17 [INFO] [stderr] Downloaded backtrace v0.3.26 [INFO] [stderr] Downloaded pretty_env_logger v0.3.0 [INFO] [stderr] Downloaded serde_derive v1.0.91 [INFO] [stderr] Downloaded redox_users v0.3.0 [INFO] [stderr] Downloaded gzip-header v0.2.0 [INFO] [stderr] Downloaded structopt v0.2.17 [INFO] [stderr] Downloaded buf_redux v0.8.1 [INFO] [stderr] Downloaded multipart v0.15.4 [INFO] [stderr] Downloaded rouille v3.0.0 [INFO] [stderr] Downloaded serde v1.0.91 [INFO] [stderr] Downloaded iron v0.6.0 [INFO] [stderr] Downloaded image v0.21.1 [INFO] [stderr] Downloaded rustls v0.15.2 [INFO] [stderr] Downloaded libc v0.2.55 [INFO] [stderr] Downloaded mrq v0.1.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:3959728d45483eb673ba100a951a6b9f5012970368db2a9e08e0ac9b67c8a5ad" "/opt/rustwide/cargo-home/bin/cargo" "+f17e3a389e192f83fe27a581774a9d1dbb8e565b" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] d26d4e9783889f60a1414029fc09f34c61d9df8aaf1b842dea82e508a2d546c7 [INFO] running `Command { std: "docker" "start" "-a" "d26d4e9783889f60a1414029fc09f34c61d9df8aaf1b842dea82e508a2d546c7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d26d4e9783889f60a1414029fc09f34c61d9df8aaf1b842dea82e508a2d546c7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d26d4e9783889f60a1414029fc09f34c61d9df8aaf1b842dea82e508a2d546c7", kill_on_drop: false }` [INFO] [stdout] d26d4e9783889f60a1414029fc09f34c61d9df8aaf1b842dea82e508a2d546c7 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:3959728d45483eb673ba100a951a6b9f5012970368db2a9e08e0ac9b67c8a5ad" "/opt/rustwide/cargo-home/bin/cargo" "+f17e3a389e192f83fe27a581774a9d1dbb8e565b" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 879f0016c588676aa7a2ba7f5d470080bac58a707d6623198e5a538401f96e78 [INFO] running `Command { std: "docker" "start" "-a" "879f0016c588676aa7a2ba7f5d470080bac58a707d6623198e5a538401f96e78", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.55 [INFO] [stderr] Compiling autocfg v0.1.4 [INFO] [stderr] Checking cfg-if v0.1.9 [INFO] [stderr] Checking lazy_static v1.3.0 [INFO] [stderr] Compiling cc v1.0.37 [INFO] [stderr] Compiling rand_core v0.4.0 [INFO] [stderr] Compiling version_check v0.1.5 [INFO] [stderr] Compiling byteorder v1.3.1 [INFO] [stderr] Compiling proc-macro2 v0.4.30 [INFO] [stderr] Compiling unicode-xid v0.1.0 [INFO] [stderr] Compiling syn v0.15.34 [INFO] [stderr] Compiling memchr v2.2.0 [INFO] [stderr] Checking smallvec v0.6.9 [INFO] [stderr] Checking matches v0.1.8 [INFO] [stderr] Compiling siphasher v0.2.3 [INFO] [stderr] Checking traitobject v0.1.0 [INFO] [stderr] Checking log v0.4.6 [INFO] [stderr] Compiling arrayvec v0.4.10 [INFO] [stderr] Compiling build_const v0.2.1 [INFO] [stderr] Checking unicode-bidi v0.3.4 [INFO] [stderr] Compiling regex v1.1.6 [INFO] [stderr] Compiling rand_core v0.3.1 [INFO] [stderr] Compiling rand_xorshift v0.1.1 [INFO] [stderr] Compiling rand_hc v0.1.0 [INFO] [stderr] Compiling rand_isaac v0.1.1 [INFO] [stderr] Compiling rand_jitter v0.1.4 [INFO] [stderr] Checking unicode-normalization v0.1.8 [INFO] [stderr] Compiling num-traits v0.2.8 [INFO] [stderr] Compiling rand_pcg v0.1.2 [INFO] [stderr] Compiling rand_chacha v0.1.1 [INFO] [stderr] Compiling num-integer v0.1.41 [INFO] [stderr] Compiling rand v0.6.5 [INFO] [stderr] Compiling unicase v1.4.2 [INFO] [stderr] Checking log v0.3.9 [INFO] [stderr] Compiling crc v1.8.1 [INFO] [stderr] Checking percent-encoding v1.0.1 [INFO] [stderr] Checking ucd-util v0.1.3 [INFO] [stderr] Compiling phf_shared v0.7.24 [INFO] [stderr] Checking nodrop v0.1.13 [INFO] [stderr] Compiling serde v1.0.91 [INFO] [stderr] Compiling httparse v1.3.3 [INFO] [stderr] Checking unsafe-any v0.4.2 [INFO] [stderr] Checking mime v0.2.6 [INFO] [stderr] Checking thread_local v0.3.6 [INFO] [stderr] Checking crossbeam-utils v0.2.2 [INFO] [stderr] Checking regex-syntax v0.6.6 [INFO] [stderr] Checking num_cpus v1.10.0 [INFO] [stderr] Checking time v0.1.42 [INFO] [stderr] Compiling rayon-core v1.4.1 [INFO] [stderr] Compiling ryu v0.2.8 [INFO] [stderr] Compiling quote v0.6.12 [INFO] [stderr] Compiling rand_os v0.1.3 [INFO] [stderr] Checking spin v0.5.0 [INFO] [stderr] Checking untrusted v0.6.2 [INFO] [stderr] Checking aho-corasick v0.7.3 [INFO] [stderr] Checking bitflags v1.0.4 [INFO] [stderr] Checking scopeguard v0.3.3 [INFO] [stderr] Checking memoffset v0.2.1 [INFO] [stderr] Checking utf8-ranges v1.0.2 [INFO] [stderr] Checking safemem v0.3.0 [INFO] [stderr] Checking crossbeam-epoch v0.3.1 [INFO] [stderr] Checking typemap v0.3.3 [INFO] [stderr] Checking language-tags v0.2.2 [INFO] [stderr] Checking base64 v0.9.3 [INFO] [stderr] Checking typeable v0.1.2 [INFO] [stderr] Checking adler32 v1.0.3 [INFO] [stderr] Checking quick-error v1.2.2 [INFO] [stderr] Checking phf v0.7.24 [INFO] [stderr] Checking plugin v0.2.6 [INFO] [stderr] Compiling ring v0.14.6 [INFO] [stderr] Checking idna v0.1.5 [INFO] [stderr] Compiling backtrace-sys v0.1.28 [INFO] [stderr] Checking crossbeam-deque v0.2.0 [INFO] [stderr] Compiling brotli-sys v0.3.2 [INFO] [stderr] Checking gzip-header v0.2.0 [INFO] [stderr] Checking atty v0.2.11 [INFO] [stderr] Compiling num-iter v0.1.39 [INFO] [stderr] Compiling backtrace v0.3.26 [INFO] [stderr] Checking modifier v0.1.0 [INFO] [stderr] Compiling failure_derive v0.1.5 [INFO] [stderr] Checking itoa v0.4.4 [INFO] [stderr] Compiling num-derive v0.2.5 [INFO] [stderr] Compiling rayon v1.0.3 [INFO] [stderr] Checking deflate v0.7.19 [INFO] [stderr] Checking rand v0.4.6 [INFO] [stderr] Compiling nix v0.13.0 [INFO] [stderr] Compiling unicode-segmentation v1.3.0 [INFO] [stderr] Checking ascii v0.8.7 [INFO] [stderr] Checking chrono v0.4.6 [INFO] [stderr] Checking url v1.7.2 [INFO] [stderr] Checking chunked_transfer v0.3.1 [INFO] [stderr] Checking either v1.5.2 [INFO] [stderr] Checking rustc-demangle v0.1.14 [INFO] [stderr] Checking safemem v0.2.0 [INFO] [stderr] Checking groupable v0.2.0 [INFO] [stderr] Compiling num-rational v0.2.1 [INFO] [stderr] Checking unicode-width v0.1.5 [INFO] [stderr] Checking remove_dir_all v0.5.1 [INFO] [stderr] Compiling phf_generator v0.7.24 [INFO] [stderr] Checking textwrap v0.11.0 [INFO] [stderr] Compiling phf_codegen v0.7.24 [INFO] [stderr] Compiling heck v0.3.1 [INFO] [stderr] Checking buf_redux v0.8.1 [INFO] [stderr] Checking inflate v0.4.5 [INFO] [stderr] Checking humantime v1.2.0 [INFO] [stderr] Checking tempdir v0.3.7 [INFO] [stderr] Checking twoway v0.1.8 [INFO] [stderr] Compiling mime_guess v1.8.7 [INFO] [stderr] Checking hyper v0.10.16 [INFO] [stderr] Checking dirs v1.0.5 [INFO] [stderr] Checking base64 v0.10.1 [INFO] [stderr] Checking strsim v0.8.0 [INFO] [stderr] Checking void v1.0.2 [INFO] [stderr] Checking ansi_term v0.11.0 [INFO] [stderr] Checking vec_map v0.8.1 [INFO] [stderr] Checking termcolor v1.0.4 [INFO] [stderr] Checking tiny_http v0.6.2 [INFO] [stderr] Checking color_quant v1.0.1 [INFO] [stderr] Checking png v0.14.1 [INFO] [stderr] Checking term v0.5.2 [INFO] [stderr] Checking gif v0.10.2 [INFO] [stderr] Checking clap v2.33.0 [INFO] [stderr] Checking rand v0.5.6 [INFO] [stderr] Checking threadpool v1.7.1 [INFO] [stderr] Checking filetime v0.2.6 [INFO] [stderr] Checking sha1 v0.6.0 [INFO] [stderr] Checking scoped_threadpool v0.1.9 [INFO] [stderr] Checking fs2 v0.4.3 [INFO] [stderr] Checking jpeg-decoder v0.1.15 [INFO] [stderr] Checking iron v0.6.0 [INFO] [stderr] Compiling synstructure v0.10.2 [INFO] [stderr] Checking env_logger v0.6.1 [INFO] [stderr] Checking pretty_env_logger v0.3.0 [INFO] [stderr] Compiling structopt-derive v0.2.17 [INFO] [stderr] Compiling serde_derive v1.0.91 [INFO] [stderr] Checking mustache v0.9.0 [INFO] [stderr] Checking serde_json v1.0.39 [INFO] [stderr] Checking failure v0.1.5 [INFO] [stderr] Checking structopt v0.2.17 [INFO] [stderr] Checking ctrlc v3.1.2 [INFO] [stderr] Checking nickel v0.11.0 [INFO] [stderr] Checking webpki v0.19.1 [INFO] [stderr] Checking sct v0.5.0 [INFO] [stderr] Checking tiff v0.2.2 [INFO] [stderr] Checking rustls v0.15.2 [INFO] [stderr] Checking webpki-roots v0.16.0 [INFO] [stderr] Checking image v0.21.1 [INFO] [stderr] Checking multipart v0.15.4 [INFO] [stderr] Checking mrq v0.1.0 [INFO] [stderr] Checking brotli2 v0.3.2 [INFO] [stderr] Checking rouille v3.0.0 [INFO] [stderr] Checking trlogic_test v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> src/http_handlers.rs:95:17 [INFO] [stdout] | [INFO] [stdout] 95 | #[derive(Debug, Deserialize, Serialize)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Deserialize` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `Deserialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] = note: this warning originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> src/http_handlers.rs:95:30 [INFO] [stdout] | [INFO] [stdout] 95 | #[derive(Debug, Deserialize, Serialize)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Serialize` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `Serialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the derive macro `Serialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> src/http_handlers.rs:104:17 [INFO] [stdout] | [INFO] [stdout] 104 | #[derive(Debug, Deserialize)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Deserialize` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `Deserialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> src/http_handlers.rs:95:17 [INFO] [stdout] | [INFO] [stdout] 95 | #[derive(Debug, Deserialize, Serialize)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Deserialize` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `Deserialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] = note: this warning originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> src/http_handlers.rs:95:30 [INFO] [stdout] | [INFO] [stdout] 95 | #[derive(Debug, Deserialize, Serialize)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Serialize` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `Serialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the derive macro `Serialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> src/http_handlers.rs:104:17 [INFO] [stdout] | [INFO] [stdout] 104 | #[derive(Debug, Deserialize)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Deserialize` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `Deserialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `fs2::FileExt` [INFO] [stdout] --> src/thumbnail.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use fs2::FileExt; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/http_handlers.rs:55:20 [INFO] [stdout] | [INFO] [stdout] 55 | panic!(e); [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(non_fmt_panics)]` on by default [INFO] [stdout] help: add a "{}" format string to `Display` the message [INFO] [stdout] | [INFO] [stdout] 55 | panic!("{}", e); [INFO] [stdout] | +++++ [INFO] [stdout] help: or use std::panic::panic_any instead [INFO] [stdout] | [INFO] [stdout] 55 - panic!(e); [INFO] [stdout] 55 + std::panic::panic_any(e); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/http_handlers.rs:95:17 [INFO] [stdout] | [INFO] [stdout] 95 | #[derive(Debug, Deserialize, Serialize)] [INFO] [stdout] | ^---------- [INFO] [stdout] | | [INFO] [stdout] | `Deserialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_DESERIALIZE_FOR_ImageUploadResult` [INFO] [stdout] 96 | pub struct ImageUploadResult { [INFO] [stdout] | ----------------- `ImageUploadResult` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Deserialize` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Deserialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: `#[warn(non_local_definitions)]` on by default [INFO] [stdout] = note: this warning originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/http_handlers.rs:95:30 [INFO] [stdout] | [INFO] [stdout] 95 | #[derive(Debug, Deserialize, Serialize)] [INFO] [stdout] | ^-------- [INFO] [stdout] | | [INFO] [stdout] | `Serialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_SERIALIZE_FOR_ImageUploadResult` [INFO] [stdout] 96 | pub struct ImageUploadResult { [INFO] [stdout] | ----------------- `ImageUploadResult` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Serialize` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Serialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Serialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/http_handlers.rs:104:17 [INFO] [stdout] | [INFO] [stdout] 104 | #[derive(Debug, Deserialize)] [INFO] [stdout] | ^---------- [INFO] [stdout] | | [INFO] [stdout] | `Deserialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_DESERIALIZE_FOR_ImageUploadRequest` [INFO] [stdout] 105 | struct ImageUploadRequest { [INFO] [stdout] | ------------------ `ImageUploadRequest` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Deserialize` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Deserialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `fs2::FileExt` [INFO] [stdout] --> src/thumbnail.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use fs2::FileExt; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: non-binding let on a synchronization lock [INFO] [stdout] --> src/file_utils.rs:262:21 [INFO] [stdout] | [INFO] [stdout] 262 | let _ = mutex1.lock().unwrap(); [INFO] [stdout] | ^ this lock is not assigned to a binding and is immediately dropped [INFO] [stdout] | [INFO] [stdout] = note: `#[deny(let_underscore_lock)]` on by default [INFO] [stdout] help: consider binding to an unused variable to avoid immediately dropping the value [INFO] [stdout] | [INFO] [stdout] 262 | let _unused = mutex1.lock().unwrap(); [INFO] [stdout] | ++++++ [INFO] [stdout] help: consider immediately dropping the value [INFO] [stdout] | [INFO] [stdout] 262 - let _ = mutex1.lock().unwrap(); [INFO] [stdout] 262 + drop(mutex1.lock().unwrap()); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: non-binding let on a synchronization lock [INFO] [stdout] --> src/file_utils.rs:278:21 [INFO] [stdout] | [INFO] [stdout] 278 | let _ = mutex2.lock().unwrap(); [INFO] [stdout] | ^ this lock is not assigned to a binding and is immediately dropped [INFO] [stdout] | [INFO] [stdout] help: consider binding to an unused variable to avoid immediately dropping the value [INFO] [stdout] | [INFO] [stdout] 278 | let _unused = mutex2.lock().unwrap(); [INFO] [stdout] | ++++++ [INFO] [stdout] help: consider immediately dropping the value [INFO] [stdout] | [INFO] [stdout] 278 - let _ = mutex2.lock().unwrap(); [INFO] [stdout] 278 + drop(mutex2.lock().unwrap()); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/http_handlers.rs:55:20 [INFO] [stdout] | [INFO] [stdout] 55 | panic!(e); [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(non_fmt_panics)]` on by default [INFO] [stdout] help: add a "{}" format string to `Display` the message [INFO] [stdout] | [INFO] [stdout] 55 | panic!("{}", e); [INFO] [stdout] | +++++ [INFO] [stdout] help: or use std::panic::panic_any instead [INFO] [stdout] | [INFO] [stdout] 55 - panic!(e); [INFO] [stdout] 55 + std::panic::panic_any(e); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/http_handlers.rs:95:17 [INFO] [stdout] | [INFO] [stdout] 95 | #[derive(Debug, Deserialize, Serialize)] [INFO] [stdout] | ^---------- [INFO] [stdout] | | [INFO] [stdout] | `Deserialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_DESERIALIZE_FOR_ImageUploadResult` [INFO] [stdout] 96 | pub struct ImageUploadResult { [INFO] [stdout] | ----------------- `ImageUploadResult` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Deserialize` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Deserialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: `#[warn(non_local_definitions)]` on by default [INFO] [stdout] = note: this warning originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/http_handlers.rs:95:30 [INFO] [stdout] | [INFO] [stdout] 95 | #[derive(Debug, Deserialize, Serialize)] [INFO] [stdout] | ^-------- [INFO] [stdout] | | [INFO] [stdout] | `Serialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_SERIALIZE_FOR_ImageUploadResult` [INFO] [stdout] 96 | pub struct ImageUploadResult { [INFO] [stdout] | ----------------- `ImageUploadResult` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Serialize` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Serialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Serialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/http_handlers.rs:104:17 [INFO] [stdout] | [INFO] [stdout] 104 | #[derive(Debug, Deserialize)] [INFO] [stdout] | ^---------- [INFO] [stdout] | | [INFO] [stdout] | `Deserialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_DESERIALIZE_FOR_ImageUploadRequest` [INFO] [stdout] 105 | struct ImageUploadRequest { [INFO] [stdout] | ------------------ `ImageUploadRequest` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Deserialize` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Deserialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `trlogic_test` (lib test) due to 2 previous errors; 8 warnings emitted [INFO] running `Command { std: "docker" "inspect" "879f0016c588676aa7a2ba7f5d470080bac58a707d6623198e5a538401f96e78", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "879f0016c588676aa7a2ba7f5d470080bac58a707d6623198e5a538401f96e78", kill_on_drop: false }` [INFO] [stdout] 879f0016c588676aa7a2ba7f5d470080bac58a707d6623198e5a538401f96e78