[INFO] fetching crate tello 0.6.3... [INFO] testing tello-0.6.3 against master#562dee4820c458d823175268e41601d4c060588a for pr-154210-2 [INFO] extracting crate tello 0.6.3 into /workspace/builds/worker-5-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-5-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate tello 0.6.3 on toolchain 562dee4820c458d823175268e41601d4c060588a [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+562dee4820c458d823175268e41601d4c060588a" "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" "+562dee4820c458d823175268e41601d4c060588a" "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-macros v1.3.0 [INFO] [stderr] Downloaded pin-project-lite v0.2.7 [INFO] [stderr] Downloaded tokio-stream v0.1.7 [INFO] [stderr] Downloaded futures-task v0.3.16 [INFO] [stderr] Downloaded autocfg v0.1.7 [INFO] [stderr] Downloaded proc-macro-nested v0.1.7 [INFO] [stderr] Downloaded proc-macro-hack v0.5.19 [INFO] [stderr] Downloaded rusty-xinput v1.2.0 [INFO] [stderr] Downloaded futures-macro v0.3.16 [INFO] [stderr] Downloaded time v0.1.44 [INFO] [stderr] Downloaded futures-executor v0.3.16 [INFO] [stderr] Downloaded num-integer v0.1.41 [INFO] [stderr] Downloaded num-traits v0.2.10 [INFO] [stderr] Downloaded memchr v2.4.0 [INFO] [stderr] Downloaded futures v0.3.16 [INFO] [stderr] Downloaded core-foundation v0.6.4 [INFO] [stderr] Downloaded chrono v0.4.19 [INFO] [stderr] Downloaded wasm-bindgen v0.2.64 [INFO] [stderr] Downloaded nix v0.15.0 [INFO] [stderr] Downloaded futures-util v0.3.16 [INFO] [stderr] Downloaded stdweb v0.4.20 [INFO] [stderr] Downloaded syn v1.0.74 [INFO] [stderr] Downloaded gilrs v0.7.4 [INFO] [stderr] Downloaded sdl2 v0.34.5 [INFO] [stderr] Downloaded ntapi v0.3.4 [INFO] [stderr] Downloaded io-kit-sys v0.1.0 [INFO] [stderr] Downloaded cc v1.0.57 [INFO] [stderr] Downloaded bytes v1.1.0 [INFO] [stderr] Downloaded tokio-util v0.6.8 [INFO] [stderr] Downloaded futures-channel v0.3.16 [INFO] [stderr] Downloaded mach v0.2.3 [INFO] [stderr] Downloaded sdl2-sys v0.34.5 [INFO] [stderr] Downloaded tokio v1.11.0 [INFO] [stderr] Downloaded futures-core v0.3.16 [INFO] [stderr] Downloaded futures-io v0.3.16 [INFO] [stderr] Downloaded core-foundation-sys v0.6.2 [INFO] [stderr] Downloaded wasm-bindgen-shared v0.2.64 [INFO] [stderr] Downloaded libc v0.2.99 [INFO] [stderr] Downloaded wasm-bindgen-macro-support v0.2.64 [INFO] [stderr] Downloaded discard v1.0.4 [INFO] [stderr] Downloaded base-x v0.2.6 [INFO] [stderr] Downloaded version-compare v0.0.10 [INFO] [stderr] Downloaded wasm-bindgen-backend v0.2.64 [INFO] [stderr] Downloaded wasm-bindgen-macro v0.2.64 [INFO] [stderr] Downloaded pkg-config v0.3.17 [INFO] [stderr] Downloaded gilrs-core v0.2.6 [INFO] [stderr] Downloaded futures-sink v0.3.16 [INFO] [stderr] Downloaded stdweb-derive v0.5.3 [INFO] [stderr] Downloaded stdweb-internal-macros v0.2.9 [INFO] [stderr] Downloaded proc-macro2 v1.0.28 [INFO] [stderr] Downloaded libudev-sys v0.1.4 [INFO] [stderr] Downloaded sha1 v0.6.0 [INFO] [stderr] Downloaded stdweb-internal-runtime v0.1.5 [INFO] [stderr] Downloaded mio v0.7.13 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+562dee4820c458d823175268e41601d4c060588a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 7c37105f8b601e136220cd4993961fb9491ede6eb4d49d146ecfad2a0fb51f71 [INFO] running `Command { std: "docker" "start" "-a" "7c37105f8b601e136220cd4993961fb9491ede6eb4d49d146ecfad2a0fb51f71", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "7c37105f8b601e136220cd4993961fb9491ede6eb4d49d146ecfad2a0fb51f71", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7c37105f8b601e136220cd4993961fb9491ede6eb4d49d146ecfad2a0fb51f71", kill_on_drop: false }` [INFO] [stdout] 7c37105f8b601e136220cd4993961fb9491ede6eb4d49d146ecfad2a0fb51f71 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+562dee4820c458d823175268e41601d4c060588a" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d0c6462bf348751eb5daa8dffca12643e3abefb9eb172bdb1d466a4d071a0f40 [INFO] running `Command { std: "docker" "start" "-a" "d0c6462bf348751eb5daa8dffca12643e3abefb9eb172bdb1d466a4d071a0f40", 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 cfg-if v0.1.10 [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 bytes v1.1.0 [INFO] [stderr] Compiling futures-sink v0.3.16 [INFO] [stderr] Compiling byteorder v1.4.3 [INFO] [stderr] Compiling num-traits v0.2.10 [INFO] [stderr] Compiling num-integer v0.1.41 [INFO] [stderr] Compiling tokio v1.11.0 [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 12.72s [INFO] running `Command { std: "docker" "inspect" "d0c6462bf348751eb5daa8dffca12643e3abefb9eb172bdb1d466a4d071a0f40", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d0c6462bf348751eb5daa8dffca12643e3abefb9eb172bdb1d466a4d071a0f40", kill_on_drop: false }` [INFO] [stdout] d0c6462bf348751eb5daa8dffca12643e3abefb9eb172bdb1d466a4d071a0f40 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+562dee4820c458d823175268e41601d4c060588a" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 1ec2b2c2551319ca1f3f8fa16d0c1b35dbdd0f2f70f08840d47ed2c2bc730f34 [INFO] running `Command { std: "docker" "start" "-a" "1ec2b2c2551319ca1f3f8fa16d0c1b35dbdd0f2f70f08840d47ed2c2bc730f34", 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 bitflags v1.2.1 [INFO] [stderr] Compiling proc-macro-hack v0.5.19 [INFO] [stderr] Compiling memchr v2.4.0 [INFO] [stderr] Compiling futures-task v0.3.16 [INFO] [stderr] Compiling pkg-config v0.3.17 [INFO] [stderr] Compiling futures-macro v0.3.16 [INFO] [stderr] Compiling futures-channel v0.3.16 [INFO] [stderr] Compiling version-compare v0.0.10 [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 futures-io v0.3.16 [INFO] [stderr] Compiling void v1.0.2 [INFO] [stderr] Compiling slab v0.4.4 [INFO] [stderr] Compiling uuid v0.8.1 [INFO] [stderr] Compiling vec_map v0.8.2 [INFO] [stderr] Compiling sdl2 v0.34.5 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling sdl2-sys v0.34.5 [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 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] [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] 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] [stdout] error: linking with `cc` failed: exit status: 1 [INFO] [stdout] | [INFO] [stdout] = note: "cc" "-m64" "/opt/rustwide/target/debug/examples/rustcqPh9M7/symbols.o" "<2 object files omitted>" "-Wl,--as-needed" "-Wl,-Bstatic" "/opt/rustwide/target/debug/deps/{libtello-135229eeb1e2e905,libtokio-c65b88ad08255fc5,libnum_cpus-57c19c5c9907c3a5,libpin_project_lite-e686f189f307e605,libmio-dd5a6c0e75f334e8,libchrono-e5a0a98970fe6a9b,libnum_integer-15500e1632c21361,libnum_traits-ec5db4a6e0513c4d,libtime-314e9a284bb4f1ae,libbyteorder-379f547b04d51d02,libgilrs-71aa7405eee6dde9,libgilrs_core-b2ea3f438e7100a3,liblog-a9029c470d8f2f63,libuuid-e2c5650602083571,libvec_map-ecbce826993378bd,libnix-ccd56ebc51021b97,libvoid-c8c62e9ffd6f4978,libcfg_if-7e9efee4241be1ca,liblibudev_sys-34ea9cea639f38e3,libfnv-2d77ec4f6f971b24,libsdl2-e068a6876e77e3e5,libsdl2_sys-915a59823573201c,libbitflags-b62ab2fcdb7657f2,liblazy_static-2bb390fee0230a38,liblibc-abe6c48f70a10dd5}.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" "/opt/rustwide/target/debug/examples/rustcqPh9M7/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-212ce8996975679d" "-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] [stdout] error: linking with `cc` failed: exit status: 1 [INFO] [stdout] | [INFO] [stdout] = note: "cc" "-m64" "/opt/rustwide/target/debug/examples/rustc2FEcls/symbols.o" "<2 object files omitted>" "-Wl,--as-needed" "-Wl,-Bstatic" "/opt/rustwide/target/debug/deps/{libtello-135229eeb1e2e905,libtokio-c65b88ad08255fc5,libnum_cpus-57c19c5c9907c3a5,libpin_project_lite-e686f189f307e605,libmio-dd5a6c0e75f334e8,liblog-a9029c470d8f2f63,libcfg_if-7e9efee4241be1ca,libchrono-e5a0a98970fe6a9b,libnum_integer-15500e1632c21361,libnum_traits-ec5db4a6e0513c4d,libtime-314e9a284bb4f1ae,libbyteorder-379f547b04d51d02,libsdl2-e068a6876e77e3e5,libsdl2_sys-915a59823573201c,libbitflags-b62ab2fcdb7657f2,liblazy_static-2bb390fee0230a38,liblibc-abe6c48f70a10dd5}.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" "/opt/rustwide/target/debug/examples/rustc2FEcls/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-39547a7852517498" "-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] running `Command { std: "docker" "inspect" "1ec2b2c2551319ca1f3f8fa16d0c1b35dbdd0f2f70f08840d47ed2c2bc730f34", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1ec2b2c2551319ca1f3f8fa16d0c1b35dbdd0f2f70f08840d47ed2c2bc730f34", kill_on_drop: false }` [INFO] [stdout] 1ec2b2c2551319ca1f3f8fa16d0c1b35dbdd0f2f70f08840d47ed2c2bc730f34