[INFO] fetching crate dbgp 0.0.1... [INFO] checking dbgp-0.0.1 against try#024378d9203a4009ed73d6db2681b88a8d74ce7a for pr-112160 [INFO] extracting crate dbgp 0.0.1 into /workspace/builds/worker-7-tc2/source [INFO] validating manifest of crates.io crate dbgp 0.0.1 on toolchain 024378d9203a4009ed73d6db2681b88a8d74ce7a [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+024378d9203a4009ed73d6db2681b88a8d74ce7a" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate dbgp 0.0.1 [INFO] finished tweaking crates.io crate dbgp 0.0.1 [INFO] tweaked toml for crates.io crate dbgp 0.0.1 written to /workspace/builds/worker-7-tc2/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+024378d9203a4009ed73d6db2681b88a8d74ce7a" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+024378d9203a4009ed73d6db2681b88a8d74ce7a" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:19e73879b68f455e41552ea35293514db52ea292d993f571636dbffedb77a1ee" "/opt/rustwide/cargo-home/bin/cargo" "+024378d9203a4009ed73d6db2681b88a8d74ce7a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 3a6d6bccdf97497b801bca4ca09b74a28f52c6092a5636c07fd034304ab922aa [INFO] running `Command { std: "docker" "start" "-a" "3a6d6bccdf97497b801bca4ca09b74a28f52c6092a5636c07fd034304ab922aa", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "3a6d6bccdf97497b801bca4ca09b74a28f52c6092a5636c07fd034304ab922aa", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3a6d6bccdf97497b801bca4ca09b74a28f52c6092a5636c07fd034304ab922aa", kill_on_drop: false }` [INFO] [stdout] 3a6d6bccdf97497b801bca4ca09b74a28f52c6092a5636c07fd034304ab922aa [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:19e73879b68f455e41552ea35293514db52ea292d993f571636dbffedb77a1ee" "/opt/rustwide/cargo-home/bin/cargo" "+024378d9203a4009ed73d6db2681b88a8d74ce7a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 171cd65e348dabe22fd45f855fc6668fe6ae533e97dd3ef0411fcb018beb7188 [INFO] running `Command { std: "docker" "start" "-a" "171cd65e348dabe22fd45f855fc6668fe6ae533e97dd3ef0411fcb018beb7188", kill_on_drop: false }` [INFO] [stderr] Compiling log v0.4.18 [INFO] [stderr] Checking matches v0.1.10 [INFO] [stderr] Checking scoped-tls v0.1.2 [INFO] [stderr] Checking tokio-service v0.1.0 [INFO] [stderr] Checking take v0.1.0 [INFO] [stderr] Checking slab v0.3.0 [INFO] [stderr] Checking smallvec v0.2.1 [INFO] [stderr] Checking xml-rs v0.4.1 [INFO] [stderr] Checking iovec v0.1.4 [INFO] [stderr] Checking net2 v0.2.38 [INFO] [stderr] Checking tokio-timer v0.2.13 [INFO] [stderr] Checking base64 v0.4.2 [INFO] [stderr] Checking lazy_static v0.2.11 [INFO] [stderr] Checking idna v0.1.5 [INFO] [stderr] Checking bytes v0.4.12 [INFO] [stderr] Checking tokio-io v0.1.13 [INFO] [stderr] Checking mio v0.6.23 [INFO] [stderr] Checking tokio-threadpool v0.1.18 [INFO] [stderr] Checking log v0.3.9 [INFO] [stderr] Checking url v1.7.2 [INFO] [stderr] Checking tokio-codec v0.1.2 [INFO] [stderr] Checking tokio-fs v0.1.7 [INFO] [stderr] Checking tokio-reactor v0.1.12 [INFO] [stderr] Checking mio-uds v0.6.8 [INFO] [stderr] Checking tokio-udp v0.1.6 [INFO] [stderr] Checking tokio-uds v0.2.7 [INFO] [stderr] Checking tokio-tcp v0.1.4 [INFO] [stderr] Checking tokio v0.1.22 [INFO] [stderr] Checking tokio-core v0.1.18 [INFO] [stderr] Checking tokio-proto v0.1.1 [INFO] [stderr] Checking dbgp v0.0.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `BufMut` [INFO] [stdout] --> src/codec.rs:88:27 [INFO] [stdout] | [INFO] [stdout] 88 | use bytes::{BytesMut, BufMut}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/error_codes.rs:44:5 [INFO] [stdout] | [INFO] [stdout] 44 | / /// missing a required option, invalid value for a [INFO] [stdout] 45 | | /// passed option, not supported feature [INFO] [stdout] | |____________________________________________^ [INFO] [stdout] 46 | / ErrorCode { [INFO] [stdout] 47 | | id: 003, [INFO] [stdout] 48 | | message: "invalid options", [INFO] [stdout] 49 | | }, [INFO] [stdout] | |_____- rustdoc does not generate documentation for expressions [INFO] [stdout] | [INFO] [stdout] = help: use `//` for a plain comment [INFO] [stdout] = note: `#[warn(unused_doc_comments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/error_codes.rs:56:5 [INFO] [stdout] | [INFO] [stdout] 56 | / /// Is used for async commands. For instance [INFO] [stdout] 57 | | /// if the engine is in state "run" then only "break" and "status" [INFO] [stdout] 58 | | /// are available [INFO] [stdout] | |_____________________^ [INFO] [stdout] 59 | / ErrorCode { [INFO] [stdout] 60 | | id: 005, [INFO] [stdout] 61 | | message: "Command not available", [INFO] [stdout] 62 | | }, [INFO] [stdout] | |_____- rustdoc does not generate documentation for expressions [INFO] [stdout] | [INFO] [stdout] = help: use `//` for a plain comment [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/error_codes.rs:66:5 [INFO] [stdout] | [INFO] [stdout] 66 | / /// as a reply to a "source" command if the [INFO] [stdout] 67 | | /// requested source file can't be opened [INFO] [stdout] | |_____________________________________________^ [INFO] [stdout] 68 | / ErrorCode { [INFO] [stdout] 69 | | id: 100, [INFO] [stdout] 70 | | message: "can not open file", [INFO] [stdout] 71 | | }, [INFO] [stdout] | |_____- rustdoc does not generate documentation for expressions [INFO] [stdout] | [INFO] [stdout] = help: use `//` for a plain comment [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/error_codes.rs:79:5 [INFO] [stdout] | [INFO] [stdout] 79 | / /// for some reason the breakpoint could not be set due [INFO] [stdout] 80 | | /// to problems registering it [INFO] [stdout] | |__________________________________^ [INFO] [stdout] 81 | / ErrorCode { [INFO] [stdout] 82 | | id: 200, [INFO] [stdout] 83 | | message: "breakpoint could not be set", [INFO] [stdout] 84 | | }, [INFO] [stdout] | |_____- rustdoc does not generate documentation for expressions [INFO] [stdout] | [INFO] [stdout] = help: use `//` for a plain comment [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/error_codes.rs:85:5 [INFO] [stdout] | [INFO] [stdout] 85 | /// for example I don't support 'watch' yet and thus return this error [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 86 | / ErrorCode { [INFO] [stdout] 87 | | id: 201, [INFO] [stdout] 88 | | message: "breakpoint type not supported", [INFO] [stdout] 89 | | }, [INFO] [stdout] | |_____- rustdoc does not generate documentation for expressions [INFO] [stdout] | [INFO] [stdout] = help: use `//` for a plain comment [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/error_codes.rs:91:5 [INFO] [stdout] | [INFO] [stdout] 91 | / /// the IDE tried to set a breakpoint on a [INFO] [stdout] 92 | | /// line that does not exist in the file (ie "line 0" or lines [INFO] [stdout] 93 | | /// past the end of the file) [INFO] [stdout] | |_________________________________^ [INFO] [stdout] 94 | / ErrorCode { [INFO] [stdout] 95 | | id: 202, [INFO] [stdout] 96 | | message: "invalid breakpoint", [INFO] [stdout] 97 | | }, [INFO] [stdout] | |_____- rustdoc does not generate documentation for expressions [INFO] [stdout] | [INFO] [stdout] = help: use `//` for a plain comment [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/error_codes.rs:98:5 [INFO] [stdout] | [INFO] [stdout] 98 | / ///the IDE tried to set a breakpoint [INFO] [stdout] 99 | | ///on a line which does not have any executable code. The [INFO] [stdout] 100 | | ///debugger engine is NOT required to return this type if it [INFO] [stdout] 101 | | ///is impossible to determine if there is code on a given [INFO] [stdout] 102 | | ///location. (For example, in the PHP debugger backend this [INFO] [stdout] 103 | | ///will only be returned in some special cases where the current [INFO] [stdout] 104 | | ///scope falls into the scope of the breakpoint to be set) [INFO] [stdout] | |______________________________________________________________^ [INFO] [stdout] 105 | / ErrorCode { [INFO] [stdout] 106 | | id: 203, [INFO] [stdout] 107 | | message: "no code on breakpoint line", [INFO] [stdout] 108 | | }, [INFO] [stdout] | |_____- rustdoc does not generate documentation for expressions [INFO] [stdout] | [INFO] [stdout] = help: use `//` for a plain comment [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/error_codes.rs:109:5 [INFO] [stdout] | [INFO] [stdout] 109 | /// using an unsupported breakpoint state was attempted [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 110 | / ErrorCode { [INFO] [stdout] 111 | | id: 204, [INFO] [stdout] 112 | | message: "Invalid breakpoint state", [INFO] [stdout] 113 | | }, [INFO] [stdout] | |_____- rustdoc does not generate documentation for expressions [INFO] [stdout] | [INFO] [stdout] = help: use `//` for a plain comment [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/error_codes.rs:115:5 [INFO] [stdout] | [INFO] [stdout] 115 | / /// used in breakpoint_get etc. to show that there is no [INFO] [stdout] 116 | | /// breakpoint with the given ID [INFO] [stdout] | |____________________________________^ [INFO] [stdout] 117 | / ErrorCode { [INFO] [stdout] 118 | | id: 205, [INFO] [stdout] 119 | | message: "No such breakpoint", [INFO] [stdout] 120 | | }, [INFO] [stdout] | |_____- rustdoc does not generate documentation for expressions [INFO] [stdout] | [INFO] [stdout] = help: use `//` for a plain comment [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/error_codes.rs:121:5 [INFO] [stdout] | [INFO] [stdout] 121 | /// use from eval() (or perhaps property_get for a full name get) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 122 | / ErrorCode { [INFO] [stdout] 123 | | id: 206, [INFO] [stdout] 124 | | message: "Error evaluating code", [INFO] [stdout] 125 | | }, [INFO] [stdout] | |_____- rustdoc does not generate documentation for expressions [INFO] [stdout] | [INFO] [stdout] = help: use `//` for a plain comment [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/error_codes.rs:127:5 [INFO] [stdout] | [INFO] [stdout] 127 | /// the expression used for a no, message:eval() was invalid }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 128 | / ErrorCode { [INFO] [stdout] 129 | | id: 207, [INFO] [stdout] 130 | | message: "Invalid expression", [INFO] [stdout] 131 | | }, [INFO] [stdout] | |_____- rustdoc does not generate documentation for expressions [INFO] [stdout] | [INFO] [stdout] = help: use `//` for a plain comment [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/error_codes.rs:135:5 [INFO] [stdout] | [INFO] [stdout] 135 | / /// when the requested property to get did [INFO] [stdout] 136 | | /// not exist, this is NOT used for an existing but uninitialized [INFO] [stdout] 137 | | /// property, which just gets the type "uninitialised" (See: [INFO] [stdout] 138 | | /// PreferredTypeNames) [INFO] [stdout] | |___________________________^ [INFO] [stdout] 139 | / ErrorCode { [INFO] [stdout] 140 | | id: 300, [INFO] [stdout] 141 | | message: "Can not get property", [INFO] [stdout] 142 | | }, [INFO] [stdout] | |_____- rustdoc does not generate documentation for expressions [INFO] [stdout] | [INFO] [stdout] = help: use `//` for a plain comment [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/error_codes.rs:144:5 [INFO] [stdout] | [INFO] [stdout] 144 | / /// the, message:d stack depth parameter did not }, [INFO] [stdout] 145 | | /// exist (ie, there were less stack elements than the number [INFO] [stdout] 146 | | /// requested) or the parameter was < 0 [INFO] [stdout] | |____________________________________________^ [INFO] [stdout] 147 | / ErrorCode { [INFO] [stdout] 148 | | id: 301, [INFO] [stdout] 149 | | message: "Stack depth invalid", [INFO] [stdout] 150 | | }, [INFO] [stdout] | |_____- rustdoc does not generate documentation for expressions [INFO] [stdout] | [INFO] [stdout] = help: use `//` for a plain comment [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/error_codes.rs:44:5 [INFO] [stdout] | [INFO] [stdout] 44 | / /// missing a required option, invalid value for a [INFO] [stdout] 45 | | /// passed option, not supported feature [INFO] [stdout] | |____________________________________________^ [INFO] [stdout] 46 | / ErrorCode { [INFO] [stdout] 47 | | id: 003, [INFO] [stdout] 48 | | message: "invalid options", [INFO] [stdout] 49 | | }, [INFO] [stdout] | |_____- rustdoc does not generate documentation for expressions [INFO] [stdout] | [INFO] [stdout] = help: use `//` for a plain comment [INFO] [stdout] = note: `#[warn(unused_doc_comments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/error_codes.rs:152:5 [INFO] [stdout] | [INFO] [stdout] 152 | /// an non existing context was requested [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 153 | / ErrorCode { [INFO] [stdout] 154 | | id: 302, [INFO] [stdout] 155 | | message: "Context invalid", [INFO] [stdout] 156 | | }, [INFO] [stdout] | |_____- rustdoc does not generate documentation for expressions [INFO] [stdout] | [INFO] [stdout] = help: use `//` for a plain comment [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/error_codes.rs:56:5 [INFO] [stdout] | [INFO] [stdout] 56 | / /// Is used for async commands. For instance [INFO] [stdout] 57 | | /// if the engine is in state "run" then only "break" and "status" [INFO] [stdout] 58 | | /// are available [INFO] [stdout] | |_____________________^ [INFO] [stdout] 59 | / ErrorCode { [INFO] [stdout] 60 | | id: 005, [INFO] [stdout] 61 | | message: "Command not available", [INFO] [stdout] 62 | | }, [INFO] [stdout] | |_____- rustdoc does not generate documentation for expressions [INFO] [stdout] | [INFO] [stdout] = help: use `//` for a plain comment [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/error_codes.rs:66:5 [INFO] [stdout] | [INFO] [stdout] 66 | / /// as a reply to a "source" command if the [INFO] [stdout] 67 | | /// requested source file can't be opened [INFO] [stdout] | |_____________________________________________^ [INFO] [stdout] 68 | / ErrorCode { [INFO] [stdout] 69 | | id: 100, [INFO] [stdout] 70 | | message: "can not open file", [INFO] [stdout] 71 | | }, [INFO] [stdout] | |_____- rustdoc does not generate documentation for expressions [INFO] [stdout] | [INFO] [stdout] = help: use `//` for a plain comment [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/error_codes.rs:79:5 [INFO] [stdout] | [INFO] [stdout] 79 | / /// for some reason the breakpoint could not be set due [INFO] [stdout] 80 | | /// to problems registering it [INFO] [stdout] | |__________________________________^ [INFO] [stdout] 81 | / ErrorCode { [INFO] [stdout] 82 | | id: 200, [INFO] [stdout] 83 | | message: "breakpoint could not be set", [INFO] [stdout] 84 | | }, [INFO] [stdout] | |_____- rustdoc does not generate documentation for expressions [INFO] [stdout] | [INFO] [stdout] = help: use `//` for a plain comment [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/error_codes.rs:85:5 [INFO] [stdout] | [INFO] [stdout] 85 | /// for example I don't support 'watch' yet and thus return this error [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 86 | / ErrorCode { [INFO] [stdout] 87 | | id: 201, [INFO] [stdout] 88 | | message: "breakpoint type not supported", [INFO] [stdout] 89 | | }, [INFO] [stdout] | |_____- rustdoc does not generate documentation for expressions [INFO] [stdout] | [INFO] [stdout] = help: use `//` for a plain comment [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/error_codes.rs:91:5 [INFO] [stdout] | [INFO] [stdout] 91 | / /// the IDE tried to set a breakpoint on a [INFO] [stdout] 92 | | /// line that does not exist in the file (ie "line 0" or lines [INFO] [stdout] 93 | | /// past the end of the file) [INFO] [stdout] | |_________________________________^ [INFO] [stdout] 94 | / ErrorCode { [INFO] [stdout] 95 | | id: 202, [INFO] [stdout] 96 | | message: "invalid breakpoint", [INFO] [stdout] 97 | | }, [INFO] [stdout] | |_____- rustdoc does not generate documentation for expressions [INFO] [stdout] | [INFO] [stdout] = help: use `//` for a plain comment [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/error_codes.rs:98:5 [INFO] [stdout] | [INFO] [stdout] 98 | / ///the IDE tried to set a breakpoint [INFO] [stdout] 99 | | ///on a line which does not have any executable code. The [INFO] [stdout] 100 | | ///debugger engine is NOT required to return this type if it [INFO] [stdout] 101 | | ///is impossible to determine if there is code on a given [INFO] [stdout] 102 | | ///location. (For example, in the PHP debugger backend this [INFO] [stdout] 103 | | ///will only be returned in some special cases where the current [INFO] [stdout] 104 | | ///scope falls into the scope of the breakpoint to be set) [INFO] [stdout] | |______________________________________________________________^ [INFO] [stdout] 105 | / ErrorCode { [INFO] [stdout] 106 | | id: 203, [INFO] [stdout] 107 | | message: "no code on breakpoint line", [INFO] [stdout] 108 | | }, [INFO] [stdout] | |_____- rustdoc does not generate documentation for expressions [INFO] [stdout] | [INFO] [stdout] = help: use `//` for a plain comment [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/error_codes.rs:109:5 [INFO] [stdout] | [INFO] [stdout] 109 | /// using an unsupported breakpoint state was attempted [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 110 | / ErrorCode { [INFO] [stdout] 111 | | id: 204, [INFO] [stdout] 112 | | message: "Invalid breakpoint state", [INFO] [stdout] 113 | | }, [INFO] [stdout] | |_____- rustdoc does not generate documentation for expressions [INFO] [stdout] | [INFO] [stdout] = help: use `//` for a plain comment [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/error_codes.rs:115:5 [INFO] [stdout] | [INFO] [stdout] 115 | / /// used in breakpoint_get etc. to show that there is no [INFO] [stdout] 116 | | /// breakpoint with the given ID [INFO] [stdout] | |____________________________________^ [INFO] [stdout] 117 | / ErrorCode { [INFO] [stdout] 118 | | id: 205, [INFO] [stdout] 119 | | message: "No such breakpoint", [INFO] [stdout] 120 | | }, [INFO] [stdout] | |_____- rustdoc does not generate documentation for expressions [INFO] [stdout] | [INFO] [stdout] = help: use `//` for a plain comment [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/error_codes.rs:121:5 [INFO] [stdout] | [INFO] [stdout] 121 | /// use from eval() (or perhaps property_get for a full name get) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 122 | / ErrorCode { [INFO] [stdout] 123 | | id: 206, [INFO] [stdout] 124 | | message: "Error evaluating code", [INFO] [stdout] 125 | | }, [INFO] [stdout] | |_____- rustdoc does not generate documentation for expressions [INFO] [stdout] | [INFO] [stdout] = help: use `//` for a plain comment [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/error_codes.rs:127:5 [INFO] [stdout] | [INFO] [stdout] 127 | /// the expression used for a no, message:eval() was invalid }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 128 | / ErrorCode { [INFO] [stdout] 129 | | id: 207, [INFO] [stdout] 130 | | message: "Invalid expression", [INFO] [stdout] 131 | | }, [INFO] [stdout] | |_____- rustdoc does not generate documentation for expressions [INFO] [stdout] | [INFO] [stdout] = help: use `//` for a plain comment [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/error_codes.rs:135:5 [INFO] [stdout] | [INFO] [stdout] 135 | / /// when the requested property to get did [INFO] [stdout] 136 | | /// not exist, this is NOT used for an existing but uninitialized [INFO] [stdout] 137 | | /// property, which just gets the type "uninitialised" (See: [INFO] [stdout] 138 | | /// PreferredTypeNames) [INFO] [stdout] | |___________________________^ [INFO] [stdout] 139 | / ErrorCode { [INFO] [stdout] 140 | | id: 300, [INFO] [stdout] 141 | | message: "Can not get property", [INFO] [stdout] 142 | | }, [INFO] [stdout] | |_____- rustdoc does not generate documentation for expressions [INFO] [stdout] | [INFO] [stdout] = help: use `//` for a plain comment [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/error_codes.rs:144:5 [INFO] [stdout] | [INFO] [stdout] 144 | / /// the, message:d stack depth parameter did not }, [INFO] [stdout] 145 | | /// exist (ie, there were less stack elements than the number [INFO] [stdout] 146 | | /// requested) or the parameter was < 0 [INFO] [stdout] | |____________________________________________^ [INFO] [stdout] 147 | / ErrorCode { [INFO] [stdout] 148 | | id: 301, [INFO] [stdout] 149 | | message: "Stack depth invalid", [INFO] [stdout] 150 | | }, [INFO] [stdout] | |_____- rustdoc does not generate documentation for expressions [INFO] [stdout] | [INFO] [stdout] = help: use `//` for a plain comment [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/error_codes.rs:152:5 [INFO] [stdout] | [INFO] [stdout] 152 | /// an non existing context was requested [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 153 | / ErrorCode { [INFO] [stdout] 154 | | id: 302, [INFO] [stdout] 155 | | message: "Context invalid", [INFO] [stdout] 156 | | }, [INFO] [stdout] | |_____- rustdoc does not generate documentation for expressions [INFO] [stdout] | [INFO] [stdout] = help: use `//` for a plain comment [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `futures::BoxFuture`: removed without replacement, recommended to use a local extension trait or function if needed, more details in https://github.com/rust-lang-nursery/futures-rs/issues/228 [INFO] [stdout] --> src/lib.rs:43:31 [INFO] [stdout] | [INFO] [stdout] 43 | use futures::{future, Future, BoxFuture}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/lib.rs:49:1 [INFO] [stdout] | [INFO] [stdout] 49 | / lazy_static! { [INFO] [stdout] 50 | | static ref DEFAULT_IP_ADDR: Ipv4Addr = { [INFO] [stdout] 51 | | Ipv4Addr::new(127,0,0,1) [INFO] [stdout] 52 | | }; [INFO] [stdout] 53 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` which comes from the expansion of the macro `lazy_static` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `futures::BoxFuture`: removed without replacement, recommended to use a local extension trait or function if needed, more details in https://github.com/rust-lang-nursery/futures-rs/issues/228 [INFO] [stdout] --> src/lib.rs:123:19 [INFO] [stdout] | [INFO] [stdout] 123 | type Future = BoxFuture; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `tokio_io::codec::Framed`: Moved to tokio-codec [INFO] [stdout] --> src/protocol.rs:23:22 [INFO] [stdout] | [INFO] [stdout] 23 | use tokio_io::codec::Framed; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `tokio_io::codec::Framed`: Moved to tokio-codec [INFO] [stdout] --> src/protocol.rs:37:22 [INFO] [stdout] | [INFO] [stdout] 37 | type Transport = Framed; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `futures::BoxFuture`: removed without replacement, recommended to use a local extension trait or function if needed, more details in https://github.com/rust-lang-nursery/futures-rs/issues/228 [INFO] [stdout] --> src/lib.rs:43:31 [INFO] [stdout] | [INFO] [stdout] 43 | use futures::{future, Future, BoxFuture}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/lib.rs:49:1 [INFO] [stdout] | [INFO] [stdout] 49 | / lazy_static! { [INFO] [stdout] 50 | | static ref DEFAULT_IP_ADDR: Ipv4Addr = { [INFO] [stdout] 51 | | Ipv4Addr::new(127,0,0,1) [INFO] [stdout] 52 | | }; [INFO] [stdout] 53 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` which comes from the expansion of the macro `lazy_static` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `futures::BoxFuture`: removed without replacement, recommended to use a local extension trait or function if needed, more details in https://github.com/rust-lang-nursery/futures-rs/issues/228 [INFO] [stdout] --> src/lib.rs:123:19 [INFO] [stdout] | [INFO] [stdout] 123 | type Future = BoxFuture; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `tokio_io::codec::Framed`: Moved to tokio-codec [INFO] [stdout] --> src/protocol.rs:23:22 [INFO] [stdout] | [INFO] [stdout] 23 | use tokio_io::codec::Framed; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `tokio_io::codec::Framed`: Moved to tokio-codec [INFO] [stdout] --> src/protocol.rs:37:22 [INFO] [stdout] | [INFO] [stdout] 37 | type Transport = Framed; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `tokio_io::AsyncRead::framed`: Use tokio_codec::Decoder::framed instead [INFO] [stdout] --> src/protocol.rs:40:15 [INFO] [stdout] | [INFO] [stdout] 40 | Ok(io.framed(DbgpClientCodec)) [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `futures::Future::boxed`: removed without replacement, recommended to use a local extension trait or function if needed, more details in https://github.com/rust-lang-nursery/futures-rs/issues/228 [INFO] [stdout] --> src/lib.rs:128:25 [INFO] [stdout] | [INFO] [stdout] 128 | future::ok(req).boxed() [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `tokio_io::AsyncRead::framed`: Use tokio_codec::Decoder::framed instead [INFO] [stdout] --> src/protocol.rs:40:15 [INFO] [stdout] | [INFO] [stdout] 40 | Ok(io.framed(DbgpClientCodec)) [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `length` [INFO] [stdout] --> src/codec.rs:49:21 [INFO] [stdout] | [INFO] [stdout] 49 | let length = buf.split_to(len_pos); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_length` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `futures::Future::boxed`: removed without replacement, recommended to use a local extension trait or function if needed, more details in https://github.com/rust-lang-nursery/futures-rs/issues/228 [INFO] [stdout] --> src/lib.rs:128:25 [INFO] [stdout] | [INFO] [stdout] 128 | future::ok(req).boxed() [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `command` [INFO] [stdout] --> src/transaction.rs:28:16 [INFO] [stdout] | [INFO] [stdout] 28 | pub fn new(command: Command) -> Transaction { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_command` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Ok`, `Error`, `Aborted`, and `Exception` are never constructed [INFO] [stdout] --> src/lib.rs:58:5 [INFO] [stdout] | [INFO] [stdout] 57 | enum BreakReason { [INFO] [stdout] | ----------- variants in this enum [INFO] [stdout] 58 | Ok, [INFO] [stdout] | ^^ [INFO] [stdout] 59 | Error, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 60 | Aborted, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 61 | Exception, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Starting`, `Stopping`, `Stopped`, `Running`, and `Break` are never constructed [INFO] [stdout] --> src/lib.rs:65:5 [INFO] [stdout] | [INFO] [stdout] 64 | enum SessionStatus { [INFO] [stdout] | ------------- variants in this enum [INFO] [stdout] 65 | Starting, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 66 | Stopping, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 67 | Stopped, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 68 | Running, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 69 | Break(BreakReason), [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `status` is never read [INFO] [stdout] --> src/lib.rs:78:5 [INFO] [stdout] | [INFO] [stdout] 73 | pub struct Session { [INFO] [stdout] | ------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 78 | status: Option, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ErrorCode` is never constructed [INFO] [stdout] --> src/error_codes.rs:22:12 [INFO] [stdout] | [INFO] [stdout] 22 | pub struct ErrorCode { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static `ERROR_CODES` is never used [INFO] [stdout] --> src/error_codes.rs:27:12 [INFO] [stdout] | [INFO] [stdout] 27 | pub static ERROR_CODES: [ErrorCode; 22] = [ [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `BreakpointType` is never used [INFO] [stdout] --> src/command.rs:23:10 [INFO] [stdout] | [INFO] [stdout] 23 | pub enum BreakpointType { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `BreakpointState` is never used [INFO] [stdout] --> src/command.rs:32:10 [INFO] [stdout] | [INFO] [stdout] 32 | pub enum BreakpointState { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `SpawnpointState` is never used [INFO] [stdout] --> src/command.rs:37:10 [INFO] [stdout] | [INFO] [stdout] 37 | pub enum SpawnpointState { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `RedirectionType` is never used [INFO] [stdout] --> src/command.rs:42:10 [INFO] [stdout] | [INFO] [stdout] 42 | pub enum RedirectionType { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Command` is never used [INFO] [stdout] --> src/command.rs:52:10 [INFO] [stdout] | [INFO] [stdout] 52 | pub enum Command { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Transaction` is never constructed [INFO] [stdout] --> src/transaction.rs:23:12 [INFO] [stdout] | [INFO] [stdout] 23 | pub struct Transaction { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/transaction.rs:28:12 [INFO] [stdout] | [INFO] [stdout] 27 | impl Transaction { [INFO] [stdout] | ---------------- associated function in this implementation [INFO] [stdout] 28 | pub fn new(command: Command) -> Transaction { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `length` [INFO] [stdout] --> src/codec.rs:49:21 [INFO] [stdout] | [INFO] [stdout] 49 | let length = buf.split_to(len_pos); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_length` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `command` [INFO] [stdout] --> src/transaction.rs:28:16 [INFO] [stdout] | [INFO] [stdout] 28 | pub fn new(command: Command) -> Transaction { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_command` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Ok`, `Error`, `Aborted`, and `Exception` are never constructed [INFO] [stdout] --> src/lib.rs:58:5 [INFO] [stdout] | [INFO] [stdout] 57 | enum BreakReason { [INFO] [stdout] | ----------- variants in this enum [INFO] [stdout] 58 | Ok, [INFO] [stdout] | ^^ [INFO] [stdout] 59 | Error, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 60 | Aborted, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 61 | Exception, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Starting`, `Stopping`, `Stopped`, `Running`, and `Break` are never constructed [INFO] [stdout] --> src/lib.rs:65:5 [INFO] [stdout] | [INFO] [stdout] 64 | enum SessionStatus { [INFO] [stdout] | ------------- variants in this enum [INFO] [stdout] 65 | Starting, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 66 | Stopping, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 67 | Stopped, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 68 | Running, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 69 | Break(BreakReason), [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `status` is never read [INFO] [stdout] --> src/lib.rs:78:5 [INFO] [stdout] | [INFO] [stdout] 73 | pub struct Session { [INFO] [stdout] | ------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 78 | status: Option, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ErrorCode` is never constructed [INFO] [stdout] --> src/error_codes.rs:22:12 [INFO] [stdout] | [INFO] [stdout] 22 | pub struct ErrorCode { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static `ERROR_CODES` is never used [INFO] [stdout] --> src/error_codes.rs:27:12 [INFO] [stdout] | [INFO] [stdout] 27 | pub static ERROR_CODES: [ErrorCode; 22] = [ [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `BreakpointType` is never used [INFO] [stdout] --> src/command.rs:23:10 [INFO] [stdout] | [INFO] [stdout] 23 | pub enum BreakpointType { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `BreakpointState` is never used [INFO] [stdout] --> src/command.rs:32:10 [INFO] [stdout] | [INFO] [stdout] 32 | pub enum BreakpointState { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `SpawnpointState` is never used [INFO] [stdout] --> src/command.rs:37:10 [INFO] [stdout] | [INFO] [stdout] 37 | pub enum SpawnpointState { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `RedirectionType` is never used [INFO] [stdout] --> src/command.rs:42:10 [INFO] [stdout] | [INFO] [stdout] 42 | pub enum RedirectionType { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 35 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Command` is never used [INFO] [stdout] --> src/command.rs:52:10 [INFO] [stdout] | [INFO] [stdout] 52 | pub enum Command { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Transaction` is never constructed [INFO] [stdout] --> src/transaction.rs:23:12 [INFO] [stdout] | [INFO] [stdout] 23 | pub struct Transaction { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/transaction.rs:28:12 [INFO] [stdout] | [INFO] [stdout] 27 | impl Transaction { [INFO] [stdout] | ---------------- associated function in this implementation [INFO] [stdout] 28 | pub fn new(command: Command) -> Transaction { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/codec.rs:137:9 [INFO] [stdout] | [INFO] [stdout] 137 | codec.encode(command.to_owned().clone(), &mut dest_buf); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 137 | let _ = codec.encode(command.to_owned().clone(), &mut dest_buf); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/codec.rs:138:68 [INFO] [stdout] | [INFO] [stdout] 138 | assert_eq!(dest_buf, BytesMut::from(format!("{}\n", command.clone()))); [INFO] [stdout] | ^^^^^^^^ unnecessary method call [INFO] [stdout] | [INFO] [stdout] = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed [INFO] [stdout] = note: `#[deny(noop_method_call)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error; 37 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `dbgp` (lib test) due to 2 previous errors; 37 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: unused variable: `session` [INFO] [stdout] --> examples/echo.rs:6:9 [INFO] [stdout] | [INFO] [stdout] 6 | let session = Session::new().run(); [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_session` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "171cd65e348dabe22fd45f855fc6668fe6ae533e97dd3ef0411fcb018beb7188", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "171cd65e348dabe22fd45f855fc6668fe6ae533e97dd3ef0411fcb018beb7188", kill_on_drop: false }` [INFO] [stdout] 171cd65e348dabe22fd45f855fc6668fe6ae533e97dd3ef0411fcb018beb7188