[INFO] fetching crate atelier_core 0.2.22... [INFO] checking atelier_core-0.2.22 against try#a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d for pr-145342-1 [INFO] extracting crate atelier_core 0.2.22 into /workspace/builds/worker-0-tc2/source [INFO] started tweaking crates.io crate atelier_core 0.2.22 [INFO] finished tweaking crates.io crate atelier_core 0.2.22 [INFO] tweaked toml for crates.io crate atelier_core 0.2.22 written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate atelier_core 0.2.22 on toolchain a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate atelier_core 0.2.22 already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/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" "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" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] b092ef1d68faf6a5c6ac4051107b1f539be80376141d536652d1b8beb3010996 [INFO] running `Command { std: "docker" "start" "-a" "b092ef1d68faf6a5c6ac4051107b1f539be80376141d536652d1b8beb3010996", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b092ef1d68faf6a5c6ac4051107b1f539be80376141d536652d1b8beb3010996", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b092ef1d68faf6a5c6ac4051107b1f539be80376141d536652d1b8beb3010996", kill_on_drop: false }` [INFO] [stdout] b092ef1d68faf6a5c6ac4051107b1f539be80376141d536652d1b8beb3010996 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/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" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c47436c1d0927cde40f585d55e72de120058e0586b2ec59148cf11f8be5de8a8 [INFO] running `Command { std: "docker" "start" "-a" "c47436c1d0927cde40f585d55e72de120058e0586b2ec59148cf11f8be5de8a8", kill_on_drop: false }` [INFO] [stderr] Compiling memchr v2.4.0 [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling libc v0.2.97 [INFO] [stderr] Compiling cc v1.0.68 [INFO] [stderr] Compiling version_check v0.9.3 [INFO] [stderr] Checking gimli v0.24.0 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Checking adler v1.0.2 [INFO] [stderr] Checking rustc-demangle v0.1.20 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Checking regex-syntax v0.6.25 [INFO] [stderr] Checking unicode-segmentation v1.8.0 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Compiling paste v1.0.5 [INFO] [stderr] Checking ansi_term v0.12.1 [INFO] [stderr] Checking diff v0.1.12 [INFO] [stderr] Compiling miniz_oxide v0.4.4 [INFO] [stderr] Checking pretty_assertions v0.7.2 [INFO] [stderr] Compiling error-chain v0.12.4 [INFO] [stderr] Checking heck v0.3.3 [INFO] [stderr] Checking object v0.25.3 [INFO] [stderr] Checking aho-corasick v0.7.18 [INFO] [stderr] Compiling backtrace v0.3.60 [INFO] [stderr] Checking addr2line v0.15.2 [INFO] [stderr] Checking regex v1.5.4 [INFO] [stderr] Checking atelier_core v0.2.21 [INFO] [stderr] Checking atelier_core v0.2.22 (/opt/rustwide/workdir) [INFO] [stdout] warning: unexpected `cfg` condition name: `has_error_description_deprecated` [INFO] [stdout] --> src/error.rs:15:1 [INFO] [stdout] | [INFO] [stdout] 15 | / error_chain! { [INFO] [stdout] 16 | | errors { [INFO] [stdout] ... | [INFO] [stdout] 160 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = help: expected names are: `docsrs`, `feature`, and `test` and 31 more [INFO] [stdout] = note: using a cfg inside a macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `impl_error_chain_processed` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the macro `impl_error_chain_processed` may come from an old version of the `error_chain` crate, try updating your dependency with `cargo update -p error_chain` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] = note: this warning originates in the macro `impl_error_chain_processed` which comes from the expansion of the macro `error_chain` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `make_references` and `prelude_namespace` are never read [INFO] [stdout] --> src/builder/mod.rs:47:5 [INFO] [stdout] | [INFO] [stdout] 46 | pub struct ModelBuilder { [INFO] [stdout] | ------------ fields in this struct [INFO] [stdout] 47 | make_references: bool, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 48 | default_namespace: NamespaceID, [INFO] [stdout] 49 | prelude_namespace: NamespaceID, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ModelBuilder` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: for loop over a `&Option`. This is more readably written as an `if let` statement [INFO] [stdout] --> src/io/lines.rs:322:23 [INFO] [stdout] | [INFO] [stdout] 322 | for id in v.read() { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(for_loops_over_fallibles)]` on by default [INFO] [stdout] help: to check pattern in a loop use `while let` [INFO] [stdout] | [INFO] [stdout] 322 - for id in v.read() { [INFO] [stdout] 322 + while let Some(id) = v.read() { [INFO] [stdout] | [INFO] [stdout] help: consider using `if let` to clear intent [INFO] [stdout] | [INFO] [stdout] 322 - for id in v.read() { [INFO] [stdout] 322 + if let Some(id) = v.read() { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: for loop over a `&Option`. This is more readably written as an `if let` statement [INFO] [stdout] --> src/io/lines.rs:331:23 [INFO] [stdout] | [INFO] [stdout] 331 | for id in v.list() { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: to check pattern in a loop use `while let` [INFO] [stdout] | [INFO] [stdout] 331 - for id in v.list() { [INFO] [stdout] 331 + while let Some(id) = v.list() { [INFO] [stdout] | [INFO] [stdout] help: consider using `if let` to clear intent [INFO] [stdout] | [INFO] [stdout] 331 - for id in v.list() { [INFO] [stdout] 331 + if let Some(id) = v.list() { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking atelier_test v0.1.4 [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> tests/core_line_writer.rs:9:41 [INFO] [stdout] | [INFO] [stdout] 9 | let lines = make_line_oriented_form(&test_case.model); [INFO] [stdout] | ----------------------- ^^^^^^^^^^^^^^^^ expected `Model`, found `atelier_core::model::Model` [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] note: two different versions of crate `atelier_core` are being used; two types coming from two different versions of the same crate are different types even if they look the same [INFO] [stdout] --> /opt/rustwide/workdir/src/model/mod.rs:27:1 [INFO] [stdout] | [INFO] [stdout] 27 | pub struct Model { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ this is the expected type `Model` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/atelier_core-0.2.21/src/model/mod.rs:27:1 [INFO] [stdout] | [INFO] [stdout] 27 | pub struct Model { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ this is the found type `atelier_core::model::Model` [INFO] [stdout] | [INFO] [stdout] ::: tests/core_line_writer.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use atelier_core::io::lines::make_line_oriented_form; [INFO] [stdout] | ------------ one version of crate `atelier_core` used here, as a direct dependency of the current crate [INFO] [stdout] 2 | use atelier_test::examples::{motd::make_message_of_the_day_model, weather::make_weather_model}; [INFO] [stdout] | ------------ one version of crate `atelier_core` used here, as a dependency of crate `atelier_test` [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [INFO] [stdout] note: function defined here [INFO] [stdout] --> /opt/rustwide/workdir/src/io/lines.rs:176:8 [INFO] [stdout] | [INFO] [stdout] 176 | pub fn make_line_oriented_form(model: &Model) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> tests/core_line_writer.rs:17:41 [INFO] [stdout] | [INFO] [stdout] 17 | let lines = make_line_oriented_form(&test_case.model); [INFO] [stdout] | ----------------------- ^^^^^^^^^^^^^^^^ expected `Model`, found `atelier_core::model::Model` [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] note: two different versions of crate `atelier_core` are being used; two types coming from two different versions of the same crate are different types even if they look the same [INFO] [stdout] --> /opt/rustwide/workdir/src/model/mod.rs:27:1 [INFO] [stdout] | [INFO] [stdout] 27 | pub struct Model { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ this is the expected type `Model` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/atelier_core-0.2.21/src/model/mod.rs:27:1 [INFO] [stdout] | [INFO] [stdout] 27 | pub struct Model { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ this is the found type `atelier_core::model::Model` [INFO] [stdout] | [INFO] [stdout] ::: tests/core_line_writer.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use atelier_core::io::lines::make_line_oriented_form; [INFO] [stdout] | ------------ one version of crate `atelier_core` used here, as a direct dependency of the current crate [INFO] [stdout] 2 | use atelier_test::examples::{motd::make_message_of_the_day_model, weather::make_weather_model}; [INFO] [stdout] | ------------ one version of crate `atelier_core` used here, as a dependency of crate `atelier_test` [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [INFO] [stdout] note: function defined here [INFO] [stdout] --> /opt/rustwide/workdir/src/io/lines.rs:176:8 [INFO] [stdout] | [INFO] [stdout] 176 | pub fn make_line_oriented_form(model: &Model) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> tests/core_line_writer.rs:25:41 [INFO] [stdout] | [INFO] [stdout] 25 | let lines = make_line_oriented_form(&test_case.model); [INFO] [stdout] | ----------------------- ^^^^^^^^^^^^^^^^ expected `Model`, found `atelier_core::model::Model` [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] note: two different versions of crate `atelier_core` are being used; two types coming from two different versions of the same crate are different types even if they look the same [INFO] [stdout] --> /opt/rustwide/workdir/src/model/mod.rs:27:1 [INFO] [stdout] | [INFO] [stdout] 27 | pub struct Model { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ this is the expected type `Model` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/atelier_core-0.2.21/src/model/mod.rs:27:1 [INFO] [stdout] | [INFO] [stdout] 27 | pub struct Model { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ this is the found type `atelier_core::model::Model` [INFO] [stdout] | [INFO] [stdout] ::: tests/core_line_writer.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use atelier_core::io::lines::make_line_oriented_form; [INFO] [stdout] | ------------ one version of crate `atelier_core` used here, as a direct dependency of the current crate [INFO] [stdout] 2 | use atelier_test::examples::{motd::make_message_of_the_day_model, weather::make_weather_model}; [INFO] [stdout] | ------------ one version of crate `atelier_core` used here, as a dependency of crate `atelier_test` [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [INFO] [stdout] note: function defined here [INFO] [stdout] --> /opt/rustwide/workdir/src/io/lines.rs:176:8 [INFO] [stdout] | [INFO] [stdout] 176 | pub fn make_line_oriented_form(model: &Model) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> tests/core_line_writer.rs:33:41 [INFO] [stdout] | [INFO] [stdout] 33 | let lines = make_line_oriented_form(&test_case.model); [INFO] [stdout] | ----------------------- ^^^^^^^^^^^^^^^^ expected `Model`, found `atelier_core::model::Model` [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] note: two different versions of crate `atelier_core` are being used; two types coming from two different versions of the same crate are different types even if they look the same [INFO] [stdout] --> /opt/rustwide/workdir/src/model/mod.rs:27:1 [INFO] [stdout] | [INFO] [stdout] 27 | pub struct Model { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ this is the expected type `Model` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/atelier_core-0.2.21/src/model/mod.rs:27:1 [INFO] [stdout] | [INFO] [stdout] 27 | pub struct Model { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ this is the found type `atelier_core::model::Model` [INFO] [stdout] | [INFO] [stdout] ::: tests/core_line_writer.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use atelier_core::io::lines::make_line_oriented_form; [INFO] [stdout] | ------------ one version of crate `atelier_core` used here, as a direct dependency of the current crate [INFO] [stdout] 2 | use atelier_test::examples::{motd::make_message_of_the_day_model, weather::make_weather_model}; [INFO] [stdout] | ------------ one version of crate `atelier_core` used here, as a dependency of crate `atelier_test` [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [INFO] [stdout] note: function defined here [INFO] [stdout] --> /opt/rustwide/workdir/src/io/lines.rs:176:8 [INFO] [stdout] | [INFO] [stdout] 176 | pub fn make_line_oriented_form(model: &Model) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `atelier_core` (test "core_line_writer") due to 10 previous errors [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> tests/core_line_writer.rs:41:41 [INFO] [stdout] | [INFO] [stdout] 41 | let lines = make_line_oriented_form(&test_case.model); [INFO] [stdout] | ----------------------- ^^^^^^^^^^^^^^^^ expected `Model`, found `atelier_core::model::Model` [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] note: two different versions of crate `atelier_core` are being used; two types coming from two different versions of the same crate are different types even if they look the same [INFO] [stdout] --> /opt/rustwide/workdir/src/model/mod.rs:27:1 [INFO] [stdout] | [INFO] [stdout] 27 | pub struct Model { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ this is the expected type `Model` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/atelier_core-0.2.21/src/model/mod.rs:27:1 [INFO] [stdout] | [INFO] [stdout] 27 | pub struct Model { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ this is the found type `atelier_core::model::Model` [INFO] [stdout] | [INFO] [stdout] ::: tests/core_line_writer.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use atelier_core::io::lines::make_line_oriented_form; [INFO] [stdout] | ------------ one version of crate `atelier_core` used here, as a direct dependency of the current crate [INFO] [stdout] 2 | use atelier_test::examples::{motd::make_message_of_the_day_model, weather::make_weather_model}; [INFO] [stdout] | ------------ one version of crate `atelier_core` used here, as a dependency of crate `atelier_test` [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [INFO] [stdout] note: function defined here [INFO] [stdout] --> /opt/rustwide/workdir/src/io/lines.rs:176:8 [INFO] [stdout] | [INFO] [stdout] 176 | pub fn make_line_oriented_form(model: &Model) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> tests/core_line_writer.rs:49:41 [INFO] [stdout] | [INFO] [stdout] 49 | let lines = make_line_oriented_form(&test_case.model); [INFO] [stdout] | ----------------------- ^^^^^^^^^^^^^^^^ expected `Model`, found `atelier_core::model::Model` [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] note: two different versions of crate `atelier_core` are being used; two types coming from two different versions of the same crate are different types even if they look the same [INFO] [stdout] --> /opt/rustwide/workdir/src/model/mod.rs:27:1 [INFO] [stdout] | [INFO] [stdout] 27 | pub struct Model { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ this is the expected type `Model` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/atelier_core-0.2.21/src/model/mod.rs:27:1 [INFO] [stdout] | [INFO] [stdout] 27 | pub struct Model { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ this is the found type `atelier_core::model::Model` [INFO] [stdout] | [INFO] [stdout] ::: tests/core_line_writer.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use atelier_core::io::lines::make_line_oriented_form; [INFO] [stdout] | ------------ one version of crate `atelier_core` used here, as a direct dependency of the current crate [INFO] [stdout] 2 | use atelier_test::examples::{motd::make_message_of_the_day_model, weather::make_weather_model}; [INFO] [stdout] | ------------ one version of crate `atelier_core` used here, as a dependency of crate `atelier_test` [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [INFO] [stdout] note: function defined here [INFO] [stdout] --> /opt/rustwide/workdir/src/io/lines.rs:176:8 [INFO] [stdout] | [INFO] [stdout] 176 | pub fn make_line_oriented_form(model: &Model) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> tests/core_line_writer.rs:57:41 [INFO] [stdout] | [INFO] [stdout] 57 | let lines = make_line_oriented_form(&test_case.model); [INFO] [stdout] | ----------------------- ^^^^^^^^^^^^^^^^ expected `Model`, found `atelier_core::model::Model` [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] note: two different versions of crate `atelier_core` are being used; two types coming from two different versions of the same crate are different types even if they look the same [INFO] [stdout] --> /opt/rustwide/workdir/src/model/mod.rs:27:1 [INFO] [stdout] | [INFO] [stdout] 27 | pub struct Model { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ this is the expected type `Model` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/atelier_core-0.2.21/src/model/mod.rs:27:1 [INFO] [stdout] | [INFO] [stdout] 27 | pub struct Model { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ this is the found type `atelier_core::model::Model` [INFO] [stdout] | [INFO] [stdout] ::: tests/core_line_writer.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use atelier_core::io::lines::make_line_oriented_form; [INFO] [stdout] | ------------ one version of crate `atelier_core` used here, as a direct dependency of the current crate [INFO] [stdout] 2 | use atelier_test::examples::{motd::make_message_of_the_day_model, weather::make_weather_model}; [INFO] [stdout] | ------------ one version of crate `atelier_core` used here, as a dependency of crate `atelier_test` [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [INFO] [stdout] note: function defined here [INFO] [stdout] --> /opt/rustwide/workdir/src/io/lines.rs:176:8 [INFO] [stdout] | [INFO] [stdout] 176 | pub fn make_line_oriented_form(model: &Model) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> tests/core_line_writer.rs:65:41 [INFO] [stdout] | [INFO] [stdout] 65 | let lines = make_line_oriented_form(&test_case.model); [INFO] [stdout] | ----------------------- ^^^^^^^^^^^^^^^^ expected `Model`, found `atelier_core::model::Model` [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] note: two different versions of crate `atelier_core` are being used; two types coming from two different versions of the same crate are different types even if they look the same [INFO] [stdout] --> /opt/rustwide/workdir/src/model/mod.rs:27:1 [INFO] [stdout] | [INFO] [stdout] 27 | pub struct Model { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ this is the expected type `Model` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/atelier_core-0.2.21/src/model/mod.rs:27:1 [INFO] [stdout] | [INFO] [stdout] 27 | pub struct Model { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ this is the found type `atelier_core::model::Model` [INFO] [stdout] | [INFO] [stdout] ::: tests/core_line_writer.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use atelier_core::io::lines::make_line_oriented_form; [INFO] [stdout] | ------------ one version of crate `atelier_core` used here, as a direct dependency of the current crate [INFO] [stdout] 2 | use atelier_test::examples::{motd::make_message_of_the_day_model, weather::make_weather_model}; [INFO] [stdout] | ------------ one version of crate `atelier_core` used here, as a dependency of crate `atelier_test` [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [INFO] [stdout] note: function defined here [INFO] [stdout] --> /opt/rustwide/workdir/src/io/lines.rs:176:8 [INFO] [stdout] | [INFO] [stdout] 176 | pub fn make_line_oriented_form(model: &Model) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> tests/core_line_writer.rs:73:41 [INFO] [stdout] | [INFO] [stdout] 73 | let lines = make_line_oriented_form(&test_case.model); [INFO] [stdout] | ----------------------- ^^^^^^^^^^^^^^^^ expected `Model`, found `atelier_core::model::Model` [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] note: two different versions of crate `atelier_core` are being used; two types coming from two different versions of the same crate are different types even if they look the same [INFO] [stdout] --> /opt/rustwide/workdir/src/model/mod.rs:27:1 [INFO] [stdout] | [INFO] [stdout] 27 | pub struct Model { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ this is the expected type `Model` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/atelier_core-0.2.21/src/model/mod.rs:27:1 [INFO] [stdout] | [INFO] [stdout] 27 | pub struct Model { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ this is the found type `atelier_core::model::Model` [INFO] [stdout] | [INFO] [stdout] ::: tests/core_line_writer.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use atelier_core::io::lines::make_line_oriented_form; [INFO] [stdout] | ------------ one version of crate `atelier_core` used here, as a direct dependency of the current crate [INFO] [stdout] 2 | use atelier_test::examples::{motd::make_message_of_the_day_model, weather::make_weather_model}; [INFO] [stdout] | ------------ one version of crate `atelier_core` used here, as a dependency of crate `atelier_test` [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [INFO] [stdout] note: function defined here [INFO] [stdout] --> /opt/rustwide/workdir/src/io/lines.rs:176:8 [INFO] [stdout] | [INFO] [stdout] 176 | pub fn make_line_oriented_form(model: &Model) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> tests/core_line_writer.rs:81:41 [INFO] [stdout] | [INFO] [stdout] 81 | let lines = make_line_oriented_form(&test_case.model); [INFO] [stdout] | ----------------------- ^^^^^^^^^^^^^^^^ expected `Model`, found `atelier_core::model::Model` [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] note: two different versions of crate `atelier_core` are being used; two types coming from two different versions of the same crate are different types even if they look the same [INFO] [stdout] --> /opt/rustwide/workdir/src/model/mod.rs:27:1 [INFO] [stdout] | [INFO] [stdout] 27 | pub struct Model { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ this is the expected type `Model` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/atelier_core-0.2.21/src/model/mod.rs:27:1 [INFO] [stdout] | [INFO] [stdout] 27 | pub struct Model { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ this is the found type `atelier_core::model::Model` [INFO] [stdout] | [INFO] [stdout] ::: tests/core_line_writer.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use atelier_core::io::lines::make_line_oriented_form; [INFO] [stdout] | ------------ one version of crate `atelier_core` used here, as a direct dependency of the current crate [INFO] [stdout] 2 | use atelier_test::examples::{motd::make_message_of_the_day_model, weather::make_weather_model}; [INFO] [stdout] | ------------ one version of crate `atelier_core` used here, as a dependency of crate `atelier_test` [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [INFO] [stdout] note: function defined here [INFO] [stdout] --> /opt/rustwide/workdir/src/io/lines.rs:176:8 [INFO] [stdout] | [INFO] [stdout] 176 | pub fn make_line_oriented_form(model: &Model) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> tests/core_visitor.rs:114:29 [INFO] [stdout] | [INFO] [stdout] 114 | let result = walk_model(&model.model, &visitor); [INFO] [stdout] | ---------- ^^^^^^^^^^^^ expected `Model`, found `atelier_core::model::Model` [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] note: two different versions of crate `atelier_core` are being used; two types coming from two different versions of the same crate are different types even if they look the same [INFO] [stdout] --> /opt/rustwide/workdir/src/model/mod.rs:27:1 [INFO] [stdout] | [INFO] [stdout] 27 | pub struct Model { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ this is the expected type `Model` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/atelier_core-0.2.21/src/model/mod.rs:27:1 [INFO] [stdout] | [INFO] [stdout] 27 | pub struct Model { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ this is the found type `atelier_core::model::Model` [INFO] [stdout] | [INFO] [stdout] ::: tests/core_visitor.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use atelier_core::model::shapes::{ [INFO] [stdout] | ------------ one version of crate `atelier_core` used here, as a direct dependency of the current crate [INFO] [stdout] ... [INFO] [stdout] 9 | use atelier_test::examples::motd::make_message_of_the_day_model; [INFO] [stdout] | ------------ one version of crate `atelier_core` used here, as a dependency of crate `atelier_test` [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [INFO] [stdout] note: function defined here [INFO] [stdout] --> /opt/rustwide/workdir/src/model/visitor.rs:143:8 [INFO] [stdout] | [INFO] [stdout] 143 | pub fn walk_model(model: &Model, visitor: &V) -> Result<(), V::Error> [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stderr] error: could not compile `atelier_core` (test "core_visitor") due to 1 previous error [INFO] [stdout] warning: unexpected `cfg` condition name: `has_error_description_deprecated` [INFO] [stdout] --> src/error.rs:15:1 [INFO] [stdout] | [INFO] [stdout] 15 | / error_chain! { [INFO] [stdout] 16 | | errors { [INFO] [stdout] ... | [INFO] [stdout] 160 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = help: expected names are: `docsrs`, `feature`, and `test` and 31 more [INFO] [stdout] = note: using a cfg inside a macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `impl_error_chain_processed` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the macro `impl_error_chain_processed` may come from an old version of the `error_chain` crate, try updating your dependency with `cargo update -p error_chain` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] = note: this warning originates in the macro `impl_error_chain_processed` which comes from the expansion of the macro `error_chain` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `make_references` and `prelude_namespace` are never read [INFO] [stdout] --> src/builder/mod.rs:47:5 [INFO] [stdout] | [INFO] [stdout] 46 | pub struct ModelBuilder { [INFO] [stdout] | ------------ fields in this struct [INFO] [stdout] 47 | make_references: bool, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 48 | default_namespace: NamespaceID, [INFO] [stdout] 49 | prelude_namespace: NamespaceID, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ModelBuilder` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: for loop over a `&Option`. This is more readably written as an `if let` statement [INFO] [stdout] --> src/io/lines.rs:322:23 [INFO] [stdout] | [INFO] [stdout] 322 | for id in v.read() { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(for_loops_over_fallibles)]` on by default [INFO] [stdout] help: to check pattern in a loop use `while let` [INFO] [stdout] | [INFO] [stdout] 322 - for id in v.read() { [INFO] [stdout] 322 + while let Some(id) = v.read() { [INFO] [stdout] | [INFO] [stdout] help: consider using `if let` to clear intent [INFO] [stdout] | [INFO] [stdout] 322 - for id in v.read() { [INFO] [stdout] 322 + if let Some(id) = v.read() { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: for loop over a `&Option`. This is more readably written as an `if let` statement [INFO] [stdout] --> src/io/lines.rs:331:23 [INFO] [stdout] | [INFO] [stdout] 331 | for id in v.list() { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: to check pattern in a loop use `while let` [INFO] [stdout] | [INFO] [stdout] 331 - for id in v.list() { [INFO] [stdout] 331 + while let Some(id) = v.list() { [INFO] [stdout] | [INFO] [stdout] help: consider using `if let` to clear intent [INFO] [stdout] | [INFO] [stdout] 331 - for id in v.list() { [INFO] [stdout] 331 + if let Some(id) = v.list() { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "c47436c1d0927cde40f585d55e72de120058e0586b2ec59148cf11f8be5de8a8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c47436c1d0927cde40f585d55e72de120058e0586b2ec59148cf11f8be5de8a8", kill_on_drop: false }` [INFO] [stdout] c47436c1d0927cde40f585d55e72de120058e0586b2ec59148cf11f8be5de8a8