[INFO] cloning repository jhoudan/rustcastai [INFO] running `"git" "clone" "--bare" "git://github.com/jhoudan/rustcastai.git" "work/cache/sources/gh/jhoudan/rustcastai"` [INFO] [stderr] Cloning into bare repository 'work/cache/sources/gh/jhoudan/rustcastai'... [INFO] running `"git" "clone" "work/cache/sources/gh/jhoudan/rustcastai" "work/ex/pr-61629/sources/master#c8865d8e195813ade6b84434ac9f8850e7112d1a/gh/jhoudan/rustcastai"` [INFO] [stderr] Cloning into 'work/ex/pr-61629/sources/master#c8865d8e195813ade6b84434ac9f8850e7112d1a/gh/jhoudan/rustcastai'... [INFO] [stderr] done. [INFO] running `"git" "clone" "work/cache/sources/gh/jhoudan/rustcastai" "work/ex/pr-61629/sources/try#e212b7d492c96d3837691ba29d32d5f468933fb8/gh/jhoudan/rustcastai"` [INFO] [stderr] Cloning into 'work/ex/pr-61629/sources/try#e212b7d492c96d3837691ba29d32d5f468933fb8/gh/jhoudan/rustcastai'... [INFO] [stderr] done. [INFO] running `"git" "rev-parse" "HEAD"` [INFO] [stdout] 124848811431cdefe1021f1d8d2f7f1f1fd6a992 [INFO] sha for GitHub repo jhoudan/rustcastai: 124848811431cdefe1021f1d8d2f7f1f1fd6a992 [INFO] validating manifest of jhoudan/rustcastai on toolchain master#c8865d8e195813ade6b84434ac9f8850e7112d1a [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+c8865d8e195813ade6b84434ac9f8850e7112d1a-alt" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] validating manifest of jhoudan/rustcastai on toolchain try#e212b7d492c96d3837691ba29d32d5f468933fb8 [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+e212b7d492c96d3837691ba29d32d5f468933fb8-alt" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] started frobbing jhoudan/rustcastai [INFO] finished frobbing jhoudan/rustcastai [INFO] frobbed toml for jhoudan/rustcastai written to work/ex/pr-61629/sources/master#c8865d8e195813ade6b84434ac9f8850e7112d1a/gh/jhoudan/rustcastai/Cargo.toml [INFO] started frobbing jhoudan/rustcastai [INFO] finished frobbing jhoudan/rustcastai [INFO] frobbed toml for jhoudan/rustcastai written to work/ex/pr-61629/sources/try#e212b7d492c96d3837691ba29d32d5f468933fb8/gh/jhoudan/rustcastai/Cargo.toml [INFO] crate jhoudan/rustcastai already has a lockfile, it will not be regenerated [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+c8865d8e195813ade6b84434ac9f8850e7112d1a-alt" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+e212b7d492c96d3837691ba29d32d5f468933fb8-alt" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] testing jhoudan/rustcastai against master#c8865d8e195813ade6b84434ac9f8850e7112d1a for pr-61629 [INFO] running `"docker" "create" "-v" "/mnt/big/crater/work/local/target-dirs/pr-61629/worker-5/master#c8865d8e195813ade6b84434ac9f8850e7112d1a:/opt/crater/target:rw,Z" "-v" "/mnt/big/crater/work/ex/pr-61629/sources/master#c8865d8e195813ade6b84434ac9f8850e7112d1a/gh/jhoudan/rustcastai:/opt/crater/workdir:ro,Z" "-v" "/mnt/big/crater/work/local/cargo-home:/opt/crater/cargo-home:ro,Z" "-v" "/mnt/big/crater/work/local/rustup-home:/opt/crater/rustup-home:ro,Z" "-e" "USER_ID=1000" "-e" "SOURCE_DIR=/opt/crater/workdir" "-e" "MAP_USER_ID=1000" "-e" "CARGO_TARGET_DIR=/opt/crater/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/crater/cargo-home" "-e" "RUSTUP_HOME=/opt/crater/rustup-home" "-w" "/opt/crater/workdir" "-m" "1536M" "--network" "none" "rustops/crates-build-env" "/opt/crater/cargo-home/bin/cargo" "+c8865d8e195813ade6b84434ac9f8850e7112d1a-alt" "build" "--frozen"` [INFO] [stdout] 78faec358fcf758227c749198f282b050fd5bb9a50ec6330c3256524b713e7d6 [INFO] running `"docker" "start" "-a" "78faec358fcf758227c749198f282b050fd5bb9a50ec6330c3256524b713e7d6"` [INFO] [stderr] Compiling quote v0.3.12 [INFO] [stderr] Compiling serde v0.9.6 [INFO] [stderr] Compiling metadeps v1.1.1 [INFO] [stderr] Compiling idna v0.1.0 [INFO] [stderr] Compiling openssl-sys v0.9.6 [INFO] [stderr] Compiling syn v0.11.4 [INFO] [stderr] Compiling url v1.4.0 [INFO] [stderr] Compiling openssl v0.9.6 [INFO] [stderr] warning[E0713]: borrow may still be in use when destructor runs [INFO] [stderr] --> /opt/crater/cargo-home/registry/src/github.com-1ecc6299db9ec823/url-1.4.0/src/form_urlencoded.rs:246:40 [INFO] [stderr] | [INFO] [stderr] 244 | impl<'a> Target for ::UrlQuery<'a> { [INFO] [stderr] | -- lifetime `'a` defined here [INFO] [stderr] 245 | fn as_mut_string(&mut self) -> &mut String { &mut self.url.serialization } [INFO] [stderr] 246 | fn finish(self) -> &'a mut ::Url { self.url } [INFO] [stderr] | ^^^^^^^^ - here, drop of `self` needs exclusive access to `*self.url`, because the type `UrlQuery<'_>` implements the `Drop` trait [INFO] [stderr] | | [INFO] [stderr] | returning this value requires that `*self.url` is borrowed for `'a` [INFO] [stderr] | [INFO] [stderr] = warning: this error has been downgraded to a warning for backwards compatibility with previous releases [INFO] [stderr] = warning: this represents potential undefined behavior in your code and this warning will become a hard error in the future [INFO] [stderr] = note: for more information, try `rustc --explain E0729` [INFO] [stderr] [INFO] [stderr] Compiling hyper v0.10.4 [INFO] [stderr] Compiling serde_codegen_internals v0.13.0 [INFO] [stderr] Compiling native-tls v0.1.1 [INFO] [stderr] Compiling serde_derive v0.9.6 [INFO] [stderr] Compiling serde_urlencoded v0.4.2 [INFO] [stderr] Compiling serde_json v0.9.5 [INFO] [stderr] Compiling hyper-native-tls v0.2.2 [INFO] [stderr] Compiling reqwest v0.4.0 [INFO] [stderr] Compiling rustcastai v0.2.1 (/opt/crater/workdir) [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 58.41s [INFO] running `"docker" "inspect" "78faec358fcf758227c749198f282b050fd5bb9a50ec6330c3256524b713e7d6"` [INFO] running `"docker" "rm" "-f" "78faec358fcf758227c749198f282b050fd5bb9a50ec6330c3256524b713e7d6"` [INFO] [stdout] 78faec358fcf758227c749198f282b050fd5bb9a50ec6330c3256524b713e7d6 [INFO] running `"docker" "create" "-v" "/mnt/big/crater/work/local/target-dirs/pr-61629/worker-5/master#c8865d8e195813ade6b84434ac9f8850e7112d1a:/opt/crater/target:rw,Z" "-v" "/mnt/big/crater/work/ex/pr-61629/sources/master#c8865d8e195813ade6b84434ac9f8850e7112d1a/gh/jhoudan/rustcastai:/opt/crater/workdir:ro,Z" "-v" "/mnt/big/crater/work/local/cargo-home:/opt/crater/cargo-home:ro,Z" "-v" "/mnt/big/crater/work/local/rustup-home:/opt/crater/rustup-home:ro,Z" "-e" "USER_ID=1000" "-e" "SOURCE_DIR=/opt/crater/workdir" "-e" "MAP_USER_ID=1000" "-e" "CARGO_TARGET_DIR=/opt/crater/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/crater/cargo-home" "-e" "RUSTUP_HOME=/opt/crater/rustup-home" "-w" "/opt/crater/workdir" "-m" "1536M" "--network" "none" "rustops/crates-build-env" "/opt/crater/cargo-home/bin/cargo" "+c8865d8e195813ade6b84434ac9f8850e7112d1a-alt" "test" "--frozen" "--no-run"` [INFO] [stdout] 09540028d2d03cbb3ee1e32d96ba982230f7cd02d364202fe3f7aaf6061a5ba8 [INFO] running `"docker" "start" "-a" "09540028d2d03cbb3ee1e32d96ba982230f7cd02d364202fe3f7aaf6061a5ba8"` [INFO] [stderr] Compiling rustcastai v0.2.1 (/opt/crater/workdir) [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 2.15s [INFO] running `"docker" "inspect" "09540028d2d03cbb3ee1e32d96ba982230f7cd02d364202fe3f7aaf6061a5ba8"` [INFO] running `"docker" "rm" "-f" "09540028d2d03cbb3ee1e32d96ba982230f7cd02d364202fe3f7aaf6061a5ba8"` [INFO] [stdout] 09540028d2d03cbb3ee1e32d96ba982230f7cd02d364202fe3f7aaf6061a5ba8 [INFO] running `"docker" "create" "-v" "/mnt/big/crater/work/local/target-dirs/pr-61629/worker-5/master#c8865d8e195813ade6b84434ac9f8850e7112d1a:/opt/crater/target:rw,Z" "-v" "/mnt/big/crater/work/ex/pr-61629/sources/master#c8865d8e195813ade6b84434ac9f8850e7112d1a/gh/jhoudan/rustcastai:/opt/crater/workdir:ro,Z" "-v" "/mnt/big/crater/work/local/cargo-home:/opt/crater/cargo-home:ro,Z" "-v" "/mnt/big/crater/work/local/rustup-home:/opt/crater/rustup-home:ro,Z" "-e" "USER_ID=1000" "-e" "SOURCE_DIR=/opt/crater/workdir" "-e" "MAP_USER_ID=1000" "-e" "CARGO_TARGET_DIR=/opt/crater/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/crater/cargo-home" "-e" "RUSTUP_HOME=/opt/crater/rustup-home" "-w" "/opt/crater/workdir" "-m" "1536M" "--network" "none" "rustops/crates-build-env" "/opt/crater/cargo-home/bin/cargo" "+c8865d8e195813ade6b84434ac9f8850e7112d1a-alt" "test" "--frozen"` [INFO] [stdout] e6f40ec7efbf92cbd64466fe212d2156311cd7e0dd93504d3f3f9973bfb52c60 [INFO] running `"docker" "start" "-a" "e6f40ec7efbf92cbd64466fe212d2156311cd7e0dd93504d3f3f9973bfb52c60"` [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 0.07s [INFO] [stderr] Running /opt/crater/target/debug/deps/rustcastai-22d568c0fbdd42eb [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out [INFO] [stdout] [INFO] [stderr] Doc-tests rustcastai [INFO] [stdout] [INFO] [stdout] running 8 tests [INFO] [stdout] test src/client.rs - client::Client::new (line 26) ... FAILED [INFO] [stdout] test src/client.rs - client::Client::reset_conversation (line 163) ... FAILED [INFO] [stdout] test src/client.rs - client::Client::reset_memory (line 144) ... FAILED [INFO] [stdout] test src/client.rs - client::Client::text_converse (line 115) ... FAILED [INFO] [stdout] test src/client.rs - client::Client::file_request (line 90) ... FAILED [INFO] [stdout] test src/lib.rs - (line 11) ... FAILED [INFO] [stdout] test src/client.rs - client::Client::text_request (line 65) ... FAILED [INFO] [stdout] test src/client.rs - client::Client::set_language (line 48) ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/client.rs - client::Client::new (line 26) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `Client` [INFO] [stdout] --> src/client.rs:27:14 [INFO] [stdout] | [INFO] [stdout] 3 | let client = Client::new("YOUR_REQUEST_ACCESS_TOKEN"); [INFO] [stdout] | ^^^^^^ use of undeclared type or module `Client` [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/client.rs - client::Client::reset_conversation (line 163) stdout ---- [INFO] [stdout] error[E0425]: cannot find value `client` in this scope [INFO] [stdout] --> src/client.rs:164:1 [INFO] [stdout] | [INFO] [stdout] 3 | client.text_converse("Can we start all over again?") [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `client` in this scope [INFO] [stdout] --> src/client.rs:165:21 [INFO] [stdout] | [INFO] [stdout] 4 | .and_then(|res| client.reset_conversation(&res.conversation_token)); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/client.rs - client::Client::reset_memory (line 144) stdout ---- [INFO] [stdout] error[E0425]: cannot find value `client` in this scope [INFO] [stdout] --> src/client.rs:145:1 [INFO] [stdout] | [INFO] [stdout] 3 | client.text_converse("I want to change my destination") [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `client` in this scope [INFO] [stdout] --> src/client.rs:146:21 [INFO] [stdout] | [INFO] [stdout] 4 | .and_then(|res| client.reset_memory(&res.conversation_token)); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/client.rs - client::Client::text_converse (line 115) stdout ---- [INFO] [stdout] error[E0425]: cannot find value `client` in this scope [INFO] [stdout] --> src/client.rs:116:1 [INFO] [stdout] | [INFO] [stdout] 3 | client.text_converse("Hello, what can you do?"); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/client.rs - client::Client::file_request (line 90) stdout ---- [INFO] [stdout] error[E0425]: cannot find value `client` in this scope [INFO] [stdout] --> src/client.rs:91:1 [INFO] [stdout] | [INFO] [stdout] 3 | client.file_request("test.wav"); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - (line 11) stdout ---- [INFO] [stdout] error[E0277]: `rustcastai::responses::intent::Intent` doesn't implement `std::fmt::Display` [INFO] [stdout] --> src/lib.rs:18:37 [INFO] [stdout] | [INFO] [stdout] 9 | println!("Intent detected: {}", intent); [INFO] [stdout] | ^^^^^^ `rustcastai::responses::intent::Intent` cannot be formatted with the default formatter [INFO] [stdout] | [INFO] [stdout] = help: the trait `std::fmt::Display` is not implemented for `rustcastai::responses::intent::Intent` [INFO] [stdout] = note: in format strings you may be able to use `{:?}` (or {:#?} for pretty-print) instead [INFO] [stdout] = note: required because of the requirements on the impl of `std::fmt::Display` for `&rustcastai::responses::intent::Intent` [INFO] [stdout] = note: required by `std::fmt::Display::fmt` [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0277`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/client.rs - client::Client::text_request (line 65) stdout ---- [INFO] [stdout] error[E0425]: cannot find value `client` in this scope [INFO] [stdout] --> src/client.rs:66:1 [INFO] [stdout] | [INFO] [stdout] 3 | client.text_request("Hello, world."); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/client.rs - client::Client::set_language (line 48) stdout ---- [INFO] [stdout] error[E0425]: cannot find value `client` in this scope [INFO] [stdout] --> src/client.rs:49:1 [INFO] [stdout] | [INFO] [stdout] 3 | client.set_language("en"); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] src/client.rs - client::Client::file_request (line 90) [INFO] [stdout] src/client.rs - client::Client::new (line 26) [INFO] [stdout] src/client.rs - client::Client::reset_conversation (line 163) [INFO] [stdout] src/client.rs - client::Client::reset_memory (line 144) [INFO] [stdout] src/client.rs - client::Client::set_language (line 48) [INFO] [stdout] src/client.rs - client::Client::text_converse (line 115) [INFO] [stdout] src/client.rs - client::Client::text_request (line 65) [INFO] [stdout] src/lib.rs - (line 11) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 0 passed; 8 failed; 0 ignored; 0 measured; 0 filtered out [INFO] [stdout] [INFO] [stderr] error: test failed, to rerun pass '--doc' [INFO] running `"docker" "inspect" "e6f40ec7efbf92cbd64466fe212d2156311cd7e0dd93504d3f3f9973bfb52c60"` [INFO] running `"docker" "rm" "-f" "e6f40ec7efbf92cbd64466fe212d2156311cd7e0dd93504d3f3f9973bfb52c60"` [INFO] [stdout] e6f40ec7efbf92cbd64466fe212d2156311cd7e0dd93504d3f3f9973bfb52c60