[INFO] cloning repository https://github.com/user-grinch/BASIC-Interpreter [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/user-grinch/BASIC-Interpreter" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fuser-grinch%2FBASIC-Interpreter", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fuser-grinch%2FBASIC-Interpreter'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 563842382ec62c879352b842fbb6217907bcce90 [INFO] checking user-grinch/BASIC-Interpreter against try#da0275e101cdc809ce291ed8b64d6f82c6b65467 for pr-134276 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fuser-grinch%2FBASIC-Interpreter" "/workspace/builds/worker-4-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/user-grinch/BASIC-Interpreter on toolchain da0275e101cdc809ce291ed8b64d6f82c6b65467 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+da0275e101cdc809ce291ed8b64d6f82c6b65467" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/user-grinch/BASIC-Interpreter [INFO] finished tweaking git repo https://github.com/user-grinch/BASIC-Interpreter [INFO] tweaked toml for git repo https://github.com/user-grinch/BASIC-Interpreter written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/user-grinch/BASIC-Interpreter 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" "+da0275e101cdc809ce291ed8b64d6f82c6b65467" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded proc-macro2 v1.0.60 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+da0275e101cdc809ce291ed8b64d6f82c6b65467" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 7255cfb443aded870a9102961ac256573d07d1ac177a7c4447ce8ca45a23abd6 [INFO] running `Command { std: "docker" "start" "-a" "7255cfb443aded870a9102961ac256573d07d1ac177a7c4447ce8ca45a23abd6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "7255cfb443aded870a9102961ac256573d07d1ac177a7c4447ce8ca45a23abd6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7255cfb443aded870a9102961ac256573d07d1ac177a7c4447ce8ca45a23abd6", kill_on_drop: false }` [INFO] [stdout] 7255cfb443aded870a9102961ac256573d07d1ac177a7c4447ce8ca45a23abd6 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+da0275e101cdc809ce291ed8b64d6f82c6b65467" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 773838f99e7a46c49d8442d0ddc80aa05bbe525e577560b8f99b78f82fcdb069 [INFO] running `Command { std: "docker" "start" "-a" "773838f99e7a46c49d8442d0ddc80aa05bbe525e577560b8f99b78f82fcdb069", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.60 [INFO] [stderr] Compiling quote v1.0.28 [INFO] [stderr] Compiling unicode-ident v1.0.9 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling siphasher v0.3.10 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Checking phf_shared v0.11.1 [INFO] [stderr] Compiling phf_generator v0.11.1 [INFO] [stderr] Compiling phf_macros v0.11.1 [INFO] [stderr] Checking phf v0.11.1 [INFO] [stderr] Checking basic_parser v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `TypeId` [INFO] [stdout] --> src/var_bank/mod.rs:1:22 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{any::{Any, TypeId}, error::Error}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `TypeId` [INFO] [stdout] --> src/var_bank/mod.rs:1:22 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{any::{Any, TypeId}, error::Error}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `(dyn Any + 'static)` cannot be shared between threads safely [INFO] [stdout] --> src/var_bank/mod.rs:64:18 [INFO] [stdout] | [INFO] [stdout] 64 | pub static BANK: VarBank = VarBank::new(); [INFO] [stdout] | ^^^^^^^ `(dyn Any + 'static)` cannot be shared between threads safely [INFO] [stdout] | [INFO] [stdout] = help: the trait `Sync` is not implemented for `(dyn Any + 'static)` [INFO] [stdout] = note: required for `Unique<(dyn Any + 'static)>` to implement `Sync` [INFO] [stdout] note: required because it appears within the type `Box<(dyn Any + 'static)>` [INFO] [stdout] --> /rustc/da0275e101cdc809ce291ed8b64d6f82c6b65467/library/alloc/src/boxed.rs:231:12 [INFO] [stdout] note: required because it appears within the type `VarInfo` [INFO] [stdout] --> src/var_bank/mod.rs:5:8 [INFO] [stdout] | [INFO] [stdout] 5 | struct VarInfo { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] note: required because it appears within the type `PhantomData` [INFO] [stdout] --> /rustc/da0275e101cdc809ce291ed8b64d6f82c6b65467/library/core/src/marker.rs:753:12 [INFO] [stdout] note: required because it appears within the type `alloc::raw_vec::RawVec` [INFO] [stdout] --> /rustc/da0275e101cdc809ce291ed8b64d6f82c6b65467/library/alloc/src/raw_vec.rs:76:19 [INFO] [stdout] note: required because it appears within the type `Vec` [INFO] [stdout] --> /rustc/da0275e101cdc809ce291ed8b64d6f82c6b65467/library/alloc/src/vec/mod.rs:397:12 [INFO] [stdout] note: required because it appears within the type `VarBank` [INFO] [stdout] --> src/var_bank/mod.rs:21:8 [INFO] [stdout] | [INFO] [stdout] 21 | struct VarBank { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] = note: shared static variables must have a type that implements `Sync` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `new` found for struct `VarBank` in the current scope [INFO] [stdout] --> src/var_bank/mod.rs:64:37 [INFO] [stdout] | [INFO] [stdout] 21 | struct VarBank { [INFO] [stdout] | -------------- function or associated item `new` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 64 | pub static BANK: VarBank = VarBank::new(); [INFO] [stdout] | ^^^ function or associated item not found in `VarBank` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `(dyn Any + 'static)` cannot be shared between threads safely [INFO] [stdout] --> src/var_bank/mod.rs:64:18 [INFO] [stdout] | [INFO] [stdout] 64 | pub static BANK: VarBank = VarBank::new(); [INFO] [stdout] | ^^^^^^^ `(dyn Any + 'static)` cannot be shared between threads safely [INFO] [stdout] | [INFO] [stdout] = help: the trait `Sync` is not implemented for `(dyn Any + 'static)` [INFO] [stdout] = note: required for `Unique<(dyn Any + 'static)>` to implement `Sync` [INFO] [stdout] note: required because it appears within the type `Box<(dyn Any + 'static)>` [INFO] [stdout] --> /rustc/da0275e101cdc809ce291ed8b64d6f82c6b65467/library/alloc/src/boxed.rs:231:12 [INFO] [stdout] note: required because it appears within the type `VarInfo` [INFO] [stdout] --> src/var_bank/mod.rs:5:8 [INFO] [stdout] | [INFO] [stdout] 5 | struct VarInfo { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] note: required because it appears within the type `PhantomData` [INFO] [stdout] --> /rustc/da0275e101cdc809ce291ed8b64d6f82c6b65467/library/core/src/marker.rs:753:12 [INFO] [stdout] note: required because it appears within the type `alloc::raw_vec::RawVec` [INFO] [stdout] --> /rustc/da0275e101cdc809ce291ed8b64d6f82c6b65467/library/alloc/src/raw_vec.rs:76:19 [INFO] [stdout] note: required because it appears within the type `Vec` [INFO] [stdout] --> /rustc/da0275e101cdc809ce291ed8b64d6f82c6b65467/library/alloc/src/vec/mod.rs:397:12 [INFO] [stdout] note: required because it appears within the type `VarBank` [INFO] [stdout] --> src/var_bank/mod.rs:21:8 [INFO] [stdout] | [INFO] [stdout] 21 | struct VarBank { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] = note: shared static variables must have a type that implements `Sync` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `vec` [INFO] [stdout] --> src/basic_functions/mod.rs:17:11 [INFO] [stdout] | [INFO] [stdout] 17 | fn let_fn(vec: &Vec) { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_vec` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0382]: borrow of moved value: `name` [INFO] [stdout] --> src/var_bank/mod.rs:61:54 [INFO] [stdout] | [INFO] [stdout] 48 | pub fn set(&mut self, name: String, val: String) { [INFO] [stdout] | ---- move occurs because `name` has type `String`, which does not implement the `Copy` trait [INFO] [stdout] ... [INFO] [stdout] 59 | name : name, value: Box::new(val), [INFO] [stdout] | ---- value moved here [INFO] [stdout] 60 | }); [INFO] [stdout] 61 | println!("Setup new var name: {} value: {}", name, val); [INFO] [stdout] | ^^^^ value borrowed here after move [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::format_args_nl` which comes from the expansion of the macro `println` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: consider cloning the value if the performance cost is acceptable [INFO] [stdout] | [INFO] [stdout] 59 | name : name.clone(), value: Box::new(val), [INFO] [stdout] | ++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0382]: borrow of moved value: `val` [INFO] [stdout] --> src/var_bank/mod.rs:61:60 [INFO] [stdout] | [INFO] [stdout] 48 | pub fn set(&mut self, name: String, val: String) { [INFO] [stdout] | --- move occurs because `val` has type `String`, which does not implement the `Copy` trait [INFO] [stdout] ... [INFO] [stdout] 59 | name : name, value: Box::new(val), [INFO] [stdout] | --- value moved here [INFO] [stdout] 60 | }); [INFO] [stdout] 61 | println!("Setup new var name: {} value: {}", name, val); [INFO] [stdout] | ^^^ value borrowed here after move [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::format_args_nl` which comes from the expansion of the macro `println` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: consider cloning the value if the performance cost is acceptable [INFO] [stdout] | [INFO] [stdout] 59 | name : name, value: Box::new(val.clone()), [INFO] [stdout] | ++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `new` found for struct `VarBank` in the current scope [INFO] [stdout] --> src/var_bank/mod.rs:64:37 [INFO] [stdout] | [INFO] [stdout] 21 | struct VarBank { [INFO] [stdout] | -------------- function or associated item `new` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 64 | pub static BANK: VarBank = VarBank::new(); [INFO] [stdout] | ^^^ function or associated item not found in `VarBank` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0382, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: could not compile `basic_parser` (bin "basic_parser") due to 4 previous errors; 2 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: unused variable: `vec` [INFO] [stdout] --> src/basic_functions/mod.rs:17:11 [INFO] [stdout] | [INFO] [stdout] 17 | fn let_fn(vec: &Vec) { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_vec` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0382]: borrow of moved value: `name` [INFO] [stdout] --> src/var_bank/mod.rs:61:54 [INFO] [stdout] | [INFO] [stdout] 48 | pub fn set(&mut self, name: String, val: String) { [INFO] [stdout] | ---- move occurs because `name` has type `String`, which does not implement the `Copy` trait [INFO] [stdout] ... [INFO] [stdout] 59 | name : name, value: Box::new(val), [INFO] [stdout] | ---- value moved here [INFO] [stdout] 60 | }); [INFO] [stdout] 61 | println!("Setup new var name: {} value: {}", name, val); [INFO] [stdout] | ^^^^ value borrowed here after move [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::format_args_nl` which comes from the expansion of the macro `println` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: consider cloning the value if the performance cost is acceptable [INFO] [stdout] | [INFO] [stdout] 59 | name : name.clone(), value: Box::new(val), [INFO] [stdout] | ++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0382]: borrow of moved value: `val` [INFO] [stdout] --> src/var_bank/mod.rs:61:60 [INFO] [stdout] | [INFO] [stdout] 48 | pub fn set(&mut self, name: String, val: String) { [INFO] [stdout] | --- move occurs because `val` has type `String`, which does not implement the `Copy` trait [INFO] [stdout] ... [INFO] [stdout] 59 | name : name, value: Box::new(val), [INFO] [stdout] | --- value moved here [INFO] [stdout] 60 | }); [INFO] [stdout] 61 | println!("Setup new var name: {} value: {}", name, val); [INFO] [stdout] | ^^^ value borrowed here after move [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::format_args_nl` which comes from the expansion of the macro `println` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: consider cloning the value if the performance cost is acceptable [INFO] [stdout] | [INFO] [stdout] 59 | name : name, value: Box::new(val.clone()), [INFO] [stdout] | ++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0382, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: could not compile `basic_parser` (bin "basic_parser" test) due to 4 previous errors; 2 warnings emitted [INFO] running `Command { std: "docker" "inspect" "773838f99e7a46c49d8442d0ddc80aa05bbe525e577560b8f99b78f82fcdb069", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "773838f99e7a46c49d8442d0ddc80aa05bbe525e577560b8f99b78f82fcdb069", kill_on_drop: false }` [INFO] [stdout] 773838f99e7a46c49d8442d0ddc80aa05bbe525e577560b8f99b78f82fcdb069