[INFO] fetching crate openthread-rust 0.1.4... [INFO] testing openthread-rust-0.1.4 against beta-2022-04-10 for beta-1.61-1 [INFO] extracting crate openthread-rust 0.1.4 into /workspace/builds/worker-22/source [INFO] validating manifest of crates.io crate openthread-rust 0.1.4 on toolchain beta-2022-04-10 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate openthread-rust 0.1.4 [INFO] finished tweaking crates.io crate openthread-rust 0.1.4 [INFO] tweaked toml for crates.io crate openthread-rust 0.1.4 written to /workspace/builds/worker-22/source/Cargo.toml [INFO] crate crates.io crate openthread-rust 0.1.4 already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-22/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-22/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 2b4ed75e00c9f3619dfff11bf8fe88f22af866509c419b3b46e3411ee8cb19de [INFO] running `Command { std: "docker" "start" "-a" "2b4ed75e00c9f3619dfff11bf8fe88f22af866509c419b3b46e3411ee8cb19de", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "2b4ed75e00c9f3619dfff11bf8fe88f22af866509c419b3b46e3411ee8cb19de", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2b4ed75e00c9f3619dfff11bf8fe88f22af866509c419b3b46e3411ee8cb19de", kill_on_drop: false }` [INFO] [stdout] 2b4ed75e00c9f3619dfff11bf8fe88f22af866509c419b3b46e3411ee8cb19de [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-22/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-22/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=warn" "-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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 4567a0a4d9c3f4641132a7341314d5d46b7c1424cd3fd1117d6ea67425d3a546 [INFO] running `Command { std: "docker" "start" "-a" "4567a0a4d9c3f4641132a7341314d5d46b7c1424cd3fd1117d6ea67425d3a546", kill_on_drop: false }` [INFO] [stderr] Compiling cc v1.0.54 [INFO] [stderr] Compiling proc-macro2 v1.0.17 [INFO] [stderr] Compiling bindgen v0.53.3 [INFO] [stderr] Compiling lazycell v1.2.1 [INFO] [stderr] Compiling clang-sys v0.29.3 [INFO] [stderr] Compiling nom v5.1.1 [INFO] [stderr] Compiling which v3.1.1 [INFO] [stderr] Compiling env_logger v0.7.1 [INFO] [stderr] Compiling libloading v0.5.2 [INFO] [stderr] Compiling quote v1.0.6 [INFO] [stderr] Compiling cexpr v0.4.0 [INFO] [stderr] Compiling openthread-sys v0.1.4 [INFO] [stderr] Compiling openthread-rust v0.1.4 (/opt/rustwide/workdir) [INFO] [stdout] warning: attribute should be applied to an `extern` block [INFO] [stdout] --> src/main.rs:24:1 [INFO] [stdout] | [INFO] [stdout] 24 | #[link(name = "openthread-ftd")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 25 | #[no_mangle] [INFO] [stdout] 26 | / pub extern "C" fn otPlatSettingsInit( [INFO] [stdout] 27 | | _aInstance: *mut otInstance [INFO] [stdout] 28 | | ) { [INFO] [stdout] 29 | | print!("otPlatSettingsInit"); [INFO] [stdout] 30 | | } [INFO] [stdout] | |_- not an `extern` block [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_attributes)]` on by default [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: attribute should be applied to an `extern` block [INFO] [stdout] --> src/main.rs:32:1 [INFO] [stdout] | [INFO] [stdout] 32 | #[link(name = "openthread-ftd")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 33 | #[no_mangle] [INFO] [stdout] 34 | / pub unsafe extern "C" fn otPlatSettingsGet( [INFO] [stdout] 35 | | _aInstance: *mut otInstance, [INFO] [stdout] 36 | | _aKey: u16, [INFO] [stdout] 37 | | _aIndex: c_int, [INFO] [stdout] ... | [INFO] [stdout] 41 | | otError_OT_ERROR_NOT_IMPLEMENTED [INFO] [stdout] 42 | | } [INFO] [stdout] | |_- not an `extern` block [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: attribute should be applied to an `extern` block [INFO] [stdout] --> src/main.rs:44:1 [INFO] [stdout] | [INFO] [stdout] 44 | #[link(name = "openthread-ftd")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 45 | #[no_mangle] [INFO] [stdout] 46 | / pub unsafe extern "C" fn otPlatSettingsAdd( [INFO] [stdout] 47 | | _aInstance: *mut otInstance, [INFO] [stdout] 48 | | _aKey: u16, [INFO] [stdout] 49 | | _aValue: *const u8, [INFO] [stdout] ... | [INFO] [stdout] 52 | | otError_OT_ERROR_NOT_IMPLEMENTED [INFO] [stdout] 53 | | } [INFO] [stdout] | |_- not an `extern` block [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: attribute should be applied to an `extern` block [INFO] [stdout] --> src/main.rs:55:1 [INFO] [stdout] | [INFO] [stdout] 55 | #[link(name = "openthread-ftd")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 56 | #[no_mangle] [INFO] [stdout] 57 | / pub extern "C" fn otPlatSettingsSet( [INFO] [stdout] 58 | | _aInstance: *mut otInstance, [INFO] [stdout] 59 | | _aKey: u16, [INFO] [stdout] 60 | | _aValue: *const u8, [INFO] [stdout] ... | [INFO] [stdout] 63 | | otError_OT_ERROR_NOT_IMPLEMENTED [INFO] [stdout] 64 | | } [INFO] [stdout] | |_- not an `extern` block [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: attribute should be applied to an `extern` block [INFO] [stdout] --> src/main.rs:66:1 [INFO] [stdout] | [INFO] [stdout] 66 | #[link(name = "openthread-ftd")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 67 | #[no_mangle] [INFO] [stdout] 68 | / pub unsafe extern "C" fn otPlatSettingsDelete( [INFO] [stdout] 69 | | _aInstance: *mut otInstance, [INFO] [stdout] 70 | | _aKey: u16, [INFO] [stdout] 71 | | _aIndex: c_int [INFO] [stdout] 72 | | ) -> otError { [INFO] [stdout] 73 | | otError_OT_ERROR_NOT_IMPLEMENTED [INFO] [stdout] 74 | | } [INFO] [stdout] | |_- not an `extern` block [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: attribute should be applied to an `extern` block [INFO] [stdout] --> src/main.rs:76:1 [INFO] [stdout] | [INFO] [stdout] 76 | #[link(name = "openthread-ftd")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 77 | #[no_mangle] [INFO] [stdout] 78 | / pub unsafe extern "C" fn otPlatRadioGetPromiscuous( [INFO] [stdout] 79 | | _aInstance: *mut otInstance [INFO] [stdout] 80 | | ) -> bool { [INFO] [stdout] 81 | | false [INFO] [stdout] 82 | | } [INFO] [stdout] | |_- not an `extern` block [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: attribute should be applied to an `extern` block [INFO] [stdout] --> src/main.rs:84:1 [INFO] [stdout] | [INFO] [stdout] 84 | #[link(name = "openthread-ftd")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 85 | #[no_mangle] [INFO] [stdout] 86 | / pub unsafe extern "C" fn otPlatRadioSetPromiscuous( [INFO] [stdout] 87 | | _aInstance: *mut otInstance, [INFO] [stdout] 88 | | _aEnable: bool [INFO] [stdout] 89 | | ) { [INFO] [stdout] 90 | | } [INFO] [stdout] | |_- not an `extern` block [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: attribute should be applied to an `extern` block [INFO] [stdout] --> src/main.rs:92:1 [INFO] [stdout] | [INFO] [stdout] 92 | #[link(name = "openthread-ftd")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 93 | #[no_mangle] [INFO] [stdout] 94 | / pub unsafe extern "C" fn otPlatRadioAddSrcMatchShortEntry( [INFO] [stdout] 95 | | _aInstance: *mut otInstance, [INFO] [stdout] 96 | | _aShortAddress: otShortAddress [INFO] [stdout] 97 | | ) -> otError { [INFO] [stdout] 98 | | otError_OT_ERROR_NOT_IMPLEMENTED [INFO] [stdout] 99 | | } [INFO] [stdout] | |_- not an `extern` block [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: attribute should be applied to an `extern` block [INFO] [stdout] --> src/main.rs:101:1 [INFO] [stdout] | [INFO] [stdout] 101 | #[link(name = "openthread-ftd")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 102 | #[no_mangle] [INFO] [stdout] 103 | / pub unsafe extern "C" fn otPlatRadioSetShortAddress( [INFO] [stdout] 104 | | _aInstance: *mut otInstance, [INFO] [stdout] 105 | | _aShortAddress: otShortAddress [INFO] [stdout] 106 | | ) { [INFO] [stdout] 107 | | } [INFO] [stdout] | |_- not an `extern` block [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: attribute should be applied to an `extern` block [INFO] [stdout] --> src/main.rs:109:1 [INFO] [stdout] | [INFO] [stdout] 109 | #[link(name = "openthread-ftd")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 110 | #[no_mangle] [INFO] [stdout] 111 | / pub unsafe extern "C" fn otPlatRadioEnableSrcMatch( [INFO] [stdout] 112 | | _aInstance: *mut otInstance, [INFO] [stdout] 113 | | _aEnable: bool [INFO] [stdout] 114 | | ) { [INFO] [stdout] 115 | | } [INFO] [stdout] | |_- not an `extern` block [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: attribute should be applied to an `extern` block [INFO] [stdout] --> src/main.rs:117:1 [INFO] [stdout] | [INFO] [stdout] 117 | #[link(name = "openthread-ftd")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 118 | #[no_mangle] [INFO] [stdout] 119 | / pub unsafe extern "C" fn otPlatRadioClearSrcMatchExtEntries( [INFO] [stdout] 120 | | _aInstance: *mut otInstance [INFO] [stdout] 121 | | ) { [INFO] [stdout] 122 | | } [INFO] [stdout] | |_- not an `extern` block [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: attribute should be applied to an `extern` block [INFO] [stdout] --> src/main.rs:124:1 [INFO] [stdout] | [INFO] [stdout] 124 | #[link(name = "openthread-ftd")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 125 | #[no_mangle] [INFO] [stdout] 126 | / pub unsafe extern "C" fn otPlatRadioEnergyScan( [INFO] [stdout] 127 | | _aInstance: *mut otInstance, [INFO] [stdout] 128 | | _aScanChannel: u8, [INFO] [stdout] 129 | | _aScanDuration: u16 [INFO] [stdout] 130 | | ) -> otError { [INFO] [stdout] 131 | | otError_OT_ERROR_NOT_IMPLEMENTED [INFO] [stdout] 132 | | } [INFO] [stdout] | |_- not an `extern` block [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: attribute should be applied to an `extern` block [INFO] [stdout] --> src/main.rs:134:1 [INFO] [stdout] | [INFO] [stdout] 134 | #[link(name = "openthread-ftd")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 135 | #[no_mangle] [INFO] [stdout] 136 | / pub unsafe extern "C" fn otPlatRadioClearSrcMatchShortEntries( [INFO] [stdout] 137 | | _aInstance: *mut otInstance [INFO] [stdout] 138 | | ) { [INFO] [stdout] 139 | | } [INFO] [stdout] | |_- not an `extern` block [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: attribute should be applied to an `extern` block [INFO] [stdout] --> src/main.rs:141:1 [INFO] [stdout] | [INFO] [stdout] 141 | #[link(name = "openthread-ftd")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 142 | #[no_mangle] [INFO] [stdout] 143 | / pub unsafe extern "C" fn otPlatRadioAddSrcMatchExtEntry( [INFO] [stdout] 144 | | _aInstance: *mut otInstance, [INFO] [stdout] 145 | | _aExtAddress: *const otExtAddress [INFO] [stdout] 146 | | ) -> otError { [INFO] [stdout] 147 | | otError_OT_ERROR_NOT_IMPLEMENTED [INFO] [stdout] 148 | | } [INFO] [stdout] | |_- not an `extern` block [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: attribute should be applied to an `extern` block [INFO] [stdout] --> src/main.rs:150:1 [INFO] [stdout] | [INFO] [stdout] 150 | #[link(name = "openthread-ftd")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 151 | #[no_mangle] [INFO] [stdout] 152 | / pub unsafe extern "C" fn otPlatRadioSetExtendedAddress( [INFO] [stdout] 153 | | _aInstance: *mut otInstance, [INFO] [stdout] 154 | | _aExtAddress: *const otExtAddress [INFO] [stdout] 155 | | ) { [INFO] [stdout] 156 | | } [INFO] [stdout] | |_- not an `extern` block [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: attribute should be applied to an `extern` block [INFO] [stdout] --> src/main.rs:158:1 [INFO] [stdout] | [INFO] [stdout] 158 | #[link(name = "openthread-ftd")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 159 | #[no_mangle] [INFO] [stdout] 160 | / pub unsafe extern "C" fn otPlatRadioGetReceiveSensitivity( [INFO] [stdout] 161 | | _aInstance: *mut otInstance [INFO] [stdout] 162 | | ) -> i8 { [INFO] [stdout] 163 | | 0 [INFO] [stdout] 164 | | } [INFO] [stdout] | |_- not an `extern` block [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: attribute should be applied to an `extern` block [INFO] [stdout] --> src/main.rs:166:1 [INFO] [stdout] | [INFO] [stdout] 166 | #[link(name = "openthread-ftd")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 167 | #[no_mangle] [INFO] [stdout] 168 | / pub unsafe extern "C" fn otPlatRadioSleep( [INFO] [stdout] 169 | | _aInstance: *mut otInstance [INFO] [stdout] 170 | | ) -> otError { [INFO] [stdout] 171 | | otError_OT_ERROR_NOT_IMPLEMENTED [INFO] [stdout] 172 | | } [INFO] [stdout] | |_- not an `extern` block [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: attribute should be applied to an `extern` block [INFO] [stdout] --> src/main.rs:174:1 [INFO] [stdout] | [INFO] [stdout] 174 | #[link(name = "openthread-ftd")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 175 | #[no_mangle] [INFO] [stdout] 176 | / pub unsafe extern "C" fn otPlatRadioGetRssi( [INFO] [stdout] 177 | | _aInstance: *mut otInstance [INFO] [stdout] 178 | | ) -> i8 { [INFO] [stdout] 179 | | 0 [INFO] [stdout] 180 | | } [INFO] [stdout] | |_- not an `extern` block [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: attribute should be applied to an `extern` block [INFO] [stdout] --> src/main.rs:182:1 [INFO] [stdout] | [INFO] [stdout] 182 | #[link(name = "openthread-ftd")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 183 | #[no_mangle] [INFO] [stdout] 184 | / pub unsafe extern "C" fn otPlatRadioGetTransmitBuffer( [INFO] [stdout] 185 | | _aInstance: *mut otInstance [INFO] [stdout] 186 | | ) -> *mut otRadioFrame { [INFO] [stdout] 187 | | [INFO] [stdout] ... | [INFO] [stdout] 226 | | rawFrame [INFO] [stdout] 227 | | } [INFO] [stdout] | |_- not an `extern` block [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: attribute should be applied to an `extern` block [INFO] [stdout] --> src/main.rs:229:1 [INFO] [stdout] | [INFO] [stdout] 229 | #[link(name = "openthread-ftd")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 230 | #[no_mangle] [INFO] [stdout] 231 | / pub unsafe extern "C" fn otPlatRadioClearSrcMatchShortEntry( [INFO] [stdout] 232 | | _aInstance: *mut otInstance, [INFO] [stdout] 233 | | _aShortAddress: otShortAddress [INFO] [stdout] 234 | | ) -> otError { [INFO] [stdout] 235 | | otError_OT_ERROR_NOT_IMPLEMENTED [INFO] [stdout] 236 | | } [INFO] [stdout] | |_- not an `extern` block [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: attribute should be applied to an `extern` block [INFO] [stdout] --> src/main.rs:238:1 [INFO] [stdout] | [INFO] [stdout] 238 | #[link(name = "openthread-ftd")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 239 | #[no_mangle] [INFO] [stdout] 240 | / pub unsafe extern "C" fn otPlatRadioTransmit( [INFO] [stdout] 241 | | _aInstance: *mut otInstance, [INFO] [stdout] 242 | | _aFrame: *mut otRadioFrame [INFO] [stdout] 243 | | ) -> otError { [INFO] [stdout] 244 | | otError_OT_ERROR_NOT_IMPLEMENTED [INFO] [stdout] 245 | | } [INFO] [stdout] | |_- not an `extern` block [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: attribute should be applied to an `extern` block [INFO] [stdout] --> src/main.rs:247:1 [INFO] [stdout] | [INFO] [stdout] 247 | #[link(name = "openthread-ftd")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 248 | #[no_mangle] [INFO] [stdout] 249 | / pub unsafe extern "C" fn otPlatRadioEnable( [INFO] [stdout] 250 | | _aInstance: *mut otInstance [INFO] [stdout] 251 | | ) -> otError { [INFO] [stdout] 252 | | otError_OT_ERROR_NOT_IMPLEMENTED [INFO] [stdout] 253 | | } [INFO] [stdout] | |_- not an `extern` block [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: attribute should be applied to an `extern` block [INFO] [stdout] --> src/main.rs:255:1 [INFO] [stdout] | [INFO] [stdout] 255 | #[link(name = "openthread-ftd")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 256 | #[no_mangle] [INFO] [stdout] 257 | / pub unsafe extern "C" fn otPlatRadioSetPanId( [INFO] [stdout] 258 | | _aInstance: *mut otInstance, [INFO] [stdout] 259 | | _aPanId: otPanId [INFO] [stdout] 260 | | ) { [INFO] [stdout] 261 | | } [INFO] [stdout] | |_- not an `extern` block [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: attribute should be applied to an `extern` block [INFO] [stdout] --> src/main.rs:263:1 [INFO] [stdout] | [INFO] [stdout] 263 | #[link(name = "openthread-ftd")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 264 | #[no_mangle] [INFO] [stdout] 265 | / pub unsafe extern "C" fn otPlatRadioGetCaps( [INFO] [stdout] 266 | | _aInstance: *mut otInstance [INFO] [stdout] 267 | | ) -> otRadioCaps { [INFO] [stdout] 268 | | OT_RADIO_CAPS_NONE.try_into().unwrap() [INFO] [stdout] 269 | | } [INFO] [stdout] | |_- not an `extern` block [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: attribute should be applied to an `extern` block [INFO] [stdout] --> src/main.rs:271:1 [INFO] [stdout] | [INFO] [stdout] 271 | #[link(name = "openthread-ftd")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 272 | #[no_mangle] [INFO] [stdout] 273 | / pub unsafe extern "C" fn otPlatRadioReceive( [INFO] [stdout] 274 | | _aInstance: *mut otInstance, [INFO] [stdout] 275 | | _aChannel: u8 [INFO] [stdout] 276 | | ) -> otError { [INFO] [stdout] 277 | | otError_OT_ERROR_NOT_IMPLEMENTED [INFO] [stdout] 278 | | } [INFO] [stdout] | |_- not an `extern` block [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: attribute should be applied to an `extern` block [INFO] [stdout] --> src/main.rs:280:1 [INFO] [stdout] | [INFO] [stdout] 280 | #[link(name = "openthread-ftd")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 281 | #[no_mangle] [INFO] [stdout] 282 | / pub unsafe extern "C" fn otPlatRadioClearSrcMatchExtEntry( [INFO] [stdout] 283 | | _aInstance: *mut otInstance, [INFO] [stdout] 284 | | _aExtAddress: *const otExtAddress [INFO] [stdout] 285 | | ) -> otError { [INFO] [stdout] 286 | | otError_OT_ERROR_NOT_IMPLEMENTED [INFO] [stdout] 287 | | } [INFO] [stdout] | |_- not an `extern` block [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: attribute should be applied to an `extern` block [INFO] [stdout] --> src/main.rs:289:1 [INFO] [stdout] | [INFO] [stdout] 289 | #[link(name = "openthread-ftd")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 290 | #[no_mangle] [INFO] [stdout] 291 | / pub unsafe extern "C" fn otPlatAlarmMilliStop( [INFO] [stdout] 292 | | _aInstance: *mut otInstance [INFO] [stdout] 293 | | ) { [INFO] [stdout] 294 | | } [INFO] [stdout] | |_- not an `extern` block [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: attribute should be applied to an `extern` block [INFO] [stdout] --> src/main.rs:296:1 [INFO] [stdout] | [INFO] [stdout] 296 | #[link(name = "openthread-ftd")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 297 | #[no_mangle] [INFO] [stdout] 298 | / pub unsafe extern "C" fn otPlatAlarmMilliStartAt( [INFO] [stdout] 299 | | _aInstance: *mut otInstance, [INFO] [stdout] 300 | | _aT0: u32, [INFO] [stdout] 301 | | _aDt: u32 [INFO] [stdout] 302 | | ) { [INFO] [stdout] 303 | | } [INFO] [stdout] | |_- not an `extern` block [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: attribute should be applied to an `extern` block [INFO] [stdout] --> src/main.rs:305:1 [INFO] [stdout] | [INFO] [stdout] 305 | #[link(name = "openthread-ftd")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 306 | #[no_mangle] [INFO] [stdout] 307 | / pub unsafe extern "C" fn otPlatAlarmMilliGetNow( [INFO] [stdout] 308 | | ) -> u32 { [INFO] [stdout] 309 | | 0 [INFO] [stdout] 310 | | } [INFO] [stdout] | |_- not an `extern` block [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: attribute should be applied to an `extern` block [INFO] [stdout] --> src/main.rs:312:1 [INFO] [stdout] | [INFO] [stdout] 312 | #[link(name = "openthread-ftd")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 313 | #[no_mangle] [INFO] [stdout] 314 | / pub unsafe extern "C" fn otPlatEntropyGet( [INFO] [stdout] 315 | | _aOutput: *mut u8, [INFO] [stdout] 316 | | _aOutputLength: u16 [INFO] [stdout] 317 | | ) -> otError { [INFO] [stdout] 318 | | otError_OT_ERROR_NOT_IMPLEMENTED [INFO] [stdout] 319 | | } [INFO] [stdout] | |_- not an `extern` block [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [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/deps/openthread_rust-f797ad2dcc244c87.openthread_rust.54b2a33d-cgu.0.rcgu.o" "/opt/rustwide/target/debug/deps/openthread_rust-f797ad2dcc244c87.openthread_rust.54b2a33d-cgu.1.rcgu.o" "/opt/rustwide/target/debug/deps/openthread_rust-f797ad2dcc244c87.openthread_rust.54b2a33d-cgu.10.rcgu.o" "/opt/rustwide/target/debug/deps/openthread_rust-f797ad2dcc244c87.openthread_rust.54b2a33d-cgu.11.rcgu.o" "/opt/rustwide/target/debug/deps/openthread_rust-f797ad2dcc244c87.openthread_rust.54b2a33d-cgu.12.rcgu.o" "/opt/rustwide/target/debug/deps/openthread_rust-f797ad2dcc244c87.openthread_rust.54b2a33d-cgu.13.rcgu.o" "/opt/rustwide/target/debug/deps/openthread_rust-f797ad2dcc244c87.openthread_rust.54b2a33d-cgu.14.rcgu.o" "/opt/rustwide/target/debug/deps/openthread_rust-f797ad2dcc244c87.openthread_rust.54b2a33d-cgu.15.rcgu.o" "/opt/rustwide/target/debug/deps/openthread_rust-f797ad2dcc244c87.openthread_rust.54b2a33d-cgu.2.rcgu.o" "/opt/rustwide/target/debug/deps/openthread_rust-f797ad2dcc244c87.openthread_rust.54b2a33d-cgu.3.rcgu.o" "/opt/rustwide/target/debug/deps/openthread_rust-f797ad2dcc244c87.openthread_rust.54b2a33d-cgu.4.rcgu.o" "/opt/rustwide/target/debug/deps/openthread_rust-f797ad2dcc244c87.openthread_rust.54b2a33d-cgu.5.rcgu.o" "/opt/rustwide/target/debug/deps/openthread_rust-f797ad2dcc244c87.openthread_rust.54b2a33d-cgu.6.rcgu.o" "/opt/rustwide/target/debug/deps/openthread_rust-f797ad2dcc244c87.openthread_rust.54b2a33d-cgu.7.rcgu.o" "/opt/rustwide/target/debug/deps/openthread_rust-f797ad2dcc244c87.openthread_rust.54b2a33d-cgu.8.rcgu.o" "/opt/rustwide/target/debug/deps/openthread_rust-f797ad2dcc244c87.openthread_rust.54b2a33d-cgu.9.rcgu.o" "/opt/rustwide/target/debug/deps/openthread_rust-f797ad2dcc244c87.3fpfmqcjbeyf5jaa.rcgu.o" "-Wl,--as-needed" "-L" "/opt/rustwide/target/debug/deps" "-L" "/opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/openthread-sys-0.1.4/vendor/openthread/src/core" "-L" "/opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/openthread-sys-0.1.4/vendor/openthread/src/cli" "-L" "/opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/openthread-sys-0.1.4/vendor/openthread/src/lib/platform" "-L" "/opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/openthread-sys-0.1.4/vendor/openthread/third_party/mbedtls" "-L" "/opt/rustwide/rustup-home/toolchains/beta-2022-04-10-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-Wl,-Bstatic" "/opt/rustwide/target/debug/deps/libopenthread_sys-345c90ed0b5d6311.rlib" "-Wl,--start-group" "/opt/rustwide/rustup-home/toolchains/beta-2022-04-10-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd-ff9290e971253a38.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2022-04-10-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libpanic_unwind-5534b29ea7b2d8f5.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2022-04-10-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libobject-8bfbb13072fc2761.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2022-04-10-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libmemchr-d6d1fa92fa620f17.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2022-04-10-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libaddr2line-7cfd201521727d95.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2022-04-10-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libgimli-0e8010e8fce8e5a7.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2022-04-10-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_demangle-19093fec3c6dd913.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2022-04-10-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd_detect-89c4cbe9256c1890.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2022-04-10-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libhashbrown-73e4507673363945.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2022-04-10-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libminiz_oxide-3fe98c0f46f27964.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2022-04-10-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libadler-a76787f08d45e37d.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2022-04-10-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_std_workspace_alloc-8cea480e62c5b261.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2022-04-10-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libunwind-1fb939608cd05a1c.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2022-04-10-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcfg_if-842e67e3ab562f66.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2022-04-10-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/liblibc-0c1c8fec3b1a54cc.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2022-04-10-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/liballoc-689faa634b72af17.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2022-04-10-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_std_workspace_core-6c2c561a8181be5e.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2022-04-10-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcore-88c4d85fe493b0a6.rlib" "-Wl,--end-group" "/opt/rustwide/rustup-home/toolchains/beta-2022-04-10-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcompiler_builtins-f5394bdb1df5df01.rlib" "-Wl,-Bdynamic" "-lopenthread-ftd" "-lopenthread-cli-ftd" "-lopenthread-platform" "-lmbedcrypto" "-lgcc_s" "-lutil" "-lrt" "-lpthread" "-lm" "-ldl" "-lc" "-Wl,--eh-frame-hdr" "-Wl,-znoexecstack" "-L" "/opt/rustwide/rustup-home/toolchains/beta-2022-04-10-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-o" "/opt/rustwide/target/debug/deps/openthread_rust-f797ad2dcc244c87" "-Wl,--gc-sections" "-pie" "-Wl,-zrelro,-znow" "-nodefaultlibs" [INFO] [stdout] = note: /usr/bin/ld: cannot find -lopenthread-ftd [INFO] [stdout] /usr/bin/ld: cannot find -lopenthread-cli-ftd [INFO] [stdout] /usr/bin/ld: cannot find -lopenthread-platform [INFO] [stdout] /usr/bin/ld: cannot find -lmbedcrypto [INFO] [stdout] collect2: error: ld returned 1 exit status [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error; 30 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `openthread-rust` due to 2 previous errors; 30 warnings emitted [INFO] running `Command { std: "docker" "inspect" "4567a0a4d9c3f4641132a7341314d5d46b7c1424cd3fd1117d6ea67425d3a546", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4567a0a4d9c3f4641132a7341314d5d46b7c1424cd3fd1117d6ea67425d3a546", kill_on_drop: false }` [INFO] [stdout] 4567a0a4d9c3f4641132a7341314d5d46b7c1424cd3fd1117d6ea67425d3a546