[INFO] cloning repository https://github.com/cfsamson/tools-filetransfer-server [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/cfsamson/tools-filetransfer-server" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcfsamson%2Ftools-filetransfer-server", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcfsamson%2Ftools-filetransfer-server'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 83196a336b017db370612d6790b5ae4a1bccd895 [INFO] testing cfsamson/tools-filetransfer-server against try#17092ad00ed8fe1e7f81a7e38238ff70779034b1 for pr-140985 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcfsamson%2Ftools-filetransfer-server" "/workspace/builds/worker-0-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/cfsamson/tools-filetransfer-server on toolchain 17092ad00ed8fe1e7f81a7e38238ff70779034b1 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+17092ad00ed8fe1e7f81a7e38238ff70779034b1" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/cfsamson/tools-filetransfer-server [INFO] finished tweaking git repo https://github.com/cfsamson/tools-filetransfer-server [INFO] tweaked toml for git repo https://github.com/cfsamson/tools-filetransfer-server written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/cfsamson/tools-filetransfer-server 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" "+17092ad00ed8fe1e7f81a7e38238ff70779034b1" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:eea15d5475069c3ef791f10c2c6b5af2ee421ef2da1e680ecce1cba46243983b" "/opt/rustwide/cargo-home/bin/cargo" "+17092ad00ed8fe1e7f81a7e38238ff70779034b1" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 38f917eb6e2750820ef043b329dd037777f28c16dde25fa10c0f77dba058d8ff [INFO] running `Command { std: "docker" "start" "-a" "38f917eb6e2750820ef043b329dd037777f28c16dde25fa10c0f77dba058d8ff", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "38f917eb6e2750820ef043b329dd037777f28c16dde25fa10c0f77dba058d8ff", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "38f917eb6e2750820ef043b329dd037777f28c16dde25fa10c0f77dba058d8ff", kill_on_drop: false }` [INFO] [stdout] 38f917eb6e2750820ef043b329dd037777f28c16dde25fa10c0f77dba058d8ff [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:eea15d5475069c3ef791f10c2c6b5af2ee421ef2da1e680ecce1cba46243983b" "/opt/rustwide/cargo-home/bin/cargo" "+17092ad00ed8fe1e7f81a7e38238ff70779034b1" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e6694d786fd0c3b3e3b1a4eb078d5fdf1749129083f5f927ff773c4193bfd600 [INFO] running `Command { std: "docker" "start" "-a" "e6694d786fd0c3b3e3b1a4eb078d5fdf1749129083f5f927ff773c4193bfd600", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v0.4.27 [INFO] [stderr] Compiling unicode-xid v0.1.0 [INFO] [stderr] Compiling syn v0.15.29 [INFO] [stderr] Compiling autocfg v0.1.2 [INFO] [stderr] Compiling cc v1.0.32 [INFO] [stderr] Compiling libc v0.2.51 [INFO] [stderr] Compiling byteorder v1.3.1 [INFO] [stderr] Compiling serde v1.0.89 [INFO] [stderr] Compiling failure_derive v0.1.5 [INFO] [stderr] Compiling cfg-if v0.1.7 [INFO] [stderr] Compiling rustc-demangle v0.1.13 [INFO] [stderr] Compiling backtrace v0.3.14 [INFO] [stderr] Compiling bincode v1.1.2 [INFO] [stderr] Compiling backtrace-sys v0.1.28 [INFO] [stderr] Compiling quote v0.6.11 [INFO] [stderr] Compiling synstructure v0.10.1 [INFO] [stderr] Compiling serde_derive v1.0.89 [INFO] [stderr] Compiling failure v0.1.5 [INFO] [stderr] Compiling file_server v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> src/main.rs:125:17 [INFO] [stdout] | [INFO] [stdout] 125 | #[derive(Debug, Serialize, 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 `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: `#[warn(unexpected_cfgs)]` on by default [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/main.rs:125:28 [INFO] [stdout] | [INFO] [stdout] 125 | #[derive(Debug, Serialize, 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/main.rs:152:17 [INFO] [stdout] | [INFO] [stdout] 152 | #[derive(Debug, Serialize, 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 `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/main.rs:152:28 [INFO] [stdout] | [INFO] [stdout] 152 | #[derive(Debug, Serialize, 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 variable: `reconnect_flag` [INFO] [stdout] --> src/main.rs:24:13 [INFO] [stdout] | [INFO] [stdout] 24 | let mut reconnect_flag = false; [INFO] [stdout] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_reconnect_flag` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:24:9 [INFO] [stdout] | [INFO] [stdout] 24 | let mut reconnect_flag = false; [INFO] [stdout] | ----^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:95:9 [INFO] [stdout] | [INFO] [stdout] 95 | let mut relative = relative_path.unwrap_or(PathBuf::new()); [INFO] [stdout] | ----^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `display` is never used [INFO] [stdout] --> src/main.rs:53:4 [INFO] [stdout] | [INFO] [stdout] 53 | fn display(folder: Folder) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [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/main.rs:125:17 [INFO] [stdout] | [INFO] [stdout] 125 | #[derive(Debug, Serialize, Deserialize)] [INFO] [stdout] | ^-------- [INFO] [stdout] | | [INFO] [stdout] | `Serialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_SERIALIZE_FOR_Folder` [INFO] [stdout] 126 | pub struct Folder { [INFO] [stdout] | ------ `Folder` 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: `#[warn(non_local_definitions)]` on by default [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/main.rs:125:28 [INFO] [stdout] | [INFO] [stdout] 125 | #[derive(Debug, Serialize, Deserialize)] [INFO] [stdout] | ^---------- [INFO] [stdout] | | [INFO] [stdout] | `Deserialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_DESERIALIZE_FOR_Folder` [INFO] [stdout] 126 | pub struct Folder { [INFO] [stdout] | ------ `Folder` 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: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/main.rs:152:17 [INFO] [stdout] | [INFO] [stdout] 152 | #[derive(Debug, Serialize, Deserialize)] [INFO] [stdout] | ^-------- [INFO] [stdout] | | [INFO] [stdout] | `Serialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_SERIALIZE_FOR_File` [INFO] [stdout] 153 | pub struct File { [INFO] [stdout] | ---- `File` 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/main.rs:152:28 [INFO] [stdout] | [INFO] [stdout] 152 | #[derive(Debug, Serialize, Deserialize)] [INFO] [stdout] | ^---------- [INFO] [stdout] | | [INFO] [stdout] | `Deserialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_DESERIALIZE_FOR_File` [INFO] [stdout] 153 | pub struct File { [INFO] [stdout] | ---- `File` 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] Finished `dev` profile [unoptimized + debuginfo] target(s) in 9.44s [INFO] running `Command { std: "docker" "inspect" "e6694d786fd0c3b3e3b1a4eb078d5fdf1749129083f5f927ff773c4193bfd600", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e6694d786fd0c3b3e3b1a4eb078d5fdf1749129083f5f927ff773c4193bfd600", kill_on_drop: false }` [INFO] [stdout] e6694d786fd0c3b3e3b1a4eb078d5fdf1749129083f5f927ff773c4193bfd600 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:eea15d5475069c3ef791f10c2c6b5af2ee421ef2da1e680ecce1cba46243983b" "/opt/rustwide/cargo-home/bin/cargo" "+17092ad00ed8fe1e7f81a7e38238ff70779034b1" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 6c7fe6a194732b63bedd437b7321c3b673639a0427b5c3f7139369e3f2a0903b [INFO] running `Command { std: "docker" "start" "-a" "6c7fe6a194732b63bedd437b7321c3b673639a0427b5c3f7139369e3f2a0903b", kill_on_drop: false }` [INFO] [stderr] Compiling file_server v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> src/main.rs:125:17 [INFO] [stdout] | [INFO] [stdout] 125 | #[derive(Debug, Serialize, 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 `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: `#[warn(unexpected_cfgs)]` on by default [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/main.rs:125:28 [INFO] [stdout] | [INFO] [stdout] 125 | #[derive(Debug, Serialize, 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/main.rs:152:17 [INFO] [stdout] | [INFO] [stdout] 152 | #[derive(Debug, Serialize, 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 `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/main.rs:152:28 [INFO] [stdout] | [INFO] [stdout] 152 | #[derive(Debug, Serialize, 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 variable: `reconnect_flag` [INFO] [stdout] --> src/main.rs:24:13 [INFO] [stdout] | [INFO] [stdout] 24 | let mut reconnect_flag = false; [INFO] [stdout] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_reconnect_flag` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:24:9 [INFO] [stdout] | [INFO] [stdout] 24 | let mut reconnect_flag = false; [INFO] [stdout] | ----^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:95:9 [INFO] [stdout] | [INFO] [stdout] 95 | let mut relative = relative_path.unwrap_or(PathBuf::new()); [INFO] [stdout] | ----^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `folder` [INFO] [stdout] --> src/main.rs:190:13 [INFO] [stdout] | [INFO] [stdout] 190 | let folder: Folder = bincode::deserialize(&data).unwrap(); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_folder` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:189:13 [INFO] [stdout] | [INFO] [stdout] 189 | let mut data = serialize_folder(folders).unwrap(); [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `display` is never used [INFO] [stdout] --> src/main.rs:53:4 [INFO] [stdout] | [INFO] [stdout] 53 | fn display(folder: Folder) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [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/main.rs:125:17 [INFO] [stdout] | [INFO] [stdout] 125 | #[derive(Debug, Serialize, Deserialize)] [INFO] [stdout] | ^-------- [INFO] [stdout] | | [INFO] [stdout] | `Serialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_SERIALIZE_FOR_Folder` [INFO] [stdout] 126 | pub struct Folder { [INFO] [stdout] | ------ `Folder` 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: `#[warn(non_local_definitions)]` on by default [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/main.rs:125:28 [INFO] [stdout] | [INFO] [stdout] 125 | #[derive(Debug, Serialize, Deserialize)] [INFO] [stdout] | ^---------- [INFO] [stdout] | | [INFO] [stdout] | `Deserialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_DESERIALIZE_FOR_Folder` [INFO] [stdout] 126 | pub struct Folder { [INFO] [stdout] | ------ `Folder` 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: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/main.rs:152:17 [INFO] [stdout] | [INFO] [stdout] 152 | #[derive(Debug, Serialize, Deserialize)] [INFO] [stdout] | ^-------- [INFO] [stdout] | | [INFO] [stdout] | `Serialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_SERIALIZE_FOR_File` [INFO] [stdout] 153 | pub struct File { [INFO] [stdout] | ---- `File` 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/main.rs:152:28 [INFO] [stdout] | [INFO] [stdout] 152 | #[derive(Debug, Serialize, Deserialize)] [INFO] [stdout] | ^---------- [INFO] [stdout] | | [INFO] [stdout] | `Deserialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_DESERIALIZE_FOR_File` [INFO] [stdout] 153 | pub struct File { [INFO] [stdout] | ---- `File` 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] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.60s [INFO] running `Command { std: "docker" "inspect" "6c7fe6a194732b63bedd437b7321c3b673639a0427b5c3f7139369e3f2a0903b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6c7fe6a194732b63bedd437b7321c3b673639a0427b5c3f7139369e3f2a0903b", kill_on_drop: false }` [INFO] [stdout] 6c7fe6a194732b63bedd437b7321c3b673639a0427b5c3f7139369e3f2a0903b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:eea15d5475069c3ef791f10c2c6b5af2ee421ef2da1e680ecce1cba46243983b" "/opt/rustwide/cargo-home/bin/cargo" "+17092ad00ed8fe1e7f81a7e38238ff70779034b1" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] e57b72340785163d201f620dcf81ae889cfe668f9e7210ebfe1b25cadda80aae [INFO] running `Command { std: "docker" "start" "-a" "e57b72340785163d201f620dcf81ae889cfe668f9e7210ebfe1b25cadda80aae", kill_on_drop: false }` [INFO] [stderr] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stderr] --> src/main.rs:125:17 [INFO] [stderr] | [INFO] [stderr] 125 | #[derive(Debug, Serialize, Deserialize)] [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: no expected values for `feature` [INFO] [stderr] = 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] [stderr] = help: try referring to `Serialize` crate for guidance on how handle this unexpected cfg [INFO] [stderr] = 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] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stderr] = note: this warning originates in the derive macro `Serialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stderr] --> src/main.rs:125:28 [INFO] [stderr] | [INFO] [stderr] 125 | #[derive(Debug, Serialize, Deserialize)] [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: no expected values for `feature` [INFO] [stderr] = 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] [stderr] = help: try referring to `Deserialize` crate for guidance on how handle this unexpected cfg [INFO] [stderr] = 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] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] = note: this warning originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stderr] --> src/main.rs:152:17 [INFO] [stderr] | [INFO] [stderr] 152 | #[derive(Debug, Serialize, Deserialize)] [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: no expected values for `feature` [INFO] [stderr] = 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] [stderr] = help: try referring to `Serialize` crate for guidance on how handle this unexpected cfg [INFO] [stderr] = 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] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] = note: this warning originates in the derive macro `Serialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stderr] --> src/main.rs:152:28 [INFO] [stderr] | [INFO] [stderr] 152 | #[derive(Debug, Serialize, Deserialize)] [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: no expected values for `feature` [INFO] [stderr] = 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] [stderr] = help: try referring to `Deserialize` crate for guidance on how handle this unexpected cfg [INFO] [stderr] = 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] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] = note: this warning originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: unused variable: `reconnect_flag` [INFO] [stderr] --> src/main.rs:24:13 [INFO] [stderr] | [INFO] [stderr] 24 | let mut reconnect_flag = false; [INFO] [stderr] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_reconnect_flag` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` on by default [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/main.rs:24:9 [INFO] [stderr] | [INFO] [stderr] 24 | let mut reconnect_flag = false; [INFO] [stderr] | ----^^^^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_mut)]` on by default [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/main.rs:95:9 [INFO] [stderr] | [INFO] [stderr] 95 | let mut relative = relative_path.unwrap_or(PathBuf::new()); [INFO] [stderr] | ----^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `folder` [INFO] [stderr] --> src/main.rs:190:13 [INFO] [stderr] | [INFO] [stderr] 190 | let folder: Folder = bincode::deserialize(&data).unwrap(); [INFO] [stderr] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_folder` [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/main.rs:189:13 [INFO] [stderr] | [INFO] [stderr] 189 | let mut data = serialize_folder(folders).unwrap(); [INFO] [stderr] | ----^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] [INFO] [stderr] warning: function `display` is never used [INFO] [stderr] --> src/main.rs:53:4 [INFO] [stderr] | [INFO] [stderr] 53 | fn display(folder: Folder) { [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> src/main.rs:125:17 [INFO] [stderr] | [INFO] [stderr] 125 | #[derive(Debug, Serialize, Deserialize)] [INFO] [stderr] | ^-------- [INFO] [stderr] | | [INFO] [stderr] | `Serialize` is not local [INFO] [stderr] | move the `impl` block outside of this constant `_IMPL_SERIALIZE_FOR_Folder` [INFO] [stderr] 126 | pub struct Folder { [INFO] [stderr] | ------ `Folder` is not local [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `Serialize` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = 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] [stderr] = 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] [stderr] = 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] [stderr] = note: `#[warn(non_local_definitions)]` on by default [INFO] [stderr] = note: this warning originates in the derive macro `Serialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> src/main.rs:125:28 [INFO] [stderr] | [INFO] [stderr] 125 | #[derive(Debug, Serialize, Deserialize)] [INFO] [stderr] | ^---------- [INFO] [stderr] | | [INFO] [stderr] | `Deserialize` is not local [INFO] [stderr] | move the `impl` block outside of this constant `_IMPL_DESERIALIZE_FOR_Folder` [INFO] [stderr] 126 | pub struct Folder { [INFO] [stderr] | ------ `Folder` is not local [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `Deserialize` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = 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] [stderr] = 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] [stderr] = 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] [stderr] = note: this warning originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> src/main.rs:152:17 [INFO] [stderr] | [INFO] [stderr] 152 | #[derive(Debug, Serialize, Deserialize)] [INFO] [stderr] | ^-------- [INFO] [stderr] | | [INFO] [stderr] | `Serialize` is not local [INFO] [stderr] | move the `impl` block outside of this constant `_IMPL_SERIALIZE_FOR_File` [INFO] [stderr] 153 | pub struct File { [INFO] [stderr] | ---- `File` is not local [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `Serialize` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = 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] [stderr] = 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] [stderr] = 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] [stderr] = note: this warning originates in the derive macro `Serialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> src/main.rs:152:28 [INFO] [stderr] | [INFO] [stderr] 152 | #[derive(Debug, Serialize, Deserialize)] [INFO] [stderr] | ^---------- [INFO] [stderr] | | [INFO] [stderr] | `Deserialize` is not local [INFO] [stderr] | move the `impl` block outside of this constant `_IMPL_DESERIALIZE_FOR_File` [INFO] [stderr] 153 | pub struct File { [INFO] [stderr] | ---- `File` is not local [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `Deserialize` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = 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] [stderr] = 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] [stderr] = 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] [stderr] = note: this warning originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: `file_server` (bin "file_server" test) generated 14 warnings (run `cargo fix --bin "file_server" --tests` to apply 3 suggestions) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.04s [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/file_server-bba7473fd0069dfc) [INFO] [stdout] [INFO] [stdout] running 1 test [INFO] [stdout] test tests::it_serializes_and_deserializes ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- tests::it_serializes_and_deserializes stdout ---- [INFO] [stdout] [INFO] [stdout] thread 'tests::it_serializes_and_deserializes' panicked at src/main.rs:188:52: [INFO] [stdout] called `Result::unwrap()` on an `Err` value: Os { code: 2, kind: NotFound, message: "No such file or directory" } [INFO] [stdout] [INFO] [stdout] stack backtrace: [INFO] [stdout] 0: failure::backtrace::internal::InternalBacktrace::new::h7a7f5e9ce8c59495 (0x572245a17ba8) [INFO] [stdout] at src/backtrace/internal.rs:44 [INFO] [stdout] 1: failure::backtrace::Backtrace::new::h2267e78b3aa85a83 (0x572245a18207) [INFO] [stdout] at src/backtrace/mod.rs:111 [INFO] [stdout] 2: >::from::had16bcc452a8a342 (0x5722459cba25) [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/failure-0.1.5/src/error/error_impl.rs:19 [INFO] [stdout] 3: >::from::h18391ff023ef214c (0x5722459caa59) [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/failure-0.1.5/src/error/mod.rs:36 [INFO] [stdout] 4: as core::ops::try_trait::FromResidual>>::from_residual::h3e5d98e3190264ba (0x5722459c7eb1) [INFO] [stdout] at /rustc/17092ad00ed8fe1e7f81a7e38238ff70779034b1/library/core/src/result.rs:2050 [INFO] [stdout] 5: file_server::read_files::hf2345536856db30e (0x5722459af113) [INFO] [stdout] at src/main.rs:89 [INFO] [stdout] 6: file_server::tests::it_serializes_and_deserializes::h8b4c425b6d11119f (0x5722459cbe69) [INFO] [stdout] at src/main.rs:188 [INFO] [stdout] 7: file_server::tests::it_serializes_and_deserializes::{{closure}}::h28c5cfa3f53875f9 (0x5722459cbe16) [INFO] [stdout] at src/main.rs:187 [INFO] [stdout] 8: core::ops::function::FnOnce::call_once::h5ad1c5d4c6482dd1 (0x5722459c8b25) [INFO] [stdout] at /rustc/17092ad00ed8fe1e7f81a7e38238ff70779034b1/library/core/src/ops/function.rs:250 [INFO] [stdout] 9: core::ops::function::FnOnce::call_once::h0c81d2c7e362685a (0x572245a100fa) [INFO] [stdout] at library/core/src/ops/function.rs:250 [INFO] [stdout] test::__rust_begin_short_backtrace::hc62049913de4b9c6 [INFO] [stdout] at library/test/src/lib.rs:648 [INFO] [stdout] 10: test::run_test_in_process::{{closure}}::h906d61461feea06d (0x572245a0f311) [INFO] [stdout] at library/test/src/lib.rs:671 [INFO] [stdout] as core::ops::function::FnOnce<()>>::call_once::h962d8c24a3ec06f1 [INFO] [stdout] at library/core/src/panic/unwind_safe.rs:272 [INFO] [stdout] std::panicking::try::do_call::h88e304055018b07f [INFO] [stdout] at library/std/src/panicking.rs:589 [INFO] [stdout] std::panicking::try::h34046f0780b49f58 [INFO] [stdout] at library/std/src/panicking.rs:552 [INFO] [stdout] std::panic::catch_unwind::h7d7ad4d133a51a76 [INFO] [stdout] at library/std/src/panic.rs:359 [INFO] [stdout] test::run_test_in_process::h0871d7f888d1f41c [INFO] [stdout] at library/test/src/lib.rs:671 [INFO] [stdout] test::run_test::{{closure}}::h696f8114d8bae20e [INFO] [stdout] at library/test/src/lib.rs:592 [INFO] [stdout] 11: test::run_test::{{closure}}::h632082d0bd36bde1 (0x5722459d2703) [INFO] [stdout] at library/test/src/lib.rs:622 [INFO] [stdout] std::sys::backtrace::__rust_begin_short_backtrace::hf4db03c672d46ea2 [INFO] [stdout] at library/std/src/sys/backtrace.rs:152 [INFO] [stdout] 12: std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::h571ce7b4ea6fba0e (0x5722459d61d9) [INFO] [stdout] at library/std/src/thread/mod.rs:559 [INFO] [stdout] as core::ops::function::FnOnce<()>>::call_once::h79478c2f2b0b4ed6 [INFO] [stdout] at library/core/src/panic/unwind_safe.rs:272 [INFO] [stdout] std::panicking::try::do_call::hdfb524d8b1c5ea5d [INFO] [stdout] at library/std/src/panicking.rs:589 [INFO] [stdout] std::panicking::try::hb57ee69084fa6c6a [INFO] [stdout] at library/std/src/panicking.rs:552 [INFO] [stdout] std::panic::catch_unwind::h1fcc7dadd90dd47c [INFO] [stdout] at library/std/src/panic.rs:359 [INFO] [stdout] std::thread::Builder::spawn_unchecked_::{{closure}}::h7201710e36d47c29 [INFO] [stdout] at library/std/src/thread/mod.rs:557 [INFO] [stdout] core::ops::function::FnOnce::call_once{{vtable.shim}}::ha75b12b48ae5b3d2 [INFO] [stdout] at library/core/src/ops/function.rs:250 [INFO] [stdout] 13: as core::ops::function::FnOnce>::call_once::h02517bb8c2b8e279 (0x572245a630ba) [INFO] [stdout] at library/alloc/src/boxed.rs:1966 [INFO] [stdout] as core::ops::function::FnOnce>::call_once::h760bb73d54d4c118 [INFO] [stdout] at library/alloc/src/boxed.rs:1966 [INFO] [stdout] std::sys::pal::unix::thread::Thread::new::thread_start::h91ff250566269b77 [INFO] [stdout] at library/std/src/sys/pal/unix/thread.rs:97 [INFO] [stdout] 14: (0x73327483eaa3) [INFO] [stdout] 15: __clone (0x7332748cba33) [INFO] [stdout] 16: (0x0) [INFO] [stdout] stack backtrace: [INFO] [stdout] 0: 0x572245a5f502 - std::backtrace_rs::backtrace::libunwind::trace::h2bdbdb423cc746ad [INFO] [stdout] at /rustc/17092ad00ed8fe1e7f81a7e38238ff70779034b1/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9 [INFO] [stdout] 1: 0x572245a5f502 - std::backtrace_rs::backtrace::trace_unsynchronized::h876081fa48c0856a [INFO] [stdout] at /rustc/17092ad00ed8fe1e7f81a7e38238ff70779034b1/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14 [INFO] [stdout] 2: 0x572245a5f502 - std::sys::backtrace::_print_fmt::h744638bebbff2806 [INFO] [stdout] at /rustc/17092ad00ed8fe1e7f81a7e38238ff70779034b1/library/std/src/sys/backtrace.rs:66:9 [INFO] [stdout] 3: 0x572245a5f502 - ::fmt::he6e74fa9d0076b5d [INFO] [stdout] at /rustc/17092ad00ed8fe1e7f81a7e38238ff70779034b1/library/std/src/sys/backtrace.rs:39:26 [INFO] [stdout] 4: 0x572245a83913 - core::fmt::rt::Argument::fmt::hf88a3177e76af877 [INFO] [stdout] at /rustc/17092ad00ed8fe1e7f81a7e38238ff70779034b1/library/core/src/fmt/rt.rs:173:76 [INFO] [stdout] 5: 0x572245a83913 - core::fmt::write::h6442196e41589522 [INFO] [stdout] at /rustc/17092ad00ed8fe1e7f81a7e38238ff70779034b1/library/core/src/fmt/mod.rs:1446:25 [INFO] [stdout] 6: 0x572245a5c0f3 - std::io::default_write_fmt::h19b804dc75596022 [INFO] [stdout] at /rustc/17092ad00ed8fe1e7f81a7e38238ff70779034b1/library/std/src/io/mod.rs:639:11 [INFO] [stdout] 7: 0x572245a5c0f3 - std::io::Write::write_fmt::h561df7c669043671 [INFO] [stdout] at /rustc/17092ad00ed8fe1e7f81a7e38238ff70779034b1/library/std/src/io/mod.rs:1914:13 [INFO] [stdout] 8: 0x572245a5f352 - std::sys::backtrace::BacktraceLock::print::h25e1ce4c29150054 [INFO] [stdout] at /rustc/17092ad00ed8fe1e7f81a7e38238ff70779034b1/library/std/src/sys/backtrace.rs:42:9 [INFO] [stdout] 9: 0x572245a60c8c - std::panicking::default_hook::{{closure}}::h36663bdaae83f2bb [INFO] [stdout] at /rustc/17092ad00ed8fe1e7f81a7e38238ff70779034b1/library/std/src/panicking.rs:300:22 [INFO] [stdout] 10: 0x572245a60ae2 - std::panicking::default_hook::hb9d7c40580cf1835 [INFO] [stdout] at /rustc/17092ad00ed8fe1e7f81a7e38238ff70779034b1/library/std/src/panicking.rs:324:9 [INFO] [stdout] 11: 0x572245a0a904 - as core::ops::function::Fn>::call::h53bdf3f1ac68020f [INFO] [stdout] at /rustc/17092ad00ed8fe1e7f81a7e38238ff70779034b1/library/alloc/src/boxed.rs:1980:9 [INFO] [stdout] 12: 0x572245a0a904 - test::test_main_with_exit_callback::{{closure}}::h3ae9af1665ff5b7d [INFO] [stdout] at /rustc/17092ad00ed8fe1e7f81a7e38238ff70779034b1/library/test/src/lib.rs:145:21 [INFO] [stdout] 13: 0x572245a61783 - as core::ops::function::Fn>::call::ha3a705c6ebc0f8fb [INFO] [stdout] at /rustc/17092ad00ed8fe1e7f81a7e38238ff70779034b1/library/alloc/src/boxed.rs:1980:9 [INFO] [stdout] 14: 0x572245a61783 - std::panicking::rust_panic_with_hook::h2d703857e4ba629f [INFO] [stdout] at /rustc/17092ad00ed8fe1e7f81a7e38238ff70779034b1/library/std/src/panicking.rs:841:13 [INFO] [stdout] 15: 0x572245a6143a - std::panicking::begin_panic_handler::{{closure}}::h53dd12a17ad784b1 [INFO] [stdout] at /rustc/17092ad00ed8fe1e7f81a7e38238ff70779034b1/library/std/src/panicking.rs:706:13 [INFO] [stdout] 16: 0x572245a5fa09 - std::sys::backtrace::__rust_end_short_backtrace::hf54a874920d38937 [INFO] [stdout] at /rustc/17092ad00ed8fe1e7f81a7e38238ff70779034b1/library/std/src/sys/backtrace.rs:168:18 [INFO] [stdout] 17: 0x572245a610cd - __rustc[22d03d94d4da23d0]::rust_begin_unwind [INFO] [stdout] at /rustc/17092ad00ed8fe1e7f81a7e38238ff70779034b1/library/std/src/panicking.rs:697:5 [INFO] [stdout] 18: 0x572245a82380 - core::panicking::panic_fmt::hb74c170c8276d1d6 [INFO] [stdout] at /rustc/17092ad00ed8fe1e7f81a7e38238ff70779034b1/library/core/src/panicking.rs:75:14 [INFO] [stdout] 19: 0x572245a827b6 - core::result::unwrap_failed::hc1dbbc53e2530a6b [INFO] [stdout] at /rustc/17092ad00ed8fe1e7f81a7e38238ff70779034b1/library/core/src/result.rs:1732:5 [INFO] [stdout] 20: 0x5722459cbede - core::result::Result::unwrap::he6115e90ddbf2cc9 [INFO] [stdout] at /rustc/17092ad00ed8fe1e7f81a7e38238ff70779034b1/library/core/src/result.rs:1137:23 [INFO] [stdout] 21: 0x5722459cbede - file_server::tests::it_serializes_and_deserializes::h8b4c425b6d11119f [INFO] [stdout] at /opt/rustwide/workdir/src/main.rs:188:23 [INFO] [stdout] 22: 0x5722459cbe17 - file_server::tests::it_serializes_and_deserializes::{{closure}}::h28c5cfa3f53875f9 [INFO] [stdout] at /opt/rustwide/workdir/src/main.rs:187:40 [INFO] [stdout] 23: 0x5722459c8b26 - core::ops::function::FnOnce::call_once::h5ad1c5d4c6482dd1 [INFO] [stdout] at /rustc/17092ad00ed8fe1e7f81a7e38238ff70779034b1/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 24: 0x572245a100fb - core::ops::function::FnOnce::call_once::h0c81d2c7e362685a [INFO] [stdout] at /rustc/17092ad00ed8fe1e7f81a7e38238ff70779034b1/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 25: 0x572245a100fb - test::__rust_begin_short_backtrace::hc62049913de4b9c6 [INFO] [stdout] at /rustc/17092ad00ed8fe1e7f81a7e38238ff70779034b1/library/test/src/lib.rs:648:18 [INFO] [stdout] 26: 0x572245a0f312 - test::run_test_in_process::{{closure}}::h906d61461feea06d [INFO] [stdout] at /rustc/17092ad00ed8fe1e7f81a7e38238ff70779034b1/library/test/src/lib.rs:671:60 [INFO] [stdout] 27: 0x572245a0f312 - as core::ops::function::FnOnce<()>>::call_once::h962d8c24a3ec06f1 [INFO] [stdout] at /rustc/17092ad00ed8fe1e7f81a7e38238ff70779034b1/library/core/src/panic/unwind_safe.rs:272:9 [INFO] [stdout] 28: 0x572245a0f312 - std::panicking::try::do_call::h88e304055018b07f [INFO] [stdout] at /rustc/17092ad00ed8fe1e7f81a7e38238ff70779034b1/library/std/src/panicking.rs:589:40 [INFO] [stdout] 29: 0x572245a0f312 - std::panicking::try::h34046f0780b49f58 [INFO] [stdout] at /rustc/17092ad00ed8fe1e7f81a7e38238ff70779034b1/library/std/src/panicking.rs:552:19 [INFO] [stdout] 30: 0x572245a0f312 - std::panic::catch_unwind::h7d7ad4d133a51a76 [INFO] [stdout] at /rustc/17092ad00ed8fe1e7f81a7e38238ff70779034b1/library/std/src/panic.rs:359:14 [INFO] [stdout] 31: 0x572245a0f312 - test::run_test_in_process::h0871d7f888d1f41c [INFO] [stdout] at /rustc/17092ad00ed8fe1e7f81a7e38238ff70779034b1/library/test/src/lib.rs:671:27 [INFO] [stdout] 32: 0x572245a0f312 - test::run_test::{{closure}}::h696f8114d8bae20e [INFO] [stdout] at /rustc/17092ad00ed8fe1e7f81a7e38238ff70779034b1/library/test/src/lib.rs:592:43 [INFO] [stdout] 33: 0x5722459d2704 - test::run_test::{{closure}}::h632082d0bd36bde1 [INFO] [stdout] at /rustc/17092ad00ed8fe1e7f81a7e38238ff70779034b1/library/test/src/lib.rs:622:41 [INFO] [stdout] 34: 0x5722459d2704 - std::sys::backtrace::__rust_begin_short_backtrace::hf4db03c672d46ea2 [INFO] [stdout] at /rustc/17092ad00ed8fe1e7f81a7e38238ff70779034b1/library/std/src/sys/backtrace.rs:152:18 [INFO] [stdout] 35: 0x5722459d61da - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::h571ce7b4ea6fba0e [INFO] [stdout] at /rustc/17092ad00ed8fe1e7f81a7e38238ff70779034b1/library/std/src/thread/mod.rs:559:17 [INFO] [stdout] 36: 0x5722459d61da - as core::ops::function::FnOnce<()>>::call_once::h79478c2f2b0b4ed6 [INFO] [stdout] at /rustc/17092ad00ed8fe1e7f81a7e38238ff70779034b1/library/core/src/panic/unwind_safe.rs:272:9 [INFO] [stdout] 37: 0x5722459d61da - std::panicking::try::do_call::hdfb524d8b1c5ea5d [INFO] [stdout] at /rustc/17092ad00ed8fe1e7f81a7e38238ff70779034b1/library/std/src/panicking.rs:589:40 [INFO] [stdout] 38: 0x5722459d61da - std::panicking::try::hb57ee69084fa6c6a [INFO] [stdout] at /rustc/17092ad00ed8fe1e7f81a7e38238ff70779034b1/library/std/src/panicking.rs:552:19 [INFO] [stdout] 39: 0x5722459d61da - std::panic::catch_unwind::h1fcc7dadd90dd47c [INFO] [stdout] at /rustc/17092ad00ed8fe1e7f81a7e38238ff70779034b1/library/std/src/panic.rs:359:14 [INFO] [stdout] 40: 0x5722459d61da - std::thread::Builder::spawn_unchecked_::{{closure}}::h7201710e36d47c29 [INFO] [stdout] at /rustc/17092ad00ed8fe1e7f81a7e38238ff70779034b1/library/std/src/thread/mod.rs:557:30 [INFO] [stdout] 41: 0x5722459d61da - core::ops::function::FnOnce::call_once{{vtable.shim}}::ha75b12b48ae5b3d2 [INFO] [stdout] at /rustc/17092ad00ed8fe1e7f81a7e38238ff70779034b1/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 42: 0x572245a630bb - as core::ops::function::FnOnce>::call_once::h02517bb8c2b8e279 [INFO] [stdout] at /rustc/17092ad00ed8fe1e7f81a7e38238ff70779034b1/library/alloc/src/boxed.rs:1966:9 [INFO] [stdout] 43: 0x572245a630bb - as core::ops::function::FnOnce>::call_once::h760bb73d54d4c118 [INFO] [stdout] at /rustc/17092ad00ed8fe1e7f81a7e38238ff70779034b1/library/alloc/src/boxed.rs:1966:9 [INFO] [stdout] 44: 0x572245a630bb - std::sys::pal::unix::thread::Thread::new::thread_start::h91ff250566269b77 [INFO] [stdout] at /rustc/17092ad00ed8fe1e7f81a7e38238ff70779034b1/library/std/src/sys/pal/unix/thread.rs:97:17 [INFO] [stdout] 45: 0x73327483eaa4 - [INFO] [stdout] 46: 0x7332748cba34 - clone [INFO] [stdout] 47: 0x0 - [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] tests::it_serializes_and_deserializes [INFO] [stdout] [INFO] [stdout] test result: FAILED. 0 passed; 1 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.20s [INFO] [stdout] [INFO] [stderr] error: test failed, to rerun pass `--bin file_server` [INFO] running `Command { std: "docker" "inspect" "e57b72340785163d201f620dcf81ae889cfe668f9e7210ebfe1b25cadda80aae", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e57b72340785163d201f620dcf81ae889cfe668f9e7210ebfe1b25cadda80aae", kill_on_drop: false }` [INFO] [stdout] e57b72340785163d201f620dcf81ae889cfe668f9e7210ebfe1b25cadda80aae