[INFO] fetching crate tello 0.6.3... [INFO] testing tello-0.6.3 against master#cdb45c87e2cd43495379f7e867e3cc15dcee9f93 for pr-145838-1 [INFO] extracting crate tello 0.6.3 into /workspace/builds/worker-7-tc1/source [INFO] started tweaking crates.io crate tello 0.6.3 [INFO] removed 0 missing examples [INFO] finished tweaking crates.io crate tello 0.6.3 [INFO] tweaked toml for crates.io crate tello 0.6.3 written to /workspace/builds/worker-7-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate tello 0.6.3 on toolchain cdb45c87e2cd43495379f7e867e3cc15dcee9f93 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate tello 0.6.3 already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: only one of `license` or `license-file` is necessary [INFO] [stderr] `license` should be used if the package license can be expressed with a standard SPDX expression. [INFO] [stderr] `license-file` should be used if the package uses a non-standard license. [INFO] [stderr] See https://doc.rust-lang.org/cargo/reference/manifest.html#the-license-and-license-file-fields for more information. [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded tokio-stream v0.1.7 [INFO] [stderr] Downloaded tokio-macros v1.3.0 [INFO] [stderr] Downloaded libudev-sys v0.1.4 [INFO] [stderr] Downloaded futures-executor v0.3.16 [INFO] [stderr] Downloaded num-integer v0.1.41 [INFO] [stderr] Downloaded slab v0.4.4 [INFO] [stderr] Downloaded mach v0.2.3 [INFO] [stderr] Downloaded num-traits v0.2.10 [INFO] [stderr] Downloaded futures v0.3.16 [INFO] [stderr] Downloaded mio v0.7.13 [INFO] [stderr] Downloaded tokio-util v0.6.8 [INFO] [stderr] Downloaded io-kit-sys v0.1.0 [INFO] [stderr] Downloaded ntapi v0.3.4 [INFO] [stderr] Downloaded cc v1.0.57 [INFO] [stderr] Downloaded gilrs-core v0.2.6 [INFO] [stderr] Downloaded sdl2 v0.34.5 [INFO] [stderr] Downloaded nix v0.15.0 [INFO] [stderr] Downloaded uuid v0.8.1 [INFO] [stderr] Downloaded bytes v1.1.0 [INFO] [stderr] Downloaded pkg-config v0.3.17 [INFO] [stderr] Downloaded rusty-xinput v1.2.0 [INFO] [stderr] Downloaded gilrs v0.7.4 [INFO] [stderr] Downloaded base-x v0.2.6 [INFO] [stderr] Downloaded version-compare v0.0.10 [INFO] [stderr] Downloaded sdl2-sys v0.34.5 [INFO] [stderr] Downloaded libc v0.2.99 [INFO] [stderr] Downloaded tokio v1.11.0 [INFO] [stderr] Downloaded winapi v0.3.8 [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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] ec6610edbd1f08e288520a2231ee7498f1819ad27534409b33099f54a3749aaf [INFO] running `Command { std: "docker" "start" "-a" "ec6610edbd1f08e288520a2231ee7498f1819ad27534409b33099f54a3749aaf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ec6610edbd1f08e288520a2231ee7498f1819ad27534409b33099f54a3749aaf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ec6610edbd1f08e288520a2231ee7498f1819ad27534409b33099f54a3749aaf", kill_on_drop: false }` [INFO] [stdout] ec6610edbd1f08e288520a2231ee7498f1819ad27534409b33099f54a3749aaf [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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 6ef8b93a235c900a5a2a0887b9c5d1f6c923ff18c1e5851c51d160e34537a24a [INFO] running `Command { std: "docker" "start" "-a" "6ef8b93a235c900a5a2a0887b9c5d1f6c923ff18c1e5851c51d160e34537a24a", kill_on_drop: false }` [INFO] [stderr] warning: only one of `license` or `license-file` is necessary [INFO] [stderr] `license` should be used if the package license can be expressed with a standard SPDX expression. [INFO] [stderr] `license-file` should be used if the package uses a non-standard license. [INFO] [stderr] See https://doc.rust-lang.org/cargo/reference/manifest.html#the-license-and-license-file-fields for more information. [INFO] [stderr] Compiling libc v0.2.99 [INFO] [stderr] Compiling proc-macro2 v1.0.28 [INFO] [stderr] Compiling autocfg v0.1.7 [INFO] [stderr] Compiling unicode-xid v0.2.1 [INFO] [stderr] Compiling syn v1.0.74 [INFO] [stderr] Compiling log v0.4.8 [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling futures-core v0.3.16 [INFO] [stderr] Compiling pin-project-lite v0.2.7 [INFO] [stderr] Compiling futures-sink v0.3.16 [INFO] [stderr] Compiling bytes v1.1.0 [INFO] [stderr] Compiling byteorder v1.4.3 [INFO] [stderr] Compiling tokio v1.11.0 [INFO] [stderr] Compiling num-traits v0.2.10 [INFO] [stderr] Compiling num-integer v0.1.41 [INFO] [stderr] Compiling quote v1.0.7 [INFO] [stderr] Compiling num_cpus v1.13.0 [INFO] [stderr] Compiling mio v0.7.13 [INFO] [stderr] Compiling time v0.1.44 [INFO] [stderr] Compiling chrono v0.4.19 [INFO] [stderr] Compiling tokio-macros v1.3.0 [INFO] [stderr] Compiling tokio-util v0.6.8 [INFO] [stderr] Compiling tokio-stream v0.1.7 [INFO] [stderr] Compiling tello v0.6.3 (/opt/rustwide/workdir) [INFO] [stdout] warning: field `level` is never read [INFO] [stdout] --> src/lib.rs:160:9 [INFO] [stdout] | [INFO] [stdout] 156 | struct VideoSettings { [INFO] [stdout] | ------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 160 | pub level: u8, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `VideoSettings` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `strength` and `disturb` are never read [INFO] [stdout] --> src/drone_state.rs:152:5 [INFO] [stdout] | [INFO] [stdout] 151 | pub struct WifiInfo { [INFO] [stdout] | -------- fields in this struct [INFO] [stdout] 152 | strength: u8, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 153 | disturb: u8, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `WifiInfo` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `good` is never read [INFO] [stdout] --> src/drone_state.rs:169:5 [INFO] [stdout] | [INFO] [stdout] 168 | pub struct LightInfo { [INFO] [stdout] | --------- field in this struct [INFO] [stdout] 169 | good: bool, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `LightInfo` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `.clone()` on a double reference, which returns `&str` instead of cloning the inner type [INFO] [stdout] --> src/command_mode.rs:67:60 [INFO] [stdout] | [INFO] [stdout] 67 | match (param.get(0).and_then(|v| Some(v.clone())), param.get(1)) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(suspicious_double_ref_op)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 10.98s [INFO] running `Command { std: "docker" "inspect" "6ef8b93a235c900a5a2a0887b9c5d1f6c923ff18c1e5851c51d160e34537a24a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6ef8b93a235c900a5a2a0887b9c5d1f6c923ff18c1e5851c51d160e34537a24a", kill_on_drop: false }` [INFO] [stdout] 6ef8b93a235c900a5a2a0887b9c5d1f6c923ff18c1e5851c51d160e34537a24a [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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b46f9796b87650d5d3455a2caf72a2e067f2134b01543c2026c3aa5555ab8c20 [INFO] running `Command { std: "docker" "start" "-a" "b46f9796b87650d5d3455a2caf72a2e067f2134b01543c2026c3aa5555ab8c20", kill_on_drop: false }` [INFO] [stderr] warning: only one of `license` or `license-file` is necessary [INFO] [stderr] `license` should be used if the package license can be expressed with a standard SPDX expression. [INFO] [stderr] `license-file` should be used if the package uses a non-standard license. [INFO] [stderr] See https://doc.rust-lang.org/cargo/reference/manifest.html#the-license-and-license-file-fields for more information. [INFO] [stderr] Compiling proc-macro-hack v0.5.19 [INFO] [stderr] Compiling futures-macro v0.3.16 [INFO] [stderr] Compiling version-compare v0.0.10 [INFO] [stderr] Compiling futures-task v0.3.16 [INFO] [stderr] Compiling futures-channel v0.3.16 [INFO] [stderr] Compiling memchr v2.4.0 [INFO] [stderr] Compiling pkg-config v0.3.17 [INFO] [stderr] Compiling proc-macro-nested v0.1.7 [INFO] [stderr] Compiling futures-util v0.3.16 [INFO] [stderr] Compiling nix v0.15.0 [INFO] [stderr] Compiling void v1.0.2 [INFO] [stderr] Compiling futures-io v0.3.16 [INFO] [stderr] Compiling slab v0.4.4 [INFO] [stderr] Compiling sdl2 v0.34.5 [INFO] [stderr] Compiling uuid v0.8.1 [INFO] [stdout] warning: field `level` is never read [INFO] [stdout] --> src/lib.rs:160:9 [INFO] [stdout] | [INFO] [stdout] 156 | struct VideoSettings { [INFO] [stdout] | ------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 160 | pub level: u8, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `VideoSettings` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `strength` and `disturb` are never read [INFO] [stdout] --> src/drone_state.rs:152:5 [INFO] [stdout] | [INFO] [stdout] 151 | pub struct WifiInfo { [INFO] [stdout] | -------- fields in this struct [INFO] [stdout] 152 | strength: u8, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 153 | disturb: u8, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `WifiInfo` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `good` is never read [INFO] [stdout] --> src/drone_state.rs:169:5 [INFO] [stdout] | [INFO] [stdout] 168 | pub struct LightInfo { [INFO] [stdout] | --------- field in this struct [INFO] [stdout] 169 | good: bool, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `LightInfo` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `.clone()` on a double reference, which returns `&str` instead of cloning the inner type [INFO] [stdout] --> src/command_mode.rs:67:60 [INFO] [stdout] | [INFO] [stdout] 67 | match (param.get(0).and_then(|v| Some(v.clone())), param.get(1)) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(suspicious_double_ref_op)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling sdl2-sys v0.34.5 [INFO] [stderr] Compiling libudev-sys v0.1.4 [INFO] [stderr] Compiling gilrs-core v0.2.6 [INFO] [stderr] Compiling gilrs v0.7.4 [INFO] [stderr] Compiling futures-executor v0.3.16 [INFO] [stderr] Compiling futures v0.3.16 [INFO] [stderr] Compiling tello v0.6.3 (/opt/rustwide/workdir) [INFO] [stdout] error[E0599]: no method named `recv_timeout` found for struct `tokio::sync::watch::Receiver` in the current scope [INFO] [stdout] --> examples/command_mode/main.rs:11:21 [INFO] [stdout] | [INFO] [stdout] 11 | match state.recv_timeout(Duration::from_secs(5)) { [INFO] [stdout] | ^^^^^^^^^^^^ method not found in `tokio::sync::watch::Receiver>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0599`. [INFO] [stdout] [INFO] [stdout] warning: struct `MissingElement` is never constructed [INFO] [stdout] --> examples/fly/main.rs:14:8 [INFO] [stdout] | [INFO] [stdout] 14 | struct MissingElement(&'static str); [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `tello` (example "command_mode") due to 1 previous error [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0599]: no method named `try_recv` found for struct `tokio::sync::watch::Receiver` in the current scope [INFO] [stdout] --> examples/command_mode_keyboard/main.rs:46:25 [INFO] [stdout] | [INFO] [stdout] 46 | match state.try_recv() { [INFO] [stdout] | ^^^^^^^^ method not found in `tokio::sync::watch::Receiver>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0599`. [INFO] [stdout] [INFO] [stderr] error: could not compile `tello` (example "command_mode_keyboard") due to 1 previous error [INFO] [stdout] error: linking with `cc` failed: exit status: 1 [INFO] [stdout] | [INFO] [stdout] = note: "cc" "-m64" "/tmp/rustcfpD5aj/symbols.o" "<2 object files omitted>" "-Wl,--as-needed" "-Wl,-Bstatic" "/opt/rustwide/target/debug/deps/{libtello-f568c04dfcdc2d2c,libtokio-d7bbce3e9f3a7285,libnum_cpus-4e6c756fdd550287,libpin_project_lite-e686f189f307e605,libmio-c4bc34e7e418fa52,liblog-2796cc19bfbad145,libcfg_if-7e9efee4241be1ca,libchrono-aad410f06beec09b,libnum_integer-389099a0701e10cc,libnum_traits-d8cc3ecbaa562fd5,libtime-5294666cc2cd2dc4,libbyteorder-379f547b04d51d02,libsdl2-cca9f0b840e07926,libsdl2_sys-c9495e1717285372,libbitflags-0629d6d36c0d1ed3,liblazy_static-2bb390fee0230a38,liblibc-43c5388493ca342a}.rlib" "/lib/rustlib/x86_64-unknown-linux-gnu/lib/{libstd-*,libpanic_unwind-*,libobject-*,libmemchr-*,libaddr2line-*,libgimli-*,libcfg_if-*,librustc_demangle-*,libstd_detect-*,libhashbrown-*,librustc_std_workspace_alloc-*,libminiz_oxide-*,libadler2-*,libunwind-*,liblibc-*,librustc_std_workspace_core-*,liballoc-*,libcore-*,libcompiler_builtins-*}.rlib" "-Wl,-Bdynamic" "-lSDL2" "-lSDL2_ttf" "-lgcc_s" "-lutil" "-lrt" "-lpthread" "-lm" "-ldl" "-lc" "-L" "/tmp/rustcfpD5aj/raw-dylibs" "-B/lib/rustlib/x86_64-unknown-linux-gnu/bin/gcc-ld" "-fuse-ld=lld" "-Wl,--eh-frame-hdr" "-Wl,-z,noexecstack" "-L" "/usr/lib/x86_64-linux-gnu" "-L" "/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-o" "/opt/rustwide/target/debug/examples/fly-430236f09f386a67" "-Wl,--gc-sections" "-pie" "-Wl,-z,relro,-z,now" "-nodefaultlibs" [INFO] [stdout] = note: some arguments are omitted. use `--verbose` to show all linker arguments [INFO] [stdout] = note: rust-lld: error: unable to find library -lSDL2_ttf [INFO] [stdout] collect2: error: ld returned 1 exit status [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `tello` (example "fly") due to 1 previous error; 1 warning emitted [INFO] [stdout] warning: field `level` is never read [INFO] [stdout] --> src/lib.rs:160:9 [INFO] [stdout] | [INFO] [stdout] 156 | struct VideoSettings { [INFO] [stdout] | ------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 160 | pub level: u8, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `VideoSettings` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `strength` and `disturb` are never read [INFO] [stdout] --> src/drone_state.rs:152:5 [INFO] [stdout] | [INFO] [stdout] 151 | pub struct WifiInfo { [INFO] [stdout] | -------- fields in this struct [INFO] [stdout] 152 | strength: u8, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 153 | disturb: u8, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `WifiInfo` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `good` is never read [INFO] [stdout] --> src/drone_state.rs:169:5 [INFO] [stdout] | [INFO] [stdout] 168 | pub struct LightInfo { [INFO] [stdout] | --------- field in this struct [INFO] [stdout] 169 | good: bool, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `LightInfo` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `.clone()` on a double reference, which returns `&str` instead of cloning the inner type [INFO] [stdout] --> src/command_mode.rs:67:60 [INFO] [stdout] | [INFO] [stdout] 67 | match (param.get(0).and_then(|v| Some(v.clone())), param.get(1)) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(suspicious_double_ref_op)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: linking with `cc` failed: exit status: 1 [INFO] [stdout] | [INFO] [stdout] = note: "cc" "-m64" "/tmp/rustcfytdwd/symbols.o" "<2 object files omitted>" "-Wl,--as-needed" "-Wl,-Bstatic" "/opt/rustwide/target/debug/deps/{libtello-f568c04dfcdc2d2c,libtokio-d7bbce3e9f3a7285,libnum_cpus-4e6c756fdd550287,libpin_project_lite-e686f189f307e605,libmio-c4bc34e7e418fa52,libchrono-aad410f06beec09b,libnum_integer-389099a0701e10cc,libnum_traits-d8cc3ecbaa562fd5,libtime-5294666cc2cd2dc4,libbyteorder-379f547b04d51d02,libgilrs-b4b668d92727992a,libgilrs_core-022e4b0e466fd92b,liblog-2796cc19bfbad145,libuuid-e2c5650602083571,libvec_map-ecbce826993378bd,libnix-de2648b05ccabefe,libvoid-c8c62e9ffd6f4978,libcfg_if-7e9efee4241be1ca,liblibudev_sys-19b167d970408f77,libfnv-2d77ec4f6f971b24,libsdl2-cca9f0b840e07926,libsdl2_sys-c9495e1717285372,libbitflags-0629d6d36c0d1ed3,liblazy_static-2bb390fee0230a38,liblibc-43c5388493ca342a}.rlib" "/lib/rustlib/x86_64-unknown-linux-gnu/lib/{libstd-*,libpanic_unwind-*,libobject-*,libmemchr-*,libaddr2line-*,libgimli-*,libcfg_if-*,librustc_demangle-*,libstd_detect-*,libhashbrown-*,librustc_std_workspace_alloc-*,libminiz_oxide-*,libadler2-*,libunwind-*,liblibc-*,librustc_std_workspace_core-*,liballoc-*,libcore-*,libcompiler_builtins-*}.rlib" "-Wl,-Bdynamic" "-ludev" "-lSDL2" "-lSDL2_ttf" "-lgcc_s" "-lutil" "-lrt" "-lpthread" "-lm" "-ldl" "-lc" "-L" "/tmp/rustcfytdwd/raw-dylibs" "-B/lib/rustlib/x86_64-unknown-linux-gnu/bin/gcc-ld" "-fuse-ld=lld" "-Wl,--eh-frame-hdr" "-Wl,-z,noexecstack" "-L" "/usr/lib/x86_64-linux-gnu" "-L" "/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-o" "/opt/rustwide/target/debug/examples/fly_gamepad-5bb6bd7a1433e3c2" "-Wl,--gc-sections" "-pie" "-Wl,-z,relro,-z,now" "-nodefaultlibs" [INFO] [stdout] = note: some arguments are omitted. use `--verbose` to show all linker arguments [INFO] [stdout] = note: rust-lld: error: unable to find library -lSDL2_ttf [INFO] [stdout] collect2: error: ld returned 1 exit status [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `tello` (example "fly_gamepad") due to 1 previous error [INFO] running `Command { std: "docker" "inspect" "b46f9796b87650d5d3455a2caf72a2e067f2134b01543c2026c3aa5555ab8c20", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b46f9796b87650d5d3455a2caf72a2e067f2134b01543c2026c3aa5555ab8c20", kill_on_drop: false }` [INFO] [stdout] b46f9796b87650d5d3455a2caf72a2e067f2134b01543c2026c3aa5555ab8c20