[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 try#e212b7d492c96d3837691ba29d32d5f468933fb8 for pr-61629 [INFO] running `"docker" "create" "-v" "/mnt/big/crater/work/local/target-dirs/pr-61629/worker-1/try#e212b7d492c96d3837691ba29d32d5f468933fb8:/opt/crater/target:rw,Z" "-v" "/mnt/big/crater/work/ex/pr-61629/sources/try#e212b7d492c96d3837691ba29d32d5f468933fb8/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" "+e212b7d492c96d3837691ba29d32d5f468933fb8-alt" "build" "--frozen"` [INFO] [stdout] ba1228f38dc50d8a54957f2bb927484321becc877b8584d9560456a19a14d842 [INFO] running `"docker" "start" "-a" "ba1228f38dc50d8a54957f2bb927484321becc877b8584d9560456a19a14d842"` [INFO] [stderr] Compiling serde v0.9.6 [INFO] [stderr] Compiling num_cpus v1.2.1 [INFO] [stderr] Compiling syn v0.11.4 [INFO] [stderr] Compiling hyper v0.10.4 [INFO] [stderr] Compiling openssl-sys v0.9.6 [INFO] [stderr] Compiling openssl v0.9.6 [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 hyper-native-tls v0.2.2 [INFO] [stderr] Compiling serde_urlencoded v0.4.2 [INFO] [stderr] Compiling serde_json v0.9.5 [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 52.30s [INFO] running `"docker" "inspect" "ba1228f38dc50d8a54957f2bb927484321becc877b8584d9560456a19a14d842"` [INFO] running `"docker" "rm" "-f" "ba1228f38dc50d8a54957f2bb927484321becc877b8584d9560456a19a14d842"` [INFO] [stdout] ba1228f38dc50d8a54957f2bb927484321becc877b8584d9560456a19a14d842 [INFO] running `"docker" "create" "-v" "/mnt/big/crater/work/local/target-dirs/pr-61629/worker-1/try#e212b7d492c96d3837691ba29d32d5f468933fb8:/opt/crater/target:rw,Z" "-v" "/mnt/big/crater/work/ex/pr-61629/sources/try#e212b7d492c96d3837691ba29d32d5f468933fb8/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" "+e212b7d492c96d3837691ba29d32d5f468933fb8-alt" "test" "--frozen" "--no-run"` [INFO] [stdout] 2e46373ba6da87d40c67d81bb88fef00d5d4513ede02b19cd0a4a4f8e3f08e4d [INFO] running `"docker" "start" "-a" "2e46373ba6da87d40c67d81bb88fef00d5d4513ede02b19cd0a4a4f8e3f08e4d"` [INFO] [stderr] Compiling rustcastai v0.2.1 (/opt/crater/workdir) [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 2.13s [INFO] running `"docker" "inspect" "2e46373ba6da87d40c67d81bb88fef00d5d4513ede02b19cd0a4a4f8e3f08e4d"` [INFO] running `"docker" "rm" "-f" "2e46373ba6da87d40c67d81bb88fef00d5d4513ede02b19cd0a4a4f8e3f08e4d"` [INFO] [stdout] 2e46373ba6da87d40c67d81bb88fef00d5d4513ede02b19cd0a4a4f8e3f08e4d [INFO] running `"docker" "create" "-v" "/mnt/big/crater/work/local/target-dirs/pr-61629/worker-1/try#e212b7d492c96d3837691ba29d32d5f468933fb8:/opt/crater/target:rw,Z" "-v" "/mnt/big/crater/work/ex/pr-61629/sources/try#e212b7d492c96d3837691ba29d32d5f468933fb8/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" "+e212b7d492c96d3837691ba29d32d5f468933fb8-alt" "test" "--frozen"` [INFO] [stdout] 2308eb51c7ef49604033b1ae1f48142858dda4f8e44f72f4796a1a23c74bed38 [INFO] running `"docker" "start" "-a" "2308eb51c7ef49604033b1ae1f48142858dda4f8e44f72f4796a1a23c74bed38"` [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 0.07s [INFO] [stderr] Running /opt/crater/target/debug/deps/rustcastai-3f28170e540b34c1 [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_memory (line 144) ... FAILED [INFO] [stdout] test src/client.rs - client::Client::reset_conversation (line 163) ... 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] test src/client.rs - client::Client::file_request (line 90) ... FAILED [INFO] [stdout] test src/client.rs - client::Client::text_converse (line 115) ... FAILED [INFO] [stdout] test src/lib.rs - (line 11) ... 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_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::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::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] ---- 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/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/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] [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" "2308eb51c7ef49604033b1ae1f48142858dda4f8e44f72f4796a1a23c74bed38"` [INFO] running `"docker" "rm" "-f" "2308eb51c7ef49604033b1ae1f48142858dda4f8e44f72f4796a1a23c74bed38"` [INFO] [stdout] 2308eb51c7ef49604033b1ae1f48142858dda4f8e44f72f4796a1a23c74bed38