[INFO] fetching crate smartstring 1.0.1... [INFO] testing smartstring-1.0.1 against try#b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b for pr-145330-1 [INFO] extracting crate smartstring 1.0.1 into /workspace/builds/worker-7-tc2/source [INFO] started tweaking crates.io crate smartstring 1.0.1 [INFO] finished tweaking crates.io crate smartstring 1.0.1 [INFO] tweaked toml for crates.io crate smartstring 1.0.1 written to /workspace/builds/worker-7-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate smartstring 1.0.1 on toolchain b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 105 packages to latest compatible versions [INFO] [stderr] Adding criterion v0.3.6 (available: v0.7.0) [INFO] [stderr] Adding proptest-derive v0.3.0 (available: v0.6.0) [INFO] [stderr] Adding rand v0.8.5 (available: v0.9.2) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 794f55166b3197295487c7aef940cb2f39667b1b3c3afeefb2673845e4b3acad [INFO] running `Command { std: "docker" "start" "-a" "794f55166b3197295487c7aef940cb2f39667b1b3c3afeefb2673845e4b3acad", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "794f55166b3197295487c7aef940cb2f39667b1b3c3afeefb2673845e4b3acad", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "794f55166b3197295487c7aef940cb2f39667b1b3c3afeefb2673845e4b3acad", kill_on_drop: false }` [INFO] [stdout] 794f55166b3197295487c7aef940cb2f39667b1b3c3afeefb2673845e4b3acad [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 9798655fff5739172f5381616ec84cc9be48f75553e3114bbeaed99faf6047b4 [INFO] running `Command { std: "docker" "start" "-a" "9798655fff5739172f5381616ec84cc9be48f75553e3114bbeaed99faf6047b4", kill_on_drop: false }` [INFO] [stderr] Compiling smartstring v1.0.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: unexpected `cfg` condition name: `needs_allocator_feature` [INFO] [stdout] --> src/lib.rs:104:13 [INFO] [stdout] | [INFO] [stdout] 104 | #![cfg_attr(needs_allocator_feature, feature(allocator_api))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: expected names are: `docsrs`, `feature`, and `test` and 31 more [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(needs_allocator_feature)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(needs_allocator_feature)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `has_allocator` [INFO] [stdout] --> src/boxed.rs:175:19 [INFO] [stdout] | [INFO] [stdout] 175 | #[cfg(has_allocator)] [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(has_allocator)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(has_allocator)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `has_allocator` [INFO] [stdout] --> src/boxed.rs:199:23 [INFO] [stdout] | [INFO] [stdout] 199 | #[cfg(not(has_allocator))] [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(has_allocator)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(has_allocator)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `has_allocator` [INFO] [stdout] --> src/boxed.rs:208:15 [INFO] [stdout] | [INFO] [stdout] 208 | #[cfg(has_allocator)] [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(has_allocator)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(has_allocator)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `has_allocator` [INFO] [stdout] --> src/boxed.rs:226:19 [INFO] [stdout] | [INFO] [stdout] 226 | #[cfg(not(has_allocator))] [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(has_allocator)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(has_allocator)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1.19s [INFO] running `Command { std: "docker" "inspect" "9798655fff5739172f5381616ec84cc9be48f75553e3114bbeaed99faf6047b4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9798655fff5739172f5381616ec84cc9be48f75553e3114bbeaed99faf6047b4", kill_on_drop: false }` [INFO] [stdout] 9798655fff5739172f5381616ec84cc9be48f75553e3114bbeaed99faf6047b4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d5ca420436e38ddbd046a5be0be5c2104ae34fcbe205f7f5024423ccfedf2d77 [INFO] running `Command { std: "docker" "start" "-a" "d5ca420436e38ddbd046a5be0be5c2104ae34fcbe205f7f5024423ccfedf2d77", kill_on_drop: false }` [INFO] [stderr] Compiling getrandom v0.3.3 [INFO] [stderr] Compiling proc-macro2 v0.4.30 [INFO] [stderr] Compiling regex-syntax v0.8.6 [INFO] [stderr] Compiling unicode-xid v0.1.0 [INFO] [stderr] Compiling unicode-width v0.1.14 [INFO] [stderr] Compiling syn v0.15.44 [INFO] [stderr] Compiling once_cell v1.21.3 [INFO] [stderr] Compiling csv-core v0.1.12 [INFO] [stderr] Compiling half v1.8.3 [INFO] [stderr] Compiling bit-vec v0.8.0 [INFO] [stderr] Compiling criterion-plot v0.4.5 [INFO] [stderr] Compiling tinytemplate v1.2.1 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling unarray v0.1.4 [INFO] [stderr] Compiling serde_test v1.0.177 [INFO] [stdout] warning: unexpected `cfg` condition name: `needs_allocator_feature` [INFO] [stdout] --> src/lib.rs:104:13 [INFO] [stdout] | [INFO] [stdout] 104 | #![cfg_attr(needs_allocator_feature, feature(allocator_api))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: expected names are: `docsrs`, `feature`, and `test` and 31 more [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(needs_allocator_feature)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(needs_allocator_feature)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `has_allocator` [INFO] [stdout] --> src/boxed.rs:175:19 [INFO] [stdout] | [INFO] [stdout] 175 | #[cfg(has_allocator)] [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(has_allocator)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(has_allocator)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `has_allocator` [INFO] [stdout] --> src/boxed.rs:199:23 [INFO] [stdout] | [INFO] [stdout] 199 | #[cfg(not(has_allocator))] [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(has_allocator)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(has_allocator)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `has_allocator` [INFO] [stdout] --> src/boxed.rs:208:15 [INFO] [stdout] | [INFO] [stdout] 208 | #[cfg(has_allocator)] [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(has_allocator)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(has_allocator)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `has_allocator` [INFO] [stdout] --> src/boxed.rs:226:19 [INFO] [stdout] | [INFO] [stdout] 226 | #[cfg(not(has_allocator))] [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(has_allocator)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(has_allocator)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling csv v1.3.1 [INFO] [stderr] Compiling bit-set v0.8.0 [INFO] [stderr] Compiling serde_cbor v0.11.2 [INFO] [stderr] Compiling rand_core v0.9.3 [INFO] [stderr] Compiling tempfile v3.23.0 [INFO] [stderr] Compiling textwrap v0.11.0 [INFO] [stderr] Compiling rand v0.9.2 [INFO] [stderr] Compiling rand_xorshift v0.4.0 [INFO] [stderr] Compiling rand_chacha v0.9.0 [INFO] [stderr] Compiling clap v2.34.0 [INFO] [stderr] Compiling rusty-fork v0.3.0 [INFO] [stderr] Compiling quote v0.6.13 [INFO] [stderr] Compiling regex-automata v0.4.11 [INFO] [stderr] Compiling proptest v1.8.0 [INFO] [stderr] Compiling proptest-derive v0.3.0 [INFO] [stderr] Compiling regex v1.11.3 [INFO] [stderr] Compiling criterion v0.3.6 [INFO] [stderr] Compiling smartstring v1.0.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: unexpected `cfg` condition name: `needs_allocator_feature` [INFO] [stdout] --> src/lib.rs:104:13 [INFO] [stdout] | [INFO] [stdout] 104 | #![cfg_attr(needs_allocator_feature, feature(allocator_api))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: expected names are: `docsrs`, `feature`, and `test` and 31 more [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(needs_allocator_feature)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(needs_allocator_feature)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `has_allocator` [INFO] [stdout] --> src/boxed.rs:175:19 [INFO] [stdout] | [INFO] [stdout] 175 | #[cfg(has_allocator)] [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(has_allocator)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(has_allocator)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `has_allocator` [INFO] [stdout] --> src/boxed.rs:199:23 [INFO] [stdout] | [INFO] [stdout] 199 | #[cfg(not(has_allocator))] [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(has_allocator)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(has_allocator)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `has_allocator` [INFO] [stdout] --> src/boxed.rs:208:15 [INFO] [stdout] | [INFO] [stdout] 208 | #[cfg(has_allocator)] [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(has_allocator)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(has_allocator)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `has_allocator` [INFO] [stdout] --> src/boxed.rs:226:19 [INFO] [stdout] | [INFO] [stdout] 226 | #[cfg(not(has_allocator))] [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(has_allocator)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(has_allocator)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/test.rs:35:10 [INFO] [stdout] | [INFO] [stdout] 35 | #[derive(Arbitrary, Debug, Clone)] [INFO] [stdout] | ^-------- [INFO] [stdout] | | [INFO] [stdout] | `Arbitrary` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_ARBITRARY_FOR_Constructor` [INFO] [stdout] 36 | pub enum Constructor { [INFO] [stdout] | ----------- `Constructor` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Arbitrary` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Arbitrary` may come from an old version of the `proptest_derive` crate, try updating your dependency with `cargo update -p proptest_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: `#[warn(non_local_definitions)]` on by default [INFO] [stdout] = note: this warning originates in the derive macro `Arbitrary` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/test.rs:57:10 [INFO] [stdout] | [INFO] [stdout] 57 | #[derive(Arbitrary, Debug, Clone)] [INFO] [stdout] | ^-------- [INFO] [stdout] | | [INFO] [stdout] | `Arbitrary` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_ARBITRARY_FOR_TestBounds` [INFO] [stdout] 58 | pub enum TestBounds { [INFO] [stdout] | ---------- `TestBounds` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Arbitrary` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Arbitrary` may come from an old version of the `proptest_derive` crate, try updating your dependency with `cargo update -p proptest_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Arbitrary` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/test.rs:141:10 [INFO] [stdout] | [INFO] [stdout] 141 | #[derive(Arbitrary, Debug, Clone)] [INFO] [stdout] | ^-------- [INFO] [stdout] | | [INFO] [stdout] | `Arbitrary` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_ARBITRARY_FOR_Action` [INFO] [stdout] 142 | pub enum Action { [INFO] [stdout] | ------ `Action` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Arbitrary` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Arbitrary` may come from an old version of the `proptest_derive` crate, try updating your dependency with `cargo update -p proptest_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Arbitrary` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 23.09s [INFO] running `Command { std: "docker" "inspect" "d5ca420436e38ddbd046a5be0be5c2104ae34fcbe205f7f5024423ccfedf2d77", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d5ca420436e38ddbd046a5be0be5c2104ae34fcbe205f7f5024423ccfedf2d77", kill_on_drop: false }` [INFO] [stdout] d5ca420436e38ddbd046a5be0be5c2104ae34fcbe205f7f5024423ccfedf2d77 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] b19357e07cb18a04b4c2acd5ff345c174bd47a0c11637a4c5145ce2f2c241d7f [INFO] running `Command { std: "docker" "start" "-a" "b19357e07cb18a04b4c2acd5ff345c174bd47a0c11637a4c5145ce2f2c241d7f", kill_on_drop: false }` [INFO] [stderr] warning: unexpected `cfg` condition name: `needs_allocator_feature` [INFO] [stderr] --> src/lib.rs:104:13 [INFO] [stderr] | [INFO] [stderr] 104 | #![cfg_attr(needs_allocator_feature, feature(allocator_api))] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: expected names are: `docsrs`, `feature`, and `test` and 31 more [INFO] [stderr] = help: consider using a Cargo feature instead [INFO] [stderr] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stderr] [lints.rust] [INFO] [stderr] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(needs_allocator_feature)'] } [INFO] [stderr] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(needs_allocator_feature)");` to the top of the `build.rs` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition name: `has_allocator` [INFO] [stderr] --> src/boxed.rs:175:19 [INFO] [stderr] | [INFO] [stderr] 175 | #[cfg(has_allocator)] [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: consider using a Cargo feature instead [INFO] [stderr] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stderr] [lints.rust] [INFO] [stderr] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(has_allocator)'] } [INFO] [stderr] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(has_allocator)");` to the top of the `build.rs` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition name: `has_allocator` [INFO] [stderr] --> src/boxed.rs:199:23 [INFO] [stderr] | [INFO] [stderr] 199 | #[cfg(not(has_allocator))] [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: consider using a Cargo feature instead [INFO] [stderr] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stderr] [lints.rust] [INFO] [stderr] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(has_allocator)'] } [INFO] [stderr] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(has_allocator)");` to the top of the `build.rs` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition name: `has_allocator` [INFO] [stderr] --> src/boxed.rs:208:15 [INFO] [stderr] | [INFO] [stderr] 208 | #[cfg(has_allocator)] [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: consider using a Cargo feature instead [INFO] [stderr] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stderr] [lints.rust] [INFO] [stderr] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(has_allocator)'] } [INFO] [stderr] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(has_allocator)");` to the top of the `build.rs` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition name: `has_allocator` [INFO] [stderr] --> src/boxed.rs:226:19 [INFO] [stderr] | [INFO] [stderr] 226 | #[cfg(not(has_allocator))] [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: consider using a Cargo feature instead [INFO] [stderr] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stderr] [lints.rust] [INFO] [stderr] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(has_allocator)'] } [INFO] [stderr] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(has_allocator)");` to the top of the `build.rs` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] [INFO] [stderr] warning: `smartstring` (lib) generated 5 warnings [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> src/test.rs:35:10 [INFO] [stderr] | [INFO] [stderr] 35 | #[derive(Arbitrary, Debug, Clone)] [INFO] [stderr] | ^-------- [INFO] [stderr] | | [INFO] [stderr] | `Arbitrary` is not local [INFO] [stderr] | move the `impl` block outside of this constant `_IMPL_ARBITRARY_FOR_Constructor` [INFO] [stderr] 36 | pub enum Constructor { [INFO] [stderr] | ----------- `Constructor` is not local [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `Arbitrary` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = note: the derive macro `Arbitrary` may come from an old version of the `proptest_derive` crate, try updating your dependency with `cargo update -p proptest_derive` [INFO] [stderr] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stderr] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stderr] = note: `#[warn(non_local_definitions)]` on by default [INFO] [stderr] = note: this warning originates in the derive macro `Arbitrary` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> src/test.rs:57:10 [INFO] [stderr] | [INFO] [stderr] 57 | #[derive(Arbitrary, Debug, Clone)] [INFO] [stderr] | ^-------- [INFO] [stderr] | | [INFO] [stderr] | `Arbitrary` is not local [INFO] [stderr] | move the `impl` block outside of this constant `_IMPL_ARBITRARY_FOR_TestBounds` [INFO] [stderr] 58 | pub enum TestBounds { [INFO] [stderr] | ---------- `TestBounds` is not local [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `Arbitrary` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = note: the derive macro `Arbitrary` may come from an old version of the `proptest_derive` crate, try updating your dependency with `cargo update -p proptest_derive` [INFO] [stderr] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stderr] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stderr] = note: this warning originates in the derive macro `Arbitrary` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> src/test.rs:141:10 [INFO] [stderr] | [INFO] [stderr] 141 | #[derive(Arbitrary, Debug, Clone)] [INFO] [stderr] | ^-------- [INFO] [stderr] | | [INFO] [stderr] | `Arbitrary` is not local [INFO] [stderr] | move the `impl` block outside of this constant `_IMPL_ARBITRARY_FOR_Action` [INFO] [stderr] 142 | pub enum Action { [INFO] [stderr] | ------ `Action` is not local [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `Arbitrary` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = note: the derive macro `Arbitrary` may come from an old version of the `proptest_derive` crate, try updating your dependency with `cargo update -p proptest_derive` [INFO] [stderr] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stderr] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stderr] = note: this warning originates in the derive macro `Arbitrary` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: `smartstring` (lib test) generated 8 warnings (5 duplicates) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.12s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/smartstring-f168f8fa0e0a5b36) [INFO] [stdout] [INFO] [stdout] running 18 tests [INFO] [stdout] test test::tests::check_alignment ... ok [INFO] [stdout] test test::tests::dont_panic_on_removing_last_index_from_an_inline_string ... ok [INFO] [stdout] test test::tests::dont_panic_when_inserting_a_string_at_exactly_inline_capacity ... ok [INFO] [stdout] test test::tests::fail ... ok [INFO] [stdout] test test::tests::drain_wrapped_shouldnt_drop_twice ... ok [INFO] [stdout] test test::tests::from_string ... ok [INFO] [stdout] test test::tests::drain_over_inline_boundary ... ok [INFO] [stdout] test test::tests::shouldnt_panic_on_inclusive_range_end_one_less_than_start ... ok [INFO] [stdout] test test::tests::must_not_promote_before_insert_succeeds ... ok [INFO] [stdout] test test::tests::drain_bounds_integer_overflow_must_panic - should panic ... ok [INFO] [stdout] test test::tests::must_panic_on_insert_outside_char_boundary ... ok [INFO] [stdout] test test::tests::must_panic_on_slice_outside_char_boundary ... ok [INFO] [stdout] test test::tests::must_panic_on_out_of_bounds_range ... ok [INFO] [stdout] test test::tests::proptest_eq ... ok [INFO] [stdout] test test::tests::proptest_ordering_compact ... ok [INFO] [stdout] test test::tests::proptest_ordering_lazycompact ... ok [INFO] [stdout] test test::tests::proptest_everything_compact ... ok [INFO] [stderr] Doc-tests smartstring [INFO] [stdout] test test::tests::proptest_everything_lazycompact ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 18 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 4.36s [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 1 test [INFO] [stdout] test src/lib.rs - (line 32) ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.31s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "b19357e07cb18a04b4c2acd5ff345c174bd47a0c11637a4c5145ce2f2c241d7f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b19357e07cb18a04b4c2acd5ff345c174bd47a0c11637a4c5145ce2f2c241d7f", kill_on_drop: false }` [INFO] [stdout] b19357e07cb18a04b4c2acd5ff345c174bd47a0c11637a4c5145ce2f2c241d7f