[INFO] cloning repository https://github.com/RustAudio/deepspeech-rs [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/RustAudio/deepspeech-rs" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FRustAudio%2Fdeepspeech-rs", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FRustAudio%2Fdeepspeech-rs'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] bae3faa39f6b6782061516ca40f0be3b9bc9c4a2 [INFO] testing RustAudio/deepspeech-rs against master#8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e for pr-74409 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FRustAudio%2Fdeepspeech-rs" "/workspace/builds/worker-6/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/RustAudio/deepspeech-rs on toolchain 8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [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-6/source/Cargo.toml [INFO] crate git repo https://github.com/RustAudio/deepspeech-rs already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] error: the lock file /workspace/builds/worker-6/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 `Command { std: "/workspace/cargo-home/bin/cargo" "+8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--network" "none" "rustops/crates-build-env@sha256:38e1b949b06cde1964af550a6e548bd9b2b2ea170003ae122f8fc0886596cc07" "/opt/rustwide/cargo-home/bin/cargo" "+8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 7cf84d9a56aedb9e9f8ae85b62fbc40b40cddd46a22b5dd91cc10172367f3b11 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "7cf84d9a56aedb9e9f8ae85b62fbc40b40cddd46a22b5dd91cc10172367f3b11", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "7cf84d9a56aedb9e9f8ae85b62fbc40b40cddd46a22b5dd91cc10172367f3b11", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7cf84d9a56aedb9e9f8ae85b62fbc40b40cddd46a22b5dd91cc10172367f3b11", kill_on_drop: false }` [INFO] [stdout] 7cf84d9a56aedb9e9f8ae85b62fbc40b40cddd46a22b5dd91cc10172367f3b11 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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@sha256:38e1b949b06cde1964af550a6e548bd9b2b2ea170003ae122f8fc0886596cc07" "/opt/rustwide/cargo-home/bin/cargo" "+8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 494f23bb40cd4156a37954ca1687171c419f14ef88def4671b540d7df8a1b2d6 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "494f23bb40cd4156a37954ca1687171c419f14ef88def4671b540d7df8a1b2d6", kill_on_drop: false }` [INFO] [stderr] Compiling deepspeech-sys v0.7.0 [INFO] [stderr] Compiling deepspeech v0.7.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0432]: unresolved imports `self::ds::DeepSpeech_Error_Codes_DS_ERR_SCORER_INVALID_LM`, `self::ds::DeepSpeech_Error_Codes_DS_ERR_SCORER_INVALID_TRIE`, `self::ds::DeepSpeech_Error_Codes_DS_ERR_SCORER_NO_TRIE`, `self::ds::DeepSpeech_Error_Codes_DS_ERR_SCORER_UNREADABLE`, `self::ds::DeepSpeech_Error_Codes_DS_ERR_SCORER_VERSION_MISMATCH` [INFO] [stdout] --> src/errors.rs:15:42 [INFO] [stdout] | [INFO] [stdout] 15 | DeepSpeech_Error_Codes_DS_ERR_NO_MODEL, DeepSpeech_Error_Codes_DS_ERR_SCORER_INVALID_LM, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ no `DeepSpeech_Error_Codes_DS_ERR_SCORER_INVALID_LM` in the root [INFO] [stdout] 16 | DeepSpeech_Error_Codes_DS_ERR_SCORER_INVALID_TRIE, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ no `DeepSpeech_Error_Codes_DS_ERR_SCORER_INVALID_TRIE` in the root [INFO] [stdout] 17 | DeepSpeech_Error_Codes_DS_ERR_SCORER_NOT_ENABLED, DeepSpeech_Error_Codes_DS_ERR_SCORER_NO_TRIE, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ no `DeepSpeech_Error_Codes_DS_ERR_SCORER_NO_TRIE` in the root [INFO] [stdout] 18 | DeepSpeech_Error_Codes_DS_ERR_SCORER_UNREADABLE, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ no `DeepSpeech_Error_Codes_DS_ERR_SCORER_UNREADABLE` in the root [INFO] [stdout] 19 | DeepSpeech_Error_Codes_DS_ERR_SCORER_VERSION_MISMATCH, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ no `DeepSpeech_Error_Codes_DS_ERR_SCORER_VERSION_MISMATCH` in the root [INFO] [stdout] | [INFO] [stdout] help: a similar name exists in the module [INFO] [stdout] | [INFO] [stdout] 15 | DeepSpeech_Error_Codes_DS_ERR_NO_MODEL, DeepSpeech_Error_Codes_DS_ERR_SCORER_NOT_ENABLED, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: a similar name exists in the module [INFO] [stdout] | [INFO] [stdout] 16 | DeepSpeech_Error_Codes_DS_ERR_INVALID_SHAPE, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: a similar name exists in the module [INFO] [stdout] | [INFO] [stdout] 17 | DeepSpeech_Error_Codes_DS_ERR_SCORER_NOT_ENABLED, DeepSpeech_Error_Codes_DS_ERR_SCORER_NOT_ENABLED, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: a similar name exists in the module [INFO] [stdout] | [INFO] [stdout] 18 | DeepSpeech_Error_Codes_DS_ERR_SCORER_NOT_ENABLED, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: a similar name exists in the module [INFO] [stdout] | [INFO] [stdout] 19 | DeepSpeech_Error_Codes_DS_ERR_SCORER_NOT_ENABLED, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0531]: cannot find unit struct, unit variant or constant `DeepSpeech_Error_Codes_DS_ERR_SCORER_UNREADABLE` in crate `ds` [INFO] [stdout] --> src/errors.rs:69:8 [INFO] [stdout] | [INFO] [stdout] 69 | ds::DeepSpeech_Error_Codes_DS_ERR_SCORER_UNREADABLE => { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: a constant with a similar name exists: `DeepSpeech_Error_Codes_DS_ERR_SCORER_NOT_ENABLED` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/deepspeech-sys-0.7.0/src/./bindings.rs:56:2 [INFO] [stdout] | [INFO] [stdout] 56 | pub const DeepSpeech_Error_Codes_DS_ERR_SCORER_NOT_ENABLED : DeepSpeech_Error_Codes = 8196 ; [INFO] [stdout] | -------------------------------------------------------------------------------------------- similarly named constant `DeepSpeech_Error_Codes_DS_ERR_SCORER_NOT_ENABLED` defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0531]: cannot find unit struct, unit variant or constant `DeepSpeech_Error_Codes_DS_ERR_SCORER_INVALID_LM` in crate `ds` [INFO] [stdout] --> src/errors.rs:72:8 [INFO] [stdout] | [INFO] [stdout] 72 | ds::DeepSpeech_Error_Codes_DS_ERR_SCORER_INVALID_LM => { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: a constant with a similar name exists: `DeepSpeech_Error_Codes_DS_ERR_SCORER_NOT_ENABLED` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/deepspeech-sys-0.7.0/src/./bindings.rs:56:2 [INFO] [stdout] | [INFO] [stdout] 56 | pub const DeepSpeech_Error_Codes_DS_ERR_SCORER_NOT_ENABLED : DeepSpeech_Error_Codes = 8196 ; [INFO] [stdout] | -------------------------------------------------------------------------------------------- similarly named constant `DeepSpeech_Error_Codes_DS_ERR_SCORER_NOT_ENABLED` defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0531]: cannot find unit struct, unit variant or constant `DeepSpeech_Error_Codes_DS_ERR_SCORER_NO_TRIE` in crate `ds` [INFO] [stdout] --> src/errors.rs:75:8 [INFO] [stdout] | [INFO] [stdout] 75 | ds::DeepSpeech_Error_Codes_DS_ERR_SCORER_NO_TRIE => Some(LibraryError::ScorerNoTrie), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: a constant with a similar name exists: `DeepSpeech_Error_Codes_DS_ERR_SCORER_NOT_ENABLED` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/deepspeech-sys-0.7.0/src/./bindings.rs:56:2 [INFO] [stdout] | [INFO] [stdout] 56 | pub const DeepSpeech_Error_Codes_DS_ERR_SCORER_NOT_ENABLED : DeepSpeech_Error_Codes = 8196 ; [INFO] [stdout] | -------------------------------------------------------------------------------------------- similarly named constant `DeepSpeech_Error_Codes_DS_ERR_SCORER_NOT_ENABLED` defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0531]: cannot find unit struct, unit variant or constant `DeepSpeech_Error_Codes_DS_ERR_SCORER_INVALID_TRIE` in crate `ds` [INFO] [stdout] --> src/errors.rs:76:8 [INFO] [stdout] | [INFO] [stdout] 76 | ds::DeepSpeech_Error_Codes_DS_ERR_SCORER_INVALID_TRIE => { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: a constant with a similar name exists: `DeepSpeech_Error_Codes_DS_ERR_INVALID_SHAPE` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/deepspeech-sys-0.7.0/src/./bindings.rs:53:2 [INFO] [stdout] | [INFO] [stdout] 53 | pub const DeepSpeech_Error_Codes_DS_ERR_INVALID_SHAPE : DeepSpeech_Error_Codes = 8193 ; [INFO] [stdout] | --------------------------------------------------------------------------------------- similarly named constant `DeepSpeech_Error_Codes_DS_ERR_INVALID_SHAPE` defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0531]: cannot find unit struct, unit variant or constant `DeepSpeech_Error_Codes_DS_ERR_SCORER_VERSION_MISMATCH` in crate `ds` [INFO] [stdout] --> src/errors.rs:79:8 [INFO] [stdout] | [INFO] [stdout] 79 | ds::DeepSpeech_Error_Codes_DS_ERR_SCORER_VERSION_MISMATCH => { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: a constant with a similar name exists: `DeepSpeech_Error_Codes_DS_ERR_SCORER_NOT_ENABLED` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/deepspeech-sys-0.7.0/src/./bindings.rs:56:2 [INFO] [stdout] | [INFO] [stdout] 56 | pub const DeepSpeech_Error_Codes_DS_ERR_SCORER_NOT_ENABLED : DeepSpeech_Error_Codes = 8196 ; [INFO] [stdout] | -------------------------------------------------------------------------------------------- similarly named constant `DeepSpeech_Error_Codes_DS_ERR_SCORER_NOT_ENABLED` defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 6 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `deepspeech`. [INFO] [stdout] Some errors have detailed explanations: E0432, E0531. [INFO] [stdout] [INFO] [stderr] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `Command { std: "docker" "inspect" "494f23bb40cd4156a37954ca1687171c419f14ef88def4671b540d7df8a1b2d6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "494f23bb40cd4156a37954ca1687171c419f14ef88def4671b540d7df8a1b2d6", kill_on_drop: false }` [INFO] [stdout] 494f23bb40cd4156a37954ca1687171c419f14ef88def4671b540d7df8a1b2d6