[INFO] updating cached repository https://github.com/RustAudio/deepspeech-rs [INFO] running `"git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "-c" "remote.origin.fetch=refs/heads/*:refs/heads/*" "fetch" "origin" "--force" "--prune"` [INFO] running `"git" "rev-parse" "HEAD"` [INFO] [stdout] 237facd66eb39d1a10eb2279f03a70899c0e5e25 [INFO] checking RustAudio/deepspeech-rs against try#13f916f63bc6575d5ff1f989237dfabe88981368 for pr-69880 [INFO] running `"git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FRustAudio%2Fdeepspeech-rs" "/workspace/builds/worker-7/source"` [INFO] [stderr] Cloning into '/workspace/builds/worker-7/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/RustAudio/deepspeech-rs on toolchain 13f916f63bc6575d5ff1f989237dfabe88981368 [INFO] running `"/workspace/cargo-home/bin/cargo" "+13f916f63bc6575d5ff1f989237dfabe88981368" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] started tweaking git repo https://github.com/RustAudio/deepspeech-rs [INFO] removed workspace from git repo https://github.com/RustAudio/deepspeech-rs [INFO] removed path dependency deepspeech-sys from git repo https://github.com/RustAudio/deepspeech-rs [INFO] finished tweaking git repo https://github.com/RustAudio/deepspeech-rs [INFO] tweaked toml for git repo https://github.com/RustAudio/deepspeech-rs written to /workspace/builds/worker-7/source/Cargo.toml [INFO] crate git repo https://github.com/RustAudio/deepspeech-rs already has a lockfile, it will not be regenerated [INFO] running `"/workspace/cargo-home/bin/cargo" "+13f916f63bc6575d5ff1f989237dfabe88981368" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] [stderr] warning: dependency (deepspeech-sys) specified without providing a local path, Git repository, or version to use. This will be considered an error in future versions [INFO] [stderr] Updating crates.io index [INFO] [stderr] error: the lock file /workspace/builds/worker-7/source/Cargo.lock needs to be updated but --locked was passed to prevent this [INFO] [stderr] If you want to try to generate the lock file without accessing the network, use the --offline flag. [INFO] the lockfile is outdated, regenerating it [INFO] running `"/workspace/cargo-home/bin/cargo" "+13f916f63bc6575d5ff1f989237dfabe88981368" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update"` [INFO] running `"/workspace/cargo-home/bin/cargo" "+13f916f63bc6575d5ff1f989237dfabe88981368" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] [stderr] warning: dependency (deepspeech-sys) specified without providing a local path, Git repository, or version to use. This will be considered an error in future versions [INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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" "MAP_USER_ID=0" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--network" "none" "rustops/crates-build-env" "/opt/rustwide/cargo-home/bin/cargo" "+13f916f63bc6575d5ff1f989237dfabe88981368" "check" "--frozen" "--all" "--all-targets"` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 09121bc01a5d150730e248bc84bb51d23c774fe064bbcc0c34c3a071ffb1ac39 [INFO] running `"docker" "start" "-a" "09121bc01a5d150730e248bc84bb51d23c774fe064bbcc0c34c3a071ffb1ac39"` [INFO] [stderr] warning: dependency (deepspeech-sys) specified without providing a local path, Git repository, or version to use. This will be considered an error in future versions [INFO] [stderr] Compiling deepspeech-sys v0.6.1 [INFO] [stderr] Checking alac v0.3.3 [INFO] [stderr] Checking sample v0.9.1 [INFO] [stderr] Checking ogg v0.5.1 [INFO] [stderr] Checking caf v0.1.0 [INFO] [stderr] Checking lewton v0.7.0 [INFO] [stderr] Checking deepspeech v0.6.1 (/opt/rustwide/workdir) [INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `DS_EnableExternalScorer` in crate `ds` [INFO] [stderr] --> src/lib.rs:60:8 [INFO] [stderr] | [INFO] [stderr] 60 | ds::DS_EnableExternalScorer( [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^ not found in `ds` [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `DS_DisableExternalScorer` in crate `ds` [INFO] [stderr] --> src/lib.rs:69:8 [INFO] [stderr] | [INFO] [stderr] 69 | ds::DS_DisableExternalScorer(self.model) [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^ not found in `ds` [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `DS_GetModelBeamWidth` in crate `ds` [INFO] [stderr] --> src/lib.rs:88:8 [INFO] [stderr] | [INFO] [stderr] 88 | ds::DS_GetModelBeamWidth(self.model) as _ [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ not found in `ds` [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `DS_SetModelBeamWidth` in crate `ds` [INFO] [stderr] --> src/lib.rs:95:8 [INFO] [stderr] | [INFO] [stderr] 95 | ds::DS_SetModelBeamWidth(self.model, bw as _) [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ not found in `ds` [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `DS_SetScorerAlphaBeta` in crate `ds` [INFO] [stderr] --> src/lib.rs:107:8 [INFO] [stderr] | [INFO] [stderr] 107 | ds::DS_SetScorerAlphaBeta(self.model, alpha, beta) [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ not found in `ds` [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `DS_Version` in crate `ds` [INFO] [stderr] --> src/lib.rs:308:17 [INFO] [stderr] | [INFO] [stderr] 308 | let ptr = ds::DS_Version(); [INFO] [stderr] | ^^^^^^^^^^ not found in `ds` [INFO] [stderr] [INFO] [stderr] error[E0061]: this function takes 3 arguments but 2 arguments were supplied [INFO] [stderr] --> src/lib.rs:44:4 [INFO] [stderr] | [INFO] [stderr] 44 | ds::DS_CreateModel( [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ expected 3 arguments [INFO] [stderr] 45 | mp.as_ptr() as _, [INFO] [stderr] | ---------------- [INFO] [stderr] 46 | &mut model) [INFO] [stderr] | ---------- supplied 2 arguments [INFO] [stderr] [INFO] [stderr] error[E0308]: mismatched types [INFO] [stderr] --> src/lib.rs:312:21 [INFO] [stderr] | [INFO] [stderr] 312 | ds::DS_FreeString(ptr); [INFO] [stderr] | ^^^ types differ in mutability [INFO] [stderr] | [INFO] [stderr] = note: expected raw pointer `*mut i8` [INFO] [stderr] found raw pointer `*const i8` [INFO] [stderr] [INFO] [stderr] error: aborting due to 8 previous errors [INFO] [stderr] [INFO] [stderr] Some errors have detailed explanations: E0061, E0308, E0425. [INFO] [stderr] For more information about an error, try `rustc --explain E0061`. [INFO] [stderr] error: could not compile `deepspeech`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: build failed [INFO] running `"docker" "inspect" "09121bc01a5d150730e248bc84bb51d23c774fe064bbcc0c34c3a071ffb1ac39"` [INFO] running `"docker" "rm" "-f" "09121bc01a5d150730e248bc84bb51d23c774fe064bbcc0c34c3a071ffb1ac39"` [INFO] [stdout] 09121bc01a5d150730e248bc84bb51d23c774fe064bbcc0c34c3a071ffb1ac39