[INFO] cloning repository https://github.com/stefanotorresi/hello-rust [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/stefanotorresi/hello-rust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fstefanotorresi%2Fhello-rust", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fstefanotorresi%2Fhello-rust'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 97fff6b19288ce9d49fb6d783ce2a3f514b6867a [INFO] building stefanotorresi/hello-rust against try#334963c956d25708feab489a3816ae63f639355d for pr-135216 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fstefanotorresi%2Fhello-rust" "/workspace/builds/worker-0-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/stefanotorresi/hello-rust on toolchain 334963c956d25708feab489a3816ae63f639355d [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+334963c956d25708feab489a3816ae63f639355d" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/stefanotorresi/hello-rust [INFO] finished tweaking git repo https://github.com/stefanotorresi/hello-rust [INFO] tweaked toml for git repo https://github.com/stefanotorresi/hello-rust written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/stefanotorresi/hello-rust 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" "+334963c956d25708feab489a3816ae63f639355d" "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] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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" "+334963c956d25708feab489a3816ae63f639355d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] c8f7b13f13ec1d1990696cd3830a29dd5bf3394ce2071cf4ff1056e32bcb342b [INFO] running `Command { std: "docker" "start" "-a" "c8f7b13f13ec1d1990696cd3830a29dd5bf3394ce2071cf4ff1056e32bcb342b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c8f7b13f13ec1d1990696cd3830a29dd5bf3394ce2071cf4ff1056e32bcb342b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c8f7b13f13ec1d1990696cd3830a29dd5bf3394ce2071cf4ff1056e32bcb342b", kill_on_drop: false }` [INFO] [stdout] c8f7b13f13ec1d1990696cd3830a29dd5bf3394ce2071cf4ff1056e32bcb342b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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" "+334963c956d25708feab489a3816ae63f639355d" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e1b9046e4b84c48feb7a5c097e6d78b5cc5ed8d8ce6dcd0f1ebe545669d43819 [INFO] running `Command { std: "docker" "start" "-a" "e1b9046e4b84c48feb7a5c097e6d78b5cc5ed8d8ce6dcd0f1ebe545669d43819", kill_on_drop: false }` [INFO] [stderr] Compiling hello-rust v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/algos/fibonacci.rs:14:18 [INFO] [stdout] | [INFO] [stdout] 14 | let result = FIBONACCI_NUMBERS.get(n); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] = note: `#[warn(static_mut_refs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/algos/fibonacci.rs:19:16 [INFO] [stdout] | [INFO] [stdout] 19 | let last = FIBONACCI_NUMBERS.len(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/algos/fibonacci.rs:22:13 [INFO] [stdout] | [INFO] [stdout] 22 | FIBONACCI_NUMBERS.push(0); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/algos/fibonacci.rs:27:13 [INFO] [stdout] | [INFO] [stdout] 27 | FIBONACCI_NUMBERS.push(1); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/algos/fibonacci.rs:31:9 [INFO] [stdout] | [INFO] [stdout] 31 | FIBONACCI_NUMBERS.push(FIBONACCI_NUMBERS[i - 1] + FIBONACCI_NUMBERS[i - 2]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.54s [INFO] running `Command { std: "docker" "inspect" "e1b9046e4b84c48feb7a5c097e6d78b5cc5ed8d8ce6dcd0f1ebe545669d43819", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e1b9046e4b84c48feb7a5c097e6d78b5cc5ed8d8ce6dcd0f1ebe545669d43819", kill_on_drop: false }` [INFO] [stdout] e1b9046e4b84c48feb7a5c097e6d78b5cc5ed8d8ce6dcd0f1ebe545669d43819 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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" "+334963c956d25708feab489a3816ae63f639355d" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 9fa6b83702f15ccb68736695d9cd3c46e9e42ee1f712b4996111bd4e46efbe53 [INFO] running `Command { std: "docker" "start" "-a" "9fa6b83702f15ccb68736695d9cd3c46e9e42ee1f712b4996111bd4e46efbe53", kill_on_drop: false }` [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/algos/fibonacci.rs:14:18 [INFO] [stdout] | [INFO] [stdout] 14 | let result = FIBONACCI_NUMBERS.get(n); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] = note: `#[warn(static_mut_refs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/algos/fibonacci.rs:19:16 [INFO] [stdout] | [INFO] [stdout] 19 | let last = FIBONACCI_NUMBERS.len(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/algos/fibonacci.rs:22:13 [INFO] [stdout] | [INFO] [stdout] 22 | FIBONACCI_NUMBERS.push(0); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/algos/fibonacci.rs:27:13 [INFO] [stdout] | [INFO] [stdout] 27 | FIBONACCI_NUMBERS.push(1); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling hello-rust v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/algos/fibonacci.rs:31:9 [INFO] [stdout] | [INFO] [stdout] 31 | FIBONACCI_NUMBERS.push(FIBONACCI_NUMBERS[i - 1] + FIBONACCI_NUMBERS[i - 2]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `fibonacci_memoized` in this scope [INFO] [stdout] --> src/algos/fibonacci.rs:57:34 [INFO] [stdout] | [INFO] [stdout] 57 | assert_eq!(63245986, fibonacci_memoized(40)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `fibonacci_memoized` in this scope [INFO] [stdout] --> src/algos/fibonacci.rs:58:27 [INFO] [stdout] | [INFO] [stdout] 58 | assert_eq!(0, fibonacci_memoized(0)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `fibonacci_memoized` in this scope [INFO] [stdout] --> src/algos/fibonacci.rs:59:27 [INFO] [stdout] | [INFO] [stdout] 59 | assert_eq!(0, fibonacci_memoized(1)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `fibonacci_memoized` in this scope [INFO] [stdout] --> src/algos/fibonacci.rs:60:27 [INFO] [stdout] | [INFO] [stdout] 60 | assert_eq!(1, fibonacci_memoized(2)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `fibonacci_memoized` in this scope [INFO] [stdout] --> src/algos/fibonacci.rs:61:27 [INFO] [stdout] | [INFO] [stdout] 61 | assert_eq!(1, fibonacci_memoized(3)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `fibonacci_memoized` in this scope [INFO] [stdout] --> src/algos/fibonacci.rs:62:27 [INFO] [stdout] | [INFO] [stdout] 62 | assert_eq!(2, fibonacci_memoized(4)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `fibonacci_memoized` in this scope [INFO] [stdout] --> src/algos/fibonacci.rs:63:27 [INFO] [stdout] | [INFO] [stdout] 63 | assert_eq!(3, fibonacci_memoized(5)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `fibonacci_memoized` in this scope [INFO] [stdout] --> src/algos/fibonacci.rs:64:27 [INFO] [stdout] | [INFO] [stdout] 64 | assert_eq!(5, fibonacci_memoized(6)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `fibonacci_memoized` in this scope [INFO] [stdout] --> src/algos/fibonacci.rs:65:27 [INFO] [stdout] | [INFO] [stdout] 65 | assert_eq!(8, fibonacci_memoized(7)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `fibonacci_memoized` in this scope [INFO] [stdout] --> src/algos/fibonacci.rs:66:28 [INFO] [stdout] | [INFO] [stdout] 66 | assert_eq!(13, fibonacci_memoized(8)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0425`. [INFO] [stdout] [INFO] [stderr] error: could not compile `hello-rust` (lib test) due to 10 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] running `Command { std: "docker" "inspect" "9fa6b83702f15ccb68736695d9cd3c46e9e42ee1f712b4996111bd4e46efbe53", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9fa6b83702f15ccb68736695d9cd3c46e9e42ee1f712b4996111bd4e46efbe53", kill_on_drop: false }` [INFO] [stdout] 9fa6b83702f15ccb68736695d9cd3c46e9e42ee1f712b4996111bd4e46efbe53