[INFO] fetching crate dbgp 0.0.1... [INFO] testing dbgp-0.0.1 against try#8de4c7234dd9b97c9d76b58671343fdbbc9a433e+target=x86_64-unknown-linux-musl for musl_upgrade_1_2_5_with_libc_patch_0 [INFO] extracting crate dbgp 0.0.1 into /workspace/builds/worker-7-tc1/source [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-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate dbgp 0.0.1 on toolchain 8de4c7234dd9b97c9d76b58671343fdbbc9a433e [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 82 packages to latest compatible versions [INFO] [stderr] Adding base64 v0.4.2 (available: v0.22.1) [INFO] [stderr] Adding bytes v0.4.12 (available: v1.10.1) [INFO] [stderr] Adding futures v0.1.31 (available: v0.3.31) [INFO] [stderr] Adding lazy_static v0.2.11 (available: v1.5.0) [INFO] [stderr] Adding url v1.7.2 (available: v2.5.4) [INFO] [stderr] Adding xml-rs v0.4.1 (available: v0.8.26) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded xml-rs v0.4.1 [INFO] [stderr] Downloaded base64 v0.4.2 [INFO] [stderr] Downloaded tokio-core v0.1.18 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 57ef0f3a3f5596671fd7533546a3445168cc92f19ca0682ad530ab29ae4ffc23 [INFO] running `Command { std: "docker" "start" "-a" "57ef0f3a3f5596671fd7533546a3445168cc92f19ca0682ad530ab29ae4ffc23", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "57ef0f3a3f5596671fd7533546a3445168cc92f19ca0682ad530ab29ae4ffc23", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "57ef0f3a3f5596671fd7533546a3445168cc92f19ca0682ad530ab29ae4ffc23", kill_on_drop: false }` [INFO] [stdout] 57ef0f3a3f5596671fd7533546a3445168cc92f19ca0682ad530ab29ae4ffc23 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "build" "--frozen" "--message-format=json" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] 55bec8e65fad5b674d36e2eb10a98b46db179ab7347c9c91e8ba13be5a42a9cf [INFO] running `Command { std: "docker" "start" "-a" "55bec8e65fad5b674d36e2eb10a98b46db179ab7347c9c91e8ba13be5a42a9cf", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Compiling crossbeam-utils v0.7.2 [INFO] [stderr] Compiling maybe-uninit v2.0.0 [INFO] [stderr] Compiling futures v0.1.31 [INFO] [stderr] Compiling semver-parser v0.7.0 [INFO] [stderr] Compiling iovec v0.1.4 [INFO] [stderr] Compiling slab v0.4.10 [INFO] [stderr] Compiling net2 v0.2.39 [INFO] [stderr] Compiling num_cpus v1.17.0 [INFO] [stderr] Compiling memoffset v0.5.6 [INFO] [stderr] Compiling crossbeam-epoch v0.8.2 [INFO] [stderr] Compiling tinyvec_macros v0.1.1 [INFO] [stderr] Compiling lock_api v0.3.4 [INFO] [stderr] Compiling rand v0.4.6 [INFO] [stderr] Compiling matches v0.1.10 [INFO] [stderr] Compiling scoped-tls v0.1.2 [INFO] [stderr] Compiling unicode-bidi v0.3.18 [INFO] [stderr] Compiling log v0.3.9 [INFO] [stderr] Compiling bytes v0.4.12 [INFO] [stderr] Compiling tinyvec v1.9.0 [INFO] [stderr] Compiling smallvec v0.2.1 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Compiling mio v0.6.23 [INFO] [stderr] Compiling bitflags v0.7.0 [INFO] [stderr] Compiling rustc_version v0.2.3 [INFO] [stderr] Compiling take v0.1.0 [INFO] [stderr] Compiling slab v0.3.0 [INFO] [stderr] Compiling smallvec v0.6.14 [INFO] [stderr] Compiling percent-encoding v1.0.1 [INFO] [stderr] Compiling xml-rs v0.4.1 [INFO] [stderr] Compiling base64 v0.4.2 [INFO] [stderr] Compiling lazy_static v0.2.11 [INFO] [stderr] Compiling parking_lot_core v0.6.3 [INFO] [stderr] Compiling parking_lot v0.9.0 [INFO] [stderr] Compiling rand v0.3.23 [INFO] [stderr] Compiling crossbeam-queue v0.2.3 [INFO] [stderr] Compiling tokio-executor v0.1.10 [INFO] [stderr] Compiling tokio-io v0.1.13 [INFO] [stderr] Compiling tokio-sync v0.1.8 [INFO] [stderr] Compiling tokio-service v0.1.0 [INFO] [stderr] Compiling mio-uds v0.6.8 [INFO] [stderr] Compiling crossbeam-deque v0.7.4 [INFO] [stderr] Compiling tokio-current-thread v0.1.7 [INFO] [stderr] Compiling tokio-timer v0.2.13 [INFO] [stderr] Compiling tokio-threadpool v0.1.18 [INFO] [stderr] Compiling unicode-normalization v0.1.24 [INFO] [stderr] Compiling tokio-codec v0.1.2 [INFO] [stderr] Compiling tokio-reactor v0.1.12 [INFO] [stderr] Compiling tokio-fs v0.1.7 [INFO] [stderr] Compiling idna v0.1.5 [INFO] [stderr] Compiling tokio-udp v0.1.6 [INFO] [stderr] Compiling tokio-uds v0.2.7 [INFO] [stderr] Compiling tokio-tcp v0.1.4 [INFO] [stderr] Compiling tokio v0.1.22 [INFO] [stderr] Compiling url v1.7.2 [INFO] [stderr] Compiling tokio-core v0.1.18 [INFO] [stderr] Compiling tokio-proto v0.1.1 [INFO] [stderr] Compiling dbgp v0.0.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: dropping unsupported crate type `dylib` for target `x86_64-unknown-linux-musl` [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: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 `Once::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: 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: 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] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 9.22s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: bitflags v0.7.0 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1` [INFO] running `Command { std: "docker" "inspect" "55bec8e65fad5b674d36e2eb10a98b46db179ab7347c9c91e8ba13be5a42a9cf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "55bec8e65fad5b674d36e2eb10a98b46db179ab7347c9c91e8ba13be5a42a9cf", kill_on_drop: false }` [INFO] [stdout] 55bec8e65fad5b674d36e2eb10a98b46db179ab7347c9c91e8ba13be5a42a9cf [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "test" "--frozen" "--no-run" "--message-format=json" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] e10619a3b5d8e95252d372a24bfc19e977a64b6a14db782e0185867f86ea3df8 [INFO] running `Command { std: "docker" "start" "-a" "e10619a3b5d8e95252d372a24bfc19e977a64b6a14db782e0185867f86ea3df8", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stdout] warning: dropping unsupported crate type `dylib` for target `x86_64-unknown-linux-musl` [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: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 `Once::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: 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: 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] [stderr] Compiling dbgp v0.0.1 (/opt/rustwide/workdir) [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: 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: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 `Once::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: 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: 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] warning: 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] | ^^^^^^^^ help: remove this redundant 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: `#[warn(noop_method_call)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.94s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: bitflags v0.7.0 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1` [INFO] running `Command { std: "docker" "inspect" "e10619a3b5d8e95252d372a24bfc19e977a64b6a14db782e0185867f86ea3df8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e10619a3b5d8e95252d372a24bfc19e977a64b6a14db782e0185867f86ea3df8", kill_on_drop: false }` [INFO] [stdout] e10619a3b5d8e95252d372a24bfc19e977a64b6a14db782e0185867f86ea3df8 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "test" "--frozen" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] bccb75c497d45e4942f094928545a5ec1df970d0d8de8586ce2d66a9a4ee0c0e [INFO] running `Command { std: "docker" "start" "-a" "bccb75c497d45e4942f094928545a5ec1df970d0d8de8586ce2d66a9a4ee0c0e", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] warning: dropping unsupported crate type `dylib` for target `x86_64-unknown-linux-musl` [INFO] [stderr] [INFO] [stderr] warning: unused doc comment [INFO] [stderr] --> src/error_codes.rs:44:5 [INFO] [stderr] | [INFO] [stderr] 44 | / /// missing a required option, invalid value for a [INFO] [stderr] 45 | | /// passed option, not supported feature [INFO] [stderr] | |____________________________________________^ [INFO] [stderr] 46 | / ErrorCode { [INFO] [stderr] 47 | | id: 003, [INFO] [stderr] 48 | | message: "invalid options", [INFO] [stderr] 49 | | }, [INFO] [stderr] | |_____- rustdoc does not generate documentation for expressions [INFO] [stderr] | [INFO] [stderr] = help: use `//` for a plain comment [INFO] [stderr] = note: `#[warn(unused_doc_comments)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused doc comment [INFO] [stderr] --> src/error_codes.rs:56:5 [INFO] [stderr] | [INFO] [stderr] 56 | / /// Is used for async commands. For instance [INFO] [stderr] 57 | | /// if the engine is in state "run" then only "break" and "status" [INFO] [stderr] 58 | | /// are available [INFO] [stderr] | |_____________________^ [INFO] [stderr] 59 | / ErrorCode { [INFO] [stderr] 60 | | id: 005, [INFO] [stderr] 61 | | message: "Command not available", [INFO] [stderr] 62 | | }, [INFO] [stderr] | |_____- rustdoc does not generate documentation for expressions [INFO] [stderr] | [INFO] [stderr] = help: use `//` for a plain comment [INFO] [stderr] [INFO] [stderr] warning: unused doc comment [INFO] [stderr] --> src/error_codes.rs:66:5 [INFO] [stderr] | [INFO] [stderr] 66 | / /// as a reply to a "source" command if the [INFO] [stderr] 67 | | /// requested source file can't be opened [INFO] [stderr] | |_____________________________________________^ [INFO] [stderr] 68 | / ErrorCode { [INFO] [stderr] 69 | | id: 100, [INFO] [stderr] 70 | | message: "can not open file", [INFO] [stderr] 71 | | }, [INFO] [stderr] | |_____- rustdoc does not generate documentation for expressions [INFO] [stderr] | [INFO] [stderr] = help: use `//` for a plain comment [INFO] [stderr] [INFO] [stderr] warning: unused doc comment [INFO] [stderr] --> src/error_codes.rs:79:5 [INFO] [stderr] | [INFO] [stderr] 79 | / /// for some reason the breakpoint could not be set due [INFO] [stderr] 80 | | /// to problems registering it [INFO] [stderr] | |__________________________________^ [INFO] [stderr] 81 | / ErrorCode { [INFO] [stderr] 82 | | id: 200, [INFO] [stderr] 83 | | message: "breakpoint could not be set", [INFO] [stderr] 84 | | }, [INFO] [stderr] | |_____- rustdoc does not generate documentation for expressions [INFO] [stderr] | [INFO] [stderr] = help: use `//` for a plain comment [INFO] [stderr] [INFO] [stderr] warning: unused doc comment [INFO] [stderr] --> src/error_codes.rs:85:5 [INFO] [stderr] | [INFO] [stderr] 85 | /// for example I don't support 'watch' yet and thus return this error [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] 86 | / ErrorCode { [INFO] [stderr] 87 | | id: 201, [INFO] [stderr] 88 | | message: "breakpoint type not supported", [INFO] [stderr] 89 | | }, [INFO] [stderr] | |_____- rustdoc does not generate documentation for expressions [INFO] [stderr] | [INFO] [stderr] = help: use `//` for a plain comment [INFO] [stderr] [INFO] [stderr] warning: unused doc comment [INFO] [stderr] --> src/error_codes.rs:91:5 [INFO] [stderr] | [INFO] [stderr] 91 | / /// the IDE tried to set a breakpoint on a [INFO] [stderr] 92 | | /// line that does not exist in the file (ie "line 0" or lines [INFO] [stderr] 93 | | /// past the end of the file) [INFO] [stderr] | |_________________________________^ [INFO] [stderr] 94 | / ErrorCode { [INFO] [stderr] 95 | | id: 202, [INFO] [stderr] 96 | | message: "invalid breakpoint", [INFO] [stderr] 97 | | }, [INFO] [stderr] | |_____- rustdoc does not generate documentation for expressions [INFO] [stderr] | [INFO] [stderr] = help: use `//` for a plain comment [INFO] [stderr] [INFO] [stderr] warning: unused doc comment [INFO] [stderr] --> src/error_codes.rs:98:5 [INFO] [stderr] | [INFO] [stderr] 98 | / ///the IDE tried to set a breakpoint [INFO] [stderr] 99 | | ///on a line which does not have any executable code. The [INFO] [stderr] 100 | | ///debugger engine is NOT required to return this type if it [INFO] [stderr] 101 | | ///is impossible to determine if there is code on a given [INFO] [stderr] 102 | | ///location. (For example, in the PHP debugger backend this [INFO] [stderr] 103 | | ///will only be returned in some special cases where the current [INFO] [stderr] 104 | | ///scope falls into the scope of the breakpoint to be set) [INFO] [stderr] | |______________________________________________________________^ [INFO] [stderr] 105 | / ErrorCode { [INFO] [stderr] 106 | | id: 203, [INFO] [stderr] 107 | | message: "no code on breakpoint line", [INFO] [stderr] 108 | | }, [INFO] [stderr] | |_____- rustdoc does not generate documentation for expressions [INFO] [stderr] | [INFO] [stderr] = help: use `//` for a plain comment [INFO] [stderr] [INFO] [stderr] warning: unused doc comment [INFO] [stderr] --> src/error_codes.rs:109:5 [INFO] [stderr] | [INFO] [stderr] 109 | /// using an unsupported breakpoint state was attempted [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] 110 | / ErrorCode { [INFO] [stderr] 111 | | id: 204, [INFO] [stderr] 112 | | message: "Invalid breakpoint state", [INFO] [stderr] 113 | | }, [INFO] [stderr] | |_____- rustdoc does not generate documentation for expressions [INFO] [stderr] | [INFO] [stderr] = help: use `//` for a plain comment [INFO] [stderr] [INFO] [stderr] warning: unused doc comment [INFO] [stderr] --> src/error_codes.rs:115:5 [INFO] [stderr] | [INFO] [stderr] 115 | / /// used in breakpoint_get etc. to show that there is no [INFO] [stderr] 116 | | /// breakpoint with the given ID [INFO] [stderr] | |____________________________________^ [INFO] [stderr] 117 | / ErrorCode { [INFO] [stderr] 118 | | id: 205, [INFO] [stderr] 119 | | message: "No such breakpoint", [INFO] [stderr] 120 | | }, [INFO] [stderr] | |_____- rustdoc does not generate documentation for expressions [INFO] [stderr] | [INFO] [stderr] = help: use `//` for a plain comment [INFO] [stderr] [INFO] [stderr] warning: unused doc comment [INFO] [stderr] --> src/error_codes.rs:121:5 [INFO] [stderr] | [INFO] [stderr] 121 | /// use from eval() (or perhaps property_get for a full name get) [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] 122 | / ErrorCode { [INFO] [stderr] 123 | | id: 206, [INFO] [stderr] 124 | | message: "Error evaluating code", [INFO] [stderr] 125 | | }, [INFO] [stderr] | |_____- rustdoc does not generate documentation for expressions [INFO] [stderr] | [INFO] [stderr] = help: use `//` for a plain comment [INFO] [stderr] [INFO] [stderr] warning: unused doc comment [INFO] [stderr] --> src/error_codes.rs:127:5 [INFO] [stderr] | [INFO] [stderr] 127 | /// the expression used for a no, message:eval() was invalid }, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] 128 | / ErrorCode { [INFO] [stderr] 129 | | id: 207, [INFO] [stderr] 130 | | message: "Invalid expression", [INFO] [stderr] 131 | | }, [INFO] [stderr] | |_____- rustdoc does not generate documentation for expressions [INFO] [stderr] | [INFO] [stderr] = help: use `//` for a plain comment [INFO] [stderr] [INFO] [stderr] warning: unused doc comment [INFO] [stderr] --> src/error_codes.rs:135:5 [INFO] [stderr] | [INFO] [stderr] 135 | / /// when the requested property to get did [INFO] [stderr] 136 | | /// not exist, this is NOT used for an existing but uninitialized [INFO] [stderr] 137 | | /// property, which just gets the type "uninitialised" (See: [INFO] [stderr] 138 | | /// PreferredTypeNames) [INFO] [stderr] | |___________________________^ [INFO] [stderr] 139 | / ErrorCode { [INFO] [stderr] 140 | | id: 300, [INFO] [stderr] 141 | | message: "Can not get property", [INFO] [stderr] 142 | | }, [INFO] [stderr] | |_____- rustdoc does not generate documentation for expressions [INFO] [stderr] | [INFO] [stderr] = help: use `//` for a plain comment [INFO] [stderr] [INFO] [stderr] warning: unused doc comment [INFO] [stderr] --> src/error_codes.rs:144:5 [INFO] [stderr] | [INFO] [stderr] 144 | / /// the, message:d stack depth parameter did not }, [INFO] [stderr] 145 | | /// exist (ie, there were less stack elements than the number [INFO] [stderr] 146 | | /// requested) or the parameter was < 0 [INFO] [stderr] | |____________________________________________^ [INFO] [stderr] 147 | / ErrorCode { [INFO] [stderr] 148 | | id: 301, [INFO] [stderr] 149 | | message: "Stack depth invalid", [INFO] [stderr] 150 | | }, [INFO] [stderr] | |_____- rustdoc does not generate documentation for expressions [INFO] [stderr] | [INFO] [stderr] = help: use `//` for a plain comment [INFO] [stderr] [INFO] [stderr] warning: unused doc comment [INFO] [stderr] --> src/error_codes.rs:152:5 [INFO] [stderr] | [INFO] [stderr] 152 | /// an non existing context was requested [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] 153 | / ErrorCode { [INFO] [stderr] 154 | | id: 302, [INFO] [stderr] 155 | | message: "Context invalid", [INFO] [stderr] 156 | | }, [INFO] [stderr] | |_____- rustdoc does not generate documentation for expressions [INFO] [stderr] | [INFO] [stderr] = help: use `//` for a plain comment [INFO] [stderr] [INFO] [stderr] 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] [stderr] --> src/lib.rs:43:31 [INFO] [stderr] | [INFO] [stderr] 43 | use futures::{future, Future, BoxFuture}; [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(deprecated)]` on by default [INFO] [stderr] [INFO] [stderr] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `Once::new()` function is now preferred [INFO] [stderr] --> src/lib.rs:49:1 [INFO] [stderr] | [INFO] [stderr] 49 | / lazy_static! { [INFO] [stderr] 50 | | static ref DEFAULT_IP_ADDR: Ipv4Addr = { [INFO] [stderr] 51 | | Ipv4Addr::new(127,0,0,1) [INFO] [stderr] 52 | | }; [INFO] [stderr] 53 | | } [INFO] [stderr] | |_^ [INFO] [stderr] | [INFO] [stderr] = 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] [stderr] [INFO] [stderr] 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] [stderr] --> src/lib.rs:123:19 [INFO] [stderr] | [INFO] [stderr] 123 | type Future = BoxFuture; [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated struct `tokio_io::codec::Framed`: Moved to tokio-codec [INFO] [stderr] --> src/protocol.rs:23:22 [INFO] [stderr] | [INFO] [stderr] 23 | use tokio_io::codec::Framed; [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated struct `tokio_io::codec::Framed`: Moved to tokio-codec [INFO] [stderr] --> src/protocol.rs:37:22 [INFO] [stderr] | [INFO] [stderr] 37 | type Transport = Framed; [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated method `tokio_io::AsyncRead::framed`: Use tokio_codec::Decoder::framed instead [INFO] [stderr] --> src/protocol.rs:40:15 [INFO] [stderr] | [INFO] [stderr] 40 | Ok(io.framed(DbgpClientCodec)) [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] 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] [stderr] --> src/lib.rs:128:25 [INFO] [stderr] | [INFO] [stderr] 128 | future::ok(req).boxed() [INFO] [stderr] | ^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused variable: `length` [INFO] [stderr] --> src/codec.rs:49:21 [INFO] [stderr] | [INFO] [stderr] 49 | let length = buf.split_to(len_pos); [INFO] [stderr] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_length` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `command` [INFO] [stderr] --> src/transaction.rs:28:16 [INFO] [stderr] | [INFO] [stderr] 28 | pub fn new(command: Command) -> Transaction { [INFO] [stderr] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_command` [INFO] [stderr] [INFO] [stderr] warning: variants `Ok`, `Error`, `Aborted`, and `Exception` are never constructed [INFO] [stderr] --> src/lib.rs:58:5 [INFO] [stderr] | [INFO] [stderr] 57 | enum BreakReason { [INFO] [stderr] | ----------- variants in this enum [INFO] [stderr] 58 | Ok, [INFO] [stderr] | ^^ [INFO] [stderr] 59 | Error, [INFO] [stderr] | ^^^^^ [INFO] [stderr] 60 | Aborted, [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] 61 | Exception, [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: variants `Starting`, `Stopping`, `Stopped`, `Running`, and `Break` are never constructed [INFO] [stderr] --> src/lib.rs:65:5 [INFO] [stderr] | [INFO] [stderr] 64 | enum SessionStatus { [INFO] [stderr] | ------------- variants in this enum [INFO] [stderr] 65 | Starting, [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] 66 | Stopping, [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] 67 | Stopped, [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] 68 | Running, [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] 69 | Break(BreakReason), [INFO] [stderr] | ^^^^^ [INFO] [stderr] [INFO] [stderr] warning: field `status` is never read [INFO] [stderr] --> src/lib.rs:78:5 [INFO] [stderr] | [INFO] [stderr] 73 | pub struct Session { [INFO] [stderr] | ------- field in this struct [INFO] [stderr] ... [INFO] [stderr] 78 | status: Option, [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: struct `ErrorCode` is never constructed [INFO] [stderr] --> src/error_codes.rs:22:12 [INFO] [stderr] | [INFO] [stderr] 22 | pub struct ErrorCode { [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: static `ERROR_CODES` is never used [INFO] [stderr] --> src/error_codes.rs:27:12 [INFO] [stderr] | [INFO] [stderr] 27 | pub static ERROR_CODES: [ErrorCode; 22] = [ [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: enum `BreakpointType` is never used [INFO] [stderr] --> src/command.rs:23:10 [INFO] [stderr] | [INFO] [stderr] 23 | pub enum BreakpointType { [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: enum `BreakpointState` is never used [INFO] [stderr] --> src/command.rs:32:10 [INFO] [stderr] | [INFO] [stderr] 32 | pub enum BreakpointState { [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: enum `SpawnpointState` is never used [INFO] [stderr] --> src/command.rs:37:10 [INFO] [stderr] | [INFO] [stderr] 37 | pub enum SpawnpointState { [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: enum `RedirectionType` is never used [INFO] [stderr] --> src/command.rs:42:10 [INFO] [stderr] | [INFO] [stderr] 42 | pub enum RedirectionType { [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: enum `Command` is never used [INFO] [stderr] --> src/command.rs:52:10 [INFO] [stderr] | [INFO] [stderr] 52 | pub enum Command { [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: struct `Transaction` is never constructed [INFO] [stderr] --> src/transaction.rs:23:12 [INFO] [stderr] | [INFO] [stderr] 23 | pub struct Transaction { [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function `new` is never used [INFO] [stderr] --> src/transaction.rs:28:12 [INFO] [stderr] | [INFO] [stderr] 27 | impl Transaction { [INFO] [stderr] | ---------------- associated function in this implementation [INFO] [stderr] 28 | pub fn new(command: Command) -> Transaction { [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `BufMut` [INFO] [stderr] --> src/codec.rs:88:27 [INFO] [stderr] | [INFO] [stderr] 88 | use bytes::{BytesMut, BufMut}; [INFO] [stderr] | ^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused `Result` that must be used [INFO] [stderr] --> src/codec.rs:137:9 [INFO] [stderr] | [INFO] [stderr] 137 | codec.encode(command.to_owned().clone(), &mut dest_buf); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stderr] = note: `#[warn(unused_must_use)]` on by default [INFO] [stderr] help: use `let _ = ...` to ignore the resulting value [INFO] [stderr] | [INFO] [stderr] 137 | let _ = codec.encode(command.to_owned().clone(), &mut dest_buf); [INFO] [stderr] | +++++++ [INFO] [stderr] [INFO] [stderr] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stderr] --> src/codec.rs:138:68 [INFO] [stderr] | [INFO] [stderr] 138 | assert_eq!(dest_buf, BytesMut::from(format!("{}\n", command.clone()))); [INFO] [stderr] | ^^^^^^^^ help: remove this redundant call [INFO] [stderr] | [INFO] [stderr] = 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] [stderr] = note: `#[warn(noop_method_call)]` on by default [INFO] [stderr] [INFO] [stderr] warning: `dbgp` (lib) generated 36 warnings [INFO] [stderr] warning: `dbgp` (lib test) generated 38 warnings (35 duplicates) (run `cargo fix --lib -p dbgp --tests` to apply 2 suggestions) [INFO] [stderr] warning: unused variable: `session` [INFO] [stderr] --> examples/echo.rs:6:9 [INFO] [stderr] | [INFO] [stderr] 6 | let session = Session::new().run(); [INFO] [stderr] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_session` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` on by default [INFO] [stderr] [INFO] [stderr] warning: `dbgp` (example "echo") generated 1 warning [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.09s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: bitflags v0.7.0 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1` [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/dbgp-1bf28a48b5a1e017) [INFO] [stdout] [INFO] [stdout] running 10 tests [INFO] [stdout] test codec::tests::codec_decode_correct_packet ... ok [INFO] [stdout] test codec::tests::codec_decode_wrong_length ... ignored [INFO] [stdout] test codec::tests::codec_decode_incomplete_packet_length ... ok [INFO] [stdout] test codec::tests::codec_encode_packet ... ok [INFO] [stdout] test escape::tests::escape_inner_single_quotes ... ok [INFO] [stdout] test codec::tests::codec_decode_incomplete_packet ... ok [INFO] [stdout] test escape::tests::escape_nothing ... ok [INFO] [stdout] test escape::tests::escape_single_quotes ... ok [INFO] [stdout] test escape::tests::escape_quotes ... ok [INFO] [stdout] test escape::tests::escape_single_quotes_unchanged ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 9 passed; 0 failed; 1 ignored; 0 measured; 0 filtered out; finished in 0.01s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "bccb75c497d45e4942f094928545a5ec1df970d0d8de8586ce2d66a9a4ee0c0e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bccb75c497d45e4942f094928545a5ec1df970d0d8de8586ce2d66a9a4ee0c0e", kill_on_drop: false }` [INFO] [stdout] bccb75c497d45e4942f094928545a5ec1df970d0d8de8586ce2d66a9a4ee0c0e