[INFO] cloning repository https://github.com/spacedragon/rlox [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/spacedragon/rlox" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fspacedragon%2Frlox", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fspacedragon%2Frlox'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] eebac6e303acaa764ec31c16239e530679a5ec7d [INFO] testing spacedragon/rlox against 1.45.2 for beta-1.46-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fspacedragon%2Frlox" "/workspace/builds/worker-4/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/spacedragon/rlox on toolchain 1.45.2 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.45.2" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/spacedragon/rlox [INFO] finished tweaking git repo https://github.com/spacedragon/rlox [INFO] tweaked toml for git repo https://github.com/spacedragon/rlox written to /workspace/builds/worker-4/source/Cargo.toml [INFO] crate git repo https://github.com/spacedragon/rlox already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.45.2" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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" "MAP_USER_ID=0" "-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" "--network" "none" "rustops/crates-build-env@sha256:a636fd89d022f18117e1dc8fb37a0a009933cdbbe082814857f0e2024962d47c" "/opt/rustwide/cargo-home/bin/cargo" "+1.45.2" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 863d76908ca8ed7957d3e13abb65149eb822e2b00f1857accb718edc1ddb89e3 [INFO] running `Command { std: "docker" "start" "-a" "863d76908ca8ed7957d3e13abb65149eb822e2b00f1857accb718edc1ddb89e3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "863d76908ca8ed7957d3e13abb65149eb822e2b00f1857accb718edc1ddb89e3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "863d76908ca8ed7957d3e13abb65149eb822e2b00f1857accb718edc1ddb89e3", kill_on_drop: false }` [INFO] [stdout] 863d76908ca8ed7957d3e13abb65149eb822e2b00f1857accb718edc1ddb89e3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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" "MAP_USER_ID=0" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--network" "none" "rustops/crates-build-env@sha256:a636fd89d022f18117e1dc8fb37a0a009933cdbbe082814857f0e2024962d47c" "/opt/rustwide/cargo-home/bin/cargo" "+1.45.2" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 230d2ba39fa571da42e4a3a9602a906ca2ed0d9ef2321bf168955df77eb5a424 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "230d2ba39fa571da42e4a3a9602a906ca2ed0d9ef2321bf168955df77eb5a424", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.8 [INFO] [stderr] Compiling syn v1.0.14 [INFO] [stderr] Compiling rustversion v1.0.2 [INFO] [stderr] Compiling libc v0.2.66 [INFO] [stderr] Compiling syn v0.15.44 [INFO] [stderr] Compiling regex-syntax v0.6.14 [INFO] [stderr] Compiling proc-macro2 v0.4.30 [INFO] [stderr] Compiling toml v0.5.6 [INFO] [stderr] Compiling quote v0.6.13 [INFO] [stderr] Compiling quote v1.0.2 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling clap v2.33.0 [INFO] [stderr] Compiling proc-macro-crate v0.1.4 [INFO] [stderr] Compiling regex v1.3.4 [INFO] [stderr] Compiling env_logger v0.7.1 [INFO] [stderr] Compiling derivative v1.0.3 [INFO] [stderr] Compiling syn-mid v0.5.0 [INFO] [stderr] Compiling num_enum_derive v0.4.2 [INFO] [stderr] Compiling strum_macros v0.17.1 [INFO] [stderr] Compiling proc-macro-error v0.4.9 [INFO] [stderr] Compiling proc-macro-error-attr v0.4.9 [INFO] [stderr] Compiling num_enum v0.4.2 [INFO] [stderr] Compiling structopt-derive v0.4.2 [INFO] [stderr] Compiling structopt v0.3.9 [INFO] [stderr] Compiling rlox v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused return value of `std::mem::replace` that must be used [INFO] [stdout] --> src/resolver.rs:101:13 [INFO] [stdout] | [INFO] [stdout] 101 | std::mem::replace(&mut self.current_function, prev); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: if you don't need the old value, you can just assign the new value directly [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `std::mem::replace` that must be used [INFO] [stdout] --> src/resolver.rs:311:17 [INFO] [stdout] | [INFO] [stdout] 311 | mem::replace(&mut self.current_class, ClassType::SUBCLASS); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: if you don't need the old value, you can just assign the new value directly [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `std::mem::replace` that must be used [INFO] [stdout] --> src/resolver.rs:332:13 [INFO] [stdout] | [INFO] [stdout] 332 | mem::replace(&mut self.current_class, class_type); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: if you don't need the old value, you can just assign the new value directly [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `std::mem::replace` that must be used [INFO] [stdout] --> src/bytecode/compiler.rs:101:9 [INFO] [stdout] | [INFO] [stdout] 101 | mem::replace(&mut self.previous, self.current.clone()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: if you don't need the old value, you can just assign the new value directly [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `std::mem::replace` that must be used [INFO] [stdout] --> src/bytecode/compiler.rs:106:21 [INFO] [stdout] | [INFO] [stdout] 106 | mem::replace(&mut self.current, t); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: if you don't need the old value, you can just assign the new value directly [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 1m 12s [INFO] running `Command { std: "docker" "inspect" "230d2ba39fa571da42e4a3a9602a906ca2ed0d9ef2321bf168955df77eb5a424", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "230d2ba39fa571da42e4a3a9602a906ca2ed0d9ef2321bf168955df77eb5a424", kill_on_drop: false }` [INFO] [stdout] 230d2ba39fa571da42e4a3a9602a906ca2ed0d9ef2321bf168955df77eb5a424 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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" "MAP_USER_ID=0" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--network" "none" "rustops/crates-build-env@sha256:a636fd89d022f18117e1dc8fb37a0a009933cdbbe082814857f0e2024962d47c" "/opt/rustwide/cargo-home/bin/cargo" "+1.45.2" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 13babb98bffe6119e331fcf79e665fba4cd2c8a5506a4323a5e43aa1199b4a14 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "13babb98bffe6119e331fcf79e665fba4cd2c8a5506a4323a5e43aa1199b4a14", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling rlox v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused return value of `std::mem::replace` that must be used [INFO] [stdout] --> src/resolver.rs:101:13 [INFO] [stdout] | [INFO] [stdout] 101 | std::mem::replace(&mut self.current_function, prev); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: if you don't need the old value, you can just assign the new value directly [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `std::mem::replace` that must be used [INFO] [stdout] --> src/resolver.rs:311:17 [INFO] [stdout] | [INFO] [stdout] 311 | mem::replace(&mut self.current_class, ClassType::SUBCLASS); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: if you don't need the old value, you can just assign the new value directly [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `std::mem::replace` that must be used [INFO] [stdout] --> src/resolver.rs:332:13 [INFO] [stdout] | [INFO] [stdout] 332 | mem::replace(&mut self.current_class, class_type); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: if you don't need the old value, you can just assign the new value directly [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `std::mem::replace` that must be used [INFO] [stdout] --> src/bytecode/compiler.rs:101:9 [INFO] [stdout] | [INFO] [stdout] 101 | mem::replace(&mut self.previous, self.current.clone()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: if you don't need the old value, you can just assign the new value directly [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `std::mem::replace` that must be used [INFO] [stdout] --> src/bytecode/compiler.rs:106:21 [INFO] [stdout] | [INFO] [stdout] 106 | mem::replace(&mut self.current, t); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: if you don't need the old value, you can just assign the new value directly [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 8.13s [INFO] running `Command { std: "docker" "inspect" "13babb98bffe6119e331fcf79e665fba4cd2c8a5506a4323a5e43aa1199b4a14", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "13babb98bffe6119e331fcf79e665fba4cd2c8a5506a4323a5e43aa1199b4a14", kill_on_drop: false }` [INFO] [stdout] 13babb98bffe6119e331fcf79e665fba4cd2c8a5506a4323a5e43aa1199b4a14 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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" "MAP_USER_ID=0" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--network" "none" "rustops/crates-build-env@sha256:a636fd89d022f18117e1dc8fb37a0a009933cdbbe082814857f0e2024962d47c" "/opt/rustwide/cargo-home/bin/cargo" "+1.45.2" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] de9c3b7f5e9c53420111025ea8806d167a84d7f6e63b98ab7bcbdccbb3bcb6fe [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "de9c3b7f5e9c53420111025ea8806d167a84d7f6e63b98ab7bcbdccbb3bcb6fe", kill_on_drop: false }` [INFO] [stderr] warning: unused return value of `std::mem::replace` that must be used [INFO] [stderr] --> src/resolver.rs:101:13 [INFO] [stderr] | [INFO] [stderr] 101 | std::mem::replace(&mut self.current_function, prev); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_must_use)]` on by default [INFO] [stderr] = note: if you don't need the old value, you can just assign the new value directly [INFO] [stderr] [INFO] [stderr] warning: unused return value of `std::mem::replace` that must be used [INFO] [stderr] --> src/resolver.rs:311:17 [INFO] [stderr] | [INFO] [stderr] 311 | mem::replace(&mut self.current_class, ClassType::SUBCLASS); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: if you don't need the old value, you can just assign the new value directly [INFO] [stderr] [INFO] [stderr] warning: unused return value of `std::mem::replace` that must be used [INFO] [stderr] --> src/resolver.rs:332:13 [INFO] [stderr] | [INFO] [stderr] 332 | mem::replace(&mut self.current_class, class_type); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: if you don't need the old value, you can just assign the new value directly [INFO] [stderr] [INFO] [stderr] warning: unused return value of `std::mem::replace` that must be used [INFO] [stderr] --> src/bytecode/compiler.rs:101:9 [INFO] [stderr] | [INFO] [stderr] 101 | mem::replace(&mut self.previous, self.current.clone()); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: if you don't need the old value, you can just assign the new value directly [INFO] [stderr] [INFO] [stderr] warning: unused return value of `std::mem::replace` that must be used [INFO] [stderr] --> src/bytecode/compiler.rs:106:21 [INFO] [stderr] | [INFO] [stderr] 106 | mem::replace(&mut self.current, t); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: if you don't need the old value, you can just assign the new value directly [INFO] [stderr] [INFO] [stderr] warning: 5 warnings emitted [INFO] [stderr] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.19s [INFO] [stderr] Running /opt/rustwide/target/debug/deps/rlox-77d3a2036da10c40 [INFO] [stdout] [INFO] [stdout] running 38 tests [INFO] [stdout] test bytecode::memory::test::test_allocate ... ok [INFO] [stdout] test bytecode::scanner::test::test_string ... ok [INFO] [stdout] test bytecode::scanner::test::test_number ... ok [INFO] [stdout] test bytecode::test::test ... ok [INFO] [stdout] test bytecode::test::test_local_var ... ok [INFO] [stdout] test bytecode::test::test_global_var ... ok [INFO] [stdout] test ast_printer::test::test_string ... ok [INFO] [stdout] test bytecode::test::test_loop ... ok [INFO] [stdout] test bytecode::test::test_expression ... ok [INFO] [stdout] test ast_printer::test::test_printer ... ok [INFO] [stdout] test interpreter::test::test_compare ... ok [INFO] [stdout] test bytecode::memory::test::test_free ... ok [INFO] [stdout] test bytecode::scanner::test::test_token_code ... ok [INFO] [stdout] test bytecode::test::test_function ... ok [INFO] [stdout] test bytecode::test::test_compile ... ok [INFO] [stdout] test interpreter::test::test_native ... ok [INFO] [stdout] test interpreter::test::test_vars ... ok [INFO] [stdout] test interpreter::test::test_while ... ok [INFO] [stdout] test scanner::test::test_2_tokens ... ok [INFO] [stdout] test interpreter::test::test_stmts ... ok [INFO] [stdout] test bytecode::test::test_str ... ok [INFO] [stdout] test interpreter::test::test_if ... ok [INFO] [stdout] test resolver::test::test_resolver ... ok [INFO] [stdout] test scanner::test::test_comment ... ok [INFO] [stdout] test bytecode::test::test_closure ... ok [INFO] [stdout] test interpreter::test::test_string_plus ... ok [INFO] [stdout] test scanner::test::test_single_token ... ok [INFO] [stdout] test interpreter::test::test_class ... ok [INFO] [stdout] test parser::test::test_expr ... ok [INFO] [stdout] test interpreter::test::test_super ... ok [INFO] [stdout] test interpreter::test::test_expr ... ok [INFO] [stdout] test interpreter::test::test_scope ... ok [INFO] [stdout] test scanner::test::test_id_and_keyword ... ok [INFO] [stdout] test scanner::test::test_number ... ok [INFO] [stdout] test scanner::test::test_string ... ok [INFO] [stdout] test bytecode::test::test_native ... ok [INFO] [stdout] test scanner::test::test_bad_string ... ok [INFO] [stdout] test interpreter::test::test_func ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 38 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "de9c3b7f5e9c53420111025ea8806d167a84d7f6e63b98ab7bcbdccbb3bcb6fe", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "de9c3b7f5e9c53420111025ea8806d167a84d7f6e63b98ab7bcbdccbb3bcb6fe", kill_on_drop: false }` [INFO] [stdout] de9c3b7f5e9c53420111025ea8806d167a84d7f6e63b98ab7bcbdccbb3bcb6fe