[INFO] fetching crate xbasic 0.3.2... [INFO] testing xbasic-0.3.2 against try#2440211fe03bc45c89b6dc1a3df18382ce91e32b for pr-146098-1 [INFO] extracting crate xbasic 0.3.2 into /workspace/builds/worker-1-tc2/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-1-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate xbasic 0.3.2 on toolchain 2440211fe03bc45c89b6dc1a3df18382ce91e32b [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "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" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 94b516c2fa7f4320cec00195ca3b3fa0bf9474f09461afd96607cd77213ecf1b [INFO] running `Command { std: "docker" "start" "-a" "94b516c2fa7f4320cec00195ca3b3fa0bf9474f09461afd96607cd77213ecf1b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "94b516c2fa7f4320cec00195ca3b3fa0bf9474f09461afd96607cd77213ecf1b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "94b516c2fa7f4320cec00195ca3b3fa0bf9474f09461afd96607cd77213ecf1b", kill_on_drop: false }` [INFO] [stdout] 94b516c2fa7f4320cec00195ca3b3fa0bf9474f09461afd96607cd77213ecf1b [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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 16eaf267c14565cae05f25ddadaac6e9598d250a9b2f13d3879a7ef9b030f657 [INFO] running `Command { std: "docker" "start" "-a" "16eaf267c14565cae05f25ddadaac6e9598d250a9b2f13d3879a7ef9b030f657", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.79 [INFO] [stderr] Compiling getrandom v0.1.15 [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 proc-macro2 v0.4.30 [INFO] [stderr] Compiling siphasher v0.3.3 [INFO] [stderr] Compiling unicode-xid v0.1.0 [INFO] [stderr] Compiling syn v1.0.44 [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling phf_shared v0.8.0 [INFO] [stderr] Compiling syn v0.15.44 [INFO] [stderr] Compiling num-derive v0.2.5 [INFO] [stderr] Compiling proc-macro-hack v0.5.18 [INFO] [stderr] Compiling num-traits v0.2.12 [INFO] [stderr] Compiling quote v0.6.13 [INFO] [stderr] Compiling quote v1.0.7 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling rand_pcg v0.2.1 [INFO] [stderr] Compiling rand_chacha v0.2.2 [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 3.54s [INFO] running `Command { std: "docker" "inspect" "16eaf267c14565cae05f25ddadaac6e9598d250a9b2f13d3879a7ef9b030f657", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "16eaf267c14565cae05f25ddadaac6e9598d250a9b2f13d3879a7ef9b030f657", kill_on_drop: false }` [INFO] [stdout] 16eaf267c14565cae05f25ddadaac6e9598d250a9b2f13d3879a7ef9b030f657 [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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 104b536b841f532d26d2c94ef99619dcde541b43f89c3274a1a72bb02329ebec [INFO] running `Command { std: "docker" "start" "-a" "104b536b841f532d26d2c94ef99619dcde541b43f89c3274a1a72bb02329ebec", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.79 [INFO] [stderr] Compiling const_fn v0.4.3 [INFO] [stderr] Compiling crossbeam-utils v0.8.0 [INFO] [stderr] Compiling serde v1.0.117 [INFO] [stderr] Compiling memoffset v0.5.6 [INFO] [stderr] Compiling semver-parser v0.7.0 [INFO] [stderr] Compiling byteorder v1.3.4 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Compiling memchr v2.3.4 [INFO] [stderr] Compiling rayon-core v1.9.0 [INFO] [stderr] Compiling scopeguard v1.1.0 [INFO] [stderr] Compiling rustc_version v0.2.3 [INFO] [stderr] Compiling itoa v0.4.6 [INFO] [stderr] Compiling getrandom v0.1.15 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling serde_json v1.0.59 [INFO] [stderr] Compiling cast v0.2.3 [INFO] [stderr] Compiling either v1.6.1 [INFO] [stderr] Compiling rand_core v0.5.1 [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 serde_derive v1.0.117 [INFO] [stderr] Compiling unicode-width v0.1.8 [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 textwrap v0.11.0 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling itertools v0.9.0 [INFO] [stderr] Compiling crossbeam-deque v0.8.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 walkdir v2.3.1 [INFO] [stderr] Compiling clap v2.33.3 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling criterion-plot v0.4.3 [INFO] [stderr] Compiling phf_generator v0.8.0 [INFO] [stderr] Compiling phf_macros v0.8.0 [INFO] [stderr] Compiling regex v1.4.2 [INFO] [stderr] Compiling phf v0.8.0 [INFO] [stderr] Compiling plotters v0.2.15 [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 bstr v0.2.14 [INFO] [stderr] Compiling serde_cbor v0.11.1 [INFO] [stderr] Compiling csv v1.1.4 [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 7.38s [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 1` [INFO] running `Command { std: "docker" "inspect" "104b536b841f532d26d2c94ef99619dcde541b43f89c3274a1a72bb02329ebec", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "104b536b841f532d26d2c94ef99619dcde541b43f89c3274a1a72bb02329ebec", kill_on_drop: false }` [INFO] [stdout] 104b536b841f532d26d2c94ef99619dcde541b43f89c3274a1a72bb02329ebec [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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 041b3f9cb083e06ac6f162ba078d68ece8aa5124dbc6ae705cef8d7f048b763b [INFO] running `Command { std: "docker" "start" "-a" "041b3f9cb083e06ac6f162ba078d68ece8aa5124dbc6ae705cef8d7f048b763b", 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.05s [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 1` [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] [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/arithmetic.rs (/opt/rustwide/target/debug/deps/arithmetic-ff5278f6cde81702) [INFO] [stdout] [INFO] [stdout] running 15 tests [INFO] [stdout] test add ... ok [INFO] [stdout] test add_equal ... ok [INFO] [stdout] test div ... ok [INFO] [stdout] test mod_equal ... ok [INFO] [stdout] test div_equal ... ok [INFO] [stdout] test mul ... ok [INFO] [stdout] test mul2 ... ok [INFO] [stdout] test mul3 ... ok [INFO] [stdout] test mul4 ... ok [INFO] [stdout] test mul_equal ... ok [INFO] [stdout] test modulus ... ok [INFO] [stdout] test sub ... ok [INFO] [stdout] test pow_equal ... ok [INFO] [stdout] test pow ... 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] [stderr] Running tests/bedmas.rs (/opt/rustwide/target/debug/deps/bedmas-60a58020b03acdb3) [INFO] [stdout] [INFO] [stdout] running 2 tests [INFO] [stdout] test order_of_operations_2 ... ok [INFO] [stdout] test order_of_operations_1 ... 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/call_function_from_rust.rs (/opt/rustwide/target/debug/deps/call_function_from_rust-b0d73e5a0ee584d9) [INFO] [stdout] [INFO] [stdout] running 5 tests [INFO] [stdout] test multiple_arguments ... ok [INFO] [stdout] test multiple_calls ... ok [INFO] [stdout] test no_arguments ... ok [INFO] [stdout] test return_value ... ok [INFO] [stdout] test wrong_arity ... 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/common.rs (/opt/rustwide/target/debug/deps/common-7128199f2a311aae) [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_backwards ... ok [INFO] [stdout] test for_loop ... ok [INFO] [stdout] test for_loop_edge_case ... ok [INFO] [stdout] test for_loop_invalid_next ... ok [INFO] [stdout] test if_assignment_edgecase_1 ... ok [INFO] [stdout] test for_loop_same_number ... ok [INFO] [stdout] test if_assignment_edgecase_2 ... ok [INFO] [stdout] test if_assignment_edgecase_3 ... ok [INFO] [stdout] test if_else_false ... ok [INFO] [stdout] test if_elseif_missing_then ... ok [INFO] [stdout] test if_else_true ... ok [INFO] [stdout] test if_missing_endif ... ok [INFO] [stdout] test if_elseif ... ok [INFO] [stdout] test if_no_terminator ... ok [INFO] [stdout] test if_elseif_else ... ok [INFO] [stdout] test if_test_true ... ok [INFO] [stdout] test if_test_false ... ok [INFO] [stdout] test nested_if_in_for_missing_endif ... ok [INFO] [stdout] test nested_if_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.02s [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] [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.00s [INFO] [stdout] [INFO] [stderr] Running tests/errors.rs (/opt/rustwide/target/debug/deps/errors-c156ac57991b3d7f) [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] [stderr] Running tests/functions.rs (/opt/rustwide/target/debug/deps/functions-9a19e4c42256ba72) [INFO] [stdout] [INFO] [stdout] running 20 tests [INFO] [stdout] test function_already_defined ... ok [INFO] [stdout] test function_does_not_exist ... ok [INFO] [stdout] test function_across_multiple_calls ... ok [INFO] [stdout] test function_argument_edge_case ... ok [INFO] [stdout] test function_doesnt_corrupt_stack ... ok [INFO] [stdout] test function_empty ... ok [INFO] [stdout] test function_mismatched_arity ... ok [INFO] [stdout] test function_no_return ... ok [INFO] [stdout] test function_named_same_as_param ... ok [INFO] [stdout] test function_overwrite_across_runs ... ok [INFO] [stdout] test function_parameter ... ok [INFO] [stdout] test function_uncalled ... ok [INFO] [stdout] test function_return ... ok [INFO] [stdout] test return_in_main ... ok [INFO] [stdout] test function_variable_edge_case ... ok [INFO] [stdout] test nested_functions ... ok [INFO] [stdout] test function_variable_same_name ... 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.02s [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_test ... ok [INFO] [stdout] test input_overwrite ... 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 compute_error_line_one ... ok [INFO] [stdout] test above_compute_limit ... ok [INFO] [stdout] test below_compute_limit ... 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_newline ... ok [INFO] [stdout] test escaped_backslash ... ok [INFO] [stdout] test escaped_quote ... 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_2 ... ok [INFO] [stdout] test and_3 ... ok [INFO] [stdout] test or_1 ... ok [INFO] [stdout] test and_4 ... ok [INFO] [stdout] test or_3 ... ok [INFO] [stdout] test or_2 ... ok [INFO] [stdout] test or_4 ... 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] [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] [stderr] Running tests/native_functions.rs (/opt/rustwide/target/debug/deps/native_functions-c1285a2a9acfcca5) [INFO] [stdout] [INFO] [stdout] running 7 tests [INFO] [stdout] test basic_native_function ... ok [INFO] [stdout] test duplicate_native_function ... ok [INFO] [stdout] test basic_native_function_argument_order ... ok [INFO] [stdout] test native_same_name_function_as_user ... ok [INFO] [stdout] test native_doesnt_corrupt_stack ... 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_if ... ok [INFO] [stdout] test readme_printing ... ok [INFO] [stdout] test readme_variables ... ok [INFO] [stdout] test readme_while ... 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] [stderr] Running tests/unary.rs (/opt/rustwide/target/debug/deps/unary-947ba4288cbd53c3) [INFO] [stdout] [INFO] [stdout] running 6 tests [INFO] [stdout] test neg_1 ... ok [INFO] [stdout] test neg_3 ... ok [INFO] [stdout] test neg_2 ... ok [INFO] [stdout] test not_1 ... ok [INFO] [stdout] test not_2 ... ok [INFO] [stdout] test not_3 ... 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 uninitialized_variable ... ok [INFO] [stdout] test variable_persists_runs ... ok [INFO] [stdout] test mutable_variable ... ok [INFO] [stdout] test z_in_identifier ... 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] Doc-tests xbasic [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" "041b3f9cb083e06ac6f162ba078d68ece8aa5124dbc6ae705cef8d7f048b763b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "041b3f9cb083e06ac6f162ba078d68ece8aa5124dbc6ae705cef8d7f048b763b", kill_on_drop: false }` [INFO] [stdout] 041b3f9cb083e06ac6f162ba078d68ece8aa5124dbc6ae705cef8d7f048b763b