[INFO] fetching crate numtraits 0.0.1... [INFO] testing numtraits-0.0.1 against beta-2022-04-10 for beta-1.61-1 [INFO] extracting crate numtraits 0.0.1 into /workspace/builds/worker-9/source [INFO] validating manifest of crates.io crate numtraits 0.0.1 on toolchain beta-2022-04-10 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate numtraits 0.0.1 [INFO] finished tweaking crates.io crate numtraits 0.0.1 [INFO] tweaked toml for crates.io crate numtraits 0.0.1 written to /workspace/builds/worker-9/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 76ba85da9c3ebe2d3a662b0d7f676ab9b36627b7548c4cd08b31c2b38baeaea2 [INFO] running `Command { std: "docker" "start" "-a" "76ba85da9c3ebe2d3a662b0d7f676ab9b36627b7548c4cd08b31c2b38baeaea2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "76ba85da9c3ebe2d3a662b0d7f676ab9b36627b7548c4cd08b31c2b38baeaea2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "76ba85da9c3ebe2d3a662b0d7f676ab9b36627b7548c4cd08b31c2b38baeaea2", kill_on_drop: false }` [INFO] [stdout] 76ba85da9c3ebe2d3a662b0d7f676ab9b36627b7548c4cd08b31c2b38baeaea2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/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=warn" "-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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 3ee25e3a0e9d07d54ac9a8e120f5134dd1eabdf457b3d24bf1668c0830bae7c4 [INFO] running `Command { std: "docker" "start" "-a" "3ee25e3a0e9d07d54ac9a8e120f5134dd1eabdf457b3d24bf1668c0830bae7c4", kill_on_drop: false }` [INFO] [stderr] Compiling numtraits v0.0.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused macro definition: `from_to` [INFO] [stdout] --> src/lib.rs:50:14 [INFO] [stdout] | [INFO] [stdout] 50 | macro_rules! from_to { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_macros)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> src/lib.rs:59:13 [INFO] [stdout] | [INFO] [stdout] 59 | fn from(T) -> Self; [INFO] [stdout] | ^ help: try naming the parameter or explicitly ignoring it: `_: T` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(anonymous_parameters)]` on by default [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 0.73s [INFO] running `Command { std: "docker" "inspect" "3ee25e3a0e9d07d54ac9a8e120f5134dd1eabdf457b3d24bf1668c0830bae7c4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3ee25e3a0e9d07d54ac9a8e120f5134dd1eabdf457b3d24bf1668c0830bae7c4", kill_on_drop: false }` [INFO] [stdout] 3ee25e3a0e9d07d54ac9a8e120f5134dd1eabdf457b3d24bf1668c0830bae7c4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/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=warn" "-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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] cb73ab1994885c913b7f2c52fa0d4f2bc7287a5ee3c7cb3fb0c1ed43ca1ce43a [INFO] running `Command { std: "docker" "start" "-a" "cb73ab1994885c913b7f2c52fa0d4f2bc7287a5ee3c7cb3fb0c1ed43ca1ce43a", kill_on_drop: false }` [INFO] [stderr] Compiling numtraits v0.0.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused macro definition: `from_to` [INFO] [stdout] --> src/lib.rs:50:14 [INFO] [stdout] | [INFO] [stdout] 50 | macro_rules! from_to { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_macros)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> src/lib.rs:59:13 [INFO] [stdout] | [INFO] [stdout] 59 | fn from(T) -> Self; [INFO] [stdout] | ^ help: try naming the parameter or explicitly ignoring it: `_: T` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(anonymous_parameters)]` on by default [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused macro definition: `from_to` [INFO] [stdout] --> src/lib.rs:50:14 [INFO] [stdout] | [INFO] [stdout] 50 | macro_rules! from_to { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_macros)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> src/lib.rs:59:13 [INFO] [stdout] | [INFO] [stdout] 59 | fn from(T) -> Self; [INFO] [stdout] | ^ help: try naming the parameter or explicitly ignoring it: `_: T` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(anonymous_parameters)]` on by default [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `doit` [INFO] [stdout] --> src/lib.rs:121:4 [INFO] [stdout] | [INFO] [stdout] 121 | fn doit>() { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.45s [INFO] [stderr] Executable unittests src/lib.rs (/opt/rustwide/target/debug/deps/numtraits-dffc0324e65239ed) [INFO] running `Command { std: "docker" "inspect" "cb73ab1994885c913b7f2c52fa0d4f2bc7287a5ee3c7cb3fb0c1ed43ca1ce43a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cb73ab1994885c913b7f2c52fa0d4f2bc7287a5ee3c7cb3fb0c1ed43ca1ce43a", kill_on_drop: false }` [INFO] [stdout] cb73ab1994885c913b7f2c52fa0d4f2bc7287a5ee3c7cb3fb0c1ed43ca1ce43a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/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=warn" "-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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 8dfebaa99f45cd9cc2fa2d5e57a84ea80dc71c632c9c3a8f2ba77f90d565011c [INFO] running `Command { std: "docker" "start" "-a" "8dfebaa99f45cd9cc2fa2d5e57a84ea80dc71c632c9c3a8f2ba77f90d565011c", kill_on_drop: false }` [INFO] [stderr] warning: unused macro definition: `from_to` [INFO] [stderr] --> src/lib.rs:50:14 [INFO] [stderr] | [INFO] [stderr] 50 | macro_rules! from_to { [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_macros)]` on by default [INFO] [stderr] [INFO] [stderr] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stderr] --> src/lib.rs:59:13 [INFO] [stderr] | [INFO] [stderr] 59 | fn from(T) -> Self; [INFO] [stderr] | ^ help: try naming the parameter or explicitly ignoring it: `_: T` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(anonymous_parameters)]` on by default [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stderr] = note: for more information, see issue #41686 [INFO] [stderr] [INFO] [stderr] warning: `numtraits` (lib) generated 2 warnings [INFO] [stderr] warning: function is never used: `doit` [INFO] [stderr] --> src/lib.rs:121:4 [INFO] [stderr] | [INFO] [stderr] 121 | fn doit>() { [INFO] [stderr] | ^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: `numtraits` (lib test) generated 3 warnings (2 duplicates) [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.01s [INFO] [stdout] [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/numtraits-dffc0324e65239ed) [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Doc-tests numtraits [INFO] [stdout] [INFO] [stdout] running 4 tests [INFO] [stdout] test src/lib.rs - (line 4) ... FAILED [INFO] [stdout] test src/lib.rs - (line 43) ... FAILED [INFO] [stdout] test src/lib.rs - (line 32) ... FAILED [INFO] [stdout] test src/lib.rs - (line 18) ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/lib.rs - (line 4) stdout ---- [INFO] [stdout] error: comparison operators cannot be chained [INFO] [stdout] --> src/lib.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 3 | f64 > f32 > u64 > u32 > u16 > u8 [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = help: use `::<...>` instead of `<...>` to specify lifetime, type, or const arguments [INFO] [stdout] = help: or use `(...)` if you meant to specify fn arguments [INFO] [stdout] help: split the comparison into two [INFO] [stdout] | [INFO] [stdout] 3 | f64 > f32 && f32 > u64 > u32 > u16 > u8 [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - (line 43) stdout ---- [INFO] [stdout] error[E0405]: cannot find trait `UpCastAs` in this scope [INFO] [stdout] --> src/lib.rs:44:15 [INFO] [stdout] | [INFO] [stdout] 3 | fn example>() { [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0405`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - (line 32) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `UpCastAs` [INFO] [stdout] --> src/lib.rs:34:16 [INFO] [stdout] | [INFO] [stdout] 4 | let _: T = UpCastAs::from(10u8); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `UpCastAs` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `UpCastAs` [INFO] [stdout] --> src/lib.rs:35:16 [INFO] [stdout] | [INFO] [stdout] 5 | let _: T = UpCastAs::from(10u16); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `UpCastAs` [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `UpCastAs` in this scope [INFO] [stdout] --> src/lib.rs:33:15 [INFO] [stdout] | [INFO] [stdout] 3 | fn example>() { [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0405, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0405`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - (line 18) stdout ---- [INFO] [stdout] error[E0405]: cannot find trait `UpCastAs` in this scope [INFO] [stdout] --> src/lib.rs:19:15 [INFO] [stdout] | [INFO] [stdout] 3 | fn example>() { [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `cast` in this scope [INFO] [stdout] --> src/lib.rs:20:16 [INFO] [stdout] | [INFO] [stdout] 4 | let _: T = cast(10u8); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `cast` in this scope [INFO] [stdout] --> src/lib.rs:21:13 [INFO] [stdout] | [INFO] [stdout] 5 | let _ = cast::(10u8); // Alternate syntax, uglier. [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `cast` in this scope [INFO] [stdout] --> src/lib.rs:22:16 [INFO] [stdout] | [INFO] [stdout] 6 | let _: T = cast(10u16); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `cast` in this scope [INFO] [stdout] --> src/lib.rs:23:16 [INFO] [stdout] | [INFO] [stdout] 7 | let _: T = cast(10u32); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `cast` in this scope [INFO] [stdout] --> src/lib.rs:24:16 [INFO] [stdout] | [INFO] [stdout] 8 | let _: T = cast(10u64); // Error, u64 > u32 [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `cast` in this scope [INFO] [stdout] --> src/lib.rs:25:16 [INFO] [stdout] | [INFO] [stdout] 9 | let _: T = cast(10f32); // Error, f32 > u32 [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `cast` in this scope [INFO] [stdout] --> src/lib.rs:26:16 [INFO] [stdout] | [INFO] [stdout] 10 | let _: T = cast(10f64); // Error, f32 > u32 [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error: aborting due to 8 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0405, E0425. [INFO] [stdout] For more information about an error, try `rustc --explain E0405`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] src/lib.rs - (line 18) [INFO] [stdout] src/lib.rs - (line 32) [INFO] [stdout] src/lib.rs - (line 4) [INFO] [stdout] src/lib.rs - (line 43) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 0 passed; 4 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.10s [INFO] [stdout] [INFO] [stderr] error: test failed, to rerun pass '--doc' [INFO] running `Command { std: "docker" "inspect" "8dfebaa99f45cd9cc2fa2d5e57a84ea80dc71c632c9c3a8f2ba77f90d565011c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8dfebaa99f45cd9cc2fa2d5e57a84ea80dc71c632c9c3a8f2ba77f90d565011c", kill_on_drop: false }` [INFO] [stdout] 8dfebaa99f45cd9cc2fa2d5e57a84ea80dc71c632c9c3a8f2ba77f90d565011c