[INFO] crate conjure-codegen 0.4.5 is already in cache [INFO] testing conjure-codegen-0.4.5 against 1.38.0 for beta-1.39-1 [INFO] extracting crate conjure-codegen 0.4.5 into work/builds/worker-6/source [INFO] validating manifest of crates.io crate conjure-codegen 0.4.5 on toolchain 1.38.0 [INFO] running `"/big/crater/work/cargo-home/bin/cargo" "+1.38.0" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] started tweaking crates.io crate conjure-codegen 0.4.5 [INFO] finished tweaking crates.io crate conjure-codegen 0.4.5 [INFO] tweaked toml for crates.io crate conjure-codegen 0.4.5 written to work/builds/worker-6/source/Cargo.toml [INFO] running `"/big/crater/work/cargo-home/bin/cargo" "+1.38.0" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update"` [INFO] running `"/big/crater/work/cargo-home/bin/cargo" "+1.38.0" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] running `"docker" "create" "-v" "/big/crater/work/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/big/crater/work/builds/worker-6/source:/opt/rustwide/workdir:ro,Z" "-v" "/big/crater/work/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/big/crater/work/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "MAP_USER_ID=1000" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-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" "+1.38.0" "build" "--frozen"` [INFO] [stdout] 6a2788ea932e75183bf0e459fec9400a93daecfb325922d95d0a46d6110f7c37 [INFO] running `"docker" "start" "-a" "6a2788ea932e75183bf0e459fec9400a93daecfb325922d95d0a46d6110f7c37"` [INFO] [stderr] Compiling regex-syntax v0.6.12 [INFO] [stderr] Compiling num-integer v0.1.41 [INFO] [stderr] Compiling ordered-float v1.0.2 [INFO] [stderr] Compiling serde_bytes v0.11.2 [INFO] [stderr] Compiling uuid v0.7.4 [INFO] [stderr] Compiling quote v1.0.2 [INFO] [stderr] Compiling conjure-serde v0.4.6 [INFO] [stderr] Compiling serde-value v0.6.0 [INFO] [stderr] Compiling chrono v0.4.9 [INFO] [stderr] Compiling regex v1.3.1 [INFO] [stderr] Compiling conjure-object v0.4.6 [INFO] [stderr] Compiling conjure-codegen v0.4.5 (/opt/rustwide/workdir) [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 10.81s [INFO] running `"docker" "inspect" "6a2788ea932e75183bf0e459fec9400a93daecfb325922d95d0a46d6110f7c37"` [INFO] running `"docker" "rm" "-f" "6a2788ea932e75183bf0e459fec9400a93daecfb325922d95d0a46d6110f7c37"` [INFO] [stdout] 6a2788ea932e75183bf0e459fec9400a93daecfb325922d95d0a46d6110f7c37 [INFO] running `"docker" "create" "-v" "/big/crater/work/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/big/crater/work/builds/worker-6/source:/opt/rustwide/workdir:ro,Z" "-v" "/big/crater/work/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/big/crater/work/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "MAP_USER_ID=1000" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-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" "+1.38.0" "test" "--frozen" "--no-run"` [INFO] [stdout] 4b6b349830613e23845bcd6f207be2b5cff24f15a723ace48a72152e62e1c53e [INFO] running `"docker" "start" "-a" "4b6b349830613e23845bcd6f207be2b5cff24f15a723ace48a72152e62e1c53e"` [INFO] [stderr] Compiling conjure-codegen v0.4.5 (/opt/rustwide/workdir) [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 3.88s [INFO] running `"docker" "inspect" "4b6b349830613e23845bcd6f207be2b5cff24f15a723ace48a72152e62e1c53e"` [INFO] running `"docker" "rm" "-f" "4b6b349830613e23845bcd6f207be2b5cff24f15a723ace48a72152e62e1c53e"` [INFO] [stdout] 4b6b349830613e23845bcd6f207be2b5cff24f15a723ace48a72152e62e1c53e [INFO] running `"docker" "create" "-v" "/big/crater/work/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/big/crater/work/builds/worker-6/source:/opt/rustwide/workdir:ro,Z" "-v" "/big/crater/work/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/big/crater/work/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "MAP_USER_ID=1000" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-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" "+1.38.0" "test" "--frozen"` [INFO] [stdout] c44e48060a1632b63664d12cc75fdd0b5f03bb88aaac6013235dde90cca1114a [INFO] running `"docker" "start" "-a" "c44e48060a1632b63664d12cc75fdd0b5f03bb88aaac6013235dde90cca1114a"` [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 0.04s [INFO] [stderr] Running /opt/rustwide/target/debug/deps/conjure_codegen-ca52f63f0333deaf [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 conjure-codegen [INFO] [stdout] [INFO] [stdout] running 10 tests [INFO] [stdout] test src/lib.rs - (line 205) ... ignored [INFO] [stdout] test src/lib.rs - (line 41) ... ignored [INFO] [stdout] test src/lib.rs - (line 139) ... FAILED [INFO] [stdout] test src/lib.rs - (line 112) ... FAILED [INFO] [stdout] test src/lib.rs - (line 78) ... FAILED [INFO] [stdout] test src/lib.rs - (line 156) ... FAILED [INFO] [stdout] test src/lib.rs - (line 22) ... ok [INFO] [stdout] test src/lib.rs - (line 95) ... FAILED [INFO] [stdout] test src/lib.rs - (line 172) ... FAILED [INFO] [stdout] test src/lib.rs - (line 191) ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/lib.rs - (line 139) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: could not find `example_types` in `conjure_codegen` [INFO] [stdout] --> src/lib.rs:140: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:141: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:143: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:144: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:145: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 112) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: could not find `example_types` in `conjure_codegen` [INFO] [stdout] --> src/lib.rs:113: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:114: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:116: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:119: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:123: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 78) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: could not find `example_types` in `conjure_codegen` [INFO] [stdout] --> src/lib.rs:79: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:80: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:86: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 156) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: could not find `example_types` in `conjure_codegen` [INFO] [stdout] --> src/lib.rs:157: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:158: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 95) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: could not find `example_types` in `conjure_codegen` [INFO] [stdout] --> src/lib.rs:96: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:97: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 172) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: could not find `example_types` in `conjure_codegen` [INFO] [stdout] --> src/lib.rs:173: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:175: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:177: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] ---- src/lib.rs - (line 191) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: could not find `example_types` in `conjure_codegen` [INFO] [stdout] --> src/lib.rs:192: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:193: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:193: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:195: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] [INFO] [stdout] failures: [INFO] [stdout] src/lib.rs - (line 112) [INFO] [stdout] src/lib.rs - (line 139) [INFO] [stdout] src/lib.rs - (line 156) [INFO] [stdout] src/lib.rs - (line 172) [INFO] [stdout] src/lib.rs - (line 191) [INFO] [stdout] src/lib.rs - (line 78) [INFO] [stdout] src/lib.rs - (line 95) [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" "c44e48060a1632b63664d12cc75fdd0b5f03bb88aaac6013235dde90cca1114a"` [INFO] running `"docker" "rm" "-f" "c44e48060a1632b63664d12cc75fdd0b5f03bb88aaac6013235dde90cca1114a"` [INFO] [stdout] c44e48060a1632b63664d12cc75fdd0b5f03bb88aaac6013235dde90cca1114a