[INFO] crate conjure-codegen 0.3.9 is already in cache [INFO] extracting crate conjure-codegen 0.3.9 into work/ex/beta-1.38-1/sources/1.37.0/reg/conjure-codegen/0.3.9 [INFO] extracting crate conjure-codegen 0.3.9 into work/ex/beta-1.38-1/sources/beta-2019-08-13/reg/conjure-codegen/0.3.9 [INFO] validating manifest of conjure-codegen-0.3.9 on toolchain 1.37.0 [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+1.37.0" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] validating manifest of conjure-codegen-0.3.9 on toolchain beta-2019-08-13 [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+beta-2019-08-13" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] started frobbing conjure-codegen-0.3.9 [INFO] finished frobbing conjure-codegen-0.3.9 [INFO] frobbed toml for conjure-codegen-0.3.9 written to work/ex/beta-1.38-1/sources/1.37.0/reg/conjure-codegen/0.3.9/Cargo.toml [INFO] started frobbing conjure-codegen-0.3.9 [INFO] finished frobbing conjure-codegen-0.3.9 [INFO] frobbed toml for conjure-codegen-0.3.9 written to work/ex/beta-1.38-1/sources/beta-2019-08-13/reg/conjure-codegen/0.3.9/Cargo.toml [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+1.37.0" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update"` [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+beta-2019-08-13" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update"` [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+1.37.0" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+beta-2019-08-13" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] testing conjure-codegen-0.3.9 against 1.37.0 for beta-1.38-1 [INFO] running `"docker" "create" "-v" "/mnt/big/crater/work/local/target-dirs/beta-1.38-1/worker-0/1.37.0:/opt/crater/target:rw,Z" "-v" "/mnt/big/crater/work/ex/beta-1.38-1/sources/1.37.0/reg/conjure-codegen/0.3.9:/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=warn" "-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" "+1.37.0" "build" "--frozen"` [INFO] [stdout] 0de484c145b45635bbfe76eeea1026bc5aba4c1cf8c2437f5cb17e5470d10081 [INFO] running `"docker" "start" "-a" "0de484c145b45635bbfe76eeea1026bc5aba4c1cf8c2437f5cb17e5470d10081"` [INFO] [stderr] Compiling ordered-float v1.0.2 [INFO] [stderr] Compiling serde_bytes v0.10.5 [INFO] [stderr] Compiling chrono v0.4.7 [INFO] [stderr] Compiling conjure-serde v0.3.10 [INFO] [stderr] Compiling serde-value v0.5.3 [INFO] [stderr] Compiling conjure-object v0.3.10 [INFO] [stderr] Compiling conjure-codegen v0.3.9 (/opt/crater/workdir) [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 13.23s [INFO] running `"docker" "inspect" "0de484c145b45635bbfe76eeea1026bc5aba4c1cf8c2437f5cb17e5470d10081"` [INFO] running `"docker" "rm" "-f" "0de484c145b45635bbfe76eeea1026bc5aba4c1cf8c2437f5cb17e5470d10081"` [INFO] [stdout] 0de484c145b45635bbfe76eeea1026bc5aba4c1cf8c2437f5cb17e5470d10081 [INFO] running `"docker" "create" "-v" "/mnt/big/crater/work/local/target-dirs/beta-1.38-1/worker-0/1.37.0:/opt/crater/target:rw,Z" "-v" "/mnt/big/crater/work/ex/beta-1.38-1/sources/1.37.0/reg/conjure-codegen/0.3.9:/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=warn" "-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" "+1.37.0" "test" "--frozen" "--no-run"` [INFO] [stdout] 0d5084bf1ed101c7225bc1c439d90b4a76f315884d54d23eb07d0435fc839849 [INFO] running `"docker" "start" "-a" "0d5084bf1ed101c7225bc1c439d90b4a76f315884d54d23eb07d0435fc839849"` [INFO] [stderr] Compiling conjure-codegen v0.3.9 (/opt/crater/workdir) [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 5.01s [INFO] running `"docker" "inspect" "0d5084bf1ed101c7225bc1c439d90b4a76f315884d54d23eb07d0435fc839849"` [INFO] running `"docker" "rm" "-f" "0d5084bf1ed101c7225bc1c439d90b4a76f315884d54d23eb07d0435fc839849"` [INFO] [stdout] 0d5084bf1ed101c7225bc1c439d90b4a76f315884d54d23eb07d0435fc839849 [INFO] running `"docker" "create" "-v" "/mnt/big/crater/work/local/target-dirs/beta-1.38-1/worker-0/1.37.0:/opt/crater/target:rw,Z" "-v" "/mnt/big/crater/work/ex/beta-1.38-1/sources/1.37.0/reg/conjure-codegen/0.3.9:/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=warn" "-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" "+1.37.0" "test" "--frozen"` [INFO] [stdout] cf9880786108a0ed9a168bf49c9c0721e017d258d457f91a9ff3dc4fcba08d00 [INFO] running `"docker" "start" "-a" "cf9880786108a0ed9a168bf49c9c0721e017d258d457f91a9ff3dc4fcba08d00"` [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 0.04s [INFO] [stderr] Running /opt/crater/target/debug/deps/conjure_codegen-1c990d957e3c5b2e [INFO] [stderr] Doc-tests conjure-codegen [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] [stdout] [INFO] [stdout] running 10 tests [INFO] [stdout] test src/lib.rs - (line 207) ... ignored [INFO] [stdout] test src/lib.rs - (line 43) ... ignored [INFO] [stdout] test src/lib.rs - (line 193) ... FAILED [INFO] [stdout] test src/lib.rs - (line 141) ... FAILED [INFO] [stdout] test src/lib.rs - (line 114) ... FAILED [INFO] [stdout] test src/lib.rs - (line 97) ... FAILED [INFO] [stdout] test src/lib.rs - (line 24) ... ok [INFO] [stdout] test src/lib.rs - (line 158) ... FAILED [INFO] [stdout] test src/lib.rs - (line 80) ... FAILED [INFO] [stdout] test src/lib.rs - (line 174) ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/lib.rs - (line 193) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: could not find `example_types` in `conjure_codegen` [INFO] [stdout] --> src/lib.rs:194:22 [INFO] [stdout] | [INFO] [stdout] 4 | use conjure_codegen::example_types::another::TestServiceClient; [INFO] [stdout] | ^^^^^^^^^^^^^ could not find `example_types` in `conjure_codegen` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `conjure_http` [INFO] [stdout] --> src/lib.rs:195:11 [INFO] [stdout] | [INFO] [stdout] 5 | fn foo(http_client: T) -> Result<(), conjure_error::Error> { [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared type or module `conjure_http` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `conjure_error` [INFO] [stdout] --> src/lib.rs:195:71 [INFO] [stdout] | [INFO] [stdout] 5 | fn foo(http_client: T) -> Result<(), conjure_error::Error> { [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type or module `conjure_error` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `TestServiceClient` [INFO] [stdout] --> src/lib.rs:197:14 [INFO] [stdout] | [INFO] [stdout] 7 | let client = TestServiceClient::new(http_client); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ use of undeclared type or module `TestServiceClient` [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - (line 141) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: could not find `example_types` in `conjure_codegen` [INFO] [stdout] --> src/lib.rs:142:22 [INFO] [stdout] | [INFO] [stdout] 4 | use conjure_codegen::example_types::product::EnumExample; [INFO] [stdout] | ^^^^^^^^^^^^^ could not find `example_types` in `conjure_codegen` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `EnumExample` [INFO] [stdout] --> src/lib.rs:143:18 [INFO] [stdout] | [INFO] [stdout] 5 | let enum_value = EnumExample::One; [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type or module `EnumExample` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `EnumExample` [INFO] [stdout] --> src/lib.rs:145:5 [INFO] [stdout] | [INFO] [stdout] 7 | EnumExample::One => println!("found one"), [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type or module `EnumExample` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `EnumExample` [INFO] [stdout] --> src/lib.rs:146:5 [INFO] [stdout] | [INFO] [stdout] 8 | EnumExample::Two => println!("found two"), [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type or module `EnumExample` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `EnumExample` [INFO] [stdout] --> src/lib.rs:147:5 [INFO] [stdout] | [INFO] [stdout] 9 | EnumExample::Unknown(unknown) => println!("got unknown variant: {}", unknown), [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type or module `EnumExample` [INFO] [stdout] [INFO] [stdout] error: aborting due to 5 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - (line 114) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: could not find `example_types` in `conjure_codegen` [INFO] [stdout] --> src/lib.rs:115:22 [INFO] [stdout] | [INFO] [stdout] 4 | use conjure_codegen::example_types::product::UnionTypeExample; [INFO] [stdout] | ^^^^^^^^^^^^^ could not find `example_types` in `conjure_codegen` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `UnionTypeExample` [INFO] [stdout] --> src/lib.rs:116:19 [INFO] [stdout] | [INFO] [stdout] 5 | let union_value = UnionTypeExample::If(0); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ use of undeclared type or module `UnionTypeExample` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `UnionTypeExample` [INFO] [stdout] --> src/lib.rs:118:5 [INFO] [stdout] | [INFO] [stdout] 7 | UnionTypeExample::StringExample(string) => { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ use of undeclared type or module `UnionTypeExample` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `UnionTypeExample` [INFO] [stdout] --> src/lib.rs:121:5 [INFO] [stdout] | [INFO] [stdout] 10 | UnionTypeExample::Set(set) => { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ use of undeclared type or module `UnionTypeExample` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `UnionTypeExample` [INFO] [stdout] --> src/lib.rs:125:5 [INFO] [stdout] | [INFO] [stdout] 14 | UnionTypeExample::Unknown(unknown) => { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ use of undeclared type or module `UnionTypeExample` [INFO] [stdout] [INFO] [stdout] error: aborting due to 5 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - (line 97) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: could not find `example_types` in `conjure_codegen` [INFO] [stdout] --> src/lib.rs:98:22 [INFO] [stdout] | [INFO] [stdout] 4 | use conjure_codegen::example_types::product::BooleanExample; [INFO] [stdout] | ^^^^^^^^^^^^^ could not find `example_types` in `conjure_codegen` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `BooleanExample` [INFO] [stdout] --> src/lib.rs:99:14 [INFO] [stdout] | [INFO] [stdout] 5 | let object = BooleanExample::new(true); [INFO] [stdout] | ^^^^^^^^^^^^^^ use of undeclared type or module `BooleanExample` [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - (line 158) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: could not find `example_types` in `conjure_codegen` [INFO] [stdout] --> src/lib.rs:159:22 [INFO] [stdout] | [INFO] [stdout] 4 | use conjure_codegen::example_types::product::StringAliasExample; [INFO] [stdout] | ^^^^^^^^^^^^^ could not find `example_types` in `conjure_codegen` [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `StringAliasExample` in this scope [INFO] [stdout] --> src/lib.rs:160:19 [INFO] [stdout] | [INFO] [stdout] 5 | let alias_value = StringAliasExample("hello world".to_string()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - (line 80) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: could not find `example_types` in `conjure_codegen` [INFO] [stdout] --> src/lib.rs:81:22 [INFO] [stdout] | [INFO] [stdout] 4 | use conjure_codegen::example_types::product::{ManyFieldExample, StringAliasExample}; [INFO] [stdout] | ^^^^^^^^^^^^^ could not find `example_types` in `conjure_codegen` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `ManyFieldExample` [INFO] [stdout] --> src/lib.rs:82:14 [INFO] [stdout] | [INFO] [stdout] 5 | let object = ManyFieldExample::builder() [INFO] [stdout] | ^^^^^^^^^^^^^^^^ use of undeclared type or module `ManyFieldExample` [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `StringAliasExample` in this scope [INFO] [stdout] --> src/lib.rs:88:12 [INFO] [stdout] | [INFO] [stdout] 11 | .alias(StringAliasExample("foobar".to_string())) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - (line 174) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: could not find `example_types` in `conjure_codegen` [INFO] [stdout] --> src/lib.rs:175:22 [INFO] [stdout] | [INFO] [stdout] 4 | use conjure_codegen::example_types::product::InvalidServiceDefinition; [INFO] [stdout] | ^^^^^^^^^^^^^ could not find `example_types` in `conjure_codegen` [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `conjure_error` [INFO] [stdout] --> src/lib.rs:177:5 [INFO] [stdout] | [INFO] [stdout] 6 | use conjure_error::{ErrorType, ErrorCode}; [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type or module `conjure_error` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `InvalidServiceDefinition` [INFO] [stdout] --> src/lib.rs:179:13 [INFO] [stdout] | [INFO] [stdout] 8 | let error = InvalidServiceDefinition::new(name, definition); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ use of undeclared type or module `InvalidServiceDefinition` [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] src/lib.rs - (line 114) [INFO] [stdout] src/lib.rs - (line 141) [INFO] [stdout] src/lib.rs - (line 158) [INFO] [stdout] src/lib.rs - (line 174) [INFO] [stdout] src/lib.rs - (line 193) [INFO] [stdout] src/lib.rs - (line 80) [INFO] [stdout] src/lib.rs - (line 97) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 1 passed; 7 failed; 2 ignored; 0 measured; 0 filtered out [INFO] [stdout] [INFO] [stderr] error: test failed, to rerun pass '--doc' [INFO] running `"docker" "inspect" "cf9880786108a0ed9a168bf49c9c0721e017d258d457f91a9ff3dc4fcba08d00"` [INFO] running `"docker" "rm" "-f" "cf9880786108a0ed9a168bf49c9c0721e017d258d457f91a9ff3dc4fcba08d00"` [INFO] [stdout] cf9880786108a0ed9a168bf49c9c0721e017d258d457f91a9ff3dc4fcba08d00