[INFO] fetching crate core-dev 0.0.1... [INFO] checking core-dev-0.0.1 against try#a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d for pr-145342-1 [INFO] extracting crate core-dev 0.0.1 into /workspace/builds/worker-1-tc2/source [INFO] removed /workspace/builds/worker-1-tc2/source/.cargo/config.toml [INFO] started tweaking crates.io crate core-dev 0.0.1 [INFO] removed 0 missing examples [INFO] removed 0 missing tests [INFO] finished tweaking crates.io crate core-dev 0.0.1 [INFO] tweaked toml for crates.io crate core-dev 0.0.1 written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate core-dev 0.0.1 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 core-dev 0.0.1 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-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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] cd9dacfd1d543facae024efe2955138bf6815cde181ae51de937ce6731ceff6a [INFO] running `Command { std: "docker" "start" "-a" "cd9dacfd1d543facae024efe2955138bf6815cde181ae51de937ce6731ceff6a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "cd9dacfd1d543facae024efe2955138bf6815cde181ae51de937ce6731ceff6a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cd9dacfd1d543facae024efe2955138bf6815cde181ae51de937ce6731ceff6a", kill_on_drop: false }` [INFO] [stdout] cd9dacfd1d543facae024efe2955138bf6815cde181ae51de937ce6731ceff6a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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] 62cf1c540cf7ea7759b27a3051a1639cd0bbec833ad51b4f48659c9868101653 [INFO] running `Command { std: "docker" "start" "-a" "62cf1c540cf7ea7759b27a3051a1639cd0bbec833ad51b4f48659c9868101653", kill_on_drop: false }` [INFO] [stderr] Compiling semver v1.0.6 [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Compiling libc v0.2.119 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Compiling memchr v2.4.1 [INFO] [stderr] Compiling proc-macro2 v1.0.36 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling syn v1.0.86 [INFO] [stderr] Compiling serde v1.0.136 [INFO] [stderr] Compiling crossbeam-utils v0.8.8 [INFO] [stderr] Checking either v1.6.1 [INFO] [stderr] Compiling memoffset v0.6.5 [INFO] [stderr] Compiling crossbeam-epoch v0.9.8 [INFO] [stderr] Compiling rustc_version v0.4.0 [INFO] [stderr] Checking scopeguard v1.1.0 [INFO] [stderr] Compiling rayon-core v1.9.1 [INFO] [stderr] Compiling proc-macro2 v0.4.30 [INFO] [stderr] Checking aho-corasick v0.7.18 [INFO] [stderr] Checking itertools v0.10.3 [INFO] [stderr] Compiling cast v0.2.7 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling unicode-xid v0.1.0 [INFO] [stderr] Compiling quote v1.0.15 [INFO] [stderr] Compiling log v0.4.17 [INFO] [stderr] Checking regex-syntax v0.6.25 [INFO] [stderr] Checking ryu v1.0.9 [INFO] [stderr] Compiling serde_json v1.0.79 [INFO] [stderr] Checking regex-automata v0.1.10 [INFO] [stderr] Checking crossbeam-deque v0.8.1 [INFO] [stderr] Checking getrandom v0.2.5 [INFO] [stderr] Checking num_cpus v1.13.1 [INFO] [stderr] Checking crossbeam-channel v0.5.4 [INFO] [stderr] Compiling assert2-macros v0.3.6 [INFO] [stderr] Compiling rayon v1.5.1 [INFO] [stderr] Compiling doc-comment v0.3.3 [INFO] [stderr] Checking predicates-core v1.0.3 [INFO] [stderr] Compiling serde_derive v1.0.136 [INFO] [stderr] Checking unicode-width v0.1.9 [INFO] [stderr] Checking plotters-backend v0.3.2 [INFO] [stderr] Checking itoa v1.0.1 [INFO] [stderr] Compiling syn v0.15.44 [INFO] [stderr] Checking regex v1.5.5 [INFO] [stderr] Checking plotters-svg v0.3.1 [INFO] [stderr] Compiling quote v0.6.13 [INFO] [stderr] Checking textwrap v0.11.0 [INFO] [stderr] Checking rand_core v0.6.3 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Compiling rstest v0.12.0 [INFO] [stderr] Compiling rstest_reuse v0.3.0 [INFO] [stderr] Checking csv-core v0.1.10 [INFO] [stderr] Checking same-file v1.0.6 [INFO] [stderr] Checking termtree v0.2.4 [INFO] [stderr] Checking bitflags v1.3.2 [INFO] [stderr] Checking itoa v0.4.8 [INFO] [stderr] Checking difflib v0.4.0 [INFO] [stderr] Checking half v1.8.2 [INFO] [stderr] Checking clap v2.34.0 [INFO] [stderr] Checking predicates v2.1.1 [INFO] [stderr] Checking walkdir v2.3.2 [INFO] [stderr] Checking predicates-tree v1.0.5 [INFO] [stderr] Checking env_logger v0.8.4 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking criterion-plot v0.4.4 [INFO] [stderr] Checking wait-timeout v0.2.0 [INFO] [stderr] Checking plotters v0.3.1 [INFO] [stderr] Checking ansi_term v0.12.1 [INFO] [stderr] Compiling glob v0.3.0 [INFO] [stderr] Checking bstr v0.2.17 [INFO] [stderr] Checking serde_cbor v0.11.2 [INFO] [stderr] Checking csv v1.1.6 [INFO] [stderr] Checking yansi v0.5.1 [INFO] [stderr] Checking oorandom v11.1.3 [INFO] [stderr] Checking diff v0.1.12 [INFO] [stderr] Checking assert_cmd v2.0.4 [INFO] [stderr] Checking pretty_assertions v1.1.0 [INFO] [stderr] Checking quickcheck v1.0.3 [INFO] [stderr] Checking core-dev v0.0.1 (/opt/rustwide/workdir) [INFO] [stderr] Checking tinytemplate v1.2.1 [INFO] [stderr] Compiling quickcheck_macros v1.0.0 [INFO] [stderr] Checking assert2 v0.3.6 [INFO] [stderr] Compiling test-generator v0.3.0 [INFO] [stderr] Checking criterion v0.3.5 [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> examples/vectors.rs:2:9 [INFO] [stdout] | [INFO] [stdout] 2 | let mut new_vector: Vec = Vec::new(); [INFO] [stdout] | ----^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved imports `core_dev::pathlib`, `core_dev::traits` [INFO] [stdout] --> tests/test_lib/pathlib.rs:15:13 [INFO] [stdout] | [INFO] [stdout] 15 | pathlib::get_files_recursive, [INFO] [stdout] | ^^^^^^^ could not find `pathlib` in `core_dev` [INFO] [stdout] 16 | traits::StringExtended, [INFO] [stdout] | ^^^^^^ could not find `traits` in `core_dev` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:43:9 [INFO] [stdout] | [INFO] [stdout] 42 | #[cfg(feature = "pathlib")] [INFO] [stdout] | ------------------- the item is gated behind the `pathlib` feature [INFO] [stdout] 43 | pub mod pathlib; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:35:9 [INFO] [stdout] | [INFO] [stdout] 34 | #[cfg(feature = "traits")] [INFO] [stdout] | ------------------ the item is gated behind the `traits` feature [INFO] [stdout] 35 | pub mod traits; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_vector` is never used [INFO] [stdout] --> examples/vectors.rs:1:4 [INFO] [stdout] | [INFO] [stdout] 1 | fn get_vector() -> Vec { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::assert_ne` [INFO] [stdout] --> tests/test_lib/pathlib.rs:9:9 [INFO] [stdout] | [INFO] [stdout] 9 | use super::assert_ne; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::rstest` [INFO] [stdout] --> tests/test_lib/pathlib.rs:10:9 [INFO] [stdout] | [INFO] [stdout] 10 | use super::rstest; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stderr] error: could not compile `core-dev` (test "pathlib") due to 1 previous error; 2 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0432]: unresolved import `core_dev::traits` [INFO] [stdout] --> tests/test_lib/traits.rs:8:19 [INFO] [stdout] | [INFO] [stdout] 8 | use core_dev::traits::IndexOfVector; [INFO] [stdout] | ^^^^^^ could not find `traits` in `core_dev` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:35:9 [INFO] [stdout] | [INFO] [stdout] 34 | #[cfg(feature = "traits")] [INFO] [stdout] | ------------------ the item is gated behind the `traits` feature [INFO] [stdout] 35 | pub mod traits; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `core_dev::traits` [INFO] [stdout] --> tests/test_lib/traits.rs:112:19 [INFO] [stdout] | [INFO] [stdout] 112 | use core_dev::traits::MaxVector; [INFO] [stdout] | ^^^^^^ could not find `traits` in `core_dev` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:35:9 [INFO] [stdout] | [INFO] [stdout] 34 | #[cfg(feature = "traits")] [INFO] [stdout] | ------------------ the item is gated behind the `traits` feature [INFO] [stdout] 35 | pub mod traits; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `core_dev::traits` [INFO] [stdout] --> tests/test_lib/traits.rs:186:19 [INFO] [stdout] | [INFO] [stdout] 186 | use core_dev::traits::StringExtended; [INFO] [stdout] | ^^^^^^ could not find `traits` in `core_dev` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:35:9 [INFO] [stdout] | [INFO] [stdout] 34 | #[cfg(feature = "traits")] [INFO] [stdout] | ------------------ the item is gated behind the `traits` feature [INFO] [stdout] 35 | pub mod traits; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `core_dev::traits` [INFO] [stdout] --> tests/test_lib/traits.rs:192:23 [INFO] [stdout] | [INFO] [stdout] 192 | use core_dev::traits::StringExtended; [INFO] [stdout] | ^^^^^^ could not find `traits` in `core_dev` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:35:9 [INFO] [stdout] | [INFO] [stdout] 34 | #[cfg(feature = "traits")] [INFO] [stdout] | ------------------ the item is gated behind the `traits` feature [INFO] [stdout] 35 | pub mod traits; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::rstest` [INFO] [stdout] --> tests/test_lib/traits.rs:191:13 [INFO] [stdout] | [INFO] [stdout] 191 | use super::rstest; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::ops::Index` [INFO] [stdout] --> tests/test_lib/traits.rs:264:13 [INFO] [stdout] | [INFO] [stdout] 264 | use std::ops::Index; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::rstest` [INFO] [stdout] --> tests/test_lib/traits.rs:267:13 [INFO] [stdout] | [INFO] [stdout] 267 | use super::rstest; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::rstest` [INFO] [stdout] --> tests/test_lib/traits.rs:289:13 [INFO] [stdout] | [INFO] [stdout] 289 | use super::rstest; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `string_template` [INFO] [stdout] --> examples/template.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use string_template::Template; [INFO] [stdout] | ^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `string_template` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `string_template`, use `cargo add string_template` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stderr] error: could not compile `core-dev` (example "template") due to 1 previous error [INFO] [stdout] error[E0599]: no method named `index_of` found for struct `Vec` in the current scope [INFO] [stdout] --> tests/test_lib/traits.rs:21:37 [INFO] [stdout] | [INFO] [stdout] 21 | let index = some_vector.index_of(&33); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: there is a method `index` with a similar name [INFO] [stdout] | [INFO] [stdout] 21 - let index = some_vector.index_of(&33); [INFO] [stdout] 21 + let index = some_vector.index(&33); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `value` is never read [INFO] [stdout] --> examples/example.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 2 | struct Number { [INFO] [stdout] | ------ field in this struct [INFO] [stdout] 3 | value: i32, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Number` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `index_of` found for struct `Vec` in the current scope [INFO] [stdout] --> tests/test_lib/traits.rs:34:37 [INFO] [stdout] | [INFO] [stdout] 34 | let index = some_vector.index_of(&33); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: there is a method `index` with a similar name [INFO] [stdout] | [INFO] [stdout] 34 - let index = some_vector.index_of(&33); [INFO] [stdout] 34 + let index = some_vector.index(&33); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `aesthetics` in `core_dev` [INFO] [stdout] --> tests/test_lib/aesthetics.rs:71:19 [INFO] [stdout] | [INFO] [stdout] 71 | use core_dev::aesthetics::ansi::red; [INFO] [stdout] | ^^^^^^^^^^ could not find `aesthetics` in `core_dev` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:38:9 [INFO] [stdout] | [INFO] [stdout] 37 | #[cfg(feature = "aesthetics")] [INFO] [stdout] | ---------------------- the item is gated behind the `aesthetics` feature [INFO] [stdout] 38 | pub mod aesthetics; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `core_dev::core` [INFO] [stdout] --> examples/core_usage.rs:3:15 [INFO] [stdout] | [INFO] [stdout] 3 | use core_dev::core::read_lines; [INFO] [stdout] | ^^^^ could not find `core` in `core_dev` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:26:9 [INFO] [stdout] | [INFO] [stdout] 25 | #[cfg(feature = "core")] [INFO] [stdout] | ---------------- the item is gated behind the `core` feature [INFO] [stdout] 26 | pub mod core; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `aesthetics` in `core_dev` [INFO] [stdout] --> tests/test_lib/aesthetics.rs:72:19 [INFO] [stdout] | [INFO] [stdout] 72 | use core_dev::aesthetics::ansi::red_bold; [INFO] [stdout] | ^^^^^^^^^^ could not find `aesthetics` in `core_dev` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:38:9 [INFO] [stdout] | [INFO] [stdout] 37 | #[cfg(feature = "aesthetics")] [INFO] [stdout] | ---------------------- the item is gated behind the `aesthetics` feature [INFO] [stdout] 38 | pub mod aesthetics; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `aesthetics` in `core_dev` [INFO] [stdout] --> tests/test_lib/aesthetics.rs:73:19 [INFO] [stdout] | [INFO] [stdout] 73 | use core_dev::aesthetics::ansi::red_on_bg; [INFO] [stdout] | ^^^^^^^^^^ could not find `aesthetics` in `core_dev` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:38:9 [INFO] [stdout] | [INFO] [stdout] 37 | #[cfg(feature = "aesthetics")] [INFO] [stdout] | ---------------------- the item is gated behind the `aesthetics` feature [INFO] [stdout] 38 | pub mod aesthetics; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `index_from` found for struct `Vec` in the current scope [INFO] [stdout] --> tests/test_lib/traits.rs:55:37 [INFO] [stdout] | [INFO] [stdout] 55 | let index = some_vector.index_from(&2, 0).unwrap(); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: there is a method `index` with a similar name, but with different arguments [INFO] [stdout] --> /rustc/a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d/library/core/src/ops/index.rs:74:5 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stderr] error: could not compile `core-dev` (example "core_usage") due to 1 previous error [INFO] [stdout] error[E0432]: unresolved import `core_dev::impl_fixed_color_function` [INFO] [stdout] --> tests/test_lib/aesthetics.rs:99:9 [INFO] [stdout] | [INFO] [stdout] 99 | use core_dev::impl_fixed_color_function; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ no `impl_fixed_color_function` in the root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `index_from` found for struct `Vec` in the current scope [INFO] [stdout] --> tests/test_lib/traits.rs:58:37 [INFO] [stdout] | [INFO] [stdout] 58 | let index = some_vector.index_from(&2, 1).unwrap(); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: there is a method `index` with a similar name, but with different arguments [INFO] [stdout] --> /rustc/a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d/library/core/src/ops/index.rs:74:5 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `paste` [INFO] [stdout] --> tests/test_lib/aesthetics.rs:102:9 [INFO] [stdout] | [INFO] [stdout] 102 | use paste::paste; [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `paste` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `paste`, use `cargo add paste` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `ansi_term` [INFO] [stdout] --> tests/test_lib/aesthetics.rs:103:9 [INFO] [stdout] | [INFO] [stdout] 103 | use ansi_term::Color; [INFO] [stdout] | ^^^^^^^^^ use of unresolved module or unlinked crate `ansi_term` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `ansi_term`, use `cargo add ansi_term` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `index_from` found for struct `Vec` in the current scope [INFO] [stdout] --> tests/test_lib/traits.rs:61:37 [INFO] [stdout] | [INFO] [stdout] 61 | let index = some_vector.index_from(&2, 2).unwrap(); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: there is a method `index` with a similar name, but with different arguments [INFO] [stdout] --> /rustc/a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d/library/core/src/ops/index.rs:74:5 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `index_from` found for struct `Vec` in the current scope [INFO] [stdout] --> tests/test_lib/traits.rs:64:37 [INFO] [stdout] | [INFO] [stdout] 64 | let index = some_vector.index_from(&2, 3).unwrap(); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: there is a method `index` with a similar name, but with different arguments [INFO] [stdout] --> /rustc/a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d/library/core/src/ops/index.rs:74:5 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `index_from` found for struct `Vec` in the current scope [INFO] [stdout] --> tests/test_lib/traits.rs:67:37 [INFO] [stdout] | [INFO] [stdout] 67 | let index = some_vector.index_from(&2, 4).unwrap(); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: there is a method `index` with a similar name, but with different arguments [INFO] [stdout] --> /rustc/a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d/library/core/src/ops/index.rs:74:5 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `fixed_color_123` in this scope [INFO] [stdout] --> tests/test_lib/aesthetics.rs:108:22 [INFO] [stdout] | [INFO] [stdout] 108 | let result = fixed_color_123(input_content); [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `rindex_of` found for struct `Vec` in the current scope [INFO] [stdout] --> tests/test_lib/traits.rs:81:37 [INFO] [stdout] | [INFO] [stdout] 81 | let index = some_vector.rindex_of(&2).unwrap(); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: there is a method `index` with a similar name [INFO] [stdout] | [INFO] [stdout] 81 - let index = some_vector.rindex_of(&2).unwrap(); [INFO] [stdout] 81 + let index = some_vector.index(&2).unwrap(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `core-dev` (test "aesthetics") due to 7 previous errors [INFO] [stdout] error[E0599]: no method named `rindex_from` found for struct `Vec` in the current scope [INFO] [stdout] --> tests/test_lib/traits.rs:104:28 [INFO] [stdout] | [INFO] [stdout] 104 | vector_i32.rindex_from(&element, start_index); [INFO] [stdout] | ^^^^^^^^^^^ method not found in `Vec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `find_max` found for struct `Vec` in the current scope [INFO] [stdout] --> tests/test_lib/traits.rs:125:34 [INFO] [stdout] | [INFO] [stdout] 125 | let found_index = vector.find_max(); [INFO] [stdout] | ^^^^^^^^ method not found in `Vec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `find_max` found for struct `Vec` in the current scope [INFO] [stdout] --> tests/test_lib/traits.rs:138:34 [INFO] [stdout] | [INFO] [stdout] 138 | let found_index = vector.find_max(); [INFO] [stdout] | ^^^^^^^^ method not found in `Vec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `find_max` found for struct `Vec` in the current scope [INFO] [stdout] --> tests/test_lib/traits.rs:151:34 [INFO] [stdout] | [INFO] [stdout] 151 | let found_index = vector.find_max(); [INFO] [stdout] | ^^^^^^^^ method not found in `Vec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `find_max` found for struct `Vec` in the current scope [INFO] [stdout] --> tests/test_lib/traits.rs:164:34 [INFO] [stdout] | [INFO] [stdout] 164 | let found_index = vector.find_max(); [INFO] [stdout] | ^^^^^^^^ method not found in `Vec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `find_max` found for struct `Vec` in the current scope [INFO] [stdout] --> tests/test_lib/traits.rs:177:34 [INFO] [stdout] | [INFO] [stdout] 177 | let found_index = vector.find_max(); [INFO] [stdout] | ^^^^^^^^ method not found in `Vec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `split_lines` found for struct `String` in the current scope [INFO] [stdout] --> tests/test_lib/traits.rs:198:41 [INFO] [stdout] | [INFO] [stdout] 198 | let mut lines = some_string.split_lines().into_iter(); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: there is a method `splitn` with a similar name, but with different arguments [INFO] [stdout] --> /rustc/a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d/library/core/src/str/mod.rs:1874:5 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `split_lines` found for struct `String` in the current scope [INFO] [stdout] --> tests/test_lib/traits.rs:218:41 [INFO] [stdout] | [INFO] [stdout] 218 | let mut lines = some_string.split_lines().into_iter(); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: there is a method `splitn` with a similar name, but with different arguments [INFO] [stdout] --> /rustc/a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d/library/core/src/str/mod.rs:1874:5 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `split_lines` found for reference `&str` in the current scope [INFO] [stdout] --> tests/test_lib/traits.rs:231:41 [INFO] [stdout] | [INFO] [stdout] 231 | let mut lines = some_string.split_lines().into_iter(); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: there is a method `splitn` with a similar name, but with different arguments [INFO] [stdout] --> /rustc/a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d/library/core/src/str/mod.rs:1874:5 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `split_lines` found for reference `&str` in the current scope [INFO] [stdout] --> tests/test_lib/traits.rs:249:41 [INFO] [stdout] | [INFO] [stdout] 249 | let mut lines = some_string.split_lines().into_iter(); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: there is a method `splitn` with a similar name, but with different arguments [INFO] [stdout] --> /rustc/a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d/library/core/src/str/mod.rs:1874:5 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `get_char` found for struct `String` in the current scope [INFO] [stdout] --> tests/test_lib/traits.rs:273:42 [INFO] [stdout] | [INFO] [stdout] 273 | let found_char = some_string.get_char(0).unwrap(); [INFO] [stdout] | ^^^^^^^^ method not found in `String` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `get_char` found for reference `&str` in the current scope [INFO] [stdout] --> tests/test_lib/traits.rs:280:42 [INFO] [stdout] | [INFO] [stdout] 280 | let found_char = some_string.get_char(0).unwrap(); [INFO] [stdout] | ^^^^^^^^ method not found in `&str` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `capitalize` found for struct `String` in the current scope [INFO] [stdout] --> tests/test_lib/traits.rs:295:43 [INFO] [stdout] | [INFO] [stdout] 295 | let capitalized = some_string.capitalize(); [INFO] [stdout] | ^^^^^^^^^^ method not found in `String` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `capitalize` found for reference `&str` in the current scope [INFO] [stdout] --> tests/test_lib/traits.rs:302:43 [INFO] [stdout] | [INFO] [stdout] 302 | let capitalized = some_string.capitalize(); [INFO] [stdout] | ^^^^^^^^^^ method not found in `&str` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stderr] error: could not compile `core-dev` (test "traits") due to 26 previous errors; 4 warnings emitted [INFO] running `Command { std: "docker" "inspect" "62cf1c540cf7ea7759b27a3051a1639cd0bbec833ad51b4f48659c9868101653", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "62cf1c540cf7ea7759b27a3051a1639cd0bbec833ad51b4f48659c9868101653", kill_on_drop: false }` [INFO] [stdout] 62cf1c540cf7ea7759b27a3051a1639cd0bbec833ad51b4f48659c9868101653