[INFO] fetching crate dgen 0.1.1... [INFO] testing dgen-0.1.1 against try#8de4c7234dd9b97c9d76b58671343fdbbc9a433e+target=x86_64-unknown-linux-musl for musl_upgrade_1_2_5_with_libc_patch_0 [INFO] extracting crate dgen 0.1.1 into /workspace/builds/worker-5-tc1/source [INFO] started tweaking crates.io crate dgen 0.1.1 [INFO] finished tweaking crates.io crate dgen 0.1.1 [INFO] tweaked toml for crates.io crate dgen 0.1.1 written to /workspace/builds/worker-5-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate dgen 0.1.1 on toolchain 8de4c7234dd9b97c9d76b58671343fdbbc9a433e [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "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" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 123 packages to latest compatible versions [INFO] [stderr] Adding env_logger v0.5.13 (available: v0.11.8) [INFO] [stderr] Adding itertools v0.7.11 (available: v0.14.0) [INFO] [stderr] Adding lalrpop v0.16.3 (available: v0.22.2) [INFO] [stderr] Adding lalrpop-util v0.16.3 (available: v0.22.2) [INFO] [stderr] Adding rand v0.5.6 (available: v0.9.1) [INFO] [stderr] Adding string_cache v0.7.5 (available: v0.8.9) [INFO] [stderr] Adding structopt v0.2.18 (available: v0.3.26) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded ascii-canvas v1.0.0 [INFO] [stderr] Downloaded ena v0.11.0 [INFO] [stderr] Downloaded lalrpop-util v0.16.3 [INFO] [stderr] Downloaded docopt v1.1.1 [INFO] [stderr] Downloaded ordermap v0.3.5 [INFO] [stderr] Downloaded lalrpop v0.16.3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] f9d272f64db60deefcf92cdfcd74cc48e1e76a36a8481c1621fc633c1aad9771 [INFO] running `Command { std: "docker" "start" "-a" "f9d272f64db60deefcf92cdfcd74cc48e1e76a36a8481c1621fc633c1aad9771", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f9d272f64db60deefcf92cdfcd74cc48e1e76a36a8481c1621fc633c1aad9771", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f9d272f64db60deefcf92cdfcd74cc48e1e76a36a8481c1621fc633c1aad9771", kill_on_drop: false }` [INFO] [stdout] f9d272f64db60deefcf92cdfcd74cc48e1e76a36a8481c1621fc633c1aad9771 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "build" "--frozen" "--message-format=json" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] 6d6dcb507eb5662fcd6128e6d5b696b7c1ff625834f082b7dae7a625894f7c73 [INFO] running `Command { std: "docker" "start" "-a" "6d6dcb507eb5662fcd6128e6d5b696b7c1ff625834f082b7dae7a625894f7c73", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Compiling rand_core v0.4.2 [INFO] [stderr] Compiling siphasher v0.2.3 [INFO] [stderr] Compiling autocfg v0.1.8 [INFO] [stderr] Compiling string_cache_shared v0.3.0 [INFO] [stderr] Compiling typenum v1.18.0 [INFO] [stderr] Compiling unicode-xid v0.1.0 [INFO] [stderr] Compiling memchr v2.7.5 [INFO] [stderr] Compiling syn v2.0.104 [INFO] [stderr] Compiling rand_pcg v0.1.2 [INFO] [stderr] Compiling rand_chacha v0.1.1 [INFO] [stderr] Compiling rand v0.6.5 [INFO] [stderr] Compiling phf_shared v0.7.24 [INFO] [stderr] Compiling rand_core v0.3.1 [INFO] [stderr] Compiling rand_jitter v0.1.4 [INFO] [stderr] Compiling rand_os v0.1.3 [INFO] [stderr] Compiling rand_isaac v0.1.1 [INFO] [stderr] Compiling rand_xorshift v0.1.1 [INFO] [stderr] Compiling rand_hc v0.1.0 [INFO] [stderr] Compiling byte-tools v0.3.1 [INFO] [stderr] Compiling proc-macro2 v0.4.30 [INFO] [stderr] Compiling generic-array v0.12.4 [INFO] [stderr] Compiling encoding_index_tests v0.1.4 [INFO] [stderr] Compiling block-padding v0.1.5 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling bit-vec v0.6.3 [INFO] [stderr] Compiling block-buffer v0.7.3 [INFO] [stderr] Compiling digest v0.8.1 [INFO] [stderr] Compiling opaque-debug v0.2.3 [INFO] [stderr] Compiling object v0.36.7 [INFO] [stderr] Compiling syn v0.15.44 [INFO] [stderr] Compiling new_debug_unreachable v1.0.6 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Compiling either v1.15.0 [INFO] [stderr] Compiling precomputed-hash v0.1.1 [INFO] [stderr] Compiling fake-simd v0.1.2 [INFO] [stderr] Compiling term v0.4.6 [INFO] [stderr] Compiling ordermap v0.3.5 [INFO] [stderr] Compiling fixedbitset v0.1.9 [INFO] [stderr] Compiling quote v0.6.13 [INFO] [stderr] Compiling sha2 v0.8.2 [INFO] [stderr] Compiling phf_generator v0.7.24 [INFO] [stderr] Compiling ascii-canvas v1.0.0 [INFO] [stderr] Compiling petgraph v0.4.13 [INFO] [stderr] Compiling string_cache_codegen v0.4.4 [INFO] [stderr] Compiling ena v0.11.0 [INFO] [stderr] Compiling itertools v0.8.2 [INFO] [stderr] Compiling bit-set v0.5.3 [INFO] [stderr] Compiling gimli v0.31.1 [INFO] [stderr] Compiling string_cache v0.7.5 [INFO] [stderr] Compiling regex-automata v0.4.9 [INFO] [stderr] Compiling unicode-xid v0.2.6 [INFO] [stderr] Compiling unicode-segmentation v1.12.0 [INFO] [stderr] Compiling failure_derive v0.1.8 [INFO] [stderr] Compiling regex-syntax v0.6.29 [INFO] [stderr] Compiling diff v0.1.13 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling lalrpop-util v0.16.3 [INFO] [stderr] Compiling heck v0.3.3 [INFO] [stderr] Compiling synstructure v0.12.6 [INFO] [stderr] Compiling regex v1.11.1 [INFO] [stderr] Compiling addr2line v0.24.2 [INFO] [stderr] Compiling miniz_oxide v0.8.9 [INFO] [stderr] Compiling ansi_term v0.12.1 [INFO] [stderr] Compiling rustc-demangle v0.1.25 [INFO] [stderr] Compiling quick-error v1.2.3 [INFO] [stderr] Compiling clap v2.34.0 [INFO] [stderr] Compiling humantime v1.3.0 [INFO] [stderr] Compiling encoding-index-japanese v1.20141219.5 [INFO] [stderr] Compiling encoding-index-korean v1.20141219.5 [INFO] [stderr] Compiling encoding-index-singlebyte v1.20141219.5 [INFO] [stderr] Compiling encoding-index-tradchinese v1.20141219.5 [INFO] [stderr] Compiling encoding-index-simpchinese v1.20141219.5 [INFO] [stderr] Compiling termcolor v1.4.1 [INFO] [stderr] Compiling encoding v0.2.33 [INFO] [stderr] Compiling itertools v0.7.11 [INFO] [stderr] Compiling env_logger v0.5.13 [INFO] [stderr] Compiling structopt-derive v0.2.18 [INFO] [stderr] Compiling rand v0.5.6 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling backtrace v0.3.75 [INFO] [stderr] Compiling structopt v0.2.18 [INFO] [stderr] Compiling failure v0.1.8 [INFO] [stderr] Compiling docopt v1.1.1 [INFO] [stderr] Compiling lalrpop v0.16.3 [INFO] [stderr] Compiling dgen v0.1.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:56:25 [INFO] [stdout] | [INFO] [stdout] 56 | pub type DynFun = Rc>; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 56 | pub type DynFun = Rc>; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/prototype.rs:88:44 [INFO] [stdout] | [INFO] [stdout] 88 | pub type BuiltinFunctionCreator = &'static Fn(Arguments) -> CreateFunctionResult; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 88 | pub type BuiltinFunctionCreator = &'static dyn Fn(Arguments) -> CreateFunctionResult; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/writer/mod.rs:7:23 [INFO] [stdout] | [INFO] [stdout] 7 | delegate: &'a mut Write, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 7 | delegate: &'a mut dyn Write, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/writer/mod.rs:26:34 [INFO] [stdout] | [INFO] [stdout] 26 | pub fn new(delegate: &'a mut Write) -> TrackingWriter<'a> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 26 | pub fn new(delegate: &'a mut dyn Write) -> TrackingWriter<'a> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/writer/mod.rs:43:32 [INFO] [stdout] | [INFO] [stdout] 43 | pub fn new(writer: &'a mut Write) -> DataGenOutput<'a> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 43 | pub fn new(writer: &'a mut dyn Write) -> DataGenOutput<'a> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `SourceRef` is never constructed [INFO] [stdout] --> src/prototype.rs:10:12 [INFO] [stdout] | [INFO] [stdout] 10 | pub struct SourceRef { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `SourceRef` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get_name` is never used [INFO] [stdout] --> src/prototype.rs:19:8 [INFO] [stdout] | [INFO] [stdout] 18 | pub trait FunProto { [INFO] [stdout] | -------- method in this trait [INFO] [stdout] 19 | fn get_name(&self) -> &str; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ArgumentTypes` is never constructed [INFO] [stdout] --> src/prototype.rs:132:12 [INFO] [stdout] | [INFO] [stdout] 132 | pub struct ArgumentTypes { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ArgumentTypes` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/interpreter/errors.rs:27:25 [INFO] [stdout] | [INFO] [stdout] 27 | pub fn new(source: &'a str, location_offset: usize) -> SourceErrRegion { [INFO] [stdout] | ^^ --------------- the lifetime gets resolved as `'a` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: one option is to consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 27 | pub fn new(source: &'a str, location_offset: usize) -> SourceErrRegion<'a> { [INFO] [stdout] | ++++ [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/interpreter/parser.rs:9:10 [INFO] [stdout] | [INFO] [stdout] 9 | #[derive(Fail, Debug)] [INFO] [stdout] | ^--- [INFO] [stdout] | | [INFO] [stdout] | `Fail` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_failure_Fail_FOR_DgenParseError` [INFO] [stdout] 10 | pub struct DgenParseError { [INFO] [stdout] | -------------- `DgenParseError` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Fail` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Fail` may come from an old version of the `failure_derive` crate, try updating your dependency with `cargo update -p failure_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 `Fail` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `failure::Error::cause`: please use 'as_fail()' method instead [INFO] [stdout] --> src/main.rs:34:46 [INFO] [stdout] | [INFO] [stdout] 34 | eprintln!("cause: {}", e.cause()); [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 19s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: lalrpop v0.16.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" "6d6dcb507eb5662fcd6128e6d5b696b7c1ff625834f082b7dae7a625894f7c73", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6d6dcb507eb5662fcd6128e6d5b696b7c1ff625834f082b7dae7a625894f7c73", kill_on_drop: false }` [INFO] [stdout] 6d6dcb507eb5662fcd6128e6d5b696b7c1ff625834f082b7dae7a625894f7c73 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "test" "--frozen" "--no-run" "--message-format=json" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] 1fcdb8923432060a431b969acd10b3a1da78ec66376289d3a4407ffdf4a796ed [INFO] running `Command { std: "docker" "start" "-a" "1fcdb8923432060a431b969acd10b3a1da78ec66376289d3a4407ffdf4a796ed", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Compiling dgen v0.1.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:56:25 [INFO] [stdout] | [INFO] [stdout] 56 | pub type DynFun = Rc>; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 56 | pub type DynFun = Rc>; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/prototype.rs:88:44 [INFO] [stdout] | [INFO] [stdout] 88 | pub type BuiltinFunctionCreator = &'static Fn(Arguments) -> CreateFunctionResult; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 88 | pub type BuiltinFunctionCreator = &'static dyn Fn(Arguments) -> CreateFunctionResult; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/writer/mod.rs:7:23 [INFO] [stdout] | [INFO] [stdout] 7 | delegate: &'a mut Write, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 7 | delegate: &'a mut dyn Write, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/writer/mod.rs:26:34 [INFO] [stdout] | [INFO] [stdout] 26 | pub fn new(delegate: &'a mut Write) -> TrackingWriter<'a> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 26 | pub fn new(delegate: &'a mut dyn Write) -> TrackingWriter<'a> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/writer/mod.rs:43:32 [INFO] [stdout] | [INFO] [stdout] 43 | pub fn new(writer: &'a mut Write) -> DataGenOutput<'a> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 43 | pub fn new(writer: &'a mut dyn Write) -> DataGenOutput<'a> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `SourceRef` is never constructed [INFO] [stdout] --> src/prototype.rs:10:12 [INFO] [stdout] | [INFO] [stdout] 10 | pub struct SourceRef { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `SourceRef` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get_name` is never used [INFO] [stdout] --> src/prototype.rs:19:8 [INFO] [stdout] | [INFO] [stdout] 18 | pub trait FunProto { [INFO] [stdout] | -------- method in this trait [INFO] [stdout] 19 | fn get_name(&self) -> &str; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ArgumentTypes` is never constructed [INFO] [stdout] --> src/prototype.rs:132:12 [INFO] [stdout] | [INFO] [stdout] 132 | pub struct ArgumentTypes { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ArgumentTypes` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/interpreter/errors.rs:27:25 [INFO] [stdout] | [INFO] [stdout] 27 | pub fn new(source: &'a str, location_offset: usize) -> SourceErrRegion { [INFO] [stdout] | ^^ --------------- the lifetime gets resolved as `'a` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: one option is to consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 27 | pub fn new(source: &'a str, location_offset: usize) -> SourceErrRegion<'a> { [INFO] [stdout] | ++++ [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/interpreter/parser.rs:9:10 [INFO] [stdout] | [INFO] [stdout] 9 | #[derive(Fail, Debug)] [INFO] [stdout] | ^--- [INFO] [stdout] | | [INFO] [stdout] | `Fail` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_failure_Fail_FOR_DgenParseError` [INFO] [stdout] 10 | pub struct DgenParseError { [INFO] [stdout] | -------------- `DgenParseError` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Fail` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Fail` may come from an old version of the `failure_derive` crate, try updating your dependency with `cargo update -p failure_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 `Fail` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `failure::Error::cause`: please use 'as_fail()' method instead [INFO] [stdout] --> src/main.rs:34:46 [INFO] [stdout] | [INFO] [stdout] 34 | eprintln!("cause: {}", e.cause()); [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:56:25 [INFO] [stdout] | [INFO] [stdout] 56 | pub type DynFun = Rc>; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 56 | pub type DynFun = Rc>; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/prototype.rs:88:44 [INFO] [stdout] | [INFO] [stdout] 88 | pub type BuiltinFunctionCreator = &'static Fn(Arguments) -> CreateFunctionResult; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 88 | pub type BuiltinFunctionCreator = &'static dyn Fn(Arguments) -> CreateFunctionResult; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/writer/mod.rs:7:23 [INFO] [stdout] | [INFO] [stdout] 7 | delegate: &'a mut Write, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 7 | delegate: &'a mut dyn Write, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/writer/mod.rs:26:34 [INFO] [stdout] | [INFO] [stdout] 26 | pub fn new(delegate: &'a mut Write) -> TrackingWriter<'a> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 26 | pub fn new(delegate: &'a mut dyn Write) -> TrackingWriter<'a> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/writer/mod.rs:43:32 [INFO] [stdout] | [INFO] [stdout] 43 | pub fn new(writer: &'a mut Write) -> DataGenOutput<'a> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 43 | pub fn new(writer: &'a mut dyn Write) -> DataGenOutput<'a> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `SourceRef` is never constructed [INFO] [stdout] --> src/prototype.rs:10:12 [INFO] [stdout] | [INFO] [stdout] 10 | pub struct SourceRef { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `SourceRef` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get_name` is never used [INFO] [stdout] --> src/prototype.rs:19:8 [INFO] [stdout] | [INFO] [stdout] 18 | pub trait FunProto { [INFO] [stdout] | -------- method in this trait [INFO] [stdout] 19 | fn get_name(&self) -> &str; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ArgumentTypes` is never constructed [INFO] [stdout] --> src/prototype.rs:132:12 [INFO] [stdout] | [INFO] [stdout] 132 | pub struct ArgumentTypes { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ArgumentTypes` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/interpreter/errors.rs:27:25 [INFO] [stdout] | [INFO] [stdout] 27 | pub fn new(source: &'a str, location_offset: usize) -> SourceErrRegion { [INFO] [stdout] | ^^ --------------- the lifetime gets resolved as `'a` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: one option is to consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 27 | pub fn new(source: &'a str, location_offset: usize) -> SourceErrRegion<'a> { [INFO] [stdout] | ++++ [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/interpreter/parser.rs:9:10 [INFO] [stdout] | [INFO] [stdout] 9 | #[derive(Fail, Debug)] [INFO] [stdout] | ^--- [INFO] [stdout] | | [INFO] [stdout] | `Fail` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_failure_Fail_FOR_DgenParseError` [INFO] [stdout] 10 | pub struct DgenParseError { [INFO] [stdout] | -------------- `DgenParseError` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Fail` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Fail` may come from an old version of the `failure_derive` crate, try updating your dependency with `cargo update -p failure_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 `Fail` (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 5.74s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: lalrpop v0.16.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" "1fcdb8923432060a431b969acd10b3a1da78ec66376289d3a4407ffdf4a796ed", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1fcdb8923432060a431b969acd10b3a1da78ec66376289d3a4407ffdf4a796ed", kill_on_drop: false }` [INFO] [stdout] 1fcdb8923432060a431b969acd10b3a1da78ec66376289d3a4407ffdf4a796ed [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "test" "--frozen" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] b38c48c649c13fe262d56d54fb7bdd97d064db10405b266b3e5e567a1278200f [INFO] running `Command { std: "docker" "start" "-a" "b38c48c649c13fe262d56d54fb7bdd97d064db10405b266b3e5e567a1278200f", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/lib.rs:56:25 [INFO] [stderr] | [INFO] [stderr] 56 | pub type DynFun = Rc>; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stderr] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stderr] | [INFO] [stderr] 56 | pub type DynFun = Rc>; [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/prototype.rs:88:44 [INFO] [stderr] | [INFO] [stderr] 88 | pub type BuiltinFunctionCreator = &'static Fn(Arguments) -> CreateFunctionResult; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stderr] | [INFO] [stderr] 88 | pub type BuiltinFunctionCreator = &'static dyn Fn(Arguments) -> CreateFunctionResult; [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/writer/mod.rs:7:23 [INFO] [stderr] | [INFO] [stderr] 7 | delegate: &'a mut Write, [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stderr] | [INFO] [stderr] 7 | delegate: &'a mut dyn Write, [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/writer/mod.rs:26:34 [INFO] [stderr] | [INFO] [stderr] 26 | pub fn new(delegate: &'a mut Write) -> TrackingWriter<'a> { [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stderr] | [INFO] [stderr] 26 | pub fn new(delegate: &'a mut dyn Write) -> TrackingWriter<'a> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/writer/mod.rs:43:32 [INFO] [stderr] | [INFO] [stderr] 43 | pub fn new(writer: &'a mut Write) -> DataGenOutput<'a> { [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stderr] | [INFO] [stderr] 43 | pub fn new(writer: &'a mut dyn Write) -> DataGenOutput<'a> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: struct `SourceRef` is never constructed [INFO] [stderr] --> src/prototype.rs:10:12 [INFO] [stderr] | [INFO] [stderr] 10 | pub struct SourceRef { [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `SourceRef` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: method `get_name` is never used [INFO] [stderr] --> src/prototype.rs:19:8 [INFO] [stderr] | [INFO] [stderr] 18 | pub trait FunProto { [INFO] [stderr] | -------- method in this trait [INFO] [stderr] 19 | fn get_name(&self) -> &str; [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: struct `ArgumentTypes` is never constructed [INFO] [stderr] --> src/prototype.rs:132:12 [INFO] [stderr] | [INFO] [stderr] 132 | pub struct ArgumentTypes { [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `ArgumentTypes` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stderr] --> src/interpreter/errors.rs:27:25 [INFO] [stderr] | [INFO] [stderr] 27 | pub fn new(source: &'a str, location_offset: usize) -> SourceErrRegion { [INFO] [stderr] | ^^ --------------- the lifetime gets resolved as `'a` [INFO] [stderr] | | [INFO] [stderr] | this lifetime flows to the output [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stderr] help: one option is to consistently use `'a` [INFO] [stderr] | [INFO] [stderr] 27 | pub fn new(source: &'a str, location_offset: usize) -> SourceErrRegion<'a> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> src/interpreter/parser.rs:9:10 [INFO] [stderr] | [INFO] [stderr] 9 | #[derive(Fail, Debug)] [INFO] [stderr] | ^--- [INFO] [stderr] | | [INFO] [stderr] | `Fail` is not local [INFO] [stderr] | move the `impl` block outside of this constant `_DERIVE_failure_Fail_FOR_DgenParseError` [INFO] [stderr] 10 | pub struct DgenParseError { [INFO] [stderr] | -------------- `DgenParseError` is not local [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `Fail` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = note: the derive macro `Fail` may come from an old version of the `failure_derive` crate, try updating your dependency with `cargo update -p failure_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 `Fail` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: `dgen` (lib) generated 10 warnings (run `cargo fix --lib -p dgen` to apply 6 suggestions) [INFO] [stderr] warning: `dgen` (lib test) generated 10 warnings (10 duplicates) [INFO] [stderr] warning: use of deprecated method `failure::Error::cause`: please use 'as_fail()' method instead [INFO] [stderr] --> src/main.rs:34:46 [INFO] [stderr] | [INFO] [stderr] 34 | eprintln!("cause: {}", e.cause()); [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(deprecated)]` on by default [INFO] [stderr] [INFO] [stderr] warning: `dgen` (bin "dgen" test) generated 1 warning [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.15s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: lalrpop v0.16.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/x86_64-unknown-linux-musl/debug/deps/dgen-f0236e2361fb316e) [INFO] [stdout] [INFO] [stdout] running 58 tests [INFO] [stdout] test builtins::byte_order::test::decimal_is_converted_to_big_endian_binary ... ok [INFO] [stdout] test builtins::byte_order::test::int_is_converted_to_big_endian_binary ... ok [INFO] [stdout] test builtins::byte_order::test::int_is_converted_to_little_endian_binary ... ok [INFO] [stdout] test builtins::from_file::test::produces_words_from_file_with_crlf_line_endings ... ok [INFO] [stdout] test builtins::from_file::test::produces_words_from_file_with_lf_line_endings ... ok [INFO] [stdout] test builtins::byte_order::test::uint_is_converted_to_little_endian_binary ... ok [INFO] [stdout] test builtins::bin_length::test::bin_length_returns_length_of_binary ... ok [INFO] [stdout] test builtins::concat::test::binary_is_concatenated ... ok [INFO] [stdout] test builtins::byte_order::test::decimal_is_converted_to_little_endian_binary ... ok [INFO] [stdout] test builtins::byte_order::test::uint_is_converted_to_big_endian_binary ... ok [INFO] [stdout] test builtins::concat::test::strings_are_concatenated ... ok [INFO] [stdout] test builtins::env::test::returns_the_value_of_an_environment_variable ... ok [INFO] [stdout] test builtins::repeat_delim::test::repeat_delimited_creates_string_output ... ok [INFO] [stdout] test builtins::sequence::test::bin_wrapping_sequence ... ok [INFO] [stdout] test builtins::sequence::test::bin_sequence ... ok [INFO] [stdout] test builtins::repeat_delim::test::repeat_delimited_creates_binary_output ... ok [INFO] [stdout] test builtins::sequence::test::char_sequence ... ok [INFO] [stdout] test builtins::sequence::test::char_wrapping_sequence ... ok [INFO] [stdout] test builtins::strings::test::generate_ascii_strings ... ok [INFO] [stdout] test builtins::strings::test::std_unicode_string_fun ... ok [INFO] [stdout] test builtins::strings::test::string_length_returns_length_of_string ... ok [INFO] [stdout] test builtins::strings::test::use_custom_string_function ... ok [INFO] [stdout] test builtins::strings::test::utf8_bytes_returns_encoded_string ... ok [INFO] [stdout] test builtins::strings::test::string_bytes_supports_a_lot_of_encodings ... ok [INFO] [stdout] test fun_test::declare_and_use_functions ... ok [INFO] [stdout] test interpreter::errors::parse_err_is_displayed_correctly ... ok [INFO] [stdout] test fun_test::declare_and_use_function_with_mapper ... ok [INFO] [stdout] test interpreter::parse_test::parses_basic_char_literal ... ok [INFO] [stdout] test interpreter::parse_test::parses_bin_literal ... ok [INFO] [stdout] test interpreter::parse_test::parses_basic_string_literal_token ... ok [INFO] [stdout] test fun_test::pass_mapped_function_as_function_argument ... ok [INFO] [stdout] test interpreter::parse_test::parses_boolean_literal_false_token ... ok [INFO] [stdout] test interpreter::parse_test::parses_boolean_literal_true_token ... ok [INFO] [stdout] test interpreter::parse_test::parses_decimal_literal_token ... ok [INFO] [stdout] test fun_test::mapping_a_mapped_function ... ok [INFO] [stdout] test interpreter::parse_test::parses_decimal_literal_token_with_negative_sign ... ok [INFO] [stdout] test interpreter::parse_test::parses_decimal_literal_token_with_positive_sign ... ok [INFO] [stdout] test interpreter::parse_test::parses_mapped_function_call ... ok [INFO] [stdout] test fun_test::signed_integer_functions ... ok [INFO] [stdout] test interpreter::parse_test::parses_empty_bin_literal ... ok [INFO] [stdout] test interpreter::parse_test::parses_function_call_with_literal_arguments ... ok [INFO] [stdout] test fun_test::use_std_boolean_function ... ok [INFO] [stdout] test interpreter::parse_test::parses_mapped_function_call_withou_args ... ok [INFO] [stdout] test fun_test::use_binary_functions ... ok [INFO] [stdout] test interpreter::parse_test::parses_function_call_with_zero_arguments ... ok [INFO] [stdout] test interpreter::parse_test::parses_newline_escaped_char_literal ... ok [INFO] [stdout] test fun_test::stable_select_a_generator ... ok [INFO] [stdout] test interpreter::parse_test::parses_nested_function_calls ... ok [INFO] [stdout] test interpreter::parse_test::parses_signed_int_literal_negative_token ... ok [INFO] [stdout] test interpreter::parse_test::parses_string_literal_with_escaped_quotes ... ok [INFO] [stdout] test interpreter::parse_test::parses_unicode_char_literal ... ok [INFO] [stdout] test interpreter::parse_test::parses_string_literal_with_unicode_escape_sequences ... ok [INFO] [stdout] test interpreter::parse_test::parses_signed_int_literal_positive_token ... ok [INFO] [stdout] test interpreter::parse_test::parses_string_literal_that_is_all_whitespace ... ok [INFO] [stdout] test interpreter::parse_test::parses_program_with_macro_definitions ... ok [INFO] [stdout] test interpreter::parse_test::parses_string_literal_with_whitespace_chars_and_escape_sequences ... ok [INFO] [stdout] test interpreter::parse_test::parses_unsigned_int_hex_literal_token ... ok [INFO] [stdout] test interpreter::parse_test::parses_unsigned_int_literal_token ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 58 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 20.81s [INFO] [stdout] [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/dgen-c41f1c4c8b29776e) [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" "b38c48c649c13fe262d56d54fb7bdd97d064db10405b266b3e5e567a1278200f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b38c48c649c13fe262d56d54fb7bdd97d064db10405b266b3e5e567a1278200f", kill_on_drop: false }` [INFO] [stdout] b38c48c649c13fe262d56d54fb7bdd97d064db10405b266b3e5e567a1278200f