[INFO] fetching crate xbasic 0.3.2... [INFO] testing xbasic-0.3.2 against master#c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38 for pr-146098-8 [INFO] extracting crate xbasic 0.3.2 into /workspace/builds/worker-2-tc1/source [INFO] started tweaking crates.io crate xbasic 0.3.2 [INFO] finished tweaking crates.io crate xbasic 0.3.2 [INFO] tweaked toml for crates.io crate xbasic 0.3.2 written to /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate xbasic 0.3.2 on toolchain c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate xbasic 0.3.2 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" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded siphasher v0.3.3 [INFO] [stderr] Downloaded tinytemplate v1.1.0 [INFO] [stderr] Downloaded phf_macros v0.8.0 [INFO] [stderr] Downloaded walkdir v2.3.1 [INFO] [stderr] Downloaded half v1.6.0 [INFO] [stderr] Downloaded cast v0.2.3 [INFO] [stderr] Downloaded criterion-plot v0.4.3 [INFO] [stderr] Downloaded const_fn v0.4.3 [INFO] [stderr] Downloaded oorandom v11.1.2 [INFO] [stderr] Downloaded crossbeam-epoch v0.9.0 [INFO] [stderr] Downloaded crossbeam-channel v0.5.0 [INFO] [stderr] Downloaded regex-automata v0.1.9 [INFO] [stderr] Downloaded criterion v0.3.3 [INFO] [stderr] Downloaded rayon v1.5.0 [INFO] [stderr] Downloaded regex v1.4.2 [INFO] [stderr] Downloaded syn v1.0.44 [INFO] [stderr] Downloaded regex-syntax v0.6.21 [INFO] [stderr] Downloaded rayon-core v1.9.0 [INFO] [stderr] Downloaded crossbeam-utils v0.8.0 [INFO] [stderr] Downloaded serde_cbor v0.11.1 [INFO] [stderr] Downloaded plotters v0.2.15 [INFO] [stderr] Downloaded bstr v0.2.14 [INFO] [stderr] Downloaded csv v1.1.4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 316651e7d979d08c9ed87bcfb247224d85b84b333b652e133f65b802937171cf [INFO] running `Command { std: "docker" "start" "-a" "316651e7d979d08c9ed87bcfb247224d85b84b333b652e133f65b802937171cf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "316651e7d979d08c9ed87bcfb247224d85b84b333b652e133f65b802937171cf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "316651e7d979d08c9ed87bcfb247224d85b84b333b652e133f65b802937171cf", kill_on_drop: false }` [INFO] [stdout] 316651e7d979d08c9ed87bcfb247224d85b84b333b652e133f65b802937171cf [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] be16043b4fdde1f0134c244e213b391fae3ec16e3c64b12652b5444dff0072dc [INFO] running `Command { std: "docker" "start" "-a" "be16043b4fdde1f0134c244e213b391fae3ec16e3c64b12652b5444dff0072dc", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.79 [INFO] [stderr] Compiling getrandom v0.1.15 [INFO] [stderr] Compiling cfg-if v0.1.10 [INFO] [stderr] Compiling proc-macro2 v1.0.24 [INFO] [stderr] Compiling unicode-xid v0.2.1 [INFO] [stderr] Compiling ppv-lite86 v0.2.9 [INFO] [stderr] Compiling siphasher v0.3.3 [INFO] [stderr] Compiling syn v1.0.44 [INFO] [stderr] Compiling num-traits v0.2.12 [INFO] [stderr] Compiling phf_shared v0.8.0 [INFO] [stderr] Compiling proc-macro-hack v0.5.18 [INFO] [stderr] Compiling quote v1.0.7 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling rand_pcg v0.2.1 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling phf_generator v0.8.0 [INFO] [stderr] Compiling phf_macros v0.8.0 [INFO] [stderr] Compiling phf v0.8.0 [INFO] [stderr] Compiling xbasic v0.3.2 (/opt/rustwide/workdir) [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> src/opcodes.rs:3:23 [INFO] [stdout] | [INFO] [stdout] 3 | #[derive(Copy, Clone, FromPrimitive)] [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `FromPrimitive` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `FromPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_derive` [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 derive macro `FromPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `AssignExpr` is never constructed [INFO] [stdout] --> src/expr.rs:65:19 [INFO] [stdout] | [INFO] [stdout] 65 | pub(crate) struct AssignExpr { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `function_type` is never read [INFO] [stdout] --> src/function.rs:16:13 [INFO] [stdout] | [INFO] [stdout] 12 | pub(crate) struct FunctionDefinition { [INFO] [stdout] | ------------------ field in this struct [INFO] [stdout] ... [INFO] [stdout] 16 | pub(crate) function_type: FunctionType, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `FunctionDefinition` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [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/opcodes.rs:3:23 [INFO] [stdout] | [INFO] [stdout] 3 | #[derive(Copy, Clone, FromPrimitive)] [INFO] [stdout] | ^------------ [INFO] [stdout] | | [INFO] [stdout] | `FromPrimitive` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_OpCode` [INFO] [stdout] 4 | pub(crate) enum OpCode { [INFO] [stdout] | ------ `OpCode` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `FromPrimitive` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `FromPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_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 `FromPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 6.34s [INFO] running `Command { std: "docker" "inspect" "be16043b4fdde1f0134c244e213b391fae3ec16e3c64b12652b5444dff0072dc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "be16043b4fdde1f0134c244e213b391fae3ec16e3c64b12652b5444dff0072dc", kill_on_drop: false }` [INFO] [stdout] be16043b4fdde1f0134c244e213b391fae3ec16e3c64b12652b5444dff0072dc [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 06aa8104afb9a98d23a0f43cd62a1dd57b71ef1da13b5d11bfcbb89580f2a0ff [INFO] running `Command { std: "docker" "start" "-a" "06aa8104afb9a98d23a0f43cd62a1dd57b71ef1da13b5d11bfcbb89580f2a0ff", kill_on_drop: false }` [INFO] [stderr] Compiling const_fn v0.4.3 [INFO] [stderr] Compiling crossbeam-utils v0.8.0 [INFO] [stderr] Compiling libc v0.2.79 [INFO] [stderr] Compiling serde v1.0.117 [INFO] [stderr] Compiling memoffset v0.5.6 [INFO] [stderr] Compiling byteorder v1.3.4 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Compiling memchr v2.3.4 [INFO] [stderr] Compiling rayon-core v1.9.0 [INFO] [stderr] Compiling cast v0.2.3 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling itoa v0.4.6 [INFO] [stderr] Compiling serde_json v1.0.59 [INFO] [stderr] Compiling getrandom v0.1.15 [INFO] [stderr] Compiling regex-automata v0.1.9 [INFO] [stderr] Compiling num_cpus v1.13.0 [INFO] [stderr] Compiling rayon v1.5.0 [INFO] [stderr] Compiling unicode-width v0.1.8 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling serde_derive v1.0.117 [INFO] [stderr] Compiling textwrap v0.11.0 [INFO] [stderr] Compiling itertools v0.9.0 [INFO] [stderr] Compiling csv-core v0.1.10 [INFO] [stderr] Compiling half v1.6.0 [INFO] [stderr] Compiling regex-syntax v0.6.21 [INFO] [stderr] Compiling rand_pcg v0.2.1 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling crossbeam-epoch v0.9.0 [INFO] [stderr] Compiling crossbeam-channel v0.5.0 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling walkdir v2.3.1 [INFO] [stderr] Compiling crossbeam-deque v0.8.0 [INFO] [stderr] Compiling clap v2.33.3 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling plotters v0.2.15 [INFO] [stderr] Compiling phf_generator v0.8.0 [INFO] [stderr] Compiling phf_macros v0.8.0 [INFO] [stderr] Compiling bstr v0.2.14 [INFO] [stderr] Compiling phf v0.8.0 [INFO] [stderr] Compiling serde_cbor v0.11.1 [INFO] [stderr] Compiling regex v1.4.2 [INFO] [stderr] Compiling csv v1.1.4 [INFO] [stderr] Compiling criterion-plot v0.4.3 [INFO] [stderr] Compiling oorandom v11.1.2 [INFO] [stderr] Compiling xbasic v0.3.2 (/opt/rustwide/workdir) [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> src/opcodes.rs:3:23 [INFO] [stdout] | [INFO] [stdout] 3 | #[derive(Copy, Clone, FromPrimitive)] [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `FromPrimitive` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `FromPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_derive` [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 derive macro `FromPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `AssignExpr` is never constructed [INFO] [stdout] --> src/expr.rs:65:19 [INFO] [stdout] | [INFO] [stdout] 65 | pub(crate) struct AssignExpr { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `function_type` is never read [INFO] [stdout] --> src/function.rs:16:13 [INFO] [stdout] | [INFO] [stdout] 12 | pub(crate) struct FunctionDefinition { [INFO] [stdout] | ------------------ field in this struct [INFO] [stdout] ... [INFO] [stdout] 16 | pub(crate) function_type: FunctionType, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `FunctionDefinition` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [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/opcodes.rs:3:23 [INFO] [stdout] | [INFO] [stdout] 3 | #[derive(Copy, Clone, FromPrimitive)] [INFO] [stdout] | ^------------ [INFO] [stdout] | | [INFO] [stdout] | `FromPrimitive` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_OpCode` [INFO] [stdout] 4 | pub(crate) enum OpCode { [INFO] [stdout] | ------ `OpCode` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `FromPrimitive` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `FromPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_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 `FromPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling tinytemplate v1.1.0 [INFO] [stderr] Compiling criterion v0.3.3 [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> src/opcodes.rs:3:23 [INFO] [stdout] | [INFO] [stdout] 3 | #[derive(Copy, Clone, FromPrimitive)] [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `FromPrimitive` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `FromPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_derive` [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 derive macro `FromPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `AssignExpr` is never constructed [INFO] [stdout] --> src/expr.rs:65:19 [INFO] [stdout] | [INFO] [stdout] 65 | pub(crate) struct AssignExpr { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `function_type` is never read [INFO] [stdout] --> src/function.rs:16:13 [INFO] [stdout] | [INFO] [stdout] 12 | pub(crate) struct FunctionDefinition { [INFO] [stdout] | ------------------ field in this struct [INFO] [stdout] ... [INFO] [stdout] 16 | pub(crate) function_type: FunctionType, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `FunctionDefinition` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [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/opcodes.rs:3:23 [INFO] [stdout] | [INFO] [stdout] 3 | #[derive(Copy, Clone, FromPrimitive)] [INFO] [stdout] | ^------------ [INFO] [stdout] | | [INFO] [stdout] | `FromPrimitive` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_OpCode` [INFO] [stdout] 4 | pub(crate) enum OpCode { [INFO] [stdout] | ------ `OpCode` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `FromPrimitive` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `FromPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_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 `FromPrimitive` (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 15.50s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: criterion v0.3.3 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 5` [INFO] running `Command { std: "docker" "inspect" "06aa8104afb9a98d23a0f43cd62a1dd57b71ef1da13b5d11bfcbb89580f2a0ff", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "06aa8104afb9a98d23a0f43cd62a1dd57b71ef1da13b5d11bfcbb89580f2a0ff", kill_on_drop: false }` [INFO] [stdout] 06aa8104afb9a98d23a0f43cd62a1dd57b71ef1da13b5d11bfcbb89580f2a0ff [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 092b4dde164f5d0486209e591b07c053ac1c700e62cc9fd53471a2e3475ba284 [INFO] running `Command { std: "docker" "start" "-a" "092b4dde164f5d0486209e591b07c053ac1c700e62cc9fd53471a2e3475ba284", kill_on_drop: false }` [INFO] [stderr] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stderr] --> src/opcodes.rs:3:23 [INFO] [stderr] | [INFO] [stderr] 3 | #[derive(Copy, Clone, FromPrimitive)] [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: no expected values for `feature` [INFO] [stderr] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stderr] = help: try referring to `FromPrimitive` crate for guidance on how handle this unexpected cfg [INFO] [stderr] = help: the derive macro `FromPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_derive` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stderr] = note: this warning originates in the derive macro `FromPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: struct `AssignExpr` is never constructed [INFO] [stderr] --> src/expr.rs:65:19 [INFO] [stderr] | [INFO] [stderr] 65 | pub(crate) struct AssignExpr { [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: field `function_type` is never read [INFO] [stderr] --> src/function.rs:16:13 [INFO] [stderr] | [INFO] [stderr] 12 | pub(crate) struct FunctionDefinition { [INFO] [stderr] | ------------------ field in this struct [INFO] [stderr] ... [INFO] [stderr] 16 | pub(crate) function_type: FunctionType, [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `FunctionDefinition` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> src/opcodes.rs:3:23 [INFO] [stderr] | [INFO] [stderr] 3 | #[derive(Copy, Clone, FromPrimitive)] [INFO] [stderr] | ^------------ [INFO] [stderr] | | [INFO] [stderr] | `FromPrimitive` is not local [INFO] [stderr] | move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_OpCode` [INFO] [stderr] 4 | pub(crate) enum OpCode { [INFO] [stderr] | ------ `OpCode` is not local [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `FromPrimitive` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = note: the derive macro `FromPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_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 `FromPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: `xbasic` (lib) generated 4 warnings [INFO] [stderr] warning: `xbasic` (lib test) generated 4 warnings (4 duplicates) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.09s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: criterion v0.3.3 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 5` [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/xbasic-f2b04074e5a87b31) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Running unittests src/bin/main.rs (/opt/rustwide/target/debug/deps/xbasic_bin-bad21418ce908498) [INFO] [stderr] Running tests/arithmetic.rs (/opt/rustwide/target/debug/deps/arithmetic-ff5278f6cde81702) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 15 tests [INFO] [stdout] test add ... ok [INFO] [stdout] test add_equal ... ok [INFO] [stdout] test mod_equal ... ok [INFO] [stdout] test div_equal ... ok [INFO] [stdout] test div ... ok [INFO] [stdout] test mul2 ... ok [INFO] [stdout] test modulus ... ok [INFO] [stdout] test mul_equal ... ok [INFO] [stdout] test mul ... ok [INFO] [stdout] test mul3 ... ok [INFO] [stdout] test mul4 ... ok [INFO] [stdout] test pow ... ok [INFO] [stdout] test sub ... ok [INFO] [stderr] Running tests/bedmas.rs (/opt/rustwide/target/debug/deps/bedmas-60a58020b03acdb3) [INFO] [stdout] test pow_equal ... ok [INFO] [stdout] test sub_equal ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 15 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 2 tests [INFO] [stdout] test order_of_operations_1 ... ok [INFO] [stdout] test order_of_operations_2 ... ok [INFO] [stdout] [INFO] [stderr] Running tests/call_function_from_rust.rs (/opt/rustwide/target/debug/deps/call_function_from_rust-b0d73e5a0ee584d9) [INFO] [stdout] test result: ok. 2 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 5 tests [INFO] [stdout] test multiple_arguments ... ok [INFO] [stdout] test no_arguments ... ok [INFO] [stdout] test multiple_calls ... ok [INFO] [stdout] test wrong_arity ... ok [INFO] [stderr] Running tests/common.rs (/opt/rustwide/target/debug/deps/common-7128199f2a311aae) [INFO] [stdout] test return_value ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 5 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Running tests/control.rs (/opt/rustwide/target/debug/deps/control-b58c824d9c841fe8) [INFO] [stdout] [INFO] [stdout] running 21 tests [INFO] [stdout] test for_loop ... ok [INFO] [stdout] test for_loop_edge_case ... ok [INFO] [stdout] test for_loop_same_number ... ok [INFO] [stdout] test if_assignment_edgecase_2 ... ok [INFO] [stdout] test for_loop_backwards ... ok [INFO] [stdout] test if_assignment_edgecase_1 ... ok [INFO] [stdout] test if_assignment_edgecase_3 ... ok [INFO] [stdout] test if_else_false ... ok [INFO] [stdout] test if_else_true ... ok [INFO] [stdout] test for_loop_invalid_next ... ok [INFO] [stdout] test if_missing_endif ... ok [INFO] [stdout] test if_no_terminator ... ok [INFO] [stdout] test if_test_false ... ok [INFO] [stdout] test if_elseif ... ok [INFO] [stdout] test if_elseif_missing_then ... ok [INFO] [stdout] test if_elseif_else ... ok [INFO] [stdout] test if_test_true ... ok [INFO] [stdout] test nested_if_missing_endif ... ok [INFO] [stdout] test nested_if_in_for_missing_endif ... ok [INFO] [stdout] test while_loop ... ok [INFO] [stdout] test nested_for_loop ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 21 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.07s [INFO] [stdout] [INFO] [stderr] Running tests/equality.rs (/opt/rustwide/target/debug/deps/equality-18afc2656192e654) [INFO] [stdout] [INFO] [stdout] running 5 tests [INFO] [stdout] test greater ... ok [INFO] [stdout] test greater_eq ... ok [INFO] [stdout] test equal ... ok [INFO] [stdout] test less_eq ... ok [INFO] [stderr] Running tests/errors.rs (/opt/rustwide/target/debug/deps/errors-c156ac57991b3d7f) [INFO] [stdout] test less ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 5 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.01s [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 1 test [INFO] [stdout] test runtime_line_count ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 20 tests [INFO] [stdout] test function_across_multiple_calls ... ok [INFO] [stdout] test function_does_not_exist ... ok [INFO] [stdout] test function_already_defined ... ok [INFO] [stdout] test function_doesnt_corrupt_stack ... ok [INFO] [stdout] test function_empty ... ok [INFO] [stdout] test function_overwrite_across_runs ... ok [INFO] [stdout] test function_mismatched_arity ... ok [INFO] [stdout] test function_uncalled ... ok [INFO] [stdout] test function_return ... ok [INFO] [stdout] test function_variable_edge_case ... ok [INFO] [stdout] test function_parameter ... ok [INFO] [stdout] test function_argument_edge_case ... ok [INFO] [stdout] test function_variable_same_name ... ok [INFO] [stdout] test nested_functions ... ok [INFO] [stdout] test function_named_same_as_param ... ok [INFO] [stderr] Running tests/functions.rs (/opt/rustwide/target/debug/deps/functions-9a19e4c42256ba72) [INFO] [stdout] test function_no_return ... ok [INFO] [stdout] test return_in_main ... ok [INFO] [stdout] test stack_cool_after_function ... ok [INFO] [stdout] test recursion_stack_overflow ... ok [INFO] [stdout] test recursion_ok ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 20 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.06s [INFO] [stdout] [INFO] [stderr] Running tests/input.rs (/opt/rustwide/target/debug/deps/input-008d11839800dbf2) [INFO] [stdout] [INFO] [stdout] running 2 tests [INFO] [stdout] test input_overwrite ... ok [INFO] [stdout] test input_test ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 2 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Running tests/limits.rs (/opt/rustwide/target/debug/deps/limits-e45830f38b443664) [INFO] [stdout] [INFO] [stdout] running 3 tests [INFO] [stdout] test below_compute_limit ... ok [INFO] [stdout] test above_compute_limit ... ok [INFO] [stdout] test compute_error_line_one ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 3 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Running tests/literals.rs (/opt/rustwide/target/debug/deps/literals-0efd8ab7cab4f89b) [INFO] [stdout] [INFO] [stdout] running 5 tests [INFO] [stdout] test basic_literal ... ok [INFO] [stdout] test escaped_backslash ... ok [INFO] [stdout] test escaped_quote ... ok [INFO] [stdout] test escaped_newline ... ok [INFO] [stdout] test unescaped_backslash ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 5 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Running tests/logical.rs (/opt/rustwide/target/debug/deps/logical-955899d5f9cd4576) [INFO] [stdout] [INFO] [stdout] running 8 tests [INFO] [stdout] test and_1 ... ok [INFO] [stdout] test and_3 ... ok [INFO] [stdout] test or_1 ... ok [INFO] [stdout] test and_4 ... ok [INFO] [stdout] test and_2 ... ok [INFO] [stdout] test or_2 ... ok [INFO] [stdout] test or_4 ... ok [INFO] [stdout] test or_3 ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 8 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Running tests/misc.rs (/opt/rustwide/target/debug/deps/misc-af19be5c04368c20) [INFO] [stdout] [INFO] [stdout] running 4 tests [INFO] [stdout] test empty_program ... ok [INFO] [stdout] test comment_on_own_line ... ok [INFO] [stdout] test infix_newlines ... ok [INFO] [stderr] Running tests/native_functions.rs (/opt/rustwide/target/debug/deps/native_functions-c1285a2a9acfcca5) [INFO] [stdout] test prefix_newlines ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 4 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 7 tests [INFO] [stdout] test native_same_name_function_as_user ... ok [INFO] [stdout] test basic_native_function_argument_order ... ok [INFO] [stdout] test basic_native_function ... ok [INFO] [stdout] test native_doesnt_corrupt_stack ... ok [INFO] [stdout] test duplicate_native_function ... ok [INFO] [stdout] test sum_args ... ok [INFO] [stdout] test wrong_arity ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 7 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Running tests/readme.rs (/opt/rustwide/target/debug/deps/readme-1d7bd97fb8a274bf) [INFO] [stdout] [INFO] [stdout] running 7 tests [INFO] [stdout] test readme_for ... ok [INFO] [stdout] test readme_comparisons ... ok [INFO] [stdout] test readme_function ... ok [INFO] [stdout] test readme_printing ... ok [INFO] [stdout] test readme_variables ... ok [INFO] [stdout] test readme_while ... ok [INFO] [stdout] test readme_if ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 7 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Running tests/std.rs (/opt/rustwide/target/debug/deps/std-b43317ca9df6eee2) [INFO] [stdout] [INFO] [stdout] running 1 test [INFO] [stdout] test std_typeof ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Running tests/unary.rs (/opt/rustwide/target/debug/deps/unary-947ba4288cbd53c3) [INFO] [stdout] running 6 tests [INFO] [stdout] test neg_2 ... ok [INFO] [stdout] test neg_1 ... ok [INFO] [stdout] test neg_3 ... ok [INFO] [stdout] test not_3 ... ok [INFO] [stdout] test not_2 ... ok [INFO] [stdout] test not_1 ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 6 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Running tests/variables.rs (/opt/rustwide/target/debug/deps/variables-3adf98fe101655c0) [INFO] [stdout] [INFO] [stdout] running 5 tests [INFO] [stdout] test initialized_variable ... ok [INFO] [stdout] test mutable_variable ... ok [INFO] [stdout] test uninitialized_variable ... ok [INFO] [stdout] test z_in_identifier ... ok [INFO] [stderr] Doc-tests xbasic [INFO] [stdout] test variable_persists_runs ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 5 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "092b4dde164f5d0486209e591b07c053ac1c700e62cc9fd53471a2e3475ba284", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "092b4dde164f5d0486209e591b07c053ac1c700e62cc9fd53471a2e3475ba284", kill_on_drop: false }` [INFO] [stdout] 092b4dde164f5d0486209e591b07c053ac1c700e62cc9fd53471a2e3475ba284