[INFO] cloning repository https://github.com/Aelto/tw3-cahirc-language [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Aelto/tw3-cahirc-language" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAelto%2Ftw3-cahirc-language", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAelto%2Ftw3-cahirc-language'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] c90318529efe1ef8e19d769030b3b74fa38abc93 [INFO] testing Aelto/tw3-cahirc-language against try#8de4c7234dd9b97c9d76b58671343fdbbc9a433e+target=x86_64-unknown-linux-musl for musl_upgrade_1_2_5_with_libc_patch_0 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAelto%2Ftw3-cahirc-language" "/workspace/builds/worker-4-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/Aelto/tw3-cahirc-language [INFO] finished tweaking git repo https://github.com/Aelto/tw3-cahirc-language [INFO] tweaked toml for git repo https://github.com/Aelto/tw3-cahirc-language written to /workspace/builds/worker-4-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/Aelto/tw3-cahirc-language 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] crate git repo https://github.com/Aelto/tw3-cahirc-language 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" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded diff v0.1.12 [INFO] [stderr] Downloaded ascii-canvas v3.0.0 [INFO] [stderr] Downloaded string_cache v0.8.4 [INFO] [stderr] Downloaded lalrpop-util v0.19.8 [INFO] [stderr] Downloaded ena v0.14.0 [INFO] [stderr] Downloaded dunce v1.0.2 [INFO] [stderr] Downloaded ariadne v0.1.5 [INFO] [stderr] Downloaded lalrpop v0.19.8 [INFO] [stderr] Downloaded petgraph v0.6.2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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] 2fbee0ba03bf8e92c4a5cc445f325e1d5b85c333d5c76a2ff9d7311400ea9cbd [INFO] running `Command { std: "docker" "start" "-a" "2fbee0ba03bf8e92c4a5cc445f325e1d5b85c333d5c76a2ff9d7311400ea9cbd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "2fbee0ba03bf8e92c4a5cc445f325e1d5b85c333d5c76a2ff9d7311400ea9cbd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2fbee0ba03bf8e92c4a5cc445f325e1d5b85c333d5c76a2ff9d7311400ea9cbd", kill_on_drop: false }` [INFO] [stdout] 2fbee0ba03bf8e92c4a5cc445f325e1d5b85c333d5c76a2ff9d7311400ea9cbd [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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] 98e102dce424ac87ae92986cf82afdb693127e7109e855b622ba350559621787 [INFO] running `Command { std: "docker" "start" "-a" "98e102dce424ac87ae92986cf82afdb693127e7109e855b622ba350559621787", kill_on_drop: false }` [INFO] [stderr] Compiling memchr v2.5.0 [INFO] [stderr] Compiling libc v0.2.126 [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling parking_lot_core v0.9.3 [INFO] [stderr] Compiling proc-macro2 v1.0.39 [INFO] [stderr] Compiling log v0.4.17 [INFO] [stderr] Compiling unicode-ident v1.0.1 [INFO] [stderr] Compiling smallvec v1.8.0 [INFO] [stderr] Compiling scopeguard v1.1.0 [INFO] [stderr] Compiling crunchy v0.2.2 [INFO] [stderr] Compiling hashbrown v0.11.2 [INFO] [stderr] Compiling tiny-keccak v2.0.2 [INFO] [stderr] Compiling siphasher v0.3.10 [INFO] [stderr] Compiling syn v1.0.96 [INFO] [stderr] Compiling regex-syntax v0.6.26 [INFO] [stderr] Compiling fixedbitset v0.4.1 [INFO] [stderr] Compiling precomputed-hash v0.1.1 [INFO] [stderr] Compiling bit-vec v0.6.3 [INFO] [stderr] Compiling new_debug_unreachable v1.0.4 [INFO] [stderr] Compiling once_cell v1.12.0 [INFO] [stderr] Compiling phf_shared v0.10.0 [INFO] [stderr] Compiling serde_derive v1.0.137 [INFO] [stderr] Compiling either v1.6.1 [INFO] [stderr] Compiling itertools v0.10.3 [INFO] [stderr] Compiling bit-set v0.5.2 [INFO] [stderr] Compiling pico-args v0.4.2 [INFO] [stderr] Compiling unicode-xid v0.2.3 [INFO] [stderr] Compiling ena v0.14.0 [INFO] [stderr] Compiling diff v0.1.12 [INFO] [stderr] Compiling serde v1.0.137 [INFO] [stderr] Compiling minimal-lexical v0.2.1 [INFO] [stderr] Compiling yansi v0.5.1 [INFO] [stderr] Compiling same-file v1.0.6 [INFO] [stderr] Compiling lock_api v0.4.7 [INFO] [stderr] Compiling indexmap v1.8.2 [INFO] [stderr] Compiling walkdir v2.3.2 [INFO] [stderr] Compiling dunce v1.0.2 [INFO] [stderr] Compiling ariadne v0.1.5 [INFO] [stderr] Compiling quote v1.0.18 [INFO] [stderr] Compiling aho-corasick v0.7.18 [INFO] [stderr] Compiling dirs-sys-next v0.1.2 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling nom v7.1.3 [INFO] [stderr] Compiling petgraph v0.6.2 [INFO] [stderr] Compiling dirs-next v2.0.0 [INFO] [stderr] Compiling parking_lot v0.12.1 [INFO] [stderr] Compiling term v0.7.0 [INFO] [stderr] Compiling getrandom v0.2.7 [INFO] [stderr] Compiling regex v1.5.6 [INFO] [stderr] Compiling string_cache v0.8.4 [INFO] [stderr] Compiling uuid v1.1.2 [INFO] [stderr] Compiling ascii-canvas v3.0.0 [INFO] [stderr] Compiling lalrpop-util v0.19.8 [INFO] [stderr] Compiling lalrpop v0.19.8 [INFO] [stderr] Compiling toml v0.5.9 [INFO] [stderr] Compiling cahirc v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `generic_call_visitor::GenericCallsVisitor` [INFO] [stdout] --> src/ast/visitor/mod.rs:7:9 [INFO] [stdout] | [INFO] [stdout] 7 | pub use generic_call_visitor::GenericCallsVisitor; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::HashSet` [INFO] [stdout] --> src/ast/classes.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::collections::HashSet; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `program_information` is never read [INFO] [stdout] --> src/ast/visitor/generic_call_visitor.rs:9:7 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct GenericCallsVisitor<'a> { [INFO] [stdout] | ------------------- field in this struct [INFO] [stdout] 9 | pub program_information: &'a ProgramInformation, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `program_information` is never read [INFO] [stdout] --> src/ast/visitor/variable_declaration_visitor.rs:10:7 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct VariableDeclarationVisitor<'a> { [INFO] [stdout] | -------------------------- field in this struct [INFO] [stdout] 10 | pub program_information: &'a ProgramInformation, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `inference_store`, `report_manager`, and `span_manager` are never read [INFO] [stdout] --> src/ast/visitor/type_inference_visitor.rs:368:7 [INFO] [stdout] | [INFO] [stdout] 366 | pub struct FunctionsInferenceVisitor<'a> { [INFO] [stdout] | ------------------------- fields in this struct [INFO] [stdout] 367 | pub current_context: Rc>, [INFO] [stdout] 368 | pub inference_store: &'a mut TypeInferenceStore, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 369 | pub report_manager: &'a mut ReportManager, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 370 | pub span_manager: &'a mut SpanManager [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `inference_store` is never read [INFO] [stdout] --> src/ast/visitor/type_inference_visitor.rs:411:7 [INFO] [stdout] | [INFO] [stdout] 409 | pub struct FunctionsCallsCheckerVisitor<'a> { [INFO] [stdout] | ---------------------------- field in this struct [INFO] [stdout] 410 | pub current_context: Rc>, [INFO] [stdout] 411 | pub inference_store: &'a mut TypeInferenceStore, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `name` is never read [INFO] [stdout] --> src/config.rs:14:7 [INFO] [stdout] | [INFO] [stdout] 13 | pub struct ConfigPackage { [INFO] [stdout] | ------------- field in this struct [INFO] [stdout] 14 | pub name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ConfigPackage` has a derived impl for the trait `Debug`, but this is 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/ast/codegen/context.rs:239:27 [INFO] [stdout] | [INFO] [stdout] 239 | pub fn get_ref(context: &Rc>) -> Ref { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ ------------ the lifetime gets resolved as `'_` [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 remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 239 | pub fn get_ref(context: &Rc>) -> Ref<'_, Context> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/ast/span_manager/span_manager.rs:47:21 [INFO] [stdout] | [INFO] [stdout] 47 | pub fn add_source(&mut self, source: FilePath) -> SpanMaker { [INFO] [stdout] | ^^^^^^^^^ --------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 47 | pub fn add_source(&mut self, source: FilePath) -> SpanMaker<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/ast/span_manager/span_manager.rs:59:26 [INFO] [stdout] | [INFO] [stdout] 59 | pub fn add_fake_source(&mut self) -> SpanMaker { [INFO] [stdout] | ^^^^^^^^^ --------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 59 | pub fn add_fake_source(&mut self) -> SpanMaker<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 01s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: lalrpop v0.19.8 [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" "98e102dce424ac87ae92986cf82afdb693127e7109e855b622ba350559621787", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "98e102dce424ac87ae92986cf82afdb693127e7109e855b622ba350559621787", kill_on_drop: false }` [INFO] [stdout] 98e102dce424ac87ae92986cf82afdb693127e7109e855b622ba350559621787 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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] 3c333664fbda1e2b2e73c09f494d5849da76dfb4d964e03c4cd6ba21e5c6dc6e [INFO] running `Command { std: "docker" "start" "-a" "3c333664fbda1e2b2e73c09f494d5849da76dfb4d964e03c4cd6ba21e5c6dc6e", kill_on_drop: false }` [INFO] [stderr] Compiling cahirc v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `generic_call_visitor::GenericCallsVisitor` [INFO] [stdout] --> src/ast/visitor/mod.rs:7:9 [INFO] [stdout] | [INFO] [stdout] 7 | pub use generic_call_visitor::GenericCallsVisitor; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::HashSet` [INFO] [stdout] --> src/ast/classes.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::collections::HashSet; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `program_information` is never read [INFO] [stdout] --> src/ast/visitor/generic_call_visitor.rs:9:7 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct GenericCallsVisitor<'a> { [INFO] [stdout] | ------------------- field in this struct [INFO] [stdout] 9 | pub program_information: &'a ProgramInformation, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `program_information` is never read [INFO] [stdout] --> src/ast/visitor/variable_declaration_visitor.rs:10:7 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct VariableDeclarationVisitor<'a> { [INFO] [stdout] | -------------------------- field in this struct [INFO] [stdout] 10 | pub program_information: &'a ProgramInformation, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `inference_store`, `report_manager`, and `span_manager` are never read [INFO] [stdout] --> src/ast/visitor/type_inference_visitor.rs:368:7 [INFO] [stdout] | [INFO] [stdout] 366 | pub struct FunctionsInferenceVisitor<'a> { [INFO] [stdout] | ------------------------- fields in this struct [INFO] [stdout] 367 | pub current_context: Rc>, [INFO] [stdout] 368 | pub inference_store: &'a mut TypeInferenceStore, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 369 | pub report_manager: &'a mut ReportManager, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 370 | pub span_manager: &'a mut SpanManager [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `inference_store` is never read [INFO] [stdout] --> src/ast/visitor/type_inference_visitor.rs:411:7 [INFO] [stdout] | [INFO] [stdout] 409 | pub struct FunctionsCallsCheckerVisitor<'a> { [INFO] [stdout] | ---------------------------- field in this struct [INFO] [stdout] 410 | pub current_context: Rc>, [INFO] [stdout] 411 | pub inference_store: &'a mut TypeInferenceStore, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `name` is never read [INFO] [stdout] --> src/config.rs:14:7 [INFO] [stdout] | [INFO] [stdout] 13 | pub struct ConfigPackage { [INFO] [stdout] | ------------- field in this struct [INFO] [stdout] 14 | pub name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ConfigPackage` has a derived impl for the trait `Debug`, but this is 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/ast/codegen/context.rs:239:27 [INFO] [stdout] | [INFO] [stdout] 239 | pub fn get_ref(context: &Rc>) -> Ref { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ ------------ the lifetime gets resolved as `'_` [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 remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 239 | pub fn get_ref(context: &Rc>) -> Ref<'_, Context> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/ast/span_manager/span_manager.rs:47:21 [INFO] [stdout] | [INFO] [stdout] 47 | pub fn add_source(&mut self, source: FilePath) -> SpanMaker { [INFO] [stdout] | ^^^^^^^^^ --------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 47 | pub fn add_source(&mut self, source: FilePath) -> SpanMaker<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/ast/span_manager/span_manager.rs:59:26 [INFO] [stdout] | [INFO] [stdout] 59 | pub fn add_fake_source(&mut self) -> SpanMaker { [INFO] [stdout] | ^^^^^^^^^ --------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 59 | pub fn add_fake_source(&mut self) -> SpanMaker<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 2.90s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: lalrpop v0.19.8 [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" "3c333664fbda1e2b2e73c09f494d5849da76dfb4d964e03c4cd6ba21e5c6dc6e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3c333664fbda1e2b2e73c09f494d5849da76dfb4d964e03c4cd6ba21e5c6dc6e", kill_on_drop: false }` [INFO] [stdout] 3c333664fbda1e2b2e73c09f494d5849da76dfb4d964e03c4cd6ba21e5c6dc6e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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] 5b42da7ea825b0df1b89499d1762978805f98012e4bd1a9316aebf3a3d6b1dea [INFO] running `Command { std: "docker" "start" "-a" "5b42da7ea825b0df1b89499d1762978805f98012e4bd1a9316aebf3a3d6b1dea", kill_on_drop: false }` [INFO] [stderr] warning: unused import: `generic_call_visitor::GenericCallsVisitor` [INFO] [stderr] --> src/ast/visitor/mod.rs:7:9 [INFO] [stderr] | [INFO] [stderr] 7 | pub use generic_call_visitor::GenericCallsVisitor; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `std::collections::HashSet` [INFO] [stderr] --> src/ast/classes.rs:1:5 [INFO] [stderr] | [INFO] [stderr] 1 | use std::collections::HashSet; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: field `program_information` is never read [INFO] [stderr] --> src/ast/visitor/generic_call_visitor.rs:9:7 [INFO] [stderr] | [INFO] [stderr] 8 | pub struct GenericCallsVisitor<'a> { [INFO] [stderr] | ------------------- field in this struct [INFO] [stderr] 9 | pub program_information: &'a ProgramInformation, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: field `program_information` is never read [INFO] [stderr] --> src/ast/visitor/variable_declaration_visitor.rs:10:7 [INFO] [stderr] | [INFO] [stderr] 9 | pub struct VariableDeclarationVisitor<'a> { [INFO] [stderr] | -------------------------- field in this struct [INFO] [stderr] 10 | pub program_information: &'a ProgramInformation, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: fields `inference_store`, `report_manager`, and `span_manager` are never read [INFO] [stderr] --> src/ast/visitor/type_inference_visitor.rs:368:7 [INFO] [stderr] | [INFO] [stderr] 366 | pub struct FunctionsInferenceVisitor<'a> { [INFO] [stderr] | ------------------------- fields in this struct [INFO] [stderr] 367 | pub current_context: Rc>, [INFO] [stderr] 368 | pub inference_store: &'a mut TypeInferenceStore, [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] 369 | pub report_manager: &'a mut ReportManager, [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] 370 | pub span_manager: &'a mut SpanManager [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: field `inference_store` is never read [INFO] [stderr] --> src/ast/visitor/type_inference_visitor.rs:411:7 [INFO] [stderr] | [INFO] [stderr] 409 | pub struct FunctionsCallsCheckerVisitor<'a> { [INFO] [stderr] | ---------------------------- field in this struct [INFO] [stderr] 410 | pub current_context: Rc>, [INFO] [stderr] 411 | pub inference_store: &'a mut TypeInferenceStore, [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: field `name` is never read [INFO] [stderr] --> src/config.rs:14:7 [INFO] [stderr] | [INFO] [stderr] 13 | pub struct ConfigPackage { [INFO] [stderr] | ------------- field in this struct [INFO] [stderr] 14 | pub name: String, [INFO] [stderr] | ^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `ConfigPackage` has a derived impl for the trait `Debug`, but this is 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/ast/codegen/context.rs:239:27 [INFO] [stderr] | [INFO] [stderr] 239 | pub fn get_ref(context: &Rc>) -> Ref { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ ------------ the lifetime gets resolved as `'_` [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 remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stderr] | [INFO] [stderr] 239 | pub fn get_ref(context: &Rc>) -> Ref<'_, Context> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stderr] --> src/ast/span_manager/span_manager.rs:47:21 [INFO] [stderr] | [INFO] [stderr] 47 | pub fn add_source(&mut self, source: FilePath) -> SpanMaker { [INFO] [stderr] | ^^^^^^^^^ --------- the lifetime gets resolved as `'_` [INFO] [stderr] | | [INFO] [stderr] | this lifetime flows to the output [INFO] [stderr] | [INFO] [stderr] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stderr] | [INFO] [stderr] 47 | pub fn add_source(&mut self, source: FilePath) -> SpanMaker<'_> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stderr] --> src/ast/span_manager/span_manager.rs:59:26 [INFO] [stderr] | [INFO] [stderr] 59 | pub fn add_fake_source(&mut self) -> SpanMaker { [INFO] [stderr] | ^^^^^^^^^ --------- the lifetime gets resolved as `'_` [INFO] [stderr] | | [INFO] [stderr] | this lifetime flows to the output [INFO] [stderr] | [INFO] [stderr] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stderr] | [INFO] [stderr] 59 | pub fn add_fake_source(&mut self) -> SpanMaker<'_> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: `cahirc` (bin "cahirc" test) generated 10 warnings (run `cargo fix --bin "cahirc" --tests` to apply 5 suggestions) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.06s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: lalrpop v0.19.8 [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/main.rs (/opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/cahirc-90c288264d3c4156) [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" "5b42da7ea825b0df1b89499d1762978805f98012e4bd1a9316aebf3a3d6b1dea", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5b42da7ea825b0df1b89499d1762978805f98012e4bd1a9316aebf3a3d6b1dea", kill_on_drop: false }` [INFO] [stdout] 5b42da7ea825b0df1b89499d1762978805f98012e4bd1a9316aebf3a3d6b1dea