"cargo build --release" completed, but program crashes after command from example:
Code: Select all
$ ./target/release/rlife 1.in 0 3 1
20220525 09:29:32 [INFO] Compiling [checks3 1/2] table of 17 + 4 = 21 bits
20220525 09:29:32 [INFO] Compiling [checks3 2/2] table of 17 + 4 = 21 bits
20220525 09:29:32 [INFO] Compile tables took 93.008439ms
20220525 09:29:32 [INFO] Compiling [checks3 1/2] table of 20 + 4 = 24 bits
20220525 09:29:32 [INFO] Compiling [checks3 2/2] table of 20 + 4 = 24 bits
20220525 09:29:33 [INFO] Compile tables took 859.916713ms
20220525 09:29:33 [INFO] Compile check_engine took 953.949ms
20220525 09:29:33 [INFO] Compile left edge took 15.19µs
20220525 09:29:33 [INFO] Compile right edge took 6.158µs
20220525 09:29:33 [INFO] Compile monitor took 0ns
thread 'main' panicked at 'called `Result::unwrap()` on an `Err` value: Os { code: 3, kind: NotFound, message: "No such file or directory" }', src\llsss\env.rs:130:58
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
Code: Select all
//let f = std::fs::File::open("/proc/self/status").unwrap();
//for line in std::io::BufReader::new(f).lines() {
//let line = line.unwrap();
//if line.starts_with("VmPeak:") {
//gol_log(LogLevel::INFO, line);
//}
//}
Code: Select all
20220525 09:47:20 [INFO] End ("LlsssEndsZero"):
20220525 09:47:20 [INFO] ...........*.** | .......*..**.*. | .......****.*.* | .......*..*.*..
20220525 09:47:20 [INFO] ......***.....* | ......**.....*. | ......*.**.*.** | ......*......*.
20220525 09:47:20 [INFO] ......*........ | .....**..*....* | ......*..***... | .....**.......*
20220525 09:47:20 [INFO] ......*.**..... | ......*..**.... | ......******... | ......**...*...
20220525 09:47:20 [INFO] .......***.*... | .......*....... | .........*..... | .......*.*.....
20220525 09:47:20 [INFO] .........*..... | .........**.... | ............... | ..........*....
20220525 09:47:20 [INFO] ......*.*...... | ......*........ | .......*..**... | .......*.......
20220525 09:47:20 [INFO] ....******....* | ....***..*....* | .....***......* | ....****......*
20220525 09:47:20 [INFO] ...*.....*....* | ...*.....*...** | ...**...****..* | ...**....**..**
20220525 09:47:20 [INFO] ...*..***.....* | ..**.**.*.*...* | ...*..**.*....* | ..**..**......*
20220525 09:47:20 [INFO] ...**.*.*.**... | ...**.*.*...... | ...*...*.*..... | ...*.*.*.**....
20220525 09:47:20 [INFO] ......*.*...... | ....*.*.*...... | ....**.*.*..... | ....**.*.*.....
20220525 09:47:20 [INFO] .....**.*...... | .....**.**..... | ......**.**.... | .....*.*.**....
20220525 09:47:20 [INFO] .......**..*... | ........*...... | .......*....... | ......**.**....
20220525 09:47:20 [INFO] .......*...*... | .......*.***... | ........*..*... | ........*......
20220525 09:47:20 [INFO] ........*.*.... | .......***..... | .......**...... | .......***.....
20220525 09:47:20 [INFO] ........*...... | .......*.*..... | .......*..*.... | .......*.*.....
20220525 09:47:20 [INFO] ......*........ | ......*.*...... | .........*..... | .........**....
20220525 09:47:20 [INFO] ....*****...*.. | ....****....... | .....*****..... | ....*******....
20220525 09:47:20 [INFO] ...*.......*... | ...*.....*..... | ...**.....*.... | ...**....**....
20220525 09:47:20 [INFO] ...*..****..... | ..**.**.**..... | ...*..**...*... | ..**..**.......
20220525 09:47:20 [INFO] ...**.*.*...... | ...**.*.**..... | ...*...*....... | ...*.*.*.......
20220525 09:47:20 [INFO] ......*........ | ....*.*.*...... | ....**.*.*..... | ....**.........
20220525 09:47:20 [INFO] .....**.***.... | .....**...*.... | ......***...... | .....*...**....
20220525 09:47:20 [INFO] .......****.... | ............... | .......*..**... | ......***......
20220525 09:47:20 [INFO] .......*.*..... | .......*.**.... | ............... | ...............
20220525 09:47:20 [INFO] ............... | ............... | ............... | .......*.......
20220525 09:47:20 [INFO] ............... | ............... | ......***...... | .....*...*.....
20220525 09:47:20 [INFO] .....**........ | ....*****...... | .....*****..... | ....*..........
20220525 09:47:20 [INFO] ....**.***..... | ....*....*..... | ....**.***..... | ....*....*.....
20220525 09:47:20 [INFO] .....*****..... | ....*.......... | .....**........ | ....*****......
20220525 09:47:20 [INFO] ......***...... | .....*...*..... | ............... | ...............
20220525 09:47:20 [INFO] ............... | .......*....... | ............... | ...............
20220525 09:47:20 [INFO] ............... | ............... | ............... | ...............
20220525 09:47:20 [INFO] ............... | ............... | ............... | ...............